Commit Graph

3522 Commits

Author SHA1 Message Date
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
reliberate fb2f13bb9c CDR: Fix PHP warnings regarding paging. 2016-05-05 13:54:17 -06:00
markjcrane 07a01de694 Fix the problem with active call center displaying correctly. 2016-05-04 23:18:55 -06:00
markjcrane 164fd03c98 Disable limit and offset when exporting CDR to CSV. 2016-05-04 22:35:05 -06:00
markjcrane 3abaff004c Check the missing array has content before processing it. 2016-05-04 00:22:35 -06:00
markjcrane 7aa61e2d53 After making changes to the IVR Menu flush memcache for the IVR. 2016-05-03 23:09:18 -06:00
Alexey Melnichuk 114b2fb202 Fix. Set all allowed extensions while default settings. 2016-05-02 23:59:47 -06:00
reliberate 5956a3a17f Menu Manager: Add ability to customize main and sub menu icons. 2016-05-02 14:42:06 -06:00
markjcrane 0db8ddb949 Add a new xml_cdr_import.php and add limit and filter options to the xml_cdr.php class. 2016-05-01 17:44:53 -06:00
markjcrane 716762a58b Fix the dialplan import problem caused when checking if the array 'isset' one word was incorrect. 2016-05-01 08:21:15 -06:00
markjcrane 70a349bb6a Call direction outbound is set on the outbound route making it redundant and so removing it. 2016-05-01 08:08:30 -06:00
markjcrane f1a55f52ae Improve the xml cdr class. 2016-04-30 00:33:35 -06:00
markjcrane 2806a0602e Fix the warning for the interactive conference page. 2016-04-29 17:55:27 -06:00
markjcrane e2ce33ca49 Check that the arrays exist for music on hold before using them. 2016-04-29 17:17:29 -06:00
markjcrane 8b4883c36c Make sure the array exists for the backup tool. 2016-04-29 17:13:36 -06:00
markjcrane 6d92f6774f Fix the access control list. 2016-04-29 17:01:04 -06:00
markjcrane a0b4d6e47c Verify that all arrays used in a foreach use isset for classes/dialplan.php. 2016-04-29 15:49:36 -06:00
markjcrane e342ee464e Update the conference interactive permissions for the user group. 2016-04-29 10:31:03 -06:00