Commit Graph

138 Commits

Author SHA1 Message Date
Harry G. Coin 077059eeb1 Fix so fusionpbx doesn't fail on servers with php versions later than 5. (e.g. php7).
Also a few warning causes fixed.
Also, one step along the way to allow freeswitch to be u freeswitch g freeswitch and fusionpbx to run www-data:www-data.
2016-04-25 20:52:21 -05:00
markjcrane e9415fd26c Missed two of the $db connections. 2016-04-14 23:05:05 -06:00
markjcrane 8392bdeafa Remove the global $db connection in switch.php. Future will move all of these functions to php class methods. 2016-04-14 23:00:36 -06:00
markjcrane d34d709e37 Schema use $this->$db instead of $db. 2016-04-14 21:51:11 -06:00
markjcrane 51ea37ed18 Rename the EventSocket class. 2016-04-02 19:23:16 -06:00
mafoo 5e97c0df2c WhitespaceClean-resources/others
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:57:01 +00:00
markjcrane aa020308d4 In vars.xml switch from hostname to the switchname. 2016-02-03 19:02:10 -07:00
markjcrane fa081456b1 Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
markjcrane 56fa5dafba Comment out the languages not in use until they are needed. 2016-01-12 21:04:39 -07:00
Alexey Melnichuk a5d6c85e6f Change. Rename v_mailto.bat to mailto.bat 2015-11-28 11:17:46 +03:00
Alexey Melnichuk 2aaba3b440 Fix. Use wrapper bat file to v_malito.php on Windows.
Tested on WAMP and OpenServer.
2015-11-27 14:50:08 +03:00
Alexey Melnichuk 87441198b1 Fix. Clear the cache when callcenter config changed. 2015-09-28 12:10:31 +04:00
FusionPBX 6548daf40a Merge pull request #1168 from rdissauer/fix/fax-destination
fixed fax destination with * or + in number
2015-09-24 15:32:19 -06:00
roman.dissauer e47632f8d9 fixed fax destination with * or + in number 2015-09-24 09:37:58 +02:00
markjcrane 5d9f711816 Change the object from pdo to db. 2015-08-29 12:18:44 -06:00
markjcrane 770abd3fcc Fix an error that could occur during upgrades. This will make the upgrade from older versions a little easier. 2015-08-29 12:06:56 -06:00
Alexey Melnichuk 89ccb51144 Fix. Parse ESL response more accurate.
Problem with commands that do not return Content (e.g. sendevent)
In this case `event_socket_request` go to busy wait cycle without chance to success.
On my system it require alot process time and may take >30 sec to save one extension.
2015-08-25 14:14:28 +04:00
Alexey Melnichuk 34beaff9e3 Fix. Eavesdrop by operator_panel with extension with number-aliases 2015-08-17 16:46:53 +04:00
markjcrane 79296d89fa Remove and extra space. 2015-08-13 11:29:33 -06:00
Alexey Melnichuk 0debd40fa3 Fix. `extension_exists` function also check `number_alias` field. 2015-08-13 13:39:39 +04:00
FusionPBX 75aaf20cfa Merge pull request #1017 from moteus/no_default_domain
Change. Does not use `default` dialplan/directory.
2015-08-10 11:27:19 -06:00
markjcrane d2147cb133 Remove switch_select_destination function from the remaining features that used it and replace with the destination php class. 2015-08-07 15:06:07 -05:00
markjcrane aaf6f1f145 When writing the call center conf file use the .noload template file. 2015-07-31 10:05:04 -06:00
markjcrane 4f9143758c Remove get user defined variables from advanced -> variables should use default or domains settings instead. 2015-07-28 11:30:28 -06:00
markjcrane 4e6d1515b1 Adjust the vertical line spacing to make it more consistent with the rest of the project. 2015-07-28 11:18:20 -06:00
markjcrane 73b9f61290 Remove code that is no longer being used. 2015-07-28 11:12:42 -06:00
Alexey Melnichuk 18491ea2c0 Merge branch 'master' into no_default_domain
Conflicts:
	app/hot_desking/extension_edit.php
2015-07-21 11:24:59 +04:00
FusionPBX 6b48f88955 Merge pull request #1013 from moteus/issues_1008
Disable of sip profile does not work
2015-07-18 13:08:10 -07:00
markjcrane 4742fac8f9 Adjustments to event_socket_request to make it faster. 2015-07-05 23:08:10 -06:00
Alexey Melnichuk 9097861e30 Change. Does not use `default` dialplan/directory.
I think it more consistent that it allows edit domain in single place.
Also on my Windows machine while installing all users/context creates not in `default` directory.
And I have problem because remove users did not work, `default.xml` file contain `$${v_domain}` variables.
2015-07-02 13:14:35 +04:00
Alexey Melnichuk d1edcbd2c5 Disable of sip profile does not work
Close #1008
2015-07-02 12:09:09 +04:00
Mark Crane 5d4a2375a0 Write the call center dialplan with the new call center class. 2015-06-25 08:25:00 +00:00
Mark Crane 4699d4c8e8 Synchronize the translations. 2015-06-06 02:37:26 +00:00
Mark Crane 614f7f3165 Add support for the new sip profiles enabled field. 2015-05-02 05:08:41 +00:00
Nate Jones ddee7be012 Phrases: App Defaults now converts phrases between base64 compatible and back, enhanced interface with better js manipulation, easily add pauses to a phrase.
Note: Currently DTMF tones are not recognized during phrase playback in IVR (rrrrr!).
2015-04-28 09:54:02 +00:00
Mark Crane a9fce962df Increase the limit in the loop to allow more data across event socket. 2015-04-24 04:43:32 +00:00
Nate Jones c91b4b0b5d IVR: Better support for the use of base64 Recordings, added option to use Phrases in a couple places, fixed the Exit Sound. (Note: A selected Sound with the same file name as a Recording will get trumped.) 2015-04-24 02:47:10 +00:00
Nate Jones f14176e55d Adjust switch_select_destination() function logic to match selected option better. 2015-04-17 02:46:25 +00:00
Nate Jones b8ba43410e Remove debug SQL echo from previous commit. 2015-04-17 01:12:17 +00:00
Nate Jones 4680f40924 Prevent select option groups from displaying in switch_select_destination() function if no options available. 2015-04-17 01:04:29 +00:00
Nate Jones 8c740f11bb Prevent 'XMPP Gateways' option group from displaying in switch_select_destination() function if none found. 2015-04-17 00:21:29 +00:00
Nate Jones cf9f52c6d3 Prevent 'Recordings' option group from being repeated in switch_select_destination() function 2015-04-17 00:18:03 +00:00
Nate Jones 2a044cdfe2 IVR: Prevent option from losing it's value on edit. 2015-04-17 00:11:55 +00:00
Nate Jones 23186f9bf5 Voicemail: Mods to make it work as expected, if non-admins/superadmins are given access to it. 2015-04-06 21:57:06 +00:00
Mark Crane f7adde1991 Get the list of recordings from the database. 2015-04-01 10:19:47 +00:00
luis daniel lucio quiroz 726cca7d99 optional text_append 2015-03-27 01:09:25 +00:00
Mark Crane bc0b0f8015 Save the variables when the hostname is not set or when the hostname matches the current server. 2015-03-25 23:50:48 +00:00
Nate Jones 61f0db8294 Time Conditions: Change how preset destinations function (when a Preset is checked, the Alternate Destination is required and used, unless a Default Destination is selected, or a Destination is set on the individual Presets themselves. Interface also adjusts if Presets are NOT available. 2015-03-21 23:55:20 +00:00
Mark Crane a6fe826fe2 Save the Call Center XML only if the directory path has a value. 2015-03-21 06:14:28 +00:00
Mark Crane eb8544859c Set event socket break to 8000. 2015-03-18 10:45:34 +00:00