Commit Graph

1292 Commits

Author SHA1 Message Date
Alexey Melnichuk c27e9cef9a Fix. add functions/count.lua to preview commit. 2015-08-10 13:01:49 +04:00
Alexey Melnichuk a8142f527a Change. Use only `require` to load function.
Fix. Remove multiple definition of same function.
2015-08-10 12:43:06 +04:00
Alexey Melnichuk c5432630f3 Fix. Allow monitoring page conferences via `Active Conferences` app. 2015-08-10 11:43:32 +04:00
Luis Daniel Lucio Quiroz 780b69a253 Use os.time instead of mysql native function
Odd, but on some deployments LUA wont accept unixtime stamp functions (regardless it works on CLI). So, to workaround this, lets use os.time() which it returns the same value expected.
2015-08-09 21:56:28 -06:00
markjcrane ade62be0f1 Change $name to ${name} 2015-08-09 12:14:47 -06:00
markjcrane 5c11a3f103 Change array from ['result']['field'] to ['field']. 2015-08-09 12:00:42 -06:00
markjcrane 078cef0a78 Add Other options to the list of destinations. 2015-08-09 11:20:08 -06:00
markjcrane c0a0cb308b If there is no item in the group of destinations then don't the group name. 2015-08-07 19:50:06 -05: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
Alexey Melnichuk b42aa40677 Fix. Use number-alias as caller_id_number variable. 2015-08-07 16:17:25 +04:00
Alexey Melnichuk 596cdb1184 Fix. Use number_alias in dial-string. 2015-08-07 15:18:52 +04:00
Alexey Melnichuk 59c1fbe2ef Fix. Always use `/` separator on FS command.
Fix. Override `temp_dir` from `config.lua` file.
2015-08-07 12:11:27 +04:00
Alexey Melnichuk 73e0e7a3a8 Fix. Use `temp_dir` variable instead of hard coded `/tmp` 2015-08-07 11:52:18 +04:00
markjcrane 2ceb8ce4c3 Add an empty select option and finish moving to $this->destinations array. 2015-08-06 15:30:43 -05:00
markjcrane 8cc1d98598 Move the destinations array generation into the constructor and add selected support. 2015-08-06 12:11:26 -05:00
markjcrane e413e61a3b Use the same array consistently. 2015-08-06 00:25:38 -05:00
markjcrane 944216a372 Change domain_name to domain_uuid. 2015-08-06 00:13:57 -05:00
markjcrane 9110c877e7 Remove the round brackets. 2015-08-05 17:30:18 -05:00
markjcrane 3caaf665b3 Add the database connection. 2015-08-05 17:24:37 -05:00
markjcrane 70b96ad053 A few minor adjustments to the new class. 2015-08-05 17:02:34 -05:00
markjcrane cab4d65600 Initial commit a new php destinations class. Builds a list of destinations dynamically. Typically this contains extensions, ivr menus, ring groups, voicemail and more. 2015-08-05 16:43:22 -05:00
Rich Breton e0bc3f51cb T46g-template-dhcp-fix 2015-08-03 17:03:07 -06:00
markjcrane 6c549b0517 Remove the insert to v_settings as this is being done in app_defaults.php. 2015-08-03 09:32:48 -06:00
markjcrane 2a4621daaf Fix a problem with custom public context and XMl handler. 2015-07-31 21:03:22 -06:00
markjcrane aaf6f1f145 When writing the call center conf file use the .noload template file. 2015-07-31 10:05:04 -06:00
markjcrane c4639445d9 Fix fax_retry.lua for domain_name and domain_uuid. Add [FAX] to the logging to the console. 2015-07-30 19:32:18 -06:00
markjcrane edda2df18c Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-07-30 17:18:53 -06:00
reliberate 14f2705cb3 Menu: Updated code to create menu HTML from array, instead of database directly. 2015-07-30 11:49:51 -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 1ed020ceda The email_validate is a generic function so moving it to resources/functions.php. 2015-07-28 11:17:33 -06:00
markjcrane 73b9f61290 Remove code that is no longer being used. 2015-07-28 11:12:42 -06:00
markjcrane 594ab6fa00 Change the indentation. Add a conditional include. 2015-07-28 10:42:07 -06:00
Alexey Melnichuk 7e481f20b6 Fix. Correct path when user on `group_confirm_file` 2015-07-28 15:59:04 +04:00
markjcrane 68d2578eb8 Simplify adding items to the domains array. 2015-07-25 17:44:56 -06:00
markjcrane 4243764010 Remove trailing tabs. 2015-07-23 17:50:16 -06:00
markjcrane b1087f5a43 Remove one trip to the database. 2015-07-23 14:03:24 -06:00
markjcrane 5ff664246b Prevent nil errors in settings.lua. 2015-07-22 09:42:35 -06:00
Alexey Melnichuk 2234b42c07 Change. Use `require "resources.functions.config"` to load config file.
Change. Move `script_dir` definition into config file.
2015-07-22 13:20:51 +04: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
Alexey Melnichuk a4b0b2d271 Merge branch 'master' into number_alias_as_vm_id
Conflicts:
	app/hot_desking/extension_edit.php
2015-07-21 11:19:13 +04:00
FusionPBX 7cf424003c Merge pull request #1047 from moteus/page_concat_conf_name
Fix. Concat conf name in page.lua
2015-07-20 16:52:23 -06:00
markjcrane 5dfbc2e183 Improve code to update the scripts directory. 2015-07-20 15:32:52 -06:00
markjcrane c0d694a62b After call forward has been set with feature code *72 or *74 play back the number that call forward is set to. 2015-07-20 12:59:45 -06:00
markjcrane d283075d64 Voicemail to email send the email in the send_email.lua rather than with email.lua. So that the delete doesn't occur until after email is sent. 2015-07-20 11:40:31 -06:00
Alexey Melnichuk 018aeb392e Fix. Concat conf name in page.lua 2015-07-20 12:44:05 +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
FusionPBX 4b7604e4a4 Merge pull request #1037 from moteus/copy_voice_mail
Fix. Use OS specific copy function.
2015-07-18 12:55:05 -07:00
FusionPBX be89d5bce3 Merge pull request #1023 from moteus/ext-dial-string
Fix. Use extension to generate dial-string in xml_handler
2015-07-18 12:54:24 -07:00
FusionPBX b8d2a9fd2b Merge pull request #1014 from moteus/domain_name_on_install
Add. Allow edit domain name while installing.
2015-07-18 12:50:52 -07:00
FusionPBX 0302b112ac Merge pull request #1045 from moteus/page_domain
Page domain
2015-07-18 12:47:55 -07:00
FusionPBX a109375100 Merge pull request #1040 from moteus/vm-phrase
Change. Use predefined phrases in vm menu.
2015-07-18 12:45:34 -07:00
Alexey Melnichuk 42ebf34104 Fix. Use `temp_dir` to debug dialplan xml file 2015-07-16 12:56:13 +04:00
Alexey Melnichuk f029aeff24 Fix. Use correct conf name on originate 2015-07-16 12:11:57 +04:00
Alexey Melnichuk 928a843794 Fix. Make page extension domain specific. 2015-07-16 11:50:07 +04:00
markjcrane fefdfc626e Enable XML Handler by default. 2015-07-15 23:43:03 -07:00
Alexey Melnichuk 3796a66df8 Change. Use predefined phrases in vm menu.
Current implementation produces not correct phrases e.g. on Russian language.
2015-07-14 13:42:05 +04:00
Alexey Melnichuk 8f554cf889 Fix. Use OS specific copy function. 2015-07-13 10:44:47 +04:00
markjcrane 36c4ac0e45 Change 'is null' to 'is not null'. 2015-07-10 08:00:08 -03:00
markjcrane 42cad993d7 Change {#server_address_2} to {$server_address_2} for the GX42xx template. 2015-07-09 00:05:29 -03:00
markjcrane b6d95174b0 Play voicemail messages with the newest messages first. 2015-07-08 15:46:34 -03:00
markjcrane 58311a8d98 Prevent nil from causing problems with functions/settings.lua. 2015-07-08 15:36:33 -03:00
Alexey Melnichuk b4435c974e Fix. xml_handler/directory generate vm params based on number_alias 2015-07-07 18:16:21 +04:00
Alexey Melnichuk 86b0b21e7b Fix. Use extension to generate dial-string in xml_handler
When uses number_alias contact should be searched by extension name.
2015-07-07 17:47:50 +04:00
markjcrane 3ba9759bed Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-07-05 23:11:29 -06:00
markjcrane 4742fac8f9 Adjustments to event_socket_request to make it faster. 2015-07-05 23:08:10 -06:00
FusionPBX 677d2f069f Update confirm.lua
Add a domain_name nil check.
2015-07-04 04:16:44 -06:00
markjcrane b0e24db2fa Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-07-03 09:52:36 -06:00
markjcrane b46d68777a Use originate_delay_start to fix the enterprise ring group delay. 2015-07-03 09:51:02 -06:00
reliberate e24526fb92 Upgrade: Converted Advanced > Upgrade to use Git instead of SVN (untested).
Misc: Added provisions elsewhere to account for .git/* files, as currently done with .svn/* files.
2015-07-02 17:25:41 -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 d61f2b2817 Fix. indent. 2015-07-02 12:24:58 +04:00
Alexey Melnichuk d05d294225 Add. Allow edit domain name while installing.
On my Windows machine default domain now is `127.0.0.1` which is quite useless.
2015-07-02 12:21:53 +04:00
Alexey Melnichuk d1edcbd2c5 Disable of sip profile does not work
Close #1008
2015-07-02 12:09:09 +04:00
Mark Crane 22203b66b0 Fix a problem where the inbound context has public in the name with public@ as a prefix and .public as a suffix. 2015-06-30 18:42:52 +00:00
Mark Crane bb4bab2fa8 FAX sure domain_uuid is set at the right time. 2015-06-30 18:01:30 +00:00
Mark Crane c99e249f71 Add beginTransaction and commit to speed up the install and upgrade. 2015-06-25 21:00:15 +00:00
Mark Crane 336a8d763d SIP profiles comment and disable the following params inbound-use-callid-as-uuid and outbound-use-callid-as-uuid if set to true even temporarily they will cause the call UUID not to be a UUID which FusionPBX is dependent on. 2015-06-25 20:27:00 +00: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 197420d6c9 Minor adjustments for confirm.lua and ring groups ensure domain_name and domain_uuid are set. 2015-06-24 19:31:53 +00:00
Mark Crane 72f7285a0a Add the call screen recording to work with call forward and follow me. 2015-06-23 23:41:15 +00:00
Mark Crane e40abdda91 Set call_screen_enabled as a variable in directory.lua. 2015-06-23 20:33:22 +00:00
Mark Crane 22dd5b6658 Add extension_call_screen permission, and add call_screen_enabled to extensions/extension_edit.php. 2015-06-23 20:06:44 +00:00
Mark Crane e70436bb86 Update the phrases in en/us/ivr/sounds.xml. 2015-06-23 19:37:09 +00:00
Mark Crane a3e3ed5a97 Add menu array to the menu class. 2015-06-22 17:56:40 +00:00
Mark Crane b3f1d8fabb A few more adjustments to get the ring group missed call working. 2015-06-20 04:06:20 +00:00
Mark Crane c2370a4a6d Add missed call option to ring groups. 2015-06-20 03:43:38 +00:00
Mark Crane e13582eb28 Fix call center xml handler domain. 2015-06-18 20:08:54 +00:00
Mark Crane 5b95222742 Add a missing quote fixes a problem with call center using xml handler and fix the indentation. 2015-06-18 19:25:42 +00:00
Mark Crane 732e1230fa Add a missing quote fixes a problem with call center using xml handler. 2015-06-18 19:20:51 +00:00
Mark Crane 6fe3c0fecf When dialing *74 clear the call forward destination which will allow it to set a new one with *73. 2015-06-18 06:55:46 +00:00
Mark Crane 3751cc7d58 Add variable for Ring Group Distinctive Ring ${domain_name} and ${local_ip_v4} 2015-06-15 23:26:02 +00:00
Mark Crane fdf4cb2cc8 Help with NAT keep alive. 2015-06-11 17:38:06 +00:00
Mark Crane 42357f443e When leaving a voicemail use the message_waiting function. 2015-06-11 06:31:10 +00:00
Mark Crane 5dad058dc8 Use the mwi_account under accounts -> extensions to allow sending MWI to multiple extensions. 2015-06-11 06:30:21 +00:00
luis daniel lucio quiroz 27bb9d1735 load balancing fixed 2015-06-11 01:43:30 +00:00
Mark Crane 291e9d7b15 Improve vertical line spacing. 2015-06-08 18:11:56 +00:00
Mark Crane 6b8bb6a1d5 Add ring_group_distinctive_ring to the destinations array. 2015-06-07 16:26:53 +00:00
Mark Crane c1b3bccc86 Add a prefix of Alert-Info= 2015-06-07 04:10:41 +00:00
Mark Crane 511f856d94 Add ring group distinctive ring option to the lua. 2015-06-07 04:06:39 +00:00