Commit Graph

3539 Commits

Author SHA1 Message Date
markjcrane
7fff69f791 Remove save_module_xml() function and move it it into the modules class as the xml method. Eventual goal move everything out of switch.php. 2016-05-26 11:21:37 -06:00
markjcrane
8784787531 Adjust the order of the modules. 2016-05-26 11:01:03 -06:00
markjcrane
17bfd2eb35 Start using the module order. 2016-05-26 10:31:59 -06:00
Mafoo
59ddf92f1b I got the permissions wrong (#1616)
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Mafoo
a8b667cd0b Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
FusionPBX
3ce93c654c Update switch_music_on_hold.php
Add missing forward slashes so the pattern will be correct for the preg_replace.
2016-05-25 17:42:56 -06:00
Mafoo
a25c9a3e48 Added basic searching for moh (#1614)
added basic searching for the default moh directory
added app_defaults so moh is configured/repairable with app_defaults
changed to use PROJECT_ROOT
changed template replacement to be encased in comment so xml will
validate
changed to use preg_replace so leading spaces and tabs can be stripped
(to output clean xml)
local_stream_conf dos2unixed
made default search consistent (they should all be music/default or
music not a mixture)
2016-05-25 14:12:17 -06:00
FusionPBX
448b3e4422 Update modules.php
Set a default order when adding the modules.
2016-05-24 23:42:05 -06:00
FusionPBX
407e8973d5 Update module_edit.php
Set the order to label-order.
2016-05-24 23:26:51 -06:00
FusionPBX
e5af4a09fe Update module_edit.php
Add module order to module_edit.php.
2016-05-24 23:16:30 -06:00
FusionPBX
e1e3ad0ba9 Update app_config.php
Add module_order.
2016-05-24 23:12:01 -06:00
Chris Black
4a4a613902 remove SMS (#1612) 2016-05-24 12:57:46 -06:00
Chris Black
2d05685103 Add support for twilio (#1610)
added support for twilio and made it a bit easier to add support for
other carriers as well.
2016-05-24 02:02:36 -06:00
FusionPBX
e9836cca05 Update app_defaults.php
The sip profiles are being read from the templates/conf directory so copying the files is not needed.
2016-05-23 21:37:21 -06:00
reliberate
8d2a190099 Gateways: Fix paging and order by.
Devices/Users/Extensions: Visual adjustments.
2016-05-21 13:04:31 -06:00
reliberate
c34aed1ede Ring Group Forward: Don't include footer.php if is included within the Dashboard. 2016-05-21 11:51:26 -06:00
markjcrane
79e32c6b06 Add ability to assign a single user to a device. 2016-05-20 10:39:16 -06:00
markjcrane
2b3213f9df Create yealink_time_zone_start_time and yealink_time_zone_end_time automatically. 2016-05-19 12:47:03 -06:00
Chris Black
a8d5033953 Flowroute SMS (#1603)
* Fix Yealink provisioning for contacts/groups

Fix the Yealink provision templates to allow for directory_extensions,
groups and users.

* Fix group_uuid and user_uuid messup

* Yealink directory and provisioning changes

Includes the changes from PR 1582 with some fixes to the SQL.

Also merged all the directory_* options into ONE directory.xml

Will need to call the it with any of these:

http://mydomain/app/provision/?file=directory.xml&contacts=groups

http://mydomain/app/provision/?file=directory.xml&contacts=users

http://mydomain/app/provision/?file=directory.xml&contacts=extensions

http://mydomain/app/provision/?file=directory.xml&contacts=all

* Flow route SMS
2016-05-19 12:09:49 -06:00
FusionPBX
1e9489b1e5 Update scripts.php
Remove this code as its breaking the upgrade page when migrating from source to package paths.
2016-05-15 08:57:59 -06:00
SJS87
41db39bda0 E.164 format support - contact_phone_edit.php (#1581)
The + prefix is being removed, this should be ignored for the very start of the string, resolution below.

Line 69.
Replace:
$phone_number = preg_replace('{\D}', '', $phone_number);
With:
$phone_number = preg_replace('{(?!^\+)[\D]}', '', $phone_number);
2016-05-13 08:42:34 -06:00
markjcrane
f024039a02 Use effective_caller_id_name and effective_caller_id_number with follow me. 2016-05-13 08:21:58 -06:00
Chris Black
804565549b Yealink directory listing for extensions, groups, users contacts (#1588)
* Fix Yealink provisioning for contacts/groups

Fix the Yealink provision templates to allow for directory_extensions,
groups and users.

* Fix group_uuid and user_uuid messup

* Yealink directory and provisioning changes

Includes the changes from PR 1582 with some fixes to the SQL.

Also merged all the directory_* options into ONE directory.xml

Will need to call the it with any of these:

http://mydomain/app/provision/?file=directory.xml&contacts=groups

http://mydomain/app/provision/?file=directory.xml&contacts=users

http://mydomain/app/provision/?file=directory.xml&contacts=extensions

http://mydomain/app/provision/?file=directory.xml&contacts=all
2016-05-12 11:22:40 -06:00
markjcrane
de362abfb5 Fix a minor issue. 2016-05-11 18:42:30 -06:00
markjcrane
dabdbbeb95 Additional work on caller id name and number. 2016-05-11 18:37:01 -06:00
markjcrane
63384b3aa1 Add the new column source_number. 2016-05-11 18:21:36 -06:00
markjcrane
d515d49faa Additional work on the destination_number on the new xml cdr import tool. 2016-05-11 17:58:43 -06:00
markjcrane
6344476e69 Fix the syntax to the last commit. 2016-05-11 17:05:06 -06:00
markjcrane
2660ea0893 Add source_number and change the destination_number to the number sent to the carrier. 2016-05-11 16:23:42 -06:00
markjcrane
55e6f76c72 Add a new permission number_alias. By default hide it to prevent confusing users. 2016-05-11 13:36:31 -06:00
markjcrane
a4400b2497 Fix some warnings more warnings. 2016-05-11 13:23:53 -06:00
markjcrane
e3b874ee35 Change default permissions on ring groups. 2016-05-11 13:05:56 -06:00
markjcrane
83772690fc Change extension permission defaults. 2016-05-11 13:03:06 -06:00
markjcrane
87b92987b7 Run array unique and sort only on groups array if it exists. And use is_array instead of isset on the conditions that test if it is an array. 2016-05-11 09:20:10 -06:00
markjcrane
d3c1417de6 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-05-11 09:06:29 -06:00
markjcrane
fa75391a5d Check each array if it exist with for every foreach in the operator_panel/index_inc.php. 2016-05-11 09:06:14 -06:00
FusionPBX
d6bb63b0cc Update voicemail.php
Don't use is_array with glob.
2016-05-10 22:53:42 -06:00
FusionPBX
7e02426a80 Update voicemail.php
Use is_array with foreach in the voicemail php class.
2016-05-10 22:51:03 -06:00
markjcrane
8750f50c19 Fix data types on the new music on hold and add the path. 2016-05-10 19:19:47 -06:00
markjcrane
b2e1dd4b2e Working on music on hold. 2016-05-10 19:09:45 -06:00
FusionPBX
fecc8e3510 Update app_defaults.php
Move the if ($domains_processed == 1) { so none of the code is processed more than one time.
2016-05-10 12:56:33 -06:00
FusionPBX
25fe0b7f93 Update app_defaults.php
Add media_mix_inbound_outbound_codecs to true by default.
2016-05-10 12:46:03 -06:00
markjcrane
5a9ad9da41 Update the record count for extensions list. 2016-05-07 18:06:36 -06:00
markjcrane
93d20531e6 On the extensions page use is_array($extensions) instead of $num_rows 2016-05-07 17:37:24 -06:00
markjcrane
f9f57fffa6 Change the method to detect if the array exists for extensions. 2016-05-07 17:27:27 -06:00
markjcrane
1637b5c518 Fix a missing bracket from the last commit. 2016-05-07 16:15:15 -06:00
markjcrane
9f43ed627d To prevent all warnings for XML CDR Details check all arrays. 2016-05-07 12:28:07 -06:00
markjcrane
fcb860d75a Fix the warning on XML CDR details. 2016-05-07 11:48:46 -06:00
Alexey Melnichuk
840ea3faa4 Fix. Do not populate invalid paths. (#1585)
Problem when `opendir($dir)` returns `false` and then
while cycle adds many empty strings which produce in the end
```
/etc/freeswitch/tls
/etc/freeswitch/tls/
/etc/freeswitch/tls//
/etc/freeswitch/tls///
/etc/freeswitch/tls////
/etc/freeswitch/tls/////
/etc/freeswitch/tls//////
/etc/freeswitch/tls///////
```
2016-05-06 09:28:10 -06:00
Alexey Melnichuk
f828c1c56b Escene provision (#1140)
* Add. Provision to Escene ES330/ES320

* Add. Look up Escene device by ext+domain.

* Update Escene template.

* Add. `provision` section in config.

Found than ES330 some time hangup when it try get software/core and get error from fusion.
2016-05-06 01:49:43 -06:00