3331 Commits
Author SHA1 Message Date
FusionPBX 2653caceab Update functions.php 2018-04-05 22:25:45 -06:00
FusionPBX f6a7939857 Update providers.php 2018-04-05 21:42:42 -06:00
FusionPBX 7f8bd715fe Update app_languages.php 2018-04-05 20:09:05 -06:00
FusionPBX 830dd27022 Update index.lua 2018-04-05 20:02:24 -06:00
FusionPBX 0d05d2f648 Update app_config.php 2018-04-05 18:40:43 -06:00
FusionPBX 458b239c77 Update ring_group_edit.php 2018-04-05 15:52:00 -06:00
FusionPBX 3c8e8478a7 Update ring_group_edit.php 2018-04-05 15:51:48 -06:00
FusionPBX 1ddc3251ca Update ring_group_edit.php 2018-04-05 15:48:38 -06:00
FusionPBX c1ca181939 Update ring_group_edit.php 2018-04-05 15:35:08 -06:00
FusionPBX e6d2e1f8b8 Update ring_group_edit.php 2018-04-05 14:53:36 -06:00
FusionPBX 5135c6fadf Update app_config.php 2018-04-05 14:52:30 -06:00
FusionPBX d8c06a3bd6 Update app_languages.php 2018-04-05 14:49:38 -06:00
FusionPBX 0871a792e7 Update call_edit.php 2018-04-05 10:23:27 -06:00
FusionPBX fd179c8417 Create registration_reload.php 2018-04-04 22:50:44 -06:00
FusionPBX 842290ba73 Update registrations.php 2018-04-04 22:47:48 -06:00
FusionPBX 2c8e7467d3 Update app_config.php 2018-04-04 22:40:10 -06:00
markjcrane e0af4cc9f5 Delete traffic_graph will move to fusionpbx-apps repo 2018-04-05 01:16:03 +00:00
markjcrane 4e2bb13242 Delete tftp will move to fusionpbx-apps repo 2018-04-05 01:13:45 +00:00
FusionPBX d56fb6f820 Update call_center_queue_edit.php 2018-04-04 16:23:38 -06:00
FusionPBX 3f3634dfef Update call_center_queue_edit.php 2018-04-04 16:20:18 -06:00
FusionPBX 9d4d4a3bed Update call_center_queue_edit.php 2018-04-04 16:13:10 -06:00
FusionPBX c0f7453448 Update app_config.php 2018-04-04 15:57:41 -06:00
FusionPBX bb94c853c3 Update app_languages.php 2018-04-04 15:56:03 -06:00
FusionPBX fa089f090d Update call_center_queue_edit.php 2018-04-04 13:15:54 -06:00
FusionPBX 5b4ee47563 Update call_center_queue_edit.php 2018-04-03 17:54:42 -06:00
FusionPBX 3f9d7defa2 Update app_defaults.php 2018-04-03 02:37:41 -06:00
FusionPBX 22c2b195c0 Update email_template_edit.php 2018-04-03 01:18:32 -06:00
FusionPBX f157404979 Update email_templates.php 2018-04-03 01:09:42 -06:00
FusionPBX 8d5abab669 Update app_config.php 2018-04-03 01:04:59 -06:00
FusionPBX b2d7073cad Update app_config.php 2018-04-03 00:58:55 -06:00
FusionPBX a66ca1e0e9 Update app_languages.php 2018-04-03 00:56:48 -06:00
FusionPBX 22f269ee7a Delete app_defaults.php 2018-04-03 00:34:07 -06:00
FusionPBX de1688fd6c Create app_defaults.php 2018-04-03 00:32:48 -06:00
FusionPBX 6c98e1fbc3 Update call_center_active_inc.php 2018-04-01 15:17:23 -06:00
FusionPBX f516e8bab4 Update call_center_agent_status.php 2018-04-01 11:49:18 -06:00
FusionPBX a90b7231cd Update call_center_agent_status.php 2018-04-01 01:11:17 -06:00
FusionPBX df9a43b094 Update call_center_agent_status.php 2018-03-31 23:54:48 -06:00
FusionPBX 6ffa6e5553 Update call_center_agent_status.php 2018-03-31 22:54:25 -06:00
FusionPBX 6454a049fa Update call_center_agent_status.php 2018-03-31 17:57:29 -06:00
FusionPBX 92d4e8e906 Update index.lua 2018-03-31 13:05:21 -06:00
FusionPBX fb22628d73 Update call_center_active_inc.php 2018-03-31 12:53:33 -06:00
FusionPBX 5425fad16b Update call_center_active_inc.php 2018-03-31 12:48:46 -06:00
FusionPBX 403ae8dc90 Update call_center_active.php 2018-03-31 12:47:43 -06:00
FusionPBX 03e2f2030b Update call_center_queue_edit.php 2018-03-31 11:18:37 -06:00
FusionPBX 2ad222e5de Update call_center_queue.php 2018-03-31 11:17:08 -06:00
FusionPBX 15541de90c Update call_center_active_inc.php 2018-03-31 11:14:56 -06:00
FusionPBX aa636c0c74 Update callcenter.conf.lua 2018-03-31 11:13:08 -06:00
FusionPBX 9fc2589dea Update app_defaults.php 2018-03-31 11:09:20 -06:00
FusionPBX d6f03af6f4 Update app_config.php 2018-03-31 11:08:48 -06:00
krstork 1e96f0a8d3 Update {$mac}.xml (#3018)
* Update {$mac}.xml

Added Screensaver, SIP Transport, and SRTP Mode.
Fixed DNS Mode and NAT Traversal naming.

* Update {$mac}.xml

Added back in the original SIP Transport code.
2018-03-30 12:42:10 -06:00
krstork e9cd59414c Update app_config.php (#3019)
* Update app_config.php

Added Screensaver, SIP Transport, and SRTP Mode
Fixed DNS Mode and NAT Traversal Naming.

* Update app_config.php

Removed unneeded grandstream_sip_transport.
2018-03-30 12:41:58 -06:00
FusionPBX 87d9b84cd3 Update switch.php 2018-03-29 19:30:25 -06:00
FusionPBX e41ed77a9d Update switch.php 2018-03-29 19:29:12 -06:00
FusionPBX fdbc2e44ad Update app_defaults.php 2018-03-29 19:28:12 -06:00
FusionPBX bf411b6175 Update ringbacks.php 2018-03-29 19:27:22 -06:00
FusionPBX 806afaeb30 Update app_config.php 2018-03-29 19:26:19 -06:00
FusionPBX dbab857c4a Update tones.php 2018-03-29 19:26:01 -06:00
FusionPBX 9231c61be3 Update app_config.php 2018-03-29 19:25:14 -06:00
FusionPBX 89121398aa Update index.lua 2018-03-28 22:40:55 -06:00
FusionPBX 049112818f Update default_setting_edit.php 2018-03-27 13:25:17 -06:00
FusionPBX 208e926ff7 Update {$mac}.cfg 2018-03-26 23:23:58 -06:00
FusionPBX 31b6cb0eac Update {$mac}.cfg 2018-03-26 23:23:36 -06:00
FusionPBX 570b504c6e Update {$mac}.cfg 2018-03-26 23:23:11 -06:00
FusionPBX b58e122125 Update {$mac}.cfg 2018-03-26 23:22:29 -06:00
FusionPBX 7e07ef5dde Create {$mac}.cfg 2018-03-26 23:06:53 -06:00
FusionPBX 5f73adf690 Rename {$mac}.xml to {$mac}.cfg 2018-03-26 23:05:00 -06:00
FusionPBX 91ba8ac10f Create {$mac}.xml 2018-03-26 23:01:32 -06:00
FusionPBX f0230423fd Update {$mac}.cfg 2018-03-26 22:59:27 -06:00
FusionPBX 334a3aabab Create {$mac}.cfg 2018-03-26 22:59:01 -06:00
FusionPBX 6a609b9599 Update dialplan_edit.php 2018-03-26 18:03:19 -06:00
FusionPBX 2cc36e42eb Update domains.php 2018-03-25 23:13:47 -06:00
FusionPBX 542a72726e Update domain_settings.php 2018-03-25 23:10:33 -06:00
FusionPBX 99de39eb88 Update domain_settings.php 2018-03-25 23:09:18 -06:00
emaktech 7950c85724 Add Yealink GUI Language Variable (#3017)
Adds yealink_language_gui variable to all Yealink templates.

Note: Some templates were forcing "English" through conditional statement or hard-coded.

Now, if no value is set, it will not set any value in the template. This should not hurt anything as default language on Yealink phones is "English"
2018-03-25 22:46:07 -06:00
emaktech 3ab4dd842c Add Yealink W60B Provisioning Template (#3016)
* Add new Yealink MWI Subscribe Variable

Adds new variable in Yealink provisioning templates to allow control of MWI subscribe setting behavior on all accounts. Setting the new variable once affects all accounts.

New variable:
yealink_subscribe_mwi_to_vm.

Setting affected:
account.X.subscribe_mwi_to_vm setting

Phones affected:
T1x
T2x
T3x
T4x

May affect MWI subscription behavior. Yealink default is 0, many of the old templates hard coded 1. This change may affect MWI behavior for some users, so check to make sure the variable is added in FusionPBX to match your previous settings before upgrading.

* Add Yealink alert_info Distinctive Ring Variables

Adds new variables in Yealink provisioning templates to allow control of distinctive ring text and distinctive ringtone options.

New variables:
yealink_ring_text_X
yealink_ring_file_X

Setting affected:
distinctive_ring_tones.alert_info.X.text
distinctive_ring_tones.alert_info.X.ringer

Phones affected:
T1x
T2x
T3x
T4x
T5x

User Effect
This should not have any effect on existing provisioning settings unless the new variables are defined.

* Add files via upload

* Fix yealink_firmware_url

* Delete {$mac}.cfg

* Delete y000000000076.cfg

* Delete y000000000000.boot

* Add Yealink W60B Template

New template for Yealink W60b DECT handset.
2018-03-25 22:27:09 -06:00
FusionPBX f9c6711f41 Update app_defaults.php 2018-03-25 11:47:32 -06:00
FusionPBX 9d662f2440 Update app_defaults.php 2018-03-25 11:43:25 -06:00
FusionPBX 1c483ce128 Update switch.php 2018-03-25 11:21:26 -06:00
FusionPBX 7b5d8e09bb Update var_edit.php 2018-03-25 11:11:03 -06:00
FusionPBX 3921b891e7 Update app_config.php 2018-03-25 11:08:01 -06:00
FusionPBX 5fe4e3c434 Update var_edit.php 2018-03-25 11:03:24 -06:00
FusionPBX 501899b3bf Update app_languages.php 2018-03-25 10:38:02 -06:00
FusionPBX 2287d39940 Update var_edit.php 2018-03-25 10:26:50 -06:00
FusionPBX b481d0d7ba Update app_config.php 2018-03-25 10:11:25 -06:00
FusionPBX 663d8e32ea Update var_edit.php 2018-03-25 10:09:37 -06:00
FusionPBX 0d052074f8 Update var_delete.php 2018-03-25 10:06:16 -06:00
FusionPBX 265c2a32fa Update var_delete.php 2018-03-25 10:04:16 -06:00
FusionPBX b8502e7f4f Update app_config.php 2018-03-25 10:01:24 -06:00
FusionPBX 4d185b219e Update vars.php 2018-03-25 10:00:12 -06:00
FusionPBX e79dd26c3d Update app_defaults.php 2018-03-24 22:47:36 -06:00
FusionPBX c57ff078f9 Update app_config.php 2018-03-24 22:28:53 -06:00
FusionPBX df373bfe9c Update index.lua 2018-03-24 17:33:49 -06:00
FusionPBX 91e5344bc1 Update index.lua 2018-03-24 17:33:10 -06:00
FusionPBX 2120d9ad9c Update app_defaults.php 2018-03-24 16:24:55 -06:00
FusionPBX 969502f70e Update index.lua 2018-03-24 15:45:11 -06:00
FusionPBX c140c01668 Update index.lua 2018-03-24 15:38:10 -06:00
FusionPBX d3f7c5eb2a Update index.lua 2018-03-24 15:35:32 -06:00
FusionPBX f374f0e521 Update index.lua 2018-03-24 15:34:54 -06:00
FusionPBX 81f1872723 Update app_defaults.php 2018-03-24 15:32:55 -06:00
FusionPBX 1f45620624 Update index.lua 2018-03-24 15:24:43 -06:00
FusionPBX 3fb1e146ba Update send_email.lua 2018-03-24 15:16:33 -06:00
FusionPBX a1c7d1c8c2 Update app_defaults.php 2018-03-24 15:13:19 -06:00
FusionPBX 5e72d0601c Update app_defaults.php 2018-03-24 12:28:54 -06:00
FusionPBX 1665abe24c Update device_edit.php 2018-03-23 19:20:32 -06:00
Len eab9aed886 Update {$mac}.cfg 2018-03-23 00:43:37 -04:00
Len ffafded50f Update {$mac}.cfg 2018-03-22 23:59:22 -04:00
Len 4a05b8f414 Update {$mac}.cfg 2018-03-22 13:38:51 -04:00
Len 9dd9bd0f0e Update {$mac}.cfg 2018-03-22 11:41:07 -04:00
Len 9ea32fb423 Update {$mac}.cfg 2018-03-22 11:24:31 -04:00
FusionPBX 514c263786 Update device_edit.php 2018-03-22 00:45:43 -06:00
FusionPBX d460615156 Update call_center_active_inc.php 2018-03-21 01:46:30 -06:00
FusionPBX 17dc45c86e Update functions.php 2018-03-21 01:43:07 -06:00
FusionPBX a3212d8692 Update ivr_menu_delete.php 2018-03-21 01:12:37 -06:00
FusionPBX 264233b351 Update ivr_menu_option_delete.php 2018-03-21 00:38:51 -06:00
FusionPBX 996bab47b2 Update destination_delete.php 2018-03-21 00:10:43 -06:00
FusionPBX ae8c9ad6f3 Update extension_edit.php 2018-03-20 18:15:15 -06:00
FusionPBX 3946c82854 Update call_flow_edit.php 2018-03-19 01:21:41 -06:00
FusionPBX cd0814c010 Update call_flow_edit.php 2018-03-19 00:45:33 -06:00
FusionPBX 9b92774e5d Update call_flow_edit.php 2018-03-19 00:40:17 -06:00
FusionPBX f4883585b9 Update call_flow_edit.php 2018-03-19 00:36:35 -06:00
FusionPBX d0c108657c Update call_flows.php 2018-03-19 00:29:29 -06:00
FusionPBX 478fea572e Update call_flows.php 2018-03-19 00:29:02 -06:00
FusionPBX 35bb79170a Update app_languages.php 2018-03-18 23:36:47 -06:00
FusionPBX b318396a11 Update bridges.php 2018-03-18 23:35:41 -06:00
FusionPBX a77c311ff5 Update bridge_edit.php 2018-03-18 23:34:29 -06:00
FusionPBX 580af442c2 Update app_config.php 2018-03-18 23:30:37 -06:00
FusionPBX 8d06e16dea Update bridges.php 2018-03-18 22:37:36 -06:00
FusionPBX ed3bbdcede Update app_config.php 2018-03-18 21:53:21 -06:00
FusionPBX 9a3a8641a0 Create app_config.php 2018-03-18 21:48:16 -06:00
FusionPBX feabd51f6d Update bridge_edit.php 2018-03-18 21:13:52 -06:00
FusionPBX 69d9f3e08a Create bridges.php 2018-03-18 21:05:08 -06:00
FusionPBX c492a56475 Delete bridges.php 2018-03-18 21:04:44 -06:00
FusionPBX 33306b8e49 Create bridges.php 2018-03-18 21:04:24 -06:00
FusionPBX 29cc0a2eba Create bridge_edit.php 2018-03-18 21:02:21 -06:00
FusionPBX c1801c2c96 Create bridge_delete.php 2018-03-18 21:01:30 -06:00
FusionPBX 7e603c3172 Create app_menu.php 2018-03-18 21:00:31 -06:00
FusionPBX b3117711a8 Create app_languages.php 2018-03-18 21:00:06 -06:00
FusionPBX af3a1c2a81 Create bridges.php 2018-03-18 20:59:24 -06:00
FusionPBX 0761df9dd3 Create root.php 2018-03-18 20:56:09 -06:00
FusionPBX a5c1ec3883 Update provision.php 2018-03-17 20:18:01 -06:00
FusionPBX ba5f65dd3e Update index.php 2018-03-17 20:11:32 -06:00
FusionPBX 648f73b47b Update index.php 2018-03-17 17:56:01 -06:00
FusionPBX c1c793a6d9 Update app_defaults.php 2018-03-17 17:50:32 -06:00
FusionPBX 7d002c9f2e Update index.lua 2018-03-16 00:44:11 -06:00
FusionPBX 6fedb08d8c Update v_xml_cdr_import.php 2018-03-15 23:21:56 -06:00
Len c73ff6cdac Update {$mac}.cfg 2018-03-14 15:47:49 -04:00
FusionPBX d7edf5aebf Update xml_cdr.php 2018-03-13 10:45:09 -06:00
FusionPBX 7545252834 Update xml_cdr.php 2018-03-13 10:30:45 -06:00
FusionPBX 703dbf50b8 Update app_config.php 2018-03-13 10:30:38 -06:00
konradSC a118e90895 Display the Number of Recordings next to the Title. (#3015)
Display the Number of Recordings next to the Title.
2018-03-12 09:04:04 -06:00
FusionPBX 2d667d4b7d Update app_config.php 2018-03-09 20:09:19 -07:00
FusionPBX ac105ffe10 Update call_edit.php 2018-03-09 20:08:12 -07:00
FusionPBX cb55cbfa7e Update app_config.php 2018-03-09 20:07:40 -07:00
FusionPBX e31c1fe0f8 Update user_dashboard.php 2018-03-08 21:46:09 -07:00
Caleb 5ea386da9e Changed NOTIFY Event header for Grandstream phones (#3014)
Changed SIP NOTIFY Event header for Grandstream phones to allow provisioning with out requiring a reboot of the device. Based on communication with a Grandstream support rep. Tested on Grandstream GXP2130 and GXP2160 models.
2018-03-07 13:51:22 -07:00
sergey-mz 31514f31c6 Add provision template for Cisco 7941, 7961 phones (#3013)
* ODBC DSN detection

* Merge remote-tracking branch 'upstream/master'

* Merge remote-tracking branch 'upstream/master'

* Spelling errors

* Requests to speech platform can fail

* Add template for Cisco 7941, 7961 phones
2018-03-07 11:34:06 -07:00
Mafoo ae55af8848 Enhance - Text class (#3012)
try and preserve existing comments when organizing a language
2018-03-06 10:06:56 -07:00
FusionPBX 0ecb6d5929 Update {$mac}.xml 2018-03-05 14:55:21 -07:00
FusionPBX ff5c8ab706 Update streams.php 2018-03-02 11:40:02 -07:00
FusionPBX a723e9e264 Update app_languages.php 2018-03-02 02:03:15 -07:00
FusionPBX 60b0070849 Update streams.php 2018-03-02 01:05:51 -07:00
FusionPBX 165ea63b14 Update app_languages.php 2018-03-02 00:57:09 -07:00
FusionPBX 57f2ea9368 Update destinations.php 2018-03-01 22:58:10 -07:00
FusionPBX 59df8bfc8b Update stream_edit.php 2018-03-01 22:37:36 -07:00
FusionPBX 6733655ce3 Update streams.php 2018-03-01 22:36:42 -07:00
FusionPBX e9c2c8ef1d Update app_menu.php 2018-03-01 21:58:38 -07:00
FusionPBX c06c79f432 Update app_menu.php 2018-03-01 21:56:50 -07:00
FusionPBX 9a962346bb Update app_menu.php 2018-03-01 21:56:19 -07:00
FusionPBX 58bb7b6d9e Update conference_center_edit.php 2018-03-01 21:46:27 -07:00
FusionPBX a3f2bc24b0 Update conference_center_edit.php 2018-03-01 21:40:34 -07:00
FusionPBX 799c9dd8ae Update ringbacks.php 2018-03-01 21:19:38 -07:00
Len c8d6cdfbcc Update {$mac}.xml 2018-03-01 22:23:41 -05:00
Len 430351549c Update {$mac}.xml 2018-03-01 22:04:01 -05:00
Len 88b91bb690 Update {$mac}.xml 2018-03-01 22:02:06 -05:00
Len 7f33654056 Update {$mac}.xml 2018-03-01 21:59:39 -05:00
Len 42111fba74 Update {$mac}.xml 2018-03-01 21:57:28 -05:00
Len 63e6235829 Update {$mac}.xml 2018-03-01 21:54:50 -05:00
Len f617569dce Update {$mac}.xml 2018-03-01 19:32:15 -05:00
Len ad5626c1c3 Update {$mac}.xml 2018-03-01 19:30:57 -05:00
Len 2a70ecfe32 Update {$mac}.xml 2018-03-01 19:28:19 -05:00
Len de14d32613 Update {$mac}.xml 2018-03-01 19:26:38 -05:00
Len 7b26f3f359 Update {$mac}.xml 2018-03-01 19:24:53 -05:00
Len 9433a25cb2 Update {$mac}.xml 2018-03-01 19:23:11 -05:00
Len 4a1c540570 Update {$mac}.xml 2018-03-01 19:19:45 -05:00
Len 738e49931b Update {$mac}.xml 2018-03-01 19:17:01 -05:00
Len 29dac613b0 Update {$mac}.xml 2018-03-01 19:13:41 -05:00
Len ae0201f645 Update {$mac}.xml 2018-03-01 19:10:39 -05:00
Len a0328416c7 Update {$mac}.xml 2018-03-01 19:09:38 -05:00
Len d79b497773 Update {$mac}.xml 2018-03-01 19:08:41 -05:00
Len f0130fa84a Update {$mac}.xml 2018-03-01 19:07:49 -05:00
Len efb59e0a33 Update {$mac}.xml 2018-03-01 19:05:11 -05:00
Len 07900b253f Update {$mac}.xml 2018-03-01 19:03:46 -05:00
Len 588188a921 Update {$mac}.xml 2018-03-01 19:00:49 -05:00
Len 295023089d Update {$mac}.xml 2018-03-01 18:59:31 -05:00
Len e5d06c0504 Update {$mac}.xml 2018-03-01 18:57:58 -05:00
Len fdc9a13629 Update {$mac}.xml 2018-03-01 18:53:09 -05:00
Len 46568940a7 Update {$mac}.xml 2018-03-01 18:50:27 -05:00
Len e34bba97bf Update {$mac}.xml 2018-03-01 18:45:08 -05:00
Len 8b61b8e563 Update {$mac}.xml 2018-03-01 18:42:24 -05:00
Len 3cbf72bac1 Update {$mac}.xml 2018-03-01 18:40:07 -05:00
Len 746ae100c1 Update {$mac}.xml 2018-03-01 18:34:37 -05:00
Len 6c60dfeef9 Update {$mac}.xml 2018-03-01 18:31:46 -05:00
Len b4f44a6870 Update {$mac}.xml 2018-03-01 18:27:53 -05:00
Len 0596f1beb0 Update {$mac}.xml 2018-03-01 18:26:16 -05:00
Len 1385d30ab3 Update {$mac}.xml 2018-03-01 18:25:13 -05:00
Len 8cc17b8d89 Update {$mac}.xml 2018-03-01 18:23:06 -05:00
Len 870c0a05c8 Update {$mac}.xml 2018-03-01 18:21:50 -05:00
Len 9857409a0f Update {$mac}.xml 2018-03-01 17:59:25 -05:00
Len 748910d0d1 Update {$mac}.xml 2018-03-01 17:53:43 -05:00
Len 3200375bfa Update {$mac}.xml 2018-03-01 17:45:46 -05:00
Len adbe8312cc Update {$mac}.xml 2018-03-01 17:44:01 -05:00
Len e29def29e4 Update {$mac}.xml 2018-03-01 17:40:50 -05:00
Len 3756297036 Update {$mac}.xml 2018-03-01 17:33:12 -05:00
Len 93e2e7e056 Update {$mac}.xml 2018-03-01 17:29:52 -05:00
Len 4f05a937a7 Update {$mac}.xml 2018-03-01 17:25:38 -05:00
Len 891115a71b Update {$mac}.xml 2018-03-01 17:19:43 -05:00
Len 26a8bbcb13 Update {$mac}.xml 2018-03-01 17:17:32 -05:00
Len e58d11c660 Update {$mac}.xml 2018-03-01 17:12:34 -05:00
Len 5407761812 Update {$mac}.xml 2018-03-01 17:08:15 -05:00
Len 412710b98b Update {$mac}.xml 2018-03-01 17:06:28 -05:00
Len d146967248 Update {$mac}.xml 2018-03-01 17:03:07 -05:00
Len 004b772bb3 Update {$mac}.xml 2018-03-01 17:00:10 -05:00
Len ece2f9abd0 Update {$mac}.xml 2018-03-01 16:58:22 -05:00
Len 56bd05fe2b Update {$mac}.xml 2018-03-01 16:52:13 -05:00
Len c0330e2222 Update {$mac}.xml 2018-03-01 16:49:22 -05:00
Len 55ef7fcfe1 Update y000000000023.cfg 2018-03-01 16:33:08 -05:00
FusionPBX 3abc7a0066 Update devices.php 2018-03-01 01:06:59 -07:00
FusionPBX 2a79a73ebb Create {$mac}.xml 2018-03-01 00:43:46 -07:00
futureFry ffbf67b2a9 Update switch.php at Line 1282 detecting windows (#3007)
if (stristr(PHP_OS, 'WIN')) isn't specific enough, it will be true for Darwin or Windows.
2018-02-28 20:45:50 -07:00
FusionPBX bb30c81efc Update follow_me.php 2018-02-27 21:34:54 -07:00
Len f9e0ddf9b3 Update app_config.php 2018-02-26 15:15:36 -05:00
Len 0e448337a9 Update {$mac}.cfg 2018-02-26 14:21:49 -05:00
FusionPBX 63bf8b334d Update index.php 2018-02-26 12:12:51 -07:00
FusionPBX 91422a484f Update fax_emails.php 2018-02-25 02:04:28 -07:00
Mafoo 214ab1afe8 Enhance [master] - update Aastra provision templates (#2997)
* Enhance update Aastra provision templates

add default settings for time format, date format and timezone
hide include folders (they are not provision templates)
update links to documents
add note to 6xxx templates

* Aastra - the descriptions for the time settings are useful.
2018-02-25 01:58:17 -07:00
FusionPBX 782769d683 Update index.php 2018-02-25 01:28:09 -07:00
FusionPBX cb12138405 Update domains.php 2018-02-25 01:08:54 -07:00
FusionPBX e0cf2f7899 Update dialplan.php 2018-02-25 00:33:00 -07:00
FusionPBX 33ce1017ab Update destinations.php 2018-02-24 23:15:37 -07:00
Len 01de4d4cb7 Update {$mac}.cfg 2018-02-23 21:08:08 -05:00
Len 8703ef9560 Update {$mac}.cfg 2018-02-23 20:25:18 -05:00
Len c06397454a Update app_config.php 2018-02-23 20:22:28 -05:00
Len b95dd7ff78 Update {$mac}.cfg 2018-02-23 19:22:00 -05:00
krstork bba68302e6 Update {$mac}.xml (#3006)
Fixed NAT and LDAP settings
2018-02-23 16:59:40 -07:00
krstork 00cc34d215 Update GXP2170 Template and Readme (#3005)
* Update README.txt

Corrected paths in readme

* Update {$mac}.xml

Updated template to support the latest Grandstream firmware - v1.0.9.26
Fixed some broken and incomplete entries.  Cleaned up formatting.
Corrected values to match entries in Default Settings (gs_xxxx to grandstream_xxxx)

* Update app_config.php

Fixed descriptions for their correct value.
Set timezone from fixed Pacific to Auto.

* Update app_config.php

Added entries to match up with values in the provision template.
2018-02-23 15:09:19 -07:00
FusionPBX c3efa9b8b2 Update dialplan.php 2018-02-23 12:02:54 -07:00
FusionPBX 541739b603 Update schema.php 2018-02-23 10:11:34 -07:00
FusionPBX a9da0b0b03 Update xml_cdr_import_update.php 2018-02-23 10:08:07 -07:00
FusionPBX cffec30ce1 Update xml_cdr_import_update.php 2018-02-23 10:07:55 -07:00
FusionPBX ab0e33b97d Update xml_cdr_import_update.php 2018-02-23 10:07:33 -07:00
FusionPBX d84ab6662e Update xml_cdr_import_update.php 2018-02-23 10:04:16 -07:00
FusionPBX 33234aed2b Delete app_defaults.php 2018-02-23 10:00:58 -07:00
FusionPBX b16664073b Update xml_cdr_import.php 2018-02-23 08:44:02 -07:00
FusionPBX 9ba1fcb084 Update v_xml_cdr_import.php 2018-02-23 08:40:25 -07:00
FusionPBX 97bfcfbd61 Update y000000000053.cfg 2018-02-22 21:28:47 -07:00
FusionPBX ad1539ad69 Update y000000000000.cfg 2018-02-22 21:26:39 -07:00
FusionPBX 3bce1cb2f8 Update y000000000000.cfg 2018-02-22 21:26:01 -07:00
FusionPBX c883e187b3 Update y000000000037.cfg 2018-02-22 21:24:51 -07:00
FusionPBX 5f87dc8d41 Update y000000000023.cfg 2018-02-22 21:21:43 -07:00
FusionPBX 0a4c279046 Update y000000000025.cfg 2018-02-22 21:19:15 -07:00
FusionPBX dc674c64e7 Update y000000000025.cfg 2018-02-22 21:18:38 -07:00
FusionPBX e5ea07f350 Update v_mailto.php 2018-02-22 20:14:58 -07:00
Len a7cc0c97ca Update {$mac}.cfg 2018-02-22 21:03:34 -05:00
Len bad9f9db16 Update app_config.php 2018-02-22 20:45:01 -05:00
Len cb3db2feac Update {$mac}.cfg 2018-02-22 20:31:43 -05:00
Len 6b0585a114 Update {$mac}.cfg 2018-02-22 20:30:10 -05:00
Len 45151a5e23 Update {$mac}.cfg 2018-02-22 17:53:27 -05:00
Len f92e5e4a36 Update {$mac}.cfg 2018-02-22 17:49:59 -05:00
Len 96542d6b74 Update {$mac}.cfg 2018-02-22 17:47:21 -05:00
Len 837457b1ef Update {$mac}.cfg 2018-02-22 17:43:54 -05:00
Len 949af0de31 Update {$mac}.cfg 2018-02-22 17:40:27 -05:00
Len 171012d532 Update {$mac}.cfg 2018-02-22 17:31:08 -05:00
Len 7f5f375c5d Update {$mac}.cfg 2018-02-22 17:24:48 -05:00
Len dd21e90e46 Update {$mac}.cfg 2018-02-22 16:29:26 -05:00
FusionPBX 791fc57f5c Update index.lua 2018-02-22 12:47:47 -07:00
Len 1ec2d93eda Update {$mac}.cfg 2018-02-22 14:38:17 -05:00
Len d233db8178 Update {$mac}.cfg 2018-02-22 14:18:35 -05:00
FusionPBX 71233d6c2f Update 220_provision.xml 2018-02-22 10:13:48 -07:00
FusionPBX 4db64e5085 Update index.lua 2018-02-22 10:12:45 -07:00
FusionPBX c7c961d0af Update app_config.php 2018-02-22 10:05:54 -07:00
FusionPBX 7229b4a7f9 Update app_config.php 2018-02-22 10:04:30 -07:00
FusionPBX 5825da0a8f Update app_config.php 2018-02-22 10:03:18 -07:00
FusionPBX f21a22f051 Update users.php 2018-02-22 09:49:28 -07:00
FusionPBX 9dceedfa02 Update extensions.php 2018-02-22 09:40:45 -07:00
FusionPBX 0632da867d Update app_config.php 2018-02-22 09:38:25 -07:00
FusionPBX d71f481974 Update app_config.php 2018-02-22 09:37:30 -07:00
FusionPBX 50df78bbcf Update devices.php 2018-02-22 09:35:24 -07:00
Len df08f97bb0 Update {$mac}.cfg 2018-02-21 23:47:39 -05:00
Len 251d5e3abf Update {$mac}.cfg 2018-02-21 23:35:28 -05:00
Len f6bf3b8aea Update app_config.php 2018-02-21 23:05:44 -05:00
Len bc8a7c0862 Update {$mac}.cfg 2018-02-21 22:18:48 -05:00
Len f9c0283884 Update {$mac}.cfg 2018-02-21 18:58:16 -05:00
FusionPBX 20c24049bd Update fax_edit.php
Changed the type of fax_caller_id_number to text, because otherwise the leading 0 is removed.
2018-02-21 16:08:01 -07:00
Len ab7910acb0 Update {$mac}.xml 2018-02-21 17:33:51 -05:00
Len 58c9f492e3 Update {$mac}.xml 2018-02-21 17:31:24 -05:00
Len 106340bc97 Update {$mac}.xml 2018-02-21 17:30:42 -05:00
Len b441bcfc4b Update {$mac}.xml 2018-02-21 17:30:10 -05:00
Len 9296dc3189 Update {$mac}.xml 2018-02-21 17:26:42 -05:00
Len 705f08b111 Update {$mac}.xml 2018-02-21 17:25:57 -05:00
Len 83f97adbdc Update {$mac}.xml 2018-02-21 17:25:06 -05:00
Len 6f0878b6fa Update {$mac}.xml 2018-02-21 17:19:05 -05:00
Len 417358739d Update {$mac}.xml 2018-02-21 17:18:22 -05:00
Len 10418e0ae5 Update {$mac}.xml 2018-02-21 17:17:32 -05:00
Len b7056ec8fa Update {$mac}.xml 2018-02-21 17:13:48 -05:00
Len 6bbe029ac7 Update {$mac}.xml 2018-02-21 17:12:16 -05:00
Len f52cad7a2d Update {$mac}.xml 2018-02-21 17:11:35 -05:00
Len bad69f34d2 Update {$mac}.xml 2018-02-21 17:10:18 -05:00
Len 4a333d7a84 Update {$mac}.xml 2018-02-21 17:08:00 -05:00
Len 41ea7c6cdd Update {$mac}.xml 2018-02-21 17:06:11 -05:00
Len 8248399807 Update {$mac}.xml 2018-02-21 17:04:51 -05:00
Len 7198d05b7f Update {$mac}.xml 2018-02-21 17:03:38 -05:00
Len 8a645d09e1 Update {$mac}.xml 2018-02-21 17:02:17 -05:00
Len bb26a7bb64 Update {$mac}.xml 2018-02-21 17:00:46 -05:00
Len e570a4ab36 Update {$mac}.xml 2018-02-21 16:56:50 -05:00
Len 4d8b593928 Update {$mac}.xml 2018-02-21 16:55:55 -05:00
Len d9065879b6 Update {$mac}.xml 2018-02-21 16:54:44 -05:00
Len 695c1b5d28 Update {$mac}.xml 2018-02-21 16:53:55 -05:00
Len 5c89af7a7a Update {$mac}.xml 2018-02-21 16:52:19 -05:00
Len e38a442fcf Update {$mac}.xml 2018-02-21 16:51:21 -05:00
Len 3b9844f310 Update {$mac}.xml 2018-02-21 16:49:08 -05:00
Len 360cb38759 Update {$mac}.xml 2018-02-21 16:46:29 -05:00
FusionPBX 68f4119ce0 Update call_center_agent_edit.php
Not requiring a username account would take a major change so changing this back and setting the username as required.
2018-02-21 14:06:42 -07:00
FusionPBX c58030594d Update call_center_agent_edit.php 2018-02-21 13:53:28 -07:00
FusionPBX dd7ed4334d Update {$mac}.xml 2018-02-21 13:10:13 -07:00
FusionPBX abedc0bc6f Update {$mac}.xml 2018-02-21 13:06:44 -07:00
FusionPBX b871c3a883 Update {$mac}.xml 2018-02-21 13:05:54 -07:00
FusionPBX 2f428900dc Update {$mac}.xml 2018-02-21 13:03:07 -07:00
FusionPBX 986f9e14d7 Update {$mac}.xml 2018-02-21 13:02:26 -07:00
FusionPBX 54d8d28f65 Update {$mac}.xml 2018-02-21 13:01:27 -07:00
FusionPBX 92cdaecd7d Update {$mac}.xml 2018-02-21 13:00:38 -07:00
FusionPBX d6335d0dd9 Update app_config.php 2018-02-21 12:57:51 -07:00
FusionPBX 3a6f1e7efa Update registrations.php
Removed the encoding type changes changes as it broke XML parsing of the registrations.
2018-02-21 00:38:29 -07:00
FusionPBX bd57047931 Update exec.php 2018-02-21 00:21:49 -07:00
Len bf83e66eb6 Update {$mac}.cfg 2018-02-20 21:03:30 -05:00
Len c1a26c7487 Update {$mac}.cfg 2018-02-20 20:56:22 -05:00
Len b2d54dd86f Update {$mac}.cfg 2018-02-20 20:53:26 -05:00
Len 45d62da750 Update {$mac}.cfg 2018-02-20 20:52:18 -05:00
Len 7cc92d2bf8 Update {$mac}.cfg 2018-02-20 20:50:15 -05:00
Len 557fbb4a2f Update {$mac}.cfg 2018-02-20 20:46:56 -05:00
Len adcfc677a7 Update {$mac}.cfg 2018-02-20 20:31:05 -05:00
Len 0697a8b784 Update {$mac}.cfg 2018-02-20 18:28:27 -05:00
Len c329cd0e0a Update {$mac}.cfg 2018-02-20 17:48:59 -05:00
Len b6506e9ea6 Update {$mac}.cfg 2018-02-20 17:47:44 -05:00
Len b3191fb5e6 Update app_config.php 2018-02-20 17:12:48 -05:00
Len 1fa81b0bc8 Update app_config.php 2018-02-20 17:12:00 -05:00
Len 450f2b3430 Update {$mac}.cfg 2018-02-20 17:07:49 -05:00
Len a8ff72533f Update app_config.php 2018-02-20 17:07:40 -05:00
Len af830a9977 Update {$mac}.cfg 2018-02-20 16:44:33 -05:00
Len 01b2e7b86e Update {$mac}.cfg 2018-02-20 15:30:30 -05:00
Len 9681c4d2ea Update {$mac}.cfg 2018-02-20 14:54:44 -05:00
Len 43f668d99e Update {$mac}.cfg 2018-02-20 02:03:39 -05:00
Len cfad0349e1 Update {$mac}.cfg 2018-02-20 01:45:32 -05:00
Len 44d331d0a1 Update {$mac}.cfg 2018-02-20 01:34:51 -05:00
Len 726e5f05ea Update {$mac}.cfg 2018-02-20 01:29:21 -05:00
Len 397b2a2c37 Update {$mac}.cfg 2018-02-20 01:28:34 -05:00
Len b205c8c19e Update {$mac}.cfg 2018-02-20 01:26:37 -05:00
Len 3f34953dd7 Update {$mac}.cfg 2018-02-20 00:57:11 -05:00
Len d5b28709e9 Update {$mac}.cfg 2018-02-20 00:27:45 -05:00
FusionPBX 7a17772d80 Create streams.php 2018-02-19 21:48:26 -07:00
FusionPBX 4f34d92203 Create app_languages.php 2018-02-19 21:47:29 -07:00
FusionPBX f6c42cecf6 Create app_menu.php 2018-02-19 21:47:05 -07:00
FusionPBX 61720d1c4d Create root.php 2018-02-19 21:46:42 -07:00
FusionPBX 6e2bc76218 Create stream_delete.php 2018-02-19 21:46:23 -07:00
FusionPBX 059b77669f Create stream_edit.php 2018-02-19 21:45:52 -07:00
FusionPBX 7cd3947f43 Create streams.php 2018-02-19 21:45:28 -07:00
FusionPBX 86003af968 Update app_languages.php 2018-02-19 21:42:19 -07:00
FusionPBX bf4c15791b Create app_config.php 2018-02-19 21:39:58 -07:00
FusionPBX 38118e8e43 Update switch_music_on_hold.php 2018-02-19 21:38:32 -07:00
Len 1907969eae Update {$mac}.cfg 2018-02-19 20:17:00 -05:00
Len 79803cbbd8 Update {$mac}.cfg 2018-02-19 20:15:01 -05:00
Len 9e709fa70a Update {$mac}.cfg 2018-02-19 20:06:20 -05:00
Len 6d88440d45 Update {$mac}.cfg 2018-02-19 19:59:42 -05:00
Len 6d96f5c117 Update {$mac}.cfg 2018-02-19 19:48:43 -05:00
Len 4318ce3b05 Update {$mac}.cfg 2018-02-19 19:45:35 -05:00
FusionPBX e3ce315e30 Update destinations.php 2018-02-19 17:37:27 -07:00
FusionPBX 2588732804 Update devices.php 2018-02-19 17:28:40 -07:00
FusionPBX d696e39c00 Update devices.php 2018-02-19 17:17:45 -07:00
Len d882d5c857 Update {$mac}.cfg 2018-02-19 18:59:16 -05:00
Len ae6ded50ae Update {$mac}.cfg 2018-02-19 18:50:40 -05:00
Len a3383bc3ba Update {$mac}.cfg 2018-02-19 18:43:59 -05:00
Len a88534fe41 Update {$mac}.cfg 2018-02-19 02:27:51 -05:00
Len 3d8229adfb Update {$mac}.cfg 2018-02-19 02:04:25 -05:00
Len 6e4889875d Update app_config.php 2018-02-19 00:51:31 -05:00
Len 157a8a98e7 Update app_config.php 2018-02-19 00:45:29 -05:00
Len 189d29bf1f Update app_config.php 2018-02-19 00:42:05 -05:00
Len b3829b9a64 Update app_config.php 2018-02-19 00:23:55 -05:00
Len 619523b8f2 Update app_languages.php 2018-02-19 00:18:53 -05:00
Len bee2aaf556 Update {$mac}.cfg 2018-02-18 23:29:51 -05:00
Len d381c938ce Update {$mac}.cfg 2018-02-18 23:29:35 -05:00
Len 9ab307110f Update {$mac}.cfg 2018-02-18 23:06:32 -05:00
FusionPBX 7368caa443 Update destinations.php 2018-02-18 18:10:23 -07:00
FusionPBX d861751797 Update devices.php 2018-02-18 18:09:34 -07:00
FusionPBX dfdea6a81c Update extension_edit.php 2018-02-18 17:20:11 -07:00
FusionPBX ef1276e16b Update extension_edit.php 2018-02-18 16:14:27 -07:00
FusionPBX b5cbcd155a Update extension_edit.php 2018-02-18 16:03:24 -07:00
Len 8c35ffdc6d Update app_config.php 2018-02-18 17:18:00 -05:00
Len 1271e65447 Update app_config.php 2018-02-18 16:08:49 -05:00
Len f60f488320 Update app_config.php 2018-02-18 15:58:05 -05:00
Len 549f0ddc1f Update {$mac}.cfg 2018-02-18 15:57:38 -05:00
Len 2e71061acf Update app_config.php 2018-02-18 15:34:35 -05:00
Len 659cac2143 Update {$mac}.cfg 2018-02-18 15:04:16 -05:00
Len 2e1d11cc1a Update app_config.php 2018-02-18 14:25:04 -05:00
Len 8f88c420d2 Update app_config.php 2018-02-18 14:16:38 -05:00
Len 386a391e7d Create app_config.php 2018-02-18 14:11:06 -05:00
Len 44d59e9d04 Create app_config.php 2018-02-18 14:09:35 -05:00
Len 4b183174e7 Update and rename app/htek/firmware/readme.md to app/htek/resources/firmware/README.md 2018-02-18 02:55:37 -05:00
Len d8dffadf25 Update and rename app/fanvil/firmware/readme.md to app/fanvil/resources/firmware/README.md 2018-02-18 02:53:03 -05:00
Len 93e3df2006 Create readme.md 2018-02-18 01:13:03 -05:00
Len 441737acd7 Create readme.md 2018-02-18 01:11:41 -05:00
Len 7d38515a19 Rename resources/templates/provision/fanvil/x2/{$mac}.cfg to resources/templates/provision/fanvil/x2p/{$mac}.cfg 2018-02-17 22:36:25 -05:00
Len 972951be22 Rename resources/templates/provision/fanvil/x2p/{$mac}.cfg to resources/templates/provision/fanvil/x2/{$mac}.cfg 2018-02-17 22:31:18 -05:00
Len 93cf664f11 Update {$mac}.cfg 2018-02-17 22:15:32 -05:00
Len fb1585904c Update {$mac}.cfg 2018-02-17 22:05:48 -05:00
Len 235d8246a7 Update {$mac}.cfg 2018-02-17 22:03:58 -05:00
Len a3697a93b2 Update {$mac}.cfg 2018-02-17 22:03:38 -05:00
Len 23c5806c03 Update app_config.php 2018-02-17 20:00:15 -05:00
Len 17ffa17ce2 Update {$mac}.cfg 2018-02-17 19:57:54 -05:00
Len bc4eef116f Update {$mac}.cfg 2018-02-17 19:23:59 -05:00
Len fab0189188 Update {$mac}.cfg 2018-02-17 19:23:31 -05:00
Len 29e614eeb8 Update app_config.php 2018-02-17 18:51:50 -05:00
Len ffd77f9d93 Update {$mac}.cfg 2018-02-17 18:28:49 -05:00
Len 18176dab63 Update {$mac}.cfg 2018-02-17 18:19:15 -05:00
Len aad2760333 Update {$mac}.cfg 2018-02-17 18:05:31 -05:00
Len 96ca37d115 Update {$mac}.cfg 2018-02-17 17:56:13 -05:00
Len c7d582f567 Update {$mac}.cfg 2018-02-17 17:37:45 -05:00
Len ddc2971f8e Update {$mac}.cfg 2018-02-17 17:19:27 -05:00
Len 2cf137dbb4 Update {$mac}.cfg 2018-02-17 17:03:01 -05:00
Len 194f574f1c Update {$mac}.cfg 2018-02-17 16:26:59 -05:00
Len 3e4dd8995c Update {$mac}.cfg 2018-02-17 16:23:21 -05:00
Len 2413c93072 Update {$mac}.cfg 2018-02-17 15:45:35 -05:00
Len edc5cca964 Update {$mac}.cfg 2018-02-17 15:23:30 -05:00
Len 37033f6169 Update {$mac}.cfg 2018-02-17 14:45:07 -05:00
FusionPBX c0b1a48660 Update app_config.php 2018-02-17 10:34:37 -07:00
Len 6e9a50977a Update device.php 2018-02-17 03:45:37 -05:00
Len 183beb2302 Update {$mac}.cfg 2018-02-17 03:43:05 -05:00
Len 33b9acc703 Update index.php
update favicon path
2018-02-17 03:07:53 -05:00
Len 762c169bda Update app_languages.php 2018-02-17 02:31:34 -05:00
Len 7993959410 Update app_config.php 2018-02-17 00:44:54 -05:00
Len 8e681f6116 Update {$mac}.cfg 2018-02-16 23:33:04 -05:00
FusionPBX e5b8e581fe Update destination_edit.php 2018-02-16 21:28:38 -07:00
Len 3f707a87ac Update {$mac}.cfg 2018-02-16 23:27:56 -05:00
Len 3c44284df7 Update {$mac}.cfg 2018-02-16 23:22:01 -05:00
Len d01a553a74 Update {$mac}.cfg 2018-02-16 23:19:27 -05:00
Len 6639622fcd Update {$mac}.cfg 2018-02-16 23:18:11 -05:00
Len e018267334 Update {$mac}.cfg 2018-02-16 23:16:50 -05:00
Len 4d059c4222 Update {$mac}.cfg 2018-02-16 23:13:12 -05:00
Len 1d0f5bdf3b Update {$mac}.cfg 2018-02-16 23:12:01 -05:00
Len b9fd2caa85 Update {$mac}.cfg 2018-02-16 23:10:16 -05:00
Len af460fac23 Create {$mac}.cfg 2018-02-16 22:29:45 -05:00
Len ff35198e16 Create {$mac}.cfg 2018-02-16 22:28:58 -05:00
Len fa17572eee Create {$mac}.cfg 2018-02-16 22:28:05 -05:00
Len 132aa052e7 Create {$mac}.cfg 2018-02-16 22:27:20 -05:00
Len 353d2e6936 Create {$mac}.cfg 2018-02-16 22:26:48 -05:00
Len fc0015f75b Create {$mac}.cfg 2018-02-16 22:25:23 -05:00
Len ffbf6ea6fb Rename resources/templates/provision/fanvil/placeholder to resources/templates/provision/fanvil/x5s/{$mac}.cfg 2018-02-16 22:22:43 -05:00
Len f8c99a2429 Rename resources/templates/provision/htek/placeholder to resources/templates/provision/htek/uc903/{$mac}.cfg 2018-02-16 22:21:47 -05:00
FusionPBX 84ec143132 Update fax_to_email.php 2018-02-15 18:49:14 -07:00
ednt 6132599550 Update fax_retry.lua (#2994)
If the fax transmission fails the first time, the ident and header was not transmitted during the retries.
2018-02-15 09:19:05 -07:00
FusionPBX ea4d91a5df Update functions.php 2018-02-13 15:38:26 -07:00
FusionPBX 7e2d5a3b6d Update v_xml_cdr_import.php 2018-02-13 10:17:14 -07:00
FusionPBX 7c47856d74 Update app_config.php 2018-02-13 10:14:53 -07:00
FusionPBX c797b2aadd Update database_transaction_edit.php 2018-02-13 09:33:51 -07:00
FusionPBX 9aba557208 Update database_transaction_edit.php 2018-02-13 09:24:59 -07:00
FusionPBX 812b2378bb Update database_transaction_edit.php 2018-02-13 09:21:42 -07:00
FusionPBX 81b14e5367 Update database_transactions.php 2018-02-13 09:20:16 -07:00
Pro-pra e48bd59104 Update app_languages.php (#2990) 2018-02-12 22:53:49 -07:00
FusionPBX 0f40bd0d0b Update database_transaction_edit.php 2018-02-12 11:16:49 -07:00
FusionPBX fd0bd725a8 Update database_transactions.php 2018-02-12 11:06:01 -07:00
FusionPBX f96d90453f Update app_config.php 2018-02-12 11:03:28 -07:00
FusionPBX f511b91c1e Update app_languages.php 2018-02-12 10:58:11 -07:00
Mafoo 7a8c72ecff Enhance [master] - Italian Translations (#2989)
* Reinstate comments detected by text class

* Updated Italian Translations
2018-02-12 10:50:47 -07:00
FusionPBX 34432079a8 Update database.php 2018-02-12 08:40:23 -07:00
FusionPBX 6704dbeea2 Ring Groups route_to_bridge was fixed re-add it to the code. 2018-02-11 10:22:25 -07:00
Alexey Melnichuk eb72f3d5ce Change. library loads only needed files. (#2987) 2018-02-11 08:56:01 -07:00
FusionPBX 38002a8cb4 Update ring_group_edit.php 2018-02-10 17:19:54 -07:00
FusionPBX 13575adba3 Update index.lua 2018-02-10 15:48:18 -07:00
FusionPBX 7bd18aa44b Update call_flow.lua 2018-02-10 15:34:27 -07:00
FusionPBX 9cc13cd7d4 Update find_file.lua 2018-02-10 15:32:36 -07:00
FusionPBX 5412489442 Update call_flow.lua 2018-02-10 15:14:42 -07:00
FusionPBX 776c2d0b93 Update call_flow.lua 2018-02-10 15:14:22 -07:00
FusionPBX 129a9b5986 Create basename.lua 2018-02-10 13:42:02 -07:00
FusionPBX 39c4530cfd Update find_file.lua 2018-02-10 13:40:45 -07:00
FusionPBX 4e0edb644c Create is_absolute_path.lua 2018-02-10 13:39:54 -07:00
FusionPBX 90f5a3a16a Create find_file.lua 2018-02-10 13:38:17 -07:00
FusionPBX 0c338047cf Create play_file.lua 2018-02-10 13:35:07 -07:00
Alexey Melnichuk f82f73bc44 Fix. Use preloaded dialplan more then once. (#2986) 2018-02-10 13:27:07 -07:00
FusionPBX baac03c085 Update ring_group_edit.php 2018-02-10 13:16:23 -07:00
FusionPBX f53cde2107 Update app_config.php 2018-02-10 13:15:26 -07:00
FusionPBX 6084e0c17d Update extension_edit.php 2018-02-10 12:23:05 -07:00
FusionPBX 4d17781ef2 Update device_edit.php 2018-02-10 12:03:33 -07:00
FusionPBX a90c785ea3 Update sounds.php 2018-02-10 08:46:15 -07:00
FusionPBX 12696a29dc Update app_languages.php 2018-02-10 08:38:47 -07:00
FusionPBX bb7f82bfa9 Update app_languages.php 2018-02-10 00:21:40 -07:00
FusionPBX bdaaf03cbe Update app_languages.php 2018-02-10 00:14:14 -07:00
FusionPBX 35670dfdc0 Create sounds.php 2018-02-09 18:28:35 -07:00
FusionPBX 76d12a750c Update xml_cdr_inc.php 2018-02-09 13:39:32 -07:00
Len 38466edc4f Create placeholder 2018-02-09 13:18:49 -05:00
Len c2f95dd4ab Create placeholder 2018-02-09 13:17:30 -05:00
Len ceb7d9f6a5 Update y000000000070.cfg 2018-02-08 23:23:29 -05:00
Len f9b1e5b1ff Update y000000000074.cfg 2018-02-08 23:22:06 -05:00
Len 3c06fbc8b1 Update y000000000058.cfg 2018-02-08 23:12:00 -05:00
Len 950eda4af5 Update y000000000056.cfg 2018-02-08 23:10:22 -05:00
Mafoo f12c9cba86 BugFix default_settings anchors (#2984)
update anchor names to use correct names the mentioned commit changed the anchors over to use #anchor_{subcategory} from #{subcategory} but didn't correct all instances where anchors where called into the page
this commit broke it
https://github.com/fusionpbx/fusionpbx/commit/45bf2e5fd647200a02985819529dbb6fa0f84449
2018-02-08 20:36:28 -07:00
markjcrane b32cbd537c Remove the code changes that used route to bridge code as it broke calling multiple external destinations for Ring Groups. 2018-02-08 11:33:08 -07:00
FusionPBX f1383aa4c4 Update app_defaults.php 2018-02-08 10:11:03 -07:00
FusionPBX a2f5fb2b01 Update app_defaults.php 2018-02-08 10:08:13 -07:00
FusionPBX d8c539f396 Update app_defaults.php 2018-02-08 09:47:59 -07:00
emaktech 5341640306 Yealink T52s/T54s: Add Variables from T4x Templates + New Ones (#2980)
* Add New Variables from T4x Templates + New Ones

Merged in all variables from the Yealink T4x templates to ensure the T54 phone provisions with similar settings to the T4x phones.

Notable changes include admin user login password is now correctly set, timezone settings get set and many other changes. No behaviors have been hardcoded/changed that don't already exist on T4x phones so should not break any existing configurations.

In addition, there are a ton of new variables that can be set in the Fusion GUI. All these new changes should probably also be backported to all the other Yealink templates as well.

* Add New Variables from T4x Templates + New Ones

Merged in all variables from the Yealink T4x templates to ensure the T54 phone provisions with similar settings to the T4x phones.

Notable changes include admin user login password is now correctly set, timezone settings get set and many other changes. No behaviors have been hardcoded/changed that don't already exist on T4x phones so should not break any existing configurations.

In addition, there are a ton of new variables that can be set in the Fusion GUI. All these new changes should probably also be backported to all the other Yealink templates as well.
2018-02-06 19:12:30 -07:00
FusionPBX b750cfd7d3 Update functions.php 2018-02-06 18:28:30 -07:00
FusionPBX c856521f01 Update app_config.php 2018-02-06 18:26:04 -07:00
FusionPBX 6b9e8fac2f Update fax_send.php 2018-02-06 18:24:46 -07:00
FusionPBX 864abad9ca Update fax_to_email.php 2018-02-06 18:23:09 -07:00
FusionPBX 89e3ed5aed Update v_mailto.php 2018-02-06 18:21:35 -07:00
FusionPBX 3aed1b5335 Update app_config.php 2018-02-06 18:18:21 -07:00
FusionPBX 24fb1e8cb6 Update app_config.php 2018-02-06 18:17:10 -07:00
FusionPBX 776016871e Update send_mail.lua 2018-02-06 18:15:05 -07:00
FusionPBX da8d3ee850 Update app_defaults.php 2018-02-06 18:09:52 -07:00
Mafoo fca2e08a7f Enhance - send_mail.lua (#2978)
use the to address when email:smtp_from:var is empty
don't use email:smtp_from_name:var when empty
2018-02-06 17:45:53 -07:00
Mafoo d92adacc28 BugFix - send_mail.lua (#2977)
use correct header to retrieve call_uuid
2018-02-06 17:28:00 -07:00
FusionPBX d953639032 Update app_config.php 2018-02-06 15:55:36 -07:00
FusionPBX 707e32e9c3 Update extension_edit.php 2018-02-06 13:42:20 -07:00
Connor Strandt fc72b2250c update index.lua (#2976)
re-formatted table.
2018-02-06 00:09:52 -07:00
FusionPBX 16ff738c5b Update index.lua 2018-02-05 23:56:22 -07:00
FusionPBX 3db4ecb08c Update send_mail.lua
Remove this as it caused a nil error app/hangup/index.lua.
2018-02-05 23:47:36 -07:00
FusionPBX 7f201a8097 Update send_mail.lua
Revert the previous commit as it broke send_email.lua.
2018-02-05 22:23:18 -07:00
FusionPBX c2f8733728 Update xml_cdr.php 2018-02-05 13:32:40 -07:00
FusionPBX ef0099c6bb Update v_xml_cdr_import.php 2018-02-05 13:26:30 -07:00
Len e866a02a09 Update {$mac}.xml 2018-02-05 14:50:37 -05:00
Len eeafe0c9b6 Update app_config.php 2018-02-05 14:30:59 -05:00
Len a3ed6203ed Update {$mac}.xml 2018-02-05 04:11:17 -05:00
Len 622a13918c Update {$mac}.xml 2018-02-05 04:04:59 -05:00
Len 46596360f9 Update {$mac}.xml 2018-02-05 03:56:04 -05:00
Len 33780c92fa Update {$mac}.xml 2018-02-05 03:25:17 -05:00
Len 77ac1e74ad Update {$mac}.xml 2018-02-05 03:09:55 -05:00
Len ba06070015 Update {$mac}.xml 2018-02-05 02:48:21 -05:00
Len 3081c6a750 Update {$mac}.xml 2018-02-05 02:29:35 -05:00
Len 4523bb038d Update {$mac}.xml 2018-02-05 02:08:42 -05:00
Len 2e8bc760a3 Update {$mac}.xml 2018-02-05 01:41:47 -05:00
Len 81446e38a1 Update {$mac}.xml 2018-02-05 01:38:13 -05:00
Len 0ce59c66cb Update {$mac}.xml 2018-02-05 00:46:09 -05:00
Len c8768bdd59 Update {$mac}.xml 2018-02-05 00:01:17 -05:00
FusionPBX 5ffcfe50b2 Update {$mac}.xml 2018-02-03 22:12:03 -07:00
FusionPBX b23f2ccc43 Update {$mac}.xml 2018-02-03 22:05:17 -07:00
FusionPBX 3d01d6f479 Update {$mac}.xml 2018-02-03 22:01:06 -07:00
FusionPBX f522e71532 Update {$mac}.xml 2018-02-03 21:38:07 -07:00
FusionPBX 55fefbd0a4 Update {$mac}.xml 2018-02-03 21:32:49 -07:00
FusionPBX 4093520dcc Update {$mac}.xml 2018-02-03 21:24:05 -07:00
FusionPBX 2e0412ac86 Update app_config.php 2018-02-03 21:10:06 -07:00
FusionPBX d7614682d3 Update provision.php 2018-02-03 20:36:56 -07:00
FusionPBX e5c895df06 Update app_config.php 2018-02-03 19:03:08 -07:00
FusionPBX f26edb8fce Update device_edit.php 2018-02-03 19:01:48 -07:00
Len a6792edeae Update {$mac}.xml 2018-02-03 19:49:18 -05:00
FusionPBX 5c092b8f57 Update send_mail.lua
Fix a spelling mistake.
2018-02-02 19:35:02 -07:00
Mafoo e06f21ccf3 BugFix - LUA send_mail() (#2975)
take call_uuid from the correct header
use smtp_from_name as part of the from address
2018-02-02 19:33:43 -07:00
Mafoo 9724c1384e BugFix - make hangup and failure use send_mail() (#2974)
change the failure_handler and hangup apps use
resources.functions.send_mail so they can use the correct smtp_from*
settings
2018-02-02 19:33:30 -07:00
Len 926995404f Update {$mac}.xml 2018-02-02 13:59:15 -05:00
Connor Strandt ff1ddaa1ae Formatting and sendmail to use smtp_from fix (#2973)
* Fixed formatting.
* Sendmail to use smtp_from variable

Changed sendmail to use smtp_from as the from address to keep from being blocked by spf check during spam filtering on recieving end.
2018-02-02 01:02:57 -07:00
FusionPBX 732f620eb2 Update app_config.php 2018-02-02 00:56:14 -07:00
FusionPBX 8954de16fc Update fax_to_email.php 2018-02-02 00:51:59 -07:00
FusionPBX cfe788fd2f Update v_mailto.php 2018-02-02 00:45:57 -07:00
FusionPBX 74d578bb75 Update v_mailto.php 2018-02-02 00:44:56 -07:00
FusionPBX 8c2bbbf7b3 Update fax_to_email.php
Make the code more consistent with the rest of the project.
2018-02-02 00:06:11 -07:00
FusionPBX e3eb47c7ca Update app_config.php 2018-02-01 22:49:39 -07:00
ewyand 380171da06 Add customization for email (#2968)
Add customization for email
Add customization for smtp_from and smtp_from_name for voicemail to email
Add customization for smtp_from and smtp_from_name for fax to email
Fixed typo
2018-02-01 22:21:04 -07:00
FusionPBX 37eefcd572 Update xml_cdr_statistics.php 2018-02-01 16:00:18 -07:00
Len 9ca50ca815 Update {$mac}.xml 2018-02-01 17:16:14 -05:00
Len 66ae41e383 Update {$mac}.xml 2018-02-01 17:10:27 -05:00
Len 1e841dceca Update {$mac}.xml 2018-02-01 16:59:14 -05:00
Len ef5a1b7361 Update {$mac}.xml 2018-02-01 16:17:36 -05:00
Len ecb5b3950c Update {$mac}.xml 2018-02-01 15:47:53 -05:00
Len 1cf5a559aa Update {$mac}.xml 2018-02-01 15:15:31 -05:00
Len 10545987f6 Update {$mac}.xml 2018-02-01 14:51:19 -05:00
Len 83e66c652f Update {$mac}.xml 2018-02-01 14:27:48 -05:00
Len 52cc0d1227 Update {$mac}.xml 2018-02-01 14:13:29 -05:00
Len 198d53afea Update {$mac}.xml 2018-02-01 13:50:29 -05:00
Len 34afde1c21 Update {$mac}.xml 2018-02-01 12:50:50 -05:00
Len cac2dbc04b Update {$mac}.xml 2018-01-31 18:05:46 -05:00
FusionPBX 92d7d9524f Update app_config.php 2018-01-31 14:57:45 -07:00
FusionPBX d877dd0652 Update languages.lua
Prevent a nill error when the phrase was not found.
2018-01-31 14:45:24 -07:00
FusionPBX 241377c09c Update registrations.php add a comment so we know why its there. 2018-01-30 21:09:33 -07:00
Mafoo 07b0c2df79 Enhance Gigaset LAN IP (#2970)
GIGASET Sculpture CL750A puts _ in it's lan ip account for this and
perform a replacement
2018-01-30 21:06:24 -07:00
Alexey Melnichuk 3e64a494fc Fix. Use number_alias as VM id when do generation extensions (#2969) 2018-01-29 22:38:51 -07:00
FusionPBX c792a30ec4 Update v_xml_cdr_import.php 2018-01-29 17:30:12 -07:00
FusionPBX 3cbc25d669 Update xml_cdr.php 2018-01-29 17:25:40 -07:00
FusionPBX 324b1a7111 Update app_config.php 2018-01-29 15:29:10 -07:00
Pro-pra 3147d7a441 small fix RU translation (#2967) 2018-01-28 22:24:23 -07:00
racitup 8c5048608c Update 370_tone_stream.xml (#2966) 2018-01-28 05:21:35 -07:00
FusionPBX 73abc7948e Update app_languages.php 2018-01-28 05:11:05 -07:00
FusionPBX a94252f3b4 Update app_config.php 2018-01-28 04:52:25 -07:00
FusionPBX 4b00acadea Update call_center_queue_edit.php 2018-01-28 04:50:54 -07:00
FusionPBX 8aa38f62f9 Update app_languages.php 2018-01-28 04:44:22 -07:00
Alexey Melnichuk d84bebc1d5 Fix. Create database scheme before trying insert record to v_database (#2965)
Problem that `create_database_pgsql` does not create actual scheme
but `create_odbc_database_connection` try insert record to v_database and
installation fails.
2018-01-27 12:12:11 -07:00
FusionPBX b26ffca76f Update app_config.php 2018-01-25 22:03:29 -07:00
FusionPBX ace787e366 Update app_config.php 2018-01-25 21:51:26 -07:00
FusionPBX e97925b573 Update user_edit.php 2018-01-25 21:34:06 -07:00
FusionPBX 8613511ef9 Update registrations.php 2018-01-25 21:01:12 -07:00
FusionPBX d3feb5fae9 Update app_config.php 2018-01-25 19:51:04 -07:00
FusionPBX a8f41aa357 Update app_config.php 2018-01-25 15:30:47 -07:00
FusionPBX 669b8e3234 Update call_flow_edit.php 2018-01-25 15:30:00 -07:00
Luis Daniel Lucio Quiroz 62bfca478e Include New yealink mac (#2963)
New Yealink t48s have different mac address
2018-01-25 12:56:42 -07:00
FusionPBX 7081bfe80c Update app_config.php 2018-01-23 19:20:57 -07:00
FusionPBX bcd1641a3c Update app_config.php 2018-01-23 19:20:14 -07:00
FusionPBX 917e13940b Update destinations.php 2018-01-23 19:09:08 -07:00
FusionPBX 40cc476382 Update destination_edit.php 2018-01-23 19:01:25 -07:00
FusionPBX ec9b119926 Update destinations.php 2018-01-23 18:49:54 -07:00
FusionPBX 587f74b0f1 Update device_edit.php 2018-01-22 22:41:55 -07:00
FusionPBX 0dd2f5b023 Update app_config.php 2018-01-22 22:33:09 -07:00
FusionPBX 7ef160caec Update app_config.php 2018-01-22 22:32:05 -07:00
FusionPBX 704494c381 Update index.lua 2018-01-22 10:46:06 -07:00
FusionPBX debb46c221 Update index.lua 2018-01-22 10:45:48 -07:00
FusionPBX c1c8c5d453 Update index.lua 2018-01-22 10:32:25 -07:00
Harry Foster 0803ac586d Fix provisioning templates ignoring domain specific templates (#2960)
* Moved multi-tenant template directory statement to before the templating engine initialisation.

* Revert "Moved multi-tenant template directory statement to before the templating engine initialisation." Formatting issue, needless diffs.

This reverts commit 04547a1337.

* Moved multi-tenant template directory statement to before the template
2018-01-22 09:53:30 -07:00
borisk1976 1af20b8bbd Add new features to disa.lua (#2961)
1. Allow custom sound_pin & sound_extension
2. Allow customization of max_tries, pin_tries & extension_tries
3. Add fallback_destination - fall to it if caller did not entered extension number
4. Allow custom digit_timeout
2018-01-22 00:01:41 -07:00
FusionPBX b4a817083e Update calls_active_inc.php 2018-01-21 23:53:36 -07:00
FusionPBX a11fb1a4ef Update cache.lua
Make the cache.lua more robust in case of missing key or value.
2018-01-19 18:39:05 -07:00
FusionPBX a52c4ab0c8 Update app_config.php 2018-01-19 12:08:58 -07:00
FusionPBX 2cb626d6f5 Update app_config.php 2018-01-19 12:08:33 -07:00
FusionPBX 894b4bf7fd Update sofia.conf.lua
Remove an extra double quote that broke xml syntax.
2018-01-19 11:36:08 -07:00
borisk1976 878297a44c Update disa.lua (#2959)
Play user defined greeting befor asking of pin. Usage: <application action="set" data="sound_greeting=/mysounds/mygreeting.wav"/>
2018-01-19 10:58:25 -07:00
FusionPBX d4ebbcb573 Update 050_user_record.xml 2018-01-18 17:01:50 -07:00
FusionPBX 9c7a64cc61 Update disa.lua 2018-01-17 01:52:59 -07:00
Len 22297329c3 Update {$mac}.xml 2018-01-13 16:59:26 -05:00
Len 28226720ed Update {$mac}.xml 2018-01-13 16:57:59 -05:00
Len 1197d250c6 Update {$mac}.xml 2018-01-13 16:56:34 -05:00
Len 352c00fca2 Update {$mac}.xml 2018-01-13 16:54:28 -05:00
Len 7d48fa6ef0 Update {$mac}.xml 2018-01-13 16:48:52 -05:00
Len 0c3ba82795 Update {$mac}.xml 2018-01-13 16:27:27 -05:00
Len b28c1aa05a Update {$mac}.xml 2018-01-12 23:55:58 -05:00
Len 4d9d8afc7a Update {$mac}.xml 2018-01-12 23:54:15 -05:00
Len df1dc03cda Update app_config.php 2018-01-12 23:27:42 -05:00
Len 7ff598c458 Update {$mac}.xml 2018-01-12 23:17:03 -05:00
Len 717edf63de Update {$mac}.xml 2018-01-12 23:10:32 -05:00
Len a3cba4c9b1 Update {$mac}.xml 2018-01-12 22:44:34 -05:00
Len d5805eec51 Update {$mac}.xml 2018-01-12 22:31:38 -05:00
Len a4adcc629d Update {$mac}.xml 2018-01-12 22:12:58 -05:00
FusionPBX 0580e064f6 Update {$mac}.xml 2018-01-12 15:04:34 -07:00
Pro-pra 172cf661c4 Update app_languages.php (#2958) 2018-01-11 23:47:30 -07:00
Len b0aa9c0688 Update {$mac}.xml 2018-01-11 23:25:46 -05:00
Len 931aacabba Update {$mac}.xml 2018-01-11 23:05:06 -05:00
Len 64b3075755 Update {$mac}.xml 2018-01-11 22:38:04 -05:00
Len d1eefca826 Update {$mac}.xml 2018-01-11 22:36:01 -05:00
Len 1367caf32d Update {$mac}.xml 2018-01-11 22:33:53 -05:00
Len a731dd43ab Update {$mac}.xml 2018-01-11 22:31:25 -05:00
Len 4417f3c833 Update {$mac}.xml 2018-01-11 22:29:09 -05:00
Len 57153f9fb2 Update {$mac}.xml 2018-01-11 22:25:07 -05:00
FusionPBX 9b6ac876f6 Update languages.lua 2018-01-11 15:31:07 -07:00
FusionPBX 19dd0fecff Update music_on_hold_delete.php 2018-01-11 13:43:23 -07:00
FusionPBX ace2d9d926 Update music_on_hold_edit.php 2018-01-11 13:41:45 -07:00
FusionPBX 6d59d535d7 Update dialplan.lua 2018-01-11 12:43:58 -07:00
FusionPBX 8a1c43775c Update translate.conf.lua 2018-01-11 12:31:25 -07:00
FusionPBX 28e74afd8f Update sofia.conf.lua 2018-01-11 12:29:18 -07:00
FusionPBX b793289d41 Update ivr.conf.lua 2018-01-11 12:27:11 -07:00
FusionPBX 2eae15a643 Update callcenter.conf.lua 2018-01-11 12:25:33 -07:00
FusionPBX 1cf72013f1 Update acl.conf.lua 2018-01-11 12:20:04 -07:00
FusionPBX c3affc15f2 Update acl.conf.lua 2018-01-11 12:11:49 -07:00
FusionPBX 49460503e4 Update acl.conf.lua 2018-01-11 12:10:43 -07:00
FusionPBX d38aa31031 Update local_stream.conf.lua 2018-01-11 12:07:40 -07:00
sergey-mz 929b79d5d0 Check for request errors and return empty string (#2957)
* ODBC DSN detection

* Merge remote-tracking branch 'upstream/master'

* Merge remote-tracking branch 'upstream/master'

* Spelling errors

* Requests to speech platform can fail
2018-01-11 11:26:39 -07:00
FusionPBX 203c8bcd35 Update destination_edit.php 2018-01-10 20:04:56 -07:00
FusionPBX cb6d484f37 Update {$mac}.cfg 2018-01-10 19:52:25 -07:00
FusionPBX 4791c7b72f Update {$mac}.cfg 2018-01-10 19:51:40 -07:00
Len 664ba541ef Update app_config.php 2018-01-10 18:55:48 -05:00
Len ddc2b71087 Update {$mac}.xml 2018-01-10 18:52:19 -05:00
Len 83b990761f Update {$mac}.xml 2018-01-10 18:49:04 -05:00
Len 6a40cbce45 Update {$mac}.cfg 2018-01-10 18:39:15 -05:00
Len 03ff50eebd Update {$mac}.cfg 2018-01-10 18:38:39 -05:00
Len 14daf686ea Update {$mac}.cfg 2018-01-10 18:37:53 -05:00
Len 2cc18b228b Update app_config.php 2018-01-10 18:29:29 -05:00
FusionPBX 6f105cb2fe Update contacts.php 2018-01-10 13:37:26 -07:00
FusionPBX 5f437a99da Update destinations.php 2018-01-10 13:21:36 -07:00
konradSC 722021bdd7 Fix for Ring Groups with cfwd always & toll_allow (#2952)
This scenario was broken: 
A ring group member forwards their phone to a destination. The destination is an external number and the outbound route had a toll_allow condition. 

This error would be generated: [ERR] switch_cpp.cpp:1376 [route_to_bridge] Unsupportded condition: ${toll_allow}

This PR will get the toll_allow values from the RG member that is forwarding their phone. Then it will pass it to  'route_to_bridge.lua'.
2018-01-09 15:08:28 -07:00
FusionPBX 51b7deec86 Update destinations.php 2018-01-09 12:45:04 -07:00
FusionPBX 98f32c27a5 Update destinations.php 2018-01-09 12:43:23 -07:00
konradSC 0a414da71d Emergency Notify lua script (#2953)
* Create index.lua

* Create email_body.tpl

* Create email_subject.tpl

* Update index.lua

* Update index.lua
2018-01-09 12:11:16 -07:00
FusionPBX 4046a8ab34 Update xml_cdr.php 2018-01-09 11:11:03 -07:00
konradSC fa58a7ed33 Update xml_cdr.php (#2942)
Add check for duplicate call records. Duplicate records will cause the entire db insert to fail. I have tested this with the /app/xml_cdr/xml_cdr_import.php method for cdr insertion.
2018-01-09 11:01:10 -07:00
konradSC 4bcbc7edee Ring Group Member - Call Forward (#2951)
After checking for Call Forward loops, set the destination_number to the call forward target.
2018-01-08 12:14:08 -07:00
FusionPBX 1073fc21ce Update extension_delete.php 2018-01-07 20:52:30 -07:00
FusionPBX f72f409a0b Update destinations.php 2018-01-07 20:01:32 -07:00
FusionPBX d305da7ca3 Update 505_call-forward-all.xml 2018-01-07 01:22:07 -07:00
FusionPBX 7f46befe31 Update 500_call-forward.xml 2018-01-07 01:07:13 -07:00
Alexey Melnichuk 80363481fc Fix. Do not request number when do call forward toggle. (#2938)
It is consistent with enable/disable actions.
2018-01-07 01:05:58 -07:00
sergey-mz 61b78ea73b Fix spelling (#2950)
* ODBC DSN detection

* Merge remote-tracking branch 'upstream/master'

* Merge remote-tracking branch 'upstream/master'

* Spelling errors
2018-01-05 13:04:26 -07:00
FusionPBX 5f2e9b89d4 Update {$mac}.cfg 2018-01-05 02:40:54 -07:00
FusionPBX 00b7fc791a Update {$mac}.cfg 2018-01-05 02:40:29 -07:00
FusionPBX 8501dae6cd Update {$mac}.cfg 2018-01-05 02:40:14 -07:00
FusionPBX 0268f34c6a Update {$mac}.cfg 2018-01-05 02:40:09 -07:00
FusionPBX 1d8473ea4b Update {$mac}.cfg 2018-01-05 02:39:57 -07:00
FusionPBX 0b6df2379b Update {$mac}.cfg 2018-01-05 02:39:53 -07:00
FusionPBX 73453d7ac5 Update {$mac}.cfg 2018-01-05 02:39:46 -07:00
FusionPBX 94ebc8b23d Update {$mac}.cfg 2018-01-05 02:39:42 -07:00
FusionPBX fe226c505f Update {$mac}.cfg 2018-01-05 02:39:30 -07:00
FusionPBX 59e5ad83e8 Update {$mac}.cfg 2018-01-05 02:39:24 -07:00
FusionPBX 2a08f96dc9 Update {$mac}.cfg 2018-01-05 02:39:19 -07:00
FusionPBX a5efb8aefb Update {$mac}.cfg 2018-01-05 02:39:05 -07:00
FusionPBX 79474f03af Update {$mac}.cfg 2018-01-05 02:38:57 -07:00
FusionPBX 04bf6d5196 Update {$mac}.cfg 2018-01-05 02:38:01 -07:00
FusionPBX ed68808edc Update {$mac}.cfg 2018-01-05 02:37:42 -07:00
FusionPBX 09b37f5f3b Update {$mac}.cfg 2018-01-05 02:37:22 -07:00
FusionPBX caa229b15d Update {$mac}.cfg 2018-01-05 02:37:14 -07:00
FusionPBX 78dd86c48c Update {$mac}.cfg 2018-01-05 02:37:06 -07:00
FusionPBX 0ce74843e4 Update {$mac}.cfg 2018-01-05 02:35:51 -07:00
FusionPBX 4132da999c Update {$mac}.cfg 2018-01-05 02:35:40 -07:00
FusionPBX 481a81e369 Update {$mac}.cfg 2018-01-05 02:34:21 -07:00
FusionPBX ed60ce1b95 Update {$mac}.cfg 2018-01-05 02:34:12 -07:00
FusionPBX bd66fece34 Update {$mac}.cfg 2018-01-05 02:34:05 -07:00
FusionPBX 03f958956e Update {$mac}.cfg 2018-01-05 02:33:51 -07:00
FusionPBX 0e822d8ea7 Update {$mac}.cfg 2018-01-05 02:33:39 -07:00
FusionPBX 1aca98f4b7 Update {$mac}.cfg 2018-01-05 02:33:25 -07:00
FusionPBX dde951357b Update {$mac}.cfg 2018-01-05 02:33:13 -07:00
FusionPBX 25354c9a9b Update {$mac}.cfg 2018-01-05 02:33:10 -07:00
FusionPBX 05a85977b4 Update {$mac}.cfg 2018-01-05 02:32:53 -07:00
FusionPBX 6a10e2e91a Update {$mac}.cfg 2018-01-05 02:32:47 -07:00
FusionPBX 24d6d3f51a Update {$mac}.cfg 2018-01-05 02:25:28 -07:00
FusionPBX b3c2398087 Update {$mac}.cfg 2018-01-05 02:24:59 -07:00
FusionPBX 177c02b703 Update {$mac}.cfg 2018-01-05 02:24:13 -07:00
Len 7f25ca6f80 Update app_config.php 2018-01-04 19:19:28 -05:00
Len ab855586d9 Update {$mac}.cfg 2018-01-04 19:13:16 -05:00
Len 700038fdf0 Update {$mac}.cfg 2018-01-04 19:12:36 -05:00
Len 5f678287a8 Update y000000000037.cfg 2018-01-04 19:00:43 -05:00
Len 6145cf2f77 Update y000000000000.cfg 2018-01-04 18:58:32 -05:00
Len 55b30370e0 Update y000000000000.cfg 2018-01-04 18:56:51 -05:00
Len 58df00d6aa Update y000000000053.cfg 2018-01-04 18:54:42 -05:00
Len 1541997622 Update y000000000007.cfg 2018-01-04 18:52:59 -05:00
Len 9d3e76a78b Update y000000000052.cfg 2018-01-04 18:50:52 -05:00
Len e8c60bfe29 Update y000000000005.cfg 2018-01-04 18:45:01 -05:00
Len 469fad4609 Update y000000000044.cfg 2018-01-04 18:43:10 -05:00
Len a754da41aa Update y000000000044.cfg 2018-01-04 18:42:05 -05:00
Len c47d55e811 Update y000000000004.cfg 2018-01-04 18:38:48 -05:00
Len f12f189e1e Update y000000000069.cfg 2018-01-04 18:37:46 -05:00
Len 5ab5508e73 Update y000000000045.cfg 2018-01-04 18:36:48 -05:00
Len 0c52ae4760 Update y000000000000.cfg 2018-01-04 18:35:11 -05:00
Len cf751dba44 Update y000000000046.cfg 2018-01-04 18:33:53 -05:00
Len b7e54ce6ca Update y000000000032.cfg 2018-01-04 18:32:41 -05:00
Len 40b84b7b21 Update y000000000038.cfg 2018-01-04 18:31:49 -05:00
Len a86a3794bd Update y000000000076.cfg 2018-01-04 18:28:53 -05:00
Len 2748d09e9c Update y000000000054.cfg 2018-01-04 18:27:40 -05:00
Len accca06974 Update y000000000036.cfg 2018-01-04 18:24:26 -05:00
Len 44766c90c3 Update y000000000068.cfg 2018-01-04 18:22:11 -05:00
Len 994fd29cbb Update y000000000029.cfg 2018-01-04 18:20:32 -05:00
Len f3bcf4beaa Update y000000000067.cfg 2018-01-04 18:18:05 -05:00
Len 03de1e9488 Update y000000000025.cfg 2018-01-04 18:17:02 -05:00
Len 125f333854 Update y000000000025.cfg 2018-01-04 18:16:11 -05:00
Len 0667f62f82 Update y000000000023.cfg 2018-01-04 18:14:51 -05:00
Len 777583b14b Update y000000000070.cfg 2018-01-04 18:06:09 -05:00
Len 00e11266c1 Update y000000000074.cfg 2018-01-04 18:04:33 -05:00
Len 1ca2f4167a Update y000000000051.cfg 2018-01-04 18:03:15 -05:00
Len 52fd84170b Update y000000000065.cfg 2018-01-04 17:52:42 -05:00
Len 94fc304883 Update y000000000035.cfg 2018-01-04 17:45:42 -05:00
Len bab9627438 Update y000000000066.cfg 2018-01-04 17:43:47 -05:00
Len c7837755c0 Update y000000000028.cfg 2018-01-04 17:41:21 -05:00
FusionPBX 4e524650c1 Update provision.php 2018-01-04 12:35:52 -07:00
FusionPBX 02f2061d7d Update index.php 2018-01-04 12:26:09 -07:00
hailthemelody b9c7af51f5 correct typo (#2949)
"Ender" the "Enter"
2018-01-03 20:41:00 -07:00
Ghanshyam Katriya 705156f9ae Update index.php (#2948)
Check whether loaded file is xml or not, if not xml than set Content-Type to text/plain
2018-01-03 17:18:52 -07:00
FusionPBX 9fc298d1b8 Update y000000000074.cfg 2018-01-02 22:08:41 -07:00
FusionPBX f8575a15b1 Update index.lua 2018-01-02 19:53:03 -07:00
FusionPBX 82391b67ea Update main_menu.lua 2018-01-02 19:51:12 -07:00
FusionPBX deb91e9fa6 Update domain_settings.php 2017-12-29 15:43:02 -07:00
markjcrane b74a2bf7cc Yealink templates additional work on consistency. 2017-12-28 13:44:12 -07:00
markjcrane 9948be5bc2 Yealink update templates to be more consistent with each other. Add additional stun and ice settings. 2017-12-28 13:25:43 -07:00
FusionPBX 4e5064cd22 Update y000000000068.cfg 2017-12-28 10:55:43 -07:00
FusionPBX 56b9811059 Update y000000000067.cfg 2017-12-28 10:40:42 -07:00
FusionPBX ca68bbe815 Update y000000000037.cfg 2017-12-28 10:38:49 -07:00
FusionPBX e94f14449d Update y000000000066.cfg 2017-12-28 10:35:31 -07:00
FusionPBX 9ed026194c Update y000000000065.cfg 2017-12-28 10:31:05 -07:00
Pro-pra f26f640d29 Russian translation for number_translations (#2946)
* Update app_languages.php

* Update app_languages.php

* Update app_languages.php
2017-12-24 22:02:01 -07:00
FusionPBX 0dc3cf18cc Update number_translations.php 2017-12-24 11:25:26 -07:00
FusionPBX 611ae19017 Update number_translations.php 2017-12-24 10:48:57 -07:00
FusionPBX 7753a6513c Update {$mac}.cfg 2017-12-24 01:20:35 -07:00
FusionPBX 033b5f37ed Update {$mac}.cfg 2017-12-24 01:20:00 -07:00
FusionPBX ac17af6834 Update cmd.php 2017-12-24 01:14:12 -07:00
FusionPBX 4a62ce83c9 Make the search case insensitive.
Using lower() function instead of ilike as its not supported by sqlite.
2017-12-24 00:58:00 -07:00
FusionPBX de65d9bfd8 Update app_defaults.php 2017-12-24 00:52:01 -07:00
FusionPBX 8b6d729e89 Update number_translations.php 2017-12-24 00:49:15 -07:00
FusionPBX d789dddfe2 Update number_translation_edit.php 2017-12-24 00:23:50 -07:00
FusionPBX 42d31f17e5 Update number_translation_delete.php 2017-12-24 00:21:25 -07:00
FusionPBX 252ec8eae6 Update number_translations.php 2017-12-24 00:19:58 -07:00
FusionPBX 6acce07cbb Update number_translations.php 2017-12-24 00:18:18 -07:00
FusionPBX 2bc20663b4 Update app_config.php 2017-12-24 00:16:45 -07:00
FusionPBX baa1dde93e Import method is needed in the class. 2017-12-24 00:08:50 -07:00
FusionPBX 68ca6861cc Update app_defaults.php 2017-12-24 00:01:33 -07:00
FusionPBX 515b6cade7 Update app_languages.php 2017-12-23 23:56:07 -07:00
FusionPBX 80a8a7505d Update app_languages.php 2017-12-23 23:54:53 -07:00
FusionPBX 68bdc3a962 Update app_config.php 2017-12-23 23:47:19 -07:00
FusionPBX 8881054e89 Update and rename number_translation.php to number_translations.php
Completely rewrote classes/number_translation.php and don't need the class xml method because this is handled by the lua xml handler. Import method wasn't used by anything.
2017-12-23 23:41:01 -07:00
FusionPBX 19974e474a Update app_menu.php 2017-12-23 23:31:46 -07:00
FusionPBX be2ced3a01 Completely rewrote number_translations.php
Rewrote these pages to make them work completely and more consistent with other code in the project.
2017-12-23 23:26:02 -07:00
FusionPBX 8afd2ba7eb Update number_translation_edit.php 2017-12-23 23:22:21 -07:00
FusionPBX f3bec18681 Entirely rewrote number_translation_edit.php over again. 2017-12-23 23:22:04 -07:00
FusionPBX e17b88e3fd Completely rewrote number_translation_delete.php. 2017-12-23 23:19:32 -07:00
FusionPBX 81c4ef98f6 Update app_menu.php 2017-12-23 23:17:24 -07:00
FusionPBX fe339f5cbc Delete number_translation_detail_delete.php 2017-12-23 23:16:40 -07:00
markjcrane 7e65f016be Rename directory number_translation to number_translations to be more consistant 2017-12-24 06:14:59 +00:00
FusionPBX 7536d5e142 Update registrations.php 2017-12-23 16:55:32 -07:00
FusionPBX 501d43341e Update destinations.php 2017-12-23 16:24:00 -07:00
FusionPBX af59df98c1 Update app_languages.php 2017-12-22 11:05:27 -07:00
DigiDaz bec6ad652c Fix voicemail creation for ranges (#2945) 2017-12-21 10:06:53 -07:00
FusionPBX 9527f5fb05 Update destinations.php 2017-12-21 01:36:36 -07:00
FusionPBX 9dca6fc809 Update destinations.php 2017-12-21 01:35:35 -07:00
FusionPBX 88fb573a5c Update internal-ipv6.xml.noload 2017-12-19 15:09:12 -07:00
FusionPBX a32534e358 Update external-ipv6.xml.noload 2017-12-19 15:08:34 -07:00
FusionPBX ef32baa044 Update external.xml.noload 2017-12-19 15:08:01 -07:00
FusionPBX 38ad648c74 Update internal.xml.noload 2017-12-19 15:07:35 -07:00
hailthemelody 143a7eb66d fix typo (#2944)
"voiemail" to "voicemail"
2017-12-18 17:05:48 -07:00
FusionPBX a4b38900a7 Update app_defaults.php 2017-12-17 12:58:47 -07:00
FusionPBX 018fd4d305 Update time_condition_edit.php 2017-12-17 02:43:42 -07:00
FusionPBX b78cae097d Update groups.php 2017-12-17 02:22:18 -07:00
FusionPBX d6253fe387 Update gateways.php 2017-12-17 02:18:04 -07:00
FusionPBX f396428fae Update email_templates.php 2017-12-17 02:14:49 -07:00
FusionPBX 7c4f32ecdb Update app_defaults.php 2017-12-17 02:06:00 -07:00
FusionPBX 0408f79676 Update send_email.lua 2017-12-17 01:59:54 -07:00
FusionPBX b358ee09b5 Create app_defaults.php 2017-12-17 01:58:08 -07:00
markjcrane 0eee87d6c8 Move email_templates 2017-12-17 08:56:59 +00:00
FusionPBX fc7ab309a4 Update send_email.lua 2017-12-17 01:51:39 -07:00
FusionPBX d06b99e01e Create email_templates.php 2017-12-17 01:51:29 -07:00
FusionPBX fbc40c20c4 Create email_template_edit.php 2017-12-17 01:50:46 -07:00
FusionPBX d00d4a88f6 Create email_template_delete.php 2017-12-17 01:50:19 -07:00
FusionPBX 4b17c4e2a3 Create app_menu.php 2017-12-17 01:49:52 -07:00
FusionPBX 2e1d987812 Create app_languages.php 2017-12-17 01:49:14 -07:00
FusionPBX 754110a4be Create app_config.php 2017-12-17 01:48:42 -07:00
FusionPBX 7ee707e6f8 Create root.php 2017-12-17 01:47:49 -07:00
FusionPBX abcbe1b95c Create email_templates.php 2017-12-17 01:47:22 -07:00
FusionPBX 9ee2ddd79b Update destinations.php 2017-12-16 22:04:25 -07:00
FusionPBX b2fb19c3d6 Update email_body.tpl 2017-12-15 20:16:42 -07:00
FusionPBX ecd9e5ef19 Update email_body.tpl 2017-12-15 20:16:23 -07:00
FusionPBX a47415ceca Update email_body_transcription.tpl 2017-12-15 20:15:50 -07:00
FusionPBX f6ae5e1a85 Update default_setting_edit.php 2017-12-15 17:20:17 -07:00
FusionPBX 1ebfb51133 Update y000000000000.boot 2017-12-15 15:53:32 -07:00
FusionPBX 8adb87052e Update y000000000000.boot 2017-12-15 15:53:09 -07:00
FusionPBX f5bcb62d7e Update y000000000000.boot 2017-12-15 15:52:55 -07:00
FusionPBX 3a6afd7711 Update y000000000000.boot 2017-12-15 15:52:23 -07:00
FusionPBX 8cb7910498 Update y000000000000.boot 2017-12-15 15:52:05 -07:00
FusionPBX 06f27a8bc0 Update y000000000000.boot 2017-12-15 15:51:44 -07:00
FusionPBX ea72a049f2 Update y000000000000.boot 2017-12-15 15:51:19 -07:00
FusionPBX 97ee21525e Update y000000000000.boot 2017-12-15 15:50:19 -07:00
FusionPBX 975f5ac3f3 Update y000000000000.boot 2017-12-15 15:49:33 -07:00
FusionPBX dd2021a8c9 Update y000000000000.boot 2017-12-15 15:49:01 -07:00
FusionPBX 97ed0f6254 Update y000000000000.boot 2017-12-15 15:48:40 -07:00
FusionPBX 9daa172f68 Update y000000000000.boot 2017-12-15 15:48:08 -07:00
FusionPBX 26426ad008 Update y000000000000.boot 2017-12-15 15:47:39 -07:00
FusionPBX 4ace0ba83f Update y000000000000.boot 2017-12-15 15:47:09 -07:00
FusionPBX e1ccd2f0e7 Update y000000000000.boot 2017-12-15 15:46:42 -07:00
FusionPBX 896d659575 Update y000000000000.boot 2017-12-15 15:46:15 -07:00
FusionPBX 6526add2da Update y000000000000.boot 2017-12-15 15:45:43 -07:00
FusionPBX 5d059a8f72 Update y000000000000.boot 2017-12-15 15:45:24 -07:00
FusionPBX 3a380aab72 Update y000000000000.boot 2017-12-15 15:45:01 -07:00
FusionPBX 89701ca16c Update y000000000000.boot 2017-12-15 15:39:50 -07:00
FusionPBX 7aff9ef578 Update y000000000000.boot 2017-12-15 15:38:30 -07:00
FusionPBX baf3a29e28 Update y000000000000.boot 2017-12-15 15:37:49 -07:00
FusionPBX 3f5c4bc915 Update y000000000000.boot 2017-12-15 15:36:49 -07:00
FusionPBX 22eeee85f6 Update y000000000000.boot 2017-12-15 15:36:09 -07:00
FusionPBX 8992fe7b4d Update y000000000000.boot 2017-12-15 15:35:19 -07:00
FusionPBX ec4b464c7e Update y000000000000.boot 2017-12-15 15:34:14 -07:00
DigiDaz 6b021880f4 Add missing $ (#2943)
Add missing $ to spa_call_waiting
2017-12-14 11:14:55 -07:00
FusionPBX 6961391ab6 Update provision.php 2017-12-14 09:21:37 -07:00
FusionPBX ba567ec806 Update default_settings.php 2017-12-14 00:27:45 -07:00
FusionPBX 9c37183196 Update provision.php 2017-12-14 00:01:44 -07:00
FusionPBX 7cf2c7f8b5 Update index.php 2017-12-13 23:54:47 -07:00
FusionPBX a9d5de2e37 Update y000000000000.boot 2017-12-13 23:37:29 -07:00
FusionPBX 66cd1a1ae1 Update y000000000000.boot 2017-12-13 23:36:07 -07:00
FusionPBX bfc5db3f62 Update y000000000000.boot 2017-12-13 23:34:42 -07:00
FusionPBX 52f538c191 Update y000000000000.boot 2017-12-13 23:33:49 -07:00
FusionPBX d60fb41d93 Update y000000000000.boot 2017-12-13 23:31:25 -07:00
FusionPBX f1c8dac32c Update y000000000000.boot 2017-12-13 23:28:58 -07:00
FusionPBX dc221c3edf Update var_edit.php 2017-12-13 23:25:22 -07:00
FusionPBX 45e706b7b9 Update device_line_edit.php 2017-12-13 23:00:41 -07:00
FusionPBX c8c6bb66cf Update device_edit.php 2017-12-13 22:57:41 -07:00
FusionPBX f2430367b4 Update 505_call-forward-all.xml 2017-12-12 12:04:59 -07:00
FusionPBX f877e30194 Update destination_edit.php 2017-12-11 21:05:40 -07:00
FusionPBX cf98a11cc4 Update groups.php 2017-12-09 13:27:14 -07:00
FusionPBX 9f2ac51a30 Update extensions.php 2017-12-09 13:12:27 -07:00
FusionPBX 391714c60a Update app_config.php 2017-12-09 13:11:27 -07:00
FusionPBX 92c04d83ac Update app_config.php 2017-12-09 13:08:33 -07:00
FusionPBX a04d563a66 Update extensions.php 2017-12-09 13:08:09 -07:00
FusionPBX 4637a8a8f8 Update xml_cdr.php 2017-12-09 12:27:27 -07:00
FusionPBX 64acf7378b Update xml_cdr_inc.php 2017-12-09 12:26:36 -07:00
FusionPBX 54bb87a06f Update destinations.php 2017-12-09 12:19:00 -07:00
FusionPBX 6599d62585 Update users.php 2017-12-09 12:10:56 -07:00
FusionPBX fe98828fe0 Update devices.php 2017-12-09 12:08:08 -07:00
FusionPBX 0012111059 Update gateways.php 2017-12-09 12:04:13 -07:00
FusionPBX bdb88250fb Update app_config.php 2017-12-09 12:03:17 -07:00
FusionPBX 5046cb43f3 Update devices.php 2017-12-09 11:46:11 -07:00
FusionPBX d7e089ca37 Update device_edit.php 2017-12-08 14:32:03 -07:00
FusionPBX 9b2056582b Update app_languages.php 2017-12-08 14:31:18 -07:00
FusionPBX 6d798e086a Update app_config.php 2017-12-06 20:01:19 -07:00
FusionPBX f59fd81a9b Update app_config.php 2017-12-06 19:55:29 -07:00
FusionPBX 4ea67b2c17 Update wakeup.lua 2017-12-06 18:01:06 -07:00
FusionPBX f2d9fb262c Delete sounds.xml 2017-12-06 17:01:38 -07:00
FusionPBX f3ff210fe5 Update en.xml 2017-12-06 17:01:11 -07:00
FusionPBX 21eaa854e4 Update wakeup.xml 2017-12-06 17:00:53 -07:00
FusionPBX f870dfcaa2 Update wakeup.xml 2017-12-06 12:11:36 -07:00
FusionPBX b19ca29a73 Update en.xml 2017-12-06 10:35:23 -07:00
FusionPBX 44ba756f20 Update sounds.xml 2017-12-06 10:32:52 -07:00
FusionPBX 823499dac8 Update app_config.php 2017-12-04 01:01:40 -07:00
Pro-pra fba5ef609f Ru translate for Call Recordings (#2941) 2017-12-03 19:44:31 -07:00
FusionPBX c7e8f39783 Update provision.php 2017-12-03 12:39:25 -07:00
FusionPBX b92eb051bb Update provision.php 2017-12-03 12:24:56 -07:00
FusionPBX 81eac38e67 Update index.php 2017-12-03 12:24:20 -07:00
FusionPBX d2c86b4b48 Update destinations.php 2017-12-02 20:59:12 -07:00
FusionPBX 7feca6a08a Create app_defaults.php 2017-12-02 16:50:34 -07:00
emaktech 0db60bf54c Add Yealink T40G Template (#2940)
* Add new Yealink MWI Subscribe Variable

Adds new variable in Yealink provisioning templates to allow control of MWI subscribe setting behavior on all accounts. Setting the new variable once affects all accounts.

New variable:
yealink_subscribe_mwi_to_vm.

Setting affected:
account.X.subscribe_mwi_to_vm setting

Phones affected:
T1x
T2x
T3x
T4x

May affect MWI subscription behavior. Yealink default is 0, many of the old templates hard coded 1. This change may affect MWI behavior for some users, so check to make sure the variable is added in FusionPBX to match your previous settings before upgrading.

* Add Yealink alert_info Distinctive Ring Variables

Adds new variables in Yealink provisioning templates to allow control of distinctive ring text and distinctive ringtone options.

New variables:
yealink_ring_text_X
yealink_ring_file_X

Setting affected:
distinctive_ring_tones.alert_info.X.text
distinctive_ring_tones.alert_info.X.ringer

Phones affected:
T1x
T2x
T3x
T4x
T5x

User Effect
This should not have any effect on existing provisioning settings unless the new variables are defined.

* Add files via upload

* Fix yealink_firmware_url
2017-12-02 15:11:49 -07:00
FusionPBX 98ddbfbb78 Update destination_edit.php 2017-12-01 11:15:42 -07:00
FusionPBX 6005b93131 Update app_languages.php 2017-12-01 11:14:47 -07:00
FusionPBX bf1c7e649c Update app_config.php 2017-12-01 11:14:12 -07:00
FusionPBX 75b0632c79 Update destination_edit.php 2017-11-30 13:35:47 -07:00
FusionPBX 7f3935fdab Update destination_edit.php 2017-11-30 12:57:26 -07:00
FusionPBX 9443e69340 Update app_config.php 2017-11-30 11:40:11 -07:00
Alexey Melnichuk f127969fe4 Fix. Use external numbers in ring groups with global outbound routes (#2937) 2017-11-29 00:21:21 -07:00
Alexey Melnichuk 07a49f37bd Add. Support variables in ring groups when use dierect dial (#2924)
Add. Support variables in ring groups when use direct dial
2017-11-29 00:20:45 -07:00
Alexey Melnichuk bbfbf4e065 Add. Lua script to set call forward for ring group. (#2934) 2017-11-29 00:19:43 -07:00
TekMason 720d5366e6 fixed t54s rom name (#2933)
* t54s firmware variable update

* t58v UA string, and template, t54s variable desc and file

* fixed type in t54s rom name
2017-11-26 18:13:48 -07:00
FusionPBX d2381d9570 Update app_config.php 2017-11-26 18:13:17 -07:00
TekMason 832b00e558 t54s variable value and descr update and t58v fixes (#2932)
* t54s firmware variable update

* t58v UA string, and template, t54s variable desc and file
2017-11-26 15:16:55 -07:00
TekMason 45e9254345 update yealink t5x templates (#2931) 2017-11-26 13:29:33 -07:00
TekMason 3a8f844e14 dss key length (#2930)
* dss key length

* changed description

* added date format to t54s template
2017-11-25 23:51:04 -07:00
FusionPBX 9b05ab02c8 Update app_config.php 2017-11-25 21:50:42 -07:00
TekMason fba1a942e9 fixed static.firmware.url (#2928) 2017-11-25 01:03:17 -07:00
emaktech 683e785ccd Add Yealink alert_info Distinctive Ring Variables (#2927)
* Add new Yealink MWI Subscribe Variable

Adds new variable in Yealink provisioning templates to allow control of MWI subscribe setting behavior on all accounts. Setting the new variable once affects all accounts.

New variable:
yealink_subscribe_mwi_to_vm.

Setting affected:
account.X.subscribe_mwi_to_vm setting

Phones affected:
T1x
T2x
T3x
T4x

May affect MWI subscription behavior. Yealink default is 0, many of the old templates hard coded 1. This change may affect MWI behavior for some users, so check to make sure the variable is added in FusionPBX to match your previous settings before upgrading.

* Add Yealink alert_info Distinctive Ring Variables

Adds new variables in Yealink provisioning templates to allow control of distinctive ring text and distinctive ringtone options.

New variables:
yealink_ring_text_X
yealink_ring_file_X

Setting affected:
distinctive_ring_tones.alert_info.X.text
distinctive_ring_tones.alert_info.X.ringer

Phones affected:
T1x
T2x
T3x
T4x
T5x

User Effect
This should not have any effect on existing provisioning settings unless the new variables are defined.
2017-11-24 13:58:56 -07:00
FusionPBX d90ee9e4cb Update sip_status.php 2017-11-24 13:01:51 -07:00
FusionPBX 20abd0bf8c Update cmd.php 2017-11-24 13:00:52 -07:00
FusionPBX 53230208bf Update app_languages.php 2017-11-24 13:00:28 -07:00
FusionPBX 3022dcde03 Update sip_status.php 2017-11-24 12:37:20 -07:00
FusionPBX 32e6018e18 Update app_languages.php 2017-11-24 12:15:20 -07:00
TekMason 45e9aae2d9 Removed yealink {$mac}.boot files and added missing auto-insert UAs (#2926)
* removed all yealink mac.boot files

* Added missing auto-inserts
2017-11-24 10:36:09 -07:00
FusionPBX 002428dfea Update app_config.php 2017-11-22 20:06:42 -07:00
FusionPBX a50f71bd77 Update y000000000000.boot 2017-11-22 18:47:44 -07:00
FusionPBX 27c1aabb45 Update {$mac}.boot 2017-11-22 18:47:23 -07:00
FusionPBX 3f93d42d19 Update y000000000000.boot 2017-11-22 18:46:49 -07:00
FusionPBX 9992dcb4ed Update {$mac}.boot 2017-11-22 18:46:28 -07:00
FusionPBX 25ad41e39b Update y000000000000.boot 2017-11-22 18:34:59 -07:00
FusionPBX 2dcaa73f20 Update {$mac}.boot 2017-11-22 18:34:26 -07:00
FusionPBX a138542a2c Update y000000000000.boot 2017-11-22 18:32:57 -07:00
FusionPBX 9f45c9b22e Update {$mac}.boot 2017-11-22 18:32:12 -07:00
FusionPBX 56dd104bbc Update provision.php 2017-11-22 18:18:56 -07:00
FusionPBX 362e2fd56b Update app_config.php 2017-11-22 11:06:03 -07:00
FusionPBX 1f68df8971 Update app_config.php 2017-11-22 10:42:01 -07:00
TekMason d34d501325 add mac .boot files to yealink provision folders (#2923) 2017-11-21 23:06:40 -07:00
FusionPBX 2de796b517 Update switch_music_on_hold.php 2017-11-21 20:28:22 -07:00
TekMason 56ff8d055f T42G Templates (#2922) 2017-11-21 20:24:39 -07:00
FusionPBX ebcdb02a6e Update switch_music_on_hold.php
Sometimes we don't want to set music on hold on the extension level.
2017-11-21 20:22:48 -07:00
FusionPBX 65ff4c2d97 Update 470_valet_park.xml 2017-11-21 20:16:55 -07:00
FusionPBX 5962c66a01 Update app_config.php 2017-11-21 20:16:00 -07:00
emaktech 90551fb48a Add new Yealink MWI Subscribe Variable (#2920)
Adds new variable in Yealink provisioning templates to allow control of MWI subscribe setting behavior on all accounts. Setting the new variable once affects all accounts.

New variable:
yealink_subscribe_mwi_to_vm.

Setting affected:
account.X.subscribe_mwi_to_vm setting

Phones affected:
T1x
T2x
T3x
T4x

May affect MWI subscription behavior. Yealink default is 0, many of the old templates hard coded 1. This change may affect MWI behavior for some users, so check to make sure the variable is added in FusionPBX to match your previous settings before upgrading.
2017-11-21 19:44:23 -07:00
TekMason 9c70317dc9 Yealink T48G Template (#2921) 2017-11-21 19:36:18 -07:00
TekMason 725433d273 Update app/yealink/app_config.php (#2919)
* Added yealink common files for each model and created folder for new conference phone models

* Modified Yealink t46g templates and added 3 new variables

* Update app_config.php

* Update app_config.php

Changed yealink_ip_address_mode variable type from integer to standard type, numeric.
2017-11-21 17:03:13 -07:00
Alexey Melnichuk cc22f35e74 Fix. Extension summary for local calls (#2918) 2017-11-21 09:13:58 -07:00
Alexey Melnichuk cc364e9bb2 Fix. Display domain name for inbound calls in calls_active app (#2917) 2017-11-21 09:09:57 -07:00
FusionPBX c94b910d7b Update calls_active_inc.php 2017-11-21 03:56:58 -07:00
FusionPBX f73939caf1 Update calls_active_inc.php 2017-11-21 03:09:04 -07:00
FusionPBX ef3f99a3c1 Remove transport from user_host in the snom 7xx template 2017-11-20 17:18:32 -07:00
TekMason 9cb0e37745 Modified Yealink t46g templates and added 3 new variables. (#2916)
* Added yealink common files for each model and created folder for new conference phone models

* Modified Yealink t46g templates and added 3 new variables
2017-11-20 15:10:13 -07:00
Alexey Melnichuk 61c90e2bfb Fix. Show registrations for extensions with number alias. (#2914) 2017-11-20 13:59:50 -07:00
Alexey Melnichuk 5b95fcfca0 Fix. Display statistic for all domains (showall=true) (#2915) 2017-11-20 13:58:35 -07:00
TekMason d9210da83d Added yealink common files for each model and created folder for new … (#2913)
* Added yealink common files for each model and created folder for new conference phone models

* Modified Yealink t46g templates and added 3 new variables
2017-11-19 23:11:25 -07:00
sergey-mz 4454067b2d Check Windows ODBC DSN during install (#2798)
* ODBC DSN detection

* Merge remote-tracking branch 'upstream/master'

* Merge remote-tracking branch 'upstream/master'
2017-11-18 22:53:08 -07:00
FusionPBX 983c2fc594 Update app_config.php 2017-11-18 18:34:49 -07:00
FusionPBX ad8a022e48 Update menu.php 2017-11-17 14:44:31 -07:00
FusionPBX f169fc9704 Update provision.php 2017-11-17 14:30:26 -07:00
FusionPBX 20292017cc Update menu.php 2017-11-17 14:28:07 -07:00
FusionPBX 21b282857c Update device_dashboard.php 2017-11-17 14:01:40 -07:00
FusionPBX eb095469cc Update app_defaults.php 2017-11-17 13:39:37 -07:00
FusionPBX 077f2adf53 Update menu.php 2017-11-17 13:06:04 -07:00
FusionPBX 2b6ee8d27c Update app_config.php 2017-11-17 12:06:20 -07:00
konradSC 0045cc5bd6 Fix Typo (#2912)
default_setting_dubcategory
2017-11-17 11:50:23 -07:00
konradSC d8714e8fa9 Fix Typo (#2911) 2017-11-17 11:38:06 -07:00
FusionPBX b9727afed1 Update install_fusionpbx.php 2017-11-17 09:41:51 -07:00
FusionPBX 872a1c3746 Update app_defaults.php 2017-11-17 09:12:37 -07:00
FusionPBX faeb15180e Update app_defaults.php 2017-11-17 09:09:50 -07:00
FusionPBX 085c6b221f Update app_defaults.php 2017-11-17 09:07:16 -07:00
FusionPBX 681ddf33a6 Update app_defaults.php 2017-11-17 09:02:54 -07:00
FusionPBX 3aa1cbad69 Update app_defaults.php 2017-11-17 08:39:39 -07:00
FusionPBX 6f85f21fa7 Update app_defaults.php 2017-11-17 08:39:17 -07:00
FusionPBX 05a58becec Update app_defaults.php 2017-11-17 08:38:19 -07:00
FusionPBX f3b45d51a8 Update extensions.php 2017-11-17 07:41:29 -07:00
Alexey Melnichuk b0422af3e2 Add. Use route_to_bridge module to build routes for ring groups. (#2907)
* Add. Use `route_to_bridge` module to build routes fro ring groups.

This commit has several improvements
1. Select only needed fields. (do not select quite big XML text strings)
2. Filter routes also by context name
3. Filter dialplans also by hostname
4. Handle conditions based not only `destination_number`
5. Handle `break` and `continue` attributes for extensions
6. Escape vars inside dial-string
7. Add log messages similar as FS dialplan do

* Add. `route_to_bridge` set inline vars so it possible use then in next conditions.
Add. `route_to_bridge` can execute basic api commands from allowed lists.
`route_to_bridge` expand all known vars. If var is unknown then it pass as is.
Fix. `export nolocal:` action.

* Fix. Short variable names

* Add. some comments

* Fix. Do not try execute empty string

This produce error messages `[ERR] switch_cpp.cpp:759 No application specified`

* Fix. Export nolocal values.
2017-11-17 07:15:47 -07:00
Pro-pra 0ccbad7d53 Update app_languages.php (#2909) 2017-11-16 17:47:03 -07:00
Alexey Melnichuk 54288d4664 Fix. Dialplan may loose its app_uuid (#2910)
When in dialplan edit form press `XML` and then `Back`
Fusion build wrong URL like `&?app_uuid` so if then press
save server will do not get this arg and change it.
2017-11-16 08:04:23 -07:00
FusionPBX 8bf17f290d Update dialplan_edit.php 2017-11-15 19:22:41 -07:00
konradSC 49417a105a Bug Fix - Match correct database column names (#2908)
call_recording_name & call_recording_path are the correct values.
2017-11-14 22:02:08 -07:00
FusionPBX a83c32b2b3 Update dialplan_inbound_add.php 2017-11-14 20:19:10 -07:00
FusionPBX 666be314fb Update dialplan_outbound_add.php 2017-11-14 20:14:32 -07:00
FusionPBX 85e5c6c5aa Update {$mac}.xml 2017-11-14 19:43:38 -07:00
FusionPBX 364d9c3160 Update {$mac}.xml 2017-11-14 19:43:07 -07:00
FusionPBX 6677ec0a8a Update {$mac}.xml 2017-11-14 19:42:05 -07:00
FusionPBX edd319cacb Update KX-UT136.cfg 2017-11-14 19:40:18 -07:00
FusionPBX 58fc19fa90 Update KX-UT133.cfg 2017-11-14 19:40:05 -07:00
FusionPBX f939317ae7 Update KX-UT123.cfg 2017-11-14 19:39:51 -07:00
FusionPBX ff5c5b83e0 Update KX-UT113.cfg 2017-11-14 19:38:28 -07:00
FusionPBX 4046f55616 Update {$mac}.xml 2017-11-14 19:38:08 -07:00
FusionPBX 6e9bf6e251 Create favorite_setting.xml 2017-11-14 11:07:46 -07:00
FusionPBX a4781764fe Create favorite_setting.xml 2017-11-14 11:07:40 -07:00
FusionPBX daa6069533 Create favorite_setting.xml 2017-11-14 11:07:31 -07:00
FusionPBX 1320d54f74 Create favorite_setting.xml 2017-11-14 11:06:13 -07:00
FusionPBX 35b363084f Create directory.xml 2017-11-14 11:04:45 -07:00
FusionPBX b64ce1d336 Create directory.xml 2017-11-14 11:04:19 -07:00
FusionPBX a1b7679250 Create directory.xml 2017-11-14 11:04:01 -07:00
FusionPBX 98eb06b8a1 Create directory.xml 2017-11-14 11:03:46 -07:00
FusionPBX 4fbce22f1e Update app_defaults.php 2017-11-13 23:41:02 -07:00
FusionPBX a568b15742 Update app_config.php 2017-11-13 22:08:40 -07:00
FusionPBX d749888ec7 Update {$mac}.cfg 2017-11-13 19:34:13 -07:00
FusionPBX 529e2d742d Update {$mac}.cfg 2017-11-13 19:33:51 -07:00
FusionPBX 0bcf329c4b Update {$mac}.cfg 2017-11-13 19:33:28 -07:00
FusionPBX ca03537414 Update {$mac}.cfg 2017-11-13 19:32:53 -07:00
FusionPBX 195a18ad85 Update {$mac}.cfg 2017-11-13 19:32:01 -07:00
FusionPBX 55214aebd6 Update {$mac}.cfg 2017-11-13 19:29:00 -07:00
FusionPBX 4908835a4f Update {$mac}.cfg 2017-11-13 19:28:38 -07:00
Pro-pra ff865cc121 fix russian translation (#2906) 2017-11-13 19:10:41 -07:00
FusionPBX 04db937ae1 Update {$mac}.cfg 2017-11-13 15:36:36 -07:00
FusionPBX ea411dc20c Update {$mac}.cfg 2017-11-13 15:29:36 -07:00
FusionPBX c8f6f621eb Update {$mac}.cfg 2017-11-13 15:29:00 -07:00
FusionPBX b772bee002 Update {$mac}.cfg 2017-11-13 15:26:36 -07:00
FusionPBX dc5b282afa Update destination_edit.php 2017-11-12 21:17:24 -07:00
Len b0bd38d62a Update y000000000028.cfg 2017-11-10 15:11:38 -05:00
Len 8da8d6ee43 Update app_config.php 2017-11-10 15:06:09 -05:00
konradSC b192a96f84 Add Device Feature Sync (#2905)
* Update lua.conf.xml

Hook the feature_event lua script to Freeswitch "PHONE_FEATURE_SUBSCRIBE" events.

* Create index.lua

* Create feature_event_notify.lua

* Update call_forward.lua

Add trigger for feature sync.

* Update do_not_disturb.lua

Add trigger for feature sync.

* Update call_edit.php

* Create feature_event_notify.php

* Update index.lua

disable logging
2017-11-09 12:09:56 -07:00
konradSC 9fb207c16b More ways of adding recordings to CDR's (#2904)
This grabs a recording if started by bind_digit_action "*2" or by "nolocal:api_on_answer=uuid_record ${uuid} start ${recordings_dir}/${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext}".
2017-11-08 09:51:53 -07:00
FusionPBX 83d6d044ca Update extension_edit.php 2017-11-07 18:40:18 -07:00
Alexey Melnichuk 1fdec2bda6 Fix. Do not try fetch git repo when open system page. (#2903)
Fix. Symbol '^' should be inside double quotes on Windows system.

Fetch may be not possible in some cases but git still be valid.
I test git status on repo with changes. And it also returns 0 as
return code.
2017-11-07 08:22:33 -07:00
Brendon Baumgartner 5e63132373 fix polycom error during bootup (#2899)
* Update {$mac}.cfg

minimum value is 1. 0 is invalid.

* Update {$mac}.cfg

minimum value is 1. 0 is invalid.

* Update {$mac}.cfg

minimum value is 1. 0 is invalid.
2017-11-05 16:56:37 -07:00
Luis Daniel Lucio Quiroz a13bf049bc Same as 4.2 (#2889) 2017-11-05 15:49:25 -07:00
Luis Daniel Lucio Quiroz 96994e7ed1 Azure TTS (#2891)
* Azure TTS

This is the first of a set of pull that will give FusionPBX TTS capabilities in many places. This is the main class that will interact with the other modifications.

Please suggest if this is the best place to put this file or if a /app/azure/resources/class is best. I am not sure about this.

This class is sponsored by my friend since he paid some Indian guys for a development and I discovered they were offering/selling that private development to other companies. He took the call to make this capability free.

* Moving to another place

* New place
2017-11-05 15:46:46 -07:00
FusionPBX 20b5f61ae7 Update xml_cdr.php 2017-11-05 11:32:05 -07:00
FusionPBX 407c760673 Create favorite_setting.xml 2017-11-04 18:35:21 -06:00
FusionPBX dfbaa0d610 Create directory.xml 2017-11-04 18:34:52 -06:00
FusionPBX 2f0d022524 Create y000000000067.cfg 2017-11-04 18:33:49 -06:00
FusionPBX f5b03dc06a Create {$mac}.cfg 2017-11-04 18:25:46 -06:00
FusionPBX 89fccdde93 Update index.lua 2017-11-04 12:37:58 -06:00
Len 04764bd100 Update y000000000066.cfg 2017-11-03 20:12:23 -04:00
Len 0fe3455e89 Update y000000000065.cfg 2017-11-03 20:07:10 -04:00
Len a116d0d8a1 Update y000000000065.cfg 2017-11-03 19:11:51 -04:00
Len f8a2484ce9 Update y000000000065.cfg 2017-11-03 19:07:57 -04:00
FusionPBX 1f81616234 Update extension_edit.php 2017-11-03 14:57:12 -06:00
FusionPBX 10de6fb241 Update app_config.php 2017-11-03 14:55:56 -06:00
FusionPBX 481577f161 Update extension_edit.php 2017-11-03 14:48:54 -06:00
FusionPBX a823e49cb1 Update xml_cdr_inc.php 2017-11-02 22:05:33 -06:00
konradSC 9d1f16fe64 Bug fix for caller_destination populating CDR's (#2902) 2017-11-02 21:57:36 -06:00
FusionPBX 841804f5bc Update xml_cdr_inc.php 2017-11-02 09:14:12 -06:00
Alexey Melnichuk 979092c7f7 Change. Treat sofia xmlstatus as UTF8 (#2901)
FS Always mark xml as ISO-8859-1, but pass info as-is.
So if user send its contact info as UTF-8 then we get
corrupted xml. But RFC describe text as UTF8

RFC 3261 - 25.1 Basic Rules
```
qdtext = LWS / %x21 / %x23-5B / %x5D-7E / UTF8-NONASCII
```
2017-11-02 07:50:16 -06:00
siberoloji 900126874f Update README.md (#2900)
* Update README.md

typo has been corrected

* Update app_languages.php
2017-11-01 22:28:53 -06:00
FusionPBX 3b8620e6bf Update ivr_menu_edit.php 2017-10-31 11:38:15 -06:00
Len 0e14c5e1cd Update y000000000066.cfg 2017-10-31 11:43:11 -04:00
Len dd2e53d12e Update y000000000066.cfg 2017-10-31 11:23:46 -04:00
Len e920bda46f Update {$mac}.cfg 2017-10-31 10:49:19 -04:00
markjcrane 0b0bf620df Bring the templates closer to the originals. 2017-10-30 19:00:52 -06:00
Len fd976ca0b8 Update {$mac}.cfg 2017-10-30 20:30:39 -04:00
Len 4fa61df723 Update {$mac}.cfg 2017-10-30 19:39:21 -04:00
Len 5f0c748be6 Update {$mac}.cfg 2017-10-30 19:17:15 -04:00
Len 0ff6fac891 Update {$mac}.cfg 2017-10-30 18:32:00 -04:00
Len 84fe93bf8b Update {$mac}.cfg 2017-10-30 18:29:03 -04:00
Len 16ef507786 Update {$mac}.cfg 2017-10-30 18:26:51 -04:00
Len 8c407cd431 Update {$mac}.cfg 2017-10-30 18:24:07 -04:00
Len 9717c49518 Update {$mac}.cfg 2017-10-30 18:20:28 -04:00
Len 84d1d47423 Update {$mac}.cfg 2017-10-30 18:18:35 -04:00
Len 3a27ba1fcc Update {$mac}.cfg 2017-10-30 18:15:54 -04:00
Len 444298691e Update {$mac}.cfg 2017-10-30 18:08:23 -04:00
Len 377e5c212e Update {$mac}.cfg 2017-10-30 18:04:10 -04:00
Len d06c65a981 Update {$mac}.cfg 2017-10-30 18:01:47 -04:00
Len 81842bd89e Update {$mac}.cfg 2017-10-30 17:56:56 -04:00
Len 1ef2b6059b Update {$mac}.cfg 2017-10-30 17:52:57 -04:00
Len 26a8f68a3a Update {$mac}.cfg 2017-10-30 17:50:08 -04:00
Len bfb7b0c43d Update {$mac}.cfg 2017-10-30 17:46:10 -04:00
Len 3992b2c9df Update {$mac}.cfg 2017-10-30 17:45:09 -04:00
Len b78e2a0d39 Update {$mac}.cfg 2017-10-30 17:43:39 -04:00
Len d12e1a41d2 Update {$mac}.cfg 2017-10-30 17:37:28 -04:00
Len 159c79d1e8 Update {$mac}.cfg 2017-10-30 17:35:18 -04:00
Luis Daniel Lucio Quiroz 63e33731c2 Same as 4.2 (#2898) 2017-10-30 12:40:05 -06:00
Len eb913f982e Update {$mac}.cfg 2017-10-29 13:26:07 -04:00
Len 06bf588491 Update {$mac}.cfg 2017-10-29 13:23:45 -04:00
FusionPBX 8cdefc8774 Update {$mac}.cfg 2017-10-29 11:17:00 -06:00
FusionPBX dd9c15db67 Update user_dashboard.php 2017-10-29 00:29:18 -06:00
FusionPBX 60e68ba902 Update registrations.php 2017-10-29 00:24:52 -06:00
Len 5bff8a63bc Update {$mac}.cfg 2017-10-29 00:51:08 -04:00
Len 76f681f27b Update {$mac}.cfg 2017-10-29 00:42:53 -04:00
Len 101f754055 Update {$mac}.cfg 2017-10-29 00:40:28 -04:00
Len e5cbc301bf Update y000000000066.cfg 2017-10-28 23:50:47 -04:00
Len 1a932f91c3 Update y000000000029.cfg 2017-10-28 23:45:50 -04:00
Len 2323e9448b Update y000000000068.cfg 2017-10-28 23:45:07 -04:00
Len cdaf01ac96 Update y000000000036.cfg 2017-10-28 23:44:06 -04:00
Len 60ff9219b4 Update y000000000054.cfg 2017-10-28 23:43:40 -04:00
Len bfdba8e207 Update y000000000038.cfg 2017-10-28 23:43:03 -04:00
Len 49b72b7700 Update y000000000032.cfg 2017-10-28 23:42:27 -04:00
Len ff75c8fc5d Update y000000000046.cfg 2017-10-28 23:41:49 -04:00
Len dd33f99d61 Update y000000000000.cfg 2017-10-28 23:41:12 -04:00
Len d2b2f7a344 Update y000000000045.cfg 2017-10-28 23:40:36 -04:00
Len 0480bcdf82 Update y000000000000.cfg 2017-10-28 23:39:33 -04:00
Len a4530538d4 Update y000000000046.cfg 2017-10-28 23:38:35 -04:00
Len 2ede3d056e Update y000000000032.cfg 2017-10-28 23:37:45 -04:00
Len 871f5919bd Update y000000000038.cfg 2017-10-28 23:36:44 -04:00
Len 44583d321d Update y000000000054.cfg 2017-10-28 23:35:05 -04:00
Len 01e1f56567 Update y000000000036.cfg 2017-10-28 23:33:57 -04:00
Len 43a6f2f30f Update y000000000068.cfg 2017-10-28 23:32:20 -04:00
Len 9e8ffb36d6 Update y000000000029.cfg 2017-10-28 23:30:42 -04:00
Len dd41903346 Update y000000000058.cfg 2017-10-28 23:29:41 -04:00
Len 6d9bb89a8c Update y000000000056.cfg 2017-10-28 23:28:03 -04:00
Len 2f6830be6b Update y000000000070.cfg 2017-10-28 23:26:45 -04:00
Len 57883a8f13 Update y000000000074.cfg 2017-10-28 23:25:44 -04:00
Len e926f4758b Update y000000000051.cfg 2017-10-28 23:20:45 -04:00
Len 47ef9bb66b Update y000000000035.cfg 2017-10-28 23:19:20 -04:00
Len 5a11430be6 Update y000000000065.cfg 2017-10-28 23:17:57 -04:00
Len 27ce9576ba Update y000000000066.cfg 2017-10-28 23:16:18 -04:00
Len 5f1a36730a Update y000000000028.cfg 2017-10-28 23:14:47 -04:00
Len b66e186f9b Update y000000000066.cfg 2017-10-28 23:11:03 -04:00
Len e45fcd379e Update y000000000066.cfg 2017-10-28 22:55:39 -04:00
FusionPBX 8320353a14 Update index.lua 2017-10-27 21:50:05 -06:00
FusionPBX 004daa84d9 Update destinations.php 2017-10-27 04:36:37 -06:00
FusionPBX 09e743a00e Minor version update 4.3.4 2017-10-26 15:21:03 -06:00
Alexey Melnichuk 216594229d Fix. Export call direction to B-Leg. (#2895)
It is needed to use with b-leg filtering.
2017-10-26 10:33:35 -06:00
Alexey Melnichuk 76b60325ae Small optimization with intercept. (#2892)
In cluster installation first node search channel uuid
and send it inside special SIP header. So other node
can just use it and do not call Lua script again.
2017-10-26 08:56:37 -06:00
TylerP cc85d17a13 Sort by CIDName if populated, otherwise CIDNumber (#2890)
I believe this will help users to sort through the caller ID numbers on the dashboard.
2017-10-25 22:49:42 -06:00
Harrison Caldicott 024cb62bee Update to provisioning engine (#2893)
Adding this fix enables both remote phone book and provisioning to work correctly on the newly released android based Yealink devices.

It appears that during the provisioning process, the T5X series supply a colon formatted mac address in their user agent.

However, when requesting a remote phone book, the presented user agent has no colons. This allows both formats to work as expected.
2017-10-25 22:46:37 -06:00
Len d3297c3f11 Update {$mac}.cfg 2017-10-25 22:26:00 -04:00
Len 0756738b21 Update {$mac}.cfg 2017-10-25 22:19:51 -04:00
Len df1ec6920a Update {$mac}.cfg 2017-10-25 21:45:21 -04:00
Len 47dc8ed543 Update y000000000066.cfg 2017-10-24 23:33:05 -04:00
Len d818971b27 Update y000000000066.cfg 2017-10-24 23:25:25 -04:00
Len e611a8d463 Update y000000000066.cfg 2017-10-24 22:54:09 -04:00
Len d1c551797f Update y000000000025.cfg 2017-10-24 21:13:26 -04:00
Len 7869700b42 Update y000000000070.cfg 2017-10-24 21:10:28 -04:00
Len 3ea2d4de23 Update y000000000074.cfg 2017-10-24 21:09:38 -04:00
Len 557283e2b5 Update y000000000066.cfg 2017-10-24 21:07:26 -04:00
siberoloji a7932ac721 Update app_languages.php (#2887)
Turkish Translations has been added
2017-10-22 10:18:27 -06:00
FusionPBX 2d9baf9815 Update conference_room_edit.php 2017-10-21 11:14:18 -06:00
FusionPBX 1ce2dae081 Update conference_room_edit.php 2017-10-21 11:13:31 -06:00
FusionPBX e9c1c9b350 Update conference_edit.php 2017-10-21 10:45:12 -06:00
FusionPBX 3723851751 Update conference_edit.php 2017-10-21 10:37:38 -06:00
FusionPBX 9b9c3950c0 Update xml_cdr.php 2017-10-20 18:04:07 -06:00
FusionPBX 67a0f9eb07 Update v_xml_cdr_import.php 2017-10-20 18:02:58 -06:00
FusionPBX 770f412618 Update v_xml_cdr_import.php 2017-10-20 17:57:57 -06:00
FusionPBX 65dd10e433 Update xml_cdr.php 2017-10-20 17:54:49 -06:00
FusionPBX e7038b0ed4 Update xml_cdr.php 2017-10-20 16:55:19 -06:00
FusionPBX 16972b0dbf Update v_xml_cdr_import.php 2017-10-20 16:46:29 -06:00
FusionPBX 9cb4541b99 Update registrations.php 2017-10-20 03:19:56 -06:00
FusionPBX ac9922de1b Update fax_files.php 2017-10-20 02:36:15 -06:00
FusionPBX 58ea02ccfe Update index.lua 2017-10-18 01:50:30 -06:00
konradSC e6cfdd9ae0 Fix MWI for Extensions that with 0 (#2882)
* Fix MWI for Extensions that with 0

MWI was not turning off after messages were deleted for extensions that start with 0. This requires that real voicemail_id to be pulled from the database and not just taken from the destination number. To get around this we try to send mwi to the original vociemail_id (destination number) and voicemail_id_copy (from database). Index.lua is already doing something similar.

* Update listen_to_recording.lua

* Update menu_messages.lua
2017-10-17 22:23:40 -06:00
FusionPBX 9b9f2c4840 Update call_forward.lua 2017-10-16 11:34:14 -06:00
FusionPBX 8d424c00ee Update call_recordings.php 2017-10-15 16:00:46 -06:00
FusionPBX 2398a6b5f4 Update call_recordings.php 2017-10-15 15:56:06 -06:00
FusionPBX 8eb1dffa74 Update xml_cdr.php 2017-10-15 15:46:25 -06:00
FusionPBX 4aba084f80 Update recordings.php 2017-10-15 14:54:18 -06:00
FusionPBX 8c2681d520 Update recordings.php 2017-10-15 14:50:12 -06:00
FusionPBX d01cff7afc Update call_recordings.php 2017-10-15 14:40:10 -06:00
FusionPBX 4b5d96e9db Update call_recordings.php 2017-10-15 14:32:09 -06:00
FusionPBX 7a967d8d3f Update xml_cdr.php 2017-10-15 14:26:06 -06:00
FusionPBX 9d430209d0 Update xml_cdr.php 2017-10-15 13:51:44 -06:00
FusionPBX 6d03c3bd4f Create download.php 2017-10-15 13:50:47 -06:00
FusionPBX 57773ed3cb Update xml_cdr_inc.php 2017-10-15 12:55:00 -06:00
FusionPBX 66c90568a0 Update xml_cdr.php 2017-10-15 11:53:10 -06:00
FusionPBX d623eae97c Update v_xml_cdr_import.php 2017-10-15 11:50:09 -06:00
FusionPBX a7cde16bd0 Update v_xml_cdr_import.php 2017-10-15 11:38:49 -06:00
FusionPBX 3e43cca284 Update app_config.php 2017-10-15 11:36:59 -06:00
FusionPBX 760eea11af Update xml_cdr.php 2017-10-15 11:35:55 -06:00
konradSC 8a1b572fbd Change Column to allow for more characters (#2874)
255 characters is too small for phones with 15+ BLF lines. 

The phone will generate a postgres ERROR:  value too long for type character varying(255)
2017-10-14 22:44:39 -06:00
FusionPBX 34bc58d2f7 Update y000000000005.cfg 2017-10-14 17:33:56 -06:00
FusionPBX 17c8490243 Update y000000000052.cfg 2017-10-14 17:33:46 -06:00
FusionPBX 5a2269fd9c Update y000000000007.cfg 2017-10-14 17:33:25 -06:00
FusionPBX 2a9a26916b Update y000000000053.cfg 2017-10-14 17:33:13 -06:00
FusionPBX 6e8dbae86e Update y000000000044.cfg 2017-10-14 17:31:41 -06:00
FusionPBX df1d9c1aab Update y000000000044.cfg 2017-10-14 17:31:13 -06:00
FusionPBX b14003576c Update y000000000045.cfg 2017-10-14 17:27:20 -06:00
FusionPBX 762b18543f Update y000000000069.cfg 2017-10-14 17:26:59 -06:00
FusionPBX 3a41ba20f4 Update y000000000004.cfg 2017-10-14 17:26:37 -06:00
FusionPBX a3e1e17f12 Update y000000000046.cfg 2017-10-14 17:26:23 -06:00
FusionPBX 84c3d6f5a5 Update y000000000000.cfg 2017-10-14 17:25:40 -06:00
FusionPBX be6d127a88 Update y000000000038.cfg 2017-10-14 17:23:23 -06:00
FusionPBX 277ecac735 Update y000000000032.cfg 2017-10-14 17:22:50 -06:00
FusionPBX bb8d3072e8 Update y000000000037.cfg 2017-10-14 17:21:19 -06:00
FusionPBX a49e0129c0 Update y000000000029.cfg 2017-10-14 17:18:23 -06:00
FusionPBX ddc7aa0d0f Update y000000000068.cfg 2017-10-14 17:18:13 -06:00
FusionPBX 7868c56dae Update y000000000036.cfg 2017-10-14 17:18:00 -06:00
FusionPBX a92ca278f2 Update y000000000054.cfg 2017-10-14 17:17:36 -06:00
FusionPBX 2016d3a589 Update y000000000028.cfg 2017-10-14 17:16:27 -06:00
FusionPBX 60772c0794 Update y000000000066.cfg 2017-10-14 17:14:44 -06:00
FusionPBX fcbc785329 Update y000000000035.cfg 2017-10-14 17:13:05 -06:00
FusionPBX e2d76edfed Update y000000000065.cfg 2017-10-14 17:10:46 -06:00
FusionPBX feff1a55fb Update y000000000051.cfg 2017-10-14 17:09:01 -06:00
FusionPBX fb94cbabe6 Update y000000000074.cfg 2017-10-14 17:07:37 -06:00
FusionPBX ebdc4e8ea6 Update y000000000070.cfg 2017-10-14 17:04:55 -06:00
FusionPBX 876366ed42 Update y000000000056.cfg 2017-10-14 17:03:51 -06:00
FusionPBX a6d46b2b96 Update y000000000058.cfg 2017-10-14 17:01:54 -06:00
FusionPBX 4a40d5f048 Update device_edit.php 2017-10-14 16:35:16 -06:00
FusionPBX 3f04a801b8 Update device_profile_edit.php 2017-10-14 16:19:18 -06:00
FusionPBX bd4c370d93 Update {$mac}.cfg 2017-10-14 09:54:00 -06:00
Len 8f68dfe556 Update {$mac}.cfg 2017-10-14 02:38:01 -04:00
FusionPBX 0022cb5130 Update {$mac}.cfg 2017-10-13 16:45:42 -06:00
FusionPBX 5ca2ece685 Update {$mac}.cfg 2017-10-13 16:44:18 -06:00
FusionPBX 312b40ea5c Update app_config.php 2017-10-13 16:36:06 -06:00
Len 6d0ae06518 Update {$mac}.cfg 2017-10-12 19:09:39 -04:00
Len 65aff70256 Update {$mac}.cfg 2017-10-12 19:08:31 -04:00
FusionPBX 1b13d97e14 Update {$mac}.cfg 2017-10-12 15:26:34 -06:00
FusionPBX 506fd31101 Update app_config.php 2017-10-12 11:35:55 -06:00
Len b331bcc618 Update {$mac}.cfg 2017-10-12 13:29:41 -04:00
FusionPBX 5473cc5d95 Update {$mac}.cfg 2017-10-12 11:02:26 -06:00
FusionPBX 6f78ef8c7f Update {$mac}.cfg 2017-10-12 11:01:58 -06:00
FusionPBX c54630eeaf Update contact_edit.php 2017-10-10 23:35:29 -06:00
FusionPBX fd6ed87856 Update dialplan_outbound_add.php 2017-10-10 22:57:24 -06:00
Len 913fc1fb08 Rename y000000000000.cfg to y000000000074.cfg 2017-10-10 20:55:28 -04:00
FusionPBX f1b3f85a88 Rename y000000000000.cfg to y000000000070.cfg 2017-10-10 18:48:10 -06:00
Len b5425fceaa Update y000000000000.cfg 2017-10-10 20:39:33 -04:00
Len 78a9a16435 Update y000000000000.cfg 2017-10-10 20:37:12 -04:00
Len a586ad981f Update pin_numbers.php 2017-10-10 20:31:31 -04:00
FusionPBX 9b7258fcea Update index.lua 2017-10-10 13:07:27 -06:00
Len 7afae82540 Update y000000000066.cfg 2017-10-09 16:46:51 -04:00
FusionPBX ffc680451d Update app_config.php 2017-10-09 14:12:07 -06:00
FusionPBX 54b17abff8 Update app_config.php 2017-10-09 14:08:22 -06:00
Len a589658267 Update y000000000066.cfg 2017-10-09 16:04:50 -04:00
FusionPBX 56492fdca6 Update provision.php 2017-10-08 23:14:52 -06:00
FusionPBX b1eeecf8cb Update index.php 2017-10-08 23:12:38 -06:00
FusionPBX 6cc768bab6 Update call_forward.lua 2017-10-07 23:40:00 -06:00
FusionPBX abd1607f11 Update call_forward.php 2017-10-07 23:34:38 -06:00
FusionPBX 5c80259cd9 Update index.lua 2017-10-07 23:14:22 -06:00
FusionPBX 79e8e7847a Update call_recordings.php 2017-10-06 21:53:05 -06:00
Alexey Melnichuk ae7134d908 Change. Use BasicEventService to implement MWI service. (#2855) 2017-10-06 13:13:33 -06:00
Alexey Melnichuk 06e351f6f3 Fix. crash when using EventCounsumer.ievents iterator. (#2865)
Problem code is
``` Lua
for event in ievents{'SHUTDOWN','CUSTOM::event'} do
end
```
2017-10-06 12:36:23 -06:00
Len 7dd2572c97 Update y000000000066.cfg 2017-10-05 21:45:59 -04:00
Len 6d94ddefca Update {$mac}.cfg 2017-10-05 21:44:31 -04:00
FusionPBX f57b0c7c7a Update call_recordings.php 2017-10-05 13:15:36 -06:00
FusionPBX a45b9ffa78 Update xml_cdr.php 2017-10-05 12:52:08 -06:00
FusionPBX d25c639d8f Update v_xml_cdr_import.php 2017-10-05 12:51:13 -06:00
FusionPBX 88ce0ea2b7 Update 050_user_record.xml 2017-10-05 11:33:39 -06:00
FusionPBX 6e4eb3f73f Set cal 2017-10-04 23:11:42 -06:00
Berk Gureken 44fa389a8c Add Turkish translation (#2864) 2017-10-04 01:59:37 -06:00
FusionPBX f10dbb12ea Update ivr.conf.lua 2017-10-02 22:19:51 -06:00
FusionPBX 7b6189d010 Update ivr.conf.lua 2017-10-02 22:10:16 -06:00
FusionPBX 45f5273989 Update index.lua 2017-10-02 21:17:29 -06:00
FusionPBX b1f4d8f205 Update app_languages.php 2017-09-30 15:15:26 -06:00
FusionPBX be282a743b Update registrations.php 2017-09-30 03:04:56 -06:00
FusionPBX 998889f826 Update call_recordings.php 2017-09-30 00:16:26 -06:00
konradSC 2bf5e15c83 Fix "invalid greeting" message played (#2860)
Fix "invalid greeting" message played on entry when pressing 5 for advanced, then 1 for record greeting.
2017-09-29 22:01:28 -06:00
Len 7afaeabe12 Create y000000000000.cfg 2017-09-29 22:50:18 -04:00
Len 995d7fdf93 Create {$mac}.cfg 2017-09-29 22:49:21 -04:00
Luis Daniel Lucio Quiroz a2b5889a0f Update ivr.conf.lua (#2861)
when debug["xml_string"] is on, it will overwrite /tmp/ivr.conf.xml file each hit an ivr goes. this makes very hard to trouble shoot in a living system. this patch allows to put one ivr menu per file.
2017-09-29 16:24:59 -06:00
Len ec8e26a6d6 Rename y000000000054.cfg to y000000000000.cfg 2017-09-29 17:10:49 -04:00
Len e0c1c1b030 Update {$mac}.cfg 2017-09-29 17:10:18 -04:00
Len f4406a64e6 Update {$mac}.cfg 2017-09-29 16:46:56 -04:00
Len aac68c3096 Update {$mac}.cfg 2017-09-29 16:33:51 -04:00
Len d138880c88 Update {$mac}.cfg 2017-09-29 16:26:21 -04:00
Len 35760f4243 Update y000000000054.cfg 2017-09-29 16:02:01 -04:00
Len d743125dfb Update {$mac}.cfg 2017-09-29 16:01:15 -04:00
Len 871fb7e594 Create {$mac}.cfg 2017-09-29 15:36:24 -04:00
Len ca599ad622 Create y000000000054.cfg 2017-09-29 15:35:50 -04:00
FusionPBX 801c30ebbe Update y000000000058.cfg 2017-09-29 10:39:05 -06:00
FusionPBX 2b5aa0557c Update y000000000056.cfg 2017-09-29 10:38:59 -06:00
Len aafed0dbd2 Update {$mac}.cfg 2017-09-29 01:42:28 -04:00
FusionPBX d7bcea7ab9 Update {$mac}.cfg 2017-09-28 23:39:42 -06:00
Len 766e284a9b Update {$mac}.cfg 2017-09-29 01:07:54 -04:00
Len 5132370fec Update {$mac}.cfg 2017-09-29 00:42:59 -04:00
Len cb2e026cc8 Update {$mac}.cfg 2017-09-29 00:37:18 -04:00
FusionPBX f0952cc9a9 Update {$mac}.cfg 2017-09-28 22:25:14 -06:00
Len 3d4b813640 Update {$mac}.cfg 2017-09-28 23:59:54 -04:00
Len 1f0bd9dd29 Update {$mac}.cfg 2017-09-28 23:53:32 -04:00
Len b3398f9a39 Update y000000000058.cfg 2017-09-28 23:20:15 -04:00
Len a30128656f Update y000000000056.cfg 2017-09-28 23:19:28 -04:00
Len f3a4cf0116 Update y000000000058.cfg 2017-09-28 23:06:55 -04:00
Len 27014685d8 Update y000000000056.cfg 2017-09-28 23:04:16 -04:00
Len 37758cbf46 Update y000000000056.cfg 2017-09-28 22:48:03 -04:00
Len bbd4b26ead Update {$mac}.cfg 2017-09-28 22:25:33 -04:00
Len a8bce09d96 Update {$mac}.cfg 2017-09-28 21:25:48 -04:00
Len 4a564c48fa Update {$mac}.cfg 2017-09-28 21:24:49 -04:00
Len 184f675caf Update {$mac}.cfg 2017-09-28 21:15:26 -04:00
Len 6fc54d2dc1 Update {$mac}.cfg 2017-09-28 21:14:31 -04:00
Len 5d298d58e1 Update {$mac}.cfg 2017-09-28 20:46:45 -04:00
Len cfd17a80b3 Update {$mac}.cfg 2017-09-28 20:45:50 -04:00
Len dd27b5196d Update {$mac}.cfg 2017-09-28 20:15:22 -04:00
Len 2b9b302c8e Update {$mac}.cfg 2017-09-28 20:14:55 -04:00
Len e4253dffd5 Update {$mac}.cfg 2017-09-28 20:05:16 -04:00
Len fa616eeed0 Update {$mac}.cfg 2017-09-28 20:04:17 -04:00
FusionPBX 53ceed7336 Create y000000000056.cfg 2017-09-28 17:31:33 -06:00
FusionPBX aedb3be47e Create y000000000058.cfg 2017-09-28 17:30:23 -06:00
FusionPBX c3b1149c91 Create {$mac}.cfg 2017-09-28 17:28:20 -06:00
FusionPBX fa539b421a Create {$mac}.cfg 2017-09-28 17:27:38 -06:00
FusionPBX 4c2ead3a0b Update index.lua 2017-09-28 16:51:53 -06:00
FusionPBX 78386bdd6f Update call_center_agent_dashboard.php 2017-09-28 12:36:06 -06:00
FusionPBX 4de4ea3f6b Update destinations.php 2017-09-28 03:19:12 -06:00
konradSC 6d1896052d Update to use curl instead of ssh (#2856)
SSH method never worked. I submitted the wrong file.
2017-09-27 22:01:58 -06:00
Adam Niedzwiedzki 1e6bf55869 Update index.lua (#2858)
Removal of the  ( ) in the sched_api cmd string allows the start_recording.lua to function as designed. 
Added "..scripts_dir.." as well.
2017-09-27 20:35:44 -06:00
FusionPBX ec6e5c85ff Update ivr.conf.lua 2017-09-26 22:40:30 -06:00
FusionPBX f4d8dec42e Update dialplans.php 2017-09-24 18:40:49 -06:00
Len 28d900979d Update fifo_add.php 2017-09-24 14:50:49 -04:00
FusionPBX 683583a019 Update time_condition_edit.php 2017-09-24 10:12:58 -06:00
FusionPBX 69a1172ffd Update dialplan_outbound_add.php 2017-09-24 10:12:18 -06:00
FusionPBX 9d08939b94 Update domain_edit.php 2017-09-24 10:11:07 -06:00
FusionPBX 8b0192bdbb Update dialplan_inbound_add.php 2017-09-24 10:09:19 -06:00
FusionPBX 2bf80f0e5f Update fifo_add.php 2017-09-24 10:08:53 -06:00
FusionPBX 83b2697087 Update dialplan_delete.php 2017-09-24 10:08:28 -06:00
FusionPBX b791d497c4 Update app_menu.php 2017-09-24 10:07:58 -06:00
FusionPBX e26913a0cb Update app_menu.php 2017-09-24 10:07:40 -06:00
FusionPBX b92d99d7f5 Update app_menu.php 2017-09-24 10:07:22 -06:00
FusionPBX 9e83192170 Update dialplan_add.php 2017-09-24 10:04:59 -06:00
FusionPBX 5c04766137 Update dialplan_copy.php 2017-09-24 10:01:52 -06:00
FusionPBX f3ef72f1f4 Update app_menu.php 2017-09-24 09:59:29 -06:00
markjcrane 5fc654eff9 Rename the directory app/dialplan to app/dialplans to make it more consistent. 2017-09-24 15:56:04 +00:00
FusionPBX c15c6b5b23 Update call_edit.php
Prevent XSS.
2017-09-23 17:50:46 -06:00
FusionPBX bed2d0e75a Update calls.php
XSS prevention.
2017-09-23 17:41:44 -06:00
konradSC 4dbd6ca2c2 Update device_edit.php (#2854)
Search all profiles when looking up the sofia contact.
2017-09-23 00:12:47 -06:00
FusionPBX 1e4aeace11 Update xml_cdr.php 2017-09-22 19:24:40 -06:00
FusionPBX 90ae681fb7 Update v_xml_cdr_import.php 2017-09-22 19:23:39 -06:00
FusionPBX 67f78dcb1a Update v_xml_cdr_import.php 2017-09-22 19:05:24 -06:00
FusionPBX 4b7c529336 Update xml_cdr.php 2017-09-22 19:04:18 -06:00
FusionPBX 12713ade3a Update 505_call-forward-all.xml 2017-09-21 09:41:30 -06:00
Christian Bergamaschi b17b0264b2 Italian translation added (#2852) 2017-09-21 09:06:26 -06:00
FusionPBX 7ac1646c5c Update app_config.php 2017-09-20 23:53:30 -06:00
FusionPBX 52603c1cd4 Update destinations.php 2017-09-20 23:50:38 -06:00
FusionPBX af898062af Update device_edit.php 2017-09-20 21:09:52 -06:00
FusionPBX 00e09132f4 Create destinations.php 2017-09-20 18:10:54 -06:00
konradSC 73bea2f815 File cache sync via curl (#2851)
* Add sendevent when using file caching

* Create clear_cache.lua

FS receives a command via curl to call this script which deletes the single cache entry or flushes the entire cache.

* Create file_cache.lua

This scripts monitors for custom events. When an event is processed it will send out a command via curl to other FS servers telling them to clear their cache. 

This must be called from conf/autoload_configs/lua.conf.xml
 <param name="startup-script" value="app/server/resources/memcache.lua"/>
2017-09-20 16:19:56 -06:00
FusionPBX 940cb27681 Update 010_user_exists.xml 2017-09-20 15:58:02 -06:00
FusionPBX 118f3d3bf6 Update 010_user_exists.xml 2017-09-20 15:57:32 -06:00
FusionPBX cfd9665fe2 Update 010_user_exists.xml 2017-09-20 15:56:51 -06:00
FusionPBX 55d96f46f1 Update functions.php 2017-09-20 10:58:59 -06:00
FusionPBX 96538f7a5c Update app_languages.php 2017-09-19 21:20:32 -06:00
FusionPBX b7bf4c22c9 Update app_languages.php 2017-09-19 19:52:38 -06:00
FusionPBX c6e7ae6b07 Update app_languages.php 2017-09-19 17:12:01 -06:00
FusionPBX 1129c79ff1 Update fileoptionslist.php 2017-09-19 11:27:15 -06:00
FusionPBX d26edddbc1 Update filelist.php 2017-09-19 11:26:11 -06:00
FusionPBX b9190dceef Update fileoptions.php 2017-09-19 11:24:29 -06:00
FusionPBX 84667db8e9 Update fileoptions.php 2017-09-19 11:23:57 -06:00
Mafoo 874b4032e2 Pass on languages before importing updates (#2849)
put language files into consistent state in preparation of a import
2017-09-19 09:48:40 -06:00
Len c824ad3088 Update app_config.php 2017-09-18 11:32:11 -04:00
Len a42c15b3ba Update {$mac}.cfg 2017-09-18 09:27:39 -04:00
Len ce793e0f52 Update {$mac}.cfg 2017-09-17 21:12:44 -04:00
FusionPBX 5d07761381 Update xml_cdr.php 2017-09-14 17:27:38 -05:00
FusionPBX e2631f20a5 Update v_xml_cdr_import.php 2017-09-14 17:25:51 -05:00
FusionPBX e1895ee334 Update call_recordings.php 2017-09-14 15:37:35 -05:00
FusionPBX acb150ec5e Update call_recordings.php 2017-09-14 15:36:57 -05:00
FusionPBX 6f218da533 Update call_recording_delete.php 2017-09-14 14:44:44 -05:00
FusionPBX 7521fd4378 Update call_recordings.php 2017-09-14 14:41:34 -05:00
FusionPBX 702c8e500a Update download.php 2017-09-14 13:32:48 -05:00
FusionPBX eb9874223b Update call_recordings.php 2017-09-14 13:32:18 -05:00
FusionPBX 69034b1b6d Update call_recording_edit.php 2017-09-14 13:31:56 -05:00
FusionPBX fb7ca9d414 Update call_recording_delete.php 2017-09-14 13:31:38 -05:00
markjcrane 45ce905edf Add Call Recordings 2017-09-14 18:08:16 +00:00
FusionPBX c8defc8672 Update app_config.php 2017-09-14 12:52:54 -05:00
FusionPBX 615851cc77 Update xml_cdr.php 2017-09-14 12:51:31 -05:00
FusionPBX f2ff8d2856 Update app_config.php 2017-09-14 12:47:01 -05:00
FusionPBX bc3e5b2509 Update 050_user_record.xml 2017-09-14 12:23:50 -05:00
FusionPBX b59329134d Update app_languages.php 2017-09-14 12:16:45 -05:00
FusionPBX 7ab304399c Update index.lua 2017-09-12 14:32:13 -05:00
konradSC 620eaf86d4 Update mwi_notify.lua (#2836)
Search all profiles for the sofia_contact. For some reason on server it would automatically search all profiles, but on the other servers I had to add "*/".
2017-09-11 08:53:57 -06:00
FusionPBX afeee9bd12 Update call_center_queue_edit.php 2017-09-11 03:25:31 -05:00
FusionPBX 3b38213791 Update v_xml_cdr_import.php 2017-09-11 02:46:50 -05:00
FusionPBX fea6521e01 Update v_xml_cdr_import.php 2017-09-11 01:34:31 -05:00
FusionPBX dcdaec1850 Update xml_cdr.php 2017-09-11 01:27:37 -05:00
FusionPBX 962d624459 Update v_xml_cdr_import.php 2017-09-11 01:26:58 -05:00
FusionPBX 1aa94e1e2c Update xml_cdr.php 2017-09-11 01:23:41 -05:00
FusionPBX c537b6db78 Update database.php 2017-09-11 01:21:36 -05:00
FusionPBX 6bebb46877 Update 050_user_record.xml 2017-09-10 13:59:57 -06:00
FusionPBX 179df1c064 Update xml_cdr.php 2017-09-10 13:14:42 -06:00
FusionPBX 54aa50c193 Update v_xml_cdr_import.php 2017-09-10 13:13:18 -06:00
FusionPBX 2e2f8e43fe Update v_xml_cdr_import.php 2017-09-10 11:54:24 -06:00
FusionPBX a9fbc3e9c7 Update xml_cdr.php 2017-09-10 11:53:40 -06:00
FusionPBX 242843c3c4 Update 050_user_record.xml 2017-09-10 11:10:24 -06:00
FusionPBX 146070d9f2 Update 050_user_record.xml 2017-09-10 11:07:51 -06:00
FusionPBX 9a94b50a62 Update {$mac}.xml 2017-09-08 10:53:44 -06:00
FusionPBX 4d34553276 Update {$mac}.xml 2017-09-08 10:52:09 -06:00
FusionPBX 3eaf5ad9ea Update {$mac}.xml 2017-09-08 10:51:31 -06:00
FusionPBX e07a4960df Update {$mac}.xml 2017-09-08 10:50:57 -06:00
FusionPBX 35e458c164 Update {$mac}.xml 2017-09-08 10:47:33 -06:00
FusionPBX e31e4e1ab4 Update {$mac}.xml 2017-09-08 10:46:45 -06:00
FusionPBX 432ecef516 Update {$mac}.xml 2017-09-08 10:20:29 -06:00
FusionPBX 45df49be56 Update {$mac}.xml 2017-09-08 10:17:15 -06:00
FusionPBX 0f92e7bd92 Update {$mac}.xml 2017-09-08 10:08:47 -06:00
FusionPBX 404a86f331 Minor version update 4.3.3. 2017-09-07 13:10:33 -06:00
konradSC 8570147f7a Update app_config.php (#2828)
Add a envelope icon for Voicemails in the Destinations select list.
2017-09-07 12:14:26 -06:00
FusionPBX 6b7a913544 Update providers.php 2017-09-07 12:12:23 -06:00
Luis Daniel Lucio Quiroz c940873d50 Same as 4.2 (#2825)
Same as pull request #2824 but for 4.3
2017-09-06 16:06:42 -06:00
konradSC 745dc09353 Update ring_groups.php (#2823)
Add a search box to Ring Groups. 

Search by extension, name, strategy, enabled, or description.
2017-09-06 16:05:06 -06:00
FusionPBX f8215cda3a Update provision.php 2017-09-05 12:51:34 -06:00
konradSC 19ae8a7e95 Update index.lua (#2821)
Break the ring group query into two parts. One for getting the ring group info. Another for getting the ring group user. 

If a user was not assigned to a ring group, then the query will fail to return a result. This will cause forward, prefix, distinctive ring, etc to not work properly.
2017-09-05 10:57:30 -06:00
FusionPBX d691f8978e Update app_languages.php 2017-09-02 23:26:59 -06:00
FusionPBX 62fe879ee9 Update registrations.php 2017-09-02 23:26:04 -06:00
FusionPBX 7c4e575483 Update cache.php 2017-09-02 09:56:30 -06:00
FusionPBX 12c3934e9f Update device_edit.php 2017-09-01 09:36:06 -06:00
Mafoo a3745a2d11 Enhance - provision aastra 9133i (#2787)
provision aastra 9133i based phones (480i 480i CT, 9112i, 9133i)
leverage smarty include to common parts
have device_edit ignore 'include' folders
.htaccess's RewriteRule operates relative to it's dir so anchoring to ^provision is correct even for where fusion is on a sub folder
2017-09-01 09:35:22 -06:00
Tatermen 0c60d475a4 Use effective_caller_id_number instead of caller_id_number when storing voicemail messages. This resolves issue #2333. (#2728) 2017-09-01 09:32:06 -06:00
Dean Montgomery 7825423719 Update provision.php (#2753)
Some extensions are accessible to multiple users.  Sort the list to select best directory name match for extension.
2017-09-01 09:30:50 -06:00
andycol 301397c832 Add South African Prefixes (#2811) 2017-09-01 08:54:02 -06:00
FusionPBX 852571b0c5 Update registrations.php 2017-08-31 23:51:29 -06:00
FusionPBX 96ea34236b Update registrations.php 2017-08-31 23:35:33 -06:00
FusionPBX da5a79468b Update registrations.php 2017-08-31 23:27:17 -06:00
FusionPBX 92d177de59 Update recordings.php 2017-08-31 09:17:37 -06:00
FusionPBX d8274d63e1 Make recordings.php more efficient. 2017-08-30 19:32:18 -06:00
FusionPBX 8dc7e05a71 Update paging.php 2017-08-30 11:40:20 -06:00
Len bed4439577 Update user_dashboard.php
update registrations link.
https://github.com/fusionpbx/fusionpbx/issues/2810
2017-08-30 00:47:07 -04:00
Len 4263e0e4dd Update app_config.php 2017-08-29 15:02:43 -04:00
FusionPBX fa89850800 Update user_dashboard.php 2017-08-28 21:37:35 -06:00
FusionPBX 97f8da6f0f Update registrations.php 2017-08-28 09:37:49 -06:00
FusionPBX 84b5a58103 Update extensions.php 2017-08-28 02:21:59 -06:00
FusionPBX 675fe842c4 Update registrations.php 2017-08-28 02:05:42 -06:00
FusionPBX 19ef4e562f Update registrations.php 2017-08-28 02:05:01 -06:00
FusionPBX 087b00045a Update sip_status.php 2017-08-28 02:03:52 -06:00
FusionPBX 5de0d82c83 Update registrations.php 2017-08-28 02:02:22 -06:00
FusionPBX fa7dd871c9 Update cmd.php 2017-08-28 01:52:40 -06:00
FusionPBX 474995e296 Update app_menu.php 2017-08-28 01:51:33 -06:00
FusionPBX a3896906e6 Delete status_registrations.php 2017-08-28 01:51:09 -06:00
FusionPBX e0689ad827 Update and rename status_registrations_inc.php to registrations.php 2017-08-28 01:50:46 -06:00
FusionPBX 1f9310a5e0 Update registrations.php 2017-08-28 01:49:03 -06:00
FusionPBX f55894d3d8 Update and rename status_registrations.php to registrations.php 2017-08-28 01:14:43 -06:00
FusionPBX 7b786a7fc7 Update index.lua 2017-08-27 15:16:01 -06:00
FusionPBX a392cae1f8 Update index.lua 2017-08-27 15:11:31 -06:00
FusionPBX 71b0ef343b Update providers.php 2017-08-25 17:04:17 -06:00
FusionPBX 06f24bca59 Update providers.php 2017-08-25 16:29:03 -06:00
FusionPBX d845482c02 Update user_edit.php 2017-08-25 13:22:42 -06:00
FusionPBX 5633087b1d Update providers.php 2017-08-25 13:05:46 -06:00
FusionPBX f46b4935de Update app_languages.php 2017-08-25 13:05:00 -06:00
FusionPBX 12ec6a580a Update provider_delete.php 2017-08-25 12:46:20 -06:00
FusionPBX fa4a9685d8 Update provider_setup.php 2017-08-25 12:46:01 -06:00
markjcrane 6a52923307 Add new application providers 2017-08-25 18:21:04 +00:00
FusionPBX db83ba74c2 Update mwi_notify.lua 2017-08-23 23:05:51 -06:00
FusionPBX dbfcf6b1bc Update sip_profile_edit.php 2017-08-23 20:44:37 -06:00
TekMason 80a32fa9a3 Yealink Firmware Updates (#2801)
* Yealink Provisioning changes and additions

* Yealink Provisioning changes and additions

* Yealink Provisioning changes and additions

* Yealink Provisioning changes and additions

* Yealink Provisioning changes and additions

* Yealink Provisioning changes and additions

* Yealink Provisioning changes and additions
2017-08-22 16:17:14 -06:00
konradSC 67d6d7e4d2 Update do_not_disturb.lua (#2803)
Use cache function instead of directly clearing memcache.
2017-08-22 16:16:35 -06:00
FusionPBX d4e85d90a5 Update app_config.php 2017-08-20 17:43:39 -06:00
FusionPBX b9f9ec267d Create app_config.php 2017-08-20 17:40:42 -06:00
FusionPBX 9c71193a92 Update app_config.php 2017-08-20 17:37:01 -06:00
FusionPBX bb30b83ac5 Update app_config.php 2017-08-20 17:36:36 -06:00
FusionPBX adebcedbef Update app_config.php 2017-08-20 17:33:49 -06:00
FusionPBX b8ffbb8ce6 Update app_config.php 2017-08-20 17:33:10 -06:00
FusionPBX b3d4d58f5d Update app_config.php 2017-08-20 17:24:50 -06:00
FusionPBX 7e51f589ba Update app_config.php 2017-08-20 16:53:20 -06:00
FusionPBX d9091876b1 Create app_config.php 2017-08-20 16:27:44 -06:00
FusionPBX beba4debe3 Create README.md 2017-08-20 16:24:41 -06:00
FusionPBX 5082e5cebc Delete firmware 2017-08-20 16:23:58 -06:00
FusionPBX cc167aca4d Create firmware 2017-08-20 16:21:15 -06:00
FusionPBX d33832a890 Create app_config.php 2017-08-20 16:19:31 -06:00
TekMason 2dcac8a400 app_config.php and Yealink firmware folder (#2800)
* Delete readme.txt

* Create T46-28.81.0.110.rom.EMPTY

* Update app_config.php

* Create T48-.5.81.0.110.rom.EMPTY

* Create T29-46.81.0.110.rom.EMPTY

* Create VP530-23.70.0.40.rom.EMPTY

* Update app.php with new Yealink models and base path

* Delete T29-46.81.0.110.rom.EMPTY

* Create t29g-46.81.0.110.rom.EMPTY

* Delete T46-28.81.0.110.rom.EMPTY

* Delete T48-.5.81.0.110.rom.EMPTY

* Delete VP530-23.70.0.40.rom.EMPTY

* Create t38g-38.70.0.185.rom.EMPTY

* Create t40g-76.81.0.110.rom.EMPTY

* Create t40p-54.81.0.110.rom.EMPTY

* Create t41p-36.81.0.110.rom.EMPTY

* Create t41s-66.81.0.110.rom.LINK.md

* Update t29g-46.81.0.110.rom.EMPTY

* Update t38g-38.70.0.185.rom.EMPTY

* Update t40p-54.81.0.110.rom.EMPTY

* Update t40g-76.81.0.110.rom.EMPTY

* Update and rename t41p-36.81.0.110.rom.EMPTY to t41p-36.81.0.110.rom.LINK

* Rename t29g-46.81.0.110.rom.EMPTY to t29g-46.81.0.110.rom.LINK.md

* Rename t38g-38.70.0.185.rom.EMPTY to t38g-38.70.0.185.rom.LINK.md

* Rename t40g-76.81.0.110.rom.EMPTY to t40g-76.81.0.110.rom.LINK.md

* Rename t40p-54.81.0.110.rom.EMPTY to t40p-54.81.0.110.rom.LINK.md

* Rename t41p-36.81.0.110.rom.LINK to t41p-36.81.0.110.rom.LINK.md

* Create t42g-29.81.0.110.rom.LINK.md

* Create t42s-66.81.0.110.rom.LINK.md

* Update t42s-66.81.0.110.rom.LINK.md

* Create t46g-28.81.0.110.rom.LINK.md

* Create t46s-xxxxxxxx.rom.LINK.md

* Rename t46s-xxxxxxxx.rom.LINK.md to t46s-66.81.0.110.rom.LINK.md

* Create t48g-35.81.0.110.rom.LINK.md

* Create t48s-66.81.0.110.rom.LINK.md

* Create t49g-51.80.0.100.rom.LINK.md

* Update app_config.php

* Create t52s-70.81.0.10.rom.LINK.md

* Create t54s-70.81.0.10.rom.LINK.md

* Create t56a-58.80.0.25.rom.LINK.md

* Create t58a-58.80.0.25.rom.LINK.md

* Create t58v-58.80.0.25.rom.LINK.md

* Create vp530-23.70.0.40.rom.LINK.md

* Update app_config.php
2017-08-20 15:47:41 -06:00
Len 153610f944 Update {$mac}.xml 2017-08-17 02:56:36 -04:00
Len a0ca17525c Update {$mac}.xml 2017-08-17 02:34:25 -04:00
Len 19be46c9a9 Update {$mac}.xml 2017-08-17 02:28:17 -04:00
Len 4a28019a58 Update {$mac}.xml 2017-08-17 02:24:30 -04:00
Len 6820e45836 Update {$mac}.xml 2017-08-17 02:21:57 -04:00
Len 6becfb183e Update {$mac}.xml 2017-08-17 02:16:35 -04:00
Len cfcbd03eb9 Update {$mac}.xml 2017-08-17 01:41:04 -04:00
Len f995d865a7 Update {$mac}.xml 2017-08-17 01:35:31 -04:00
Len d9b80acce5 Update {$mac}.xml 2017-08-17 01:25:52 -04:00
Len 20150c2934 Update {$mac}.xml 2017-08-17 01:24:45 -04:00
Len 1dde9295b5 Update {$mac}.xml 2017-08-17 01:23:24 -04:00
Len 4c630de9d7 Update {$mac}.xml 2017-08-17 01:19:36 -04:00
FusionPBX 299b2bf622 Update domains.php 2017-08-16 18:32:35 -06:00
Mafoo 8960485b87 Enhance - .htaccess (#2796)
convert tabs to fixed spacing so consistently displays in all editors
update polycoms to use anchor to provision to minimize rewrite looping
.htaccess's RewriteRule operates relative to it's dir so anchoring to
^provision is correct even for where fusion is on a sub folder
2017-08-15 09:08:58 -06:00
FusionPBX 52824d6f9f Rename strip_nondigits.xml to strip_non_digits.xml 2017-08-14 15:03:18 -06:00
FusionPBX cb31dafe01 Update strip_nondigits.xml 2017-08-14 15:03:03 -06:00
Mafoo 92a1b3dd3f Enhance - number translation (#2780)
couple of new profiles based on feedback
2017-08-14 14:57:50 -06:00
FusionPBX 0c043f915c Update index.lua 2017-08-14 12:40:42 -06:00
FusionPBX 6a5486511c Update {$mac}.cfg 2017-08-14 09:17:33 -06:00
FusionPBX 21cf3ada12 Create {$mac}.cfg 2017-08-14 08:38:59 -06:00
FusionPBX 594db0dfc6 Create {$mac}.xml 2017-08-13 18:48:58 -06:00
FusionPBX f8da91b2bb Create {$mac}.xml 2017-08-13 18:47:12 -06:00
FusionPBX 0dd66931b9 Update {$mac}.xml 2017-08-13 11:47:00 -06:00
FusionPBX 9417eea8b6 Update {$mac}.xml 2017-08-13 11:32:29 -06:00
FusionPBX 6375254080 Create {$mac}.xml 2017-08-12 19:48:51 -06:00
FusionPBX 2a9617d666 Update {$mac}.xml 2017-08-12 19:46:57 -06:00
TekMason ec587af45a Added variables in Default Settings for Yealink Firmware (#2793)
* Yealink Template Updates

Set firmware.url = {$yealink_firmware_url}/{$yealink_firmware_<model>}
Also changed user agent for VP530 to match what the phone actually sends

* Added variables in Default Settings for Yealink Firmware

On an existing install run Advanced > Upgrade > App Defaults   to get these new provisioning variables:
yealink_firmware_url
yealink_firmware_t46g
yealink_firmware_t48g
yealink_firmware_t29g
yealink_firmware_vp530
2017-08-11 23:35:00 -05:00
FusionPBX 1f66502da7 Update app_languages.php 2017-08-11 01:21:19 -05:00
TekMason f9f24dacd0 Yealink Template Updates (#2789)
Set firmware.url = {$yealink_firmware_url}/{$yealink_firmware_<model>}
Also changed user agent for VP530 to match what the phone actually sends
2017-08-10 10:12:05 -05:00
Len 7be8d48755 Update app_languages.php
add labels for obihai
2017-08-10 04:13:59 -04:00
FusionPBX 73d70dec86 Update app_languages.php 2017-08-10 02:54:32 -05:00
FusionPBX 5828853702 Update app_languages.php 2017-08-10 02:46:49 -05:00
FusionPBX f980f63b0b Update app_config.php 2017-08-10 02:38:55 -05:00
FusionPBX 3d2e19fba6 Update app_config.php 2017-08-09 02:32:40 -05:00
FusionPBX 01c52b0085 Add obi1062 2017-08-09 01:09:35 -05:00
konradSC 52cbf17a47 Admin privileges for VM local after email (#2788)
I think this is a good default option for Admin's to have.
2017-08-08 08:29:12 -05:00
FusionPBX ae363deaae Update dialplan.lua 2017-08-07 00:28:31 -06:00
konradSC 93ee126d53 Hide in the phone directory (#2782)
Hide the extension in the phone directory if Extension -> Directory_Visible = false.
2017-08-02 16:31:20 -06:00
Mafoo af23a822aa BugFix - GUI install (#2779)
Fixes to remove some errors in the GUI installer
2017-08-02 10:45:35 -06:00
Alexey Melnichuk fde2775fc6 Fix. Send message notify when toggle vm message in Web UI. (#2774) 2017-08-01 16:02:08 -06:00
FusionPBX 2821e9f0b9 Update provision.php 2017-07-31 15:11:06 -06:00
konradSC fc1c8e3a22 VM Password Complexity through the Phone (#2773)
* Update index.lua

Store password complexity settings as variables.

* Update macro.lua

Add macros for "password is below minimum length" and "password is not secure"

* Update change_password.lua

Adds the ability to check for password complexity and minimum length.

Also, fixes a bug where the password was changed if the caller hung up in the middle of changing their password.
2017-07-31 10:39:28 -06:00
FusionPBX a99ca091f3 Update destinations.php 2017-07-30 11:42:29 -06:00
FusionPBX 8778bdaa55 Update app_languages.php 2017-07-30 11:41:42 -06:00
FusionPBX 42df727a33 Update destination_edit.php 2017-07-30 11:40:39 -06:00
konradSC 7ef72a7a8e Bug Fix: Not rerouting back to Advanced vm menu (#2768)
Need to pass in the "advanced" menu variable to functions in order to get back to Advanced menu.
2017-07-30 10:55:27 -06:00
FusionPBX efe066e332 Update app_languages.php 2017-07-30 10:54:31 -06:00
konradSC ca6b980637 Voicemail password complexity enforced in the web interface (#2767)
* Update app_config.php

* Update voicemail_edit.php

* Update app_languages.php

* Update app_config.php
2017-07-30 10:53:32 -06:00
sergey-mz c133a992b4 Set assigned device line display name (#2750)
Set line display name to Effective Caller ID instead of extension #. Full directory name could be used too.
2017-07-30 10:50:41 -06:00
sergey-mz 6ee250f586 Get Aastra phone MAC address from request header (#2762) 2017-07-30 10:47:13 -06:00
FusionPBX f19c4fe3fa Update index.lua 2017-07-29 23:06:43 -06:00
FusionPBX bbcfe370ee Update app_config.php 2017-07-29 15:33:54 -06:00
Len 1838d5fa61 Create phonebook.xml 2017-07-29 02:12:33 -04:00
Len 67ef2a23bb Update {$mac}.xml 2017-07-29 02:12:01 -04:00
Len 4eda7048f0 Create phonebook.xml 2017-07-29 02:08:15 -04:00
Len 9664ebc29d Update {$mac}.xml 2017-07-29 02:07:25 -04:00
Len 3170b9e632 Update {$mac}.xml 2017-07-29 02:06:15 -04:00
Len 61856f9fc8 Create phonebook.xml 2017-07-29 02:05:18 -04:00
Len a09fabf5b7 Create phonebook.xml 2017-07-29 02:04:36 -04:00
Len f08934484e Create phonebook.xml 2017-07-29 02:04:05 -04:00
Len e7c5d49584 Create phonebook.xml 2017-07-29 02:03:31 -04:00
Len 41228c83d2 Create phonebook.xml 2017-07-29 02:02:57 -04:00
Len 3fd603e2ef Update {$mac}.xml 2017-07-29 02:01:22 -04:00
Len 3b4887b463 Update {$mac}.xml 2017-07-29 02:00:07 -04:00
Len ba29bd9911 Update {$mac}.xml 2017-07-29 01:59:19 -04:00
Len 62d3dd74bc Update {$mac}.xml 2017-07-29 01:57:38 -04:00
Len 84194d670b Update {$mac}.xml 2017-07-29 01:47:34 -04:00
Len 1154dbb580 Update {$mac}.xml 2017-07-29 01:38:45 -04:00
Len c187e83de5 Update {$mac}.xml 2017-07-29 01:19:47 -04:00
Len 456e18bb3e Update README.txt 2017-07-29 01:03:51 -04:00
Len ed8741a941 Update {$mac}.xml 2017-07-29 01:02:18 -04:00
Len 61e015d993 Update README.txt 2017-07-29 00:59:39 -04:00
Len 0dc91601ba Update {$mac}.xml 2017-07-29 00:56:11 -04:00
Len b5f5904c19 Update README.txt 2017-07-29 00:52:55 -04:00
Len d7b22124fd Update {$mac}.xml 2017-07-29 00:51:24 -04:00
Len 354fdda02b Update README.txt 2017-07-29 00:49:05 -04:00
Len 9949b080e9 Update {$mac}.xml 2017-07-29 00:46:51 -04:00
Len 2bdbff5798 Update README.txt 2017-07-29 00:42:18 -04:00
Len c3faffc8d2 Update {$mac}.xml 2017-07-29 00:38:58 -04:00
Len 866918bd46 Update {$mac}.xml 2017-07-29 00:34:12 -04:00
Len 0a9b0d8973 Update {$mac}.xml 2017-07-29 00:32:02 -04:00
Len 260d39aa31 Update app_config.php 2017-07-29 00:23:08 -04:00
FusionPBX dc99be9cd3 Update provision.php 2017-07-28 16:47:59 -06:00
FusionPBX 94abb1da73 Update provision.php 2017-07-28 16:31:26 -06:00
FusionPBX 6e42463411 Update provision.php 2017-07-28 15:52:43 -06:00
FusionPBX 28d88c5179 Update app_config.php 2017-07-27 17:31:05 -06:00
Alexey Melnichuk e728cb44ae Fix. Cache class. (#2755)
* Fix. Cache class.

 * `send_event` raise error so `Cache.del` did not remove key or send any event
 * use `memcache` method by default even if `cache` table does not defined in config
 * `Cache.get` did not return any data when use `memcache` method
 * `Cache.get` did not close file. (Its should not be a big problem because GC should do it by self).
 * `Cache.get` can returns some undefined global value. (if method is `file` and file not exists then method returns global `result` value)
 * `Cache.get` does not need check for file existence
 * Value escaping does not needed for `file` method
 * Needed different key escaping for `memcache` and `file` methods
 * Update self test

* Change. Use random names for temp files.
2017-07-26 09:40:53 -06:00
FusionPBX c84fd7ebe4 Update destination_edit.php 2017-07-25 22:05:35 -06:00
Alexey Melnichuk 76413de3f8 Add. Make legend outside of graphic of CDR Statistic. (#2760) 2017-07-25 14:38:57 -06:00
FusionPBX 01e19d4de2 Update 040_call_block.xml 2017-07-25 14:35:04 -06:00
Len f586cb1e13 correct en and ru values
correct ru and en for description-profile_param_value
2017-07-25 15:20:15 -04:00
FusionPBX c3d50e0a0b Update app_config.php 2017-07-25 10:15:35 -06:00
FusionPBX 12e5893462 Update ivr_menu_edit.php
Make the ivr_menu_language optional as it can be set before reaching the IVR Menu.
2017-07-24 23:47:17 -06:00
Alexey Melnichuk 5cc2869e5d Change. Use new service class to implement ha_monitor.lua (#2710)
This allows remove code related to create pid file and
handle system commands (e.g. to stop service) from service
file and leave it to base class.
2017-07-24 23:38:43 -06:00
FusionPBX 4829b0505c Update app_config.php 2017-07-24 20:06:30 -06:00
FusionPBX d6333723c1 Update index.lua 2017-07-24 19:49:32 -06:00
FusionPBX e691073edf Update internal.xml.noload 2017-07-24 15:31:55 -06:00
FusionPBX 47b6e497ad Update index.lua 2017-07-23 23:40:39 -06:00
FusionPBX a1e4282a1e Update app_languages.php 2017-07-22 20:46:45 -06:00
FusionPBX 549180ff0b Update app_languages.php 2017-07-22 20:19:01 -06:00
FusionPBX f7cca7825c Update sip_profile_edit.php 2017-07-22 16:07:27 -06:00
FusionPBX 5b40a0d5dc Update cache.php 2017-07-22 15:52:45 -06:00
FusionPBX eb8bcc755e Update cache.lua 2017-07-22 15:18:20 -06:00
FusionPBX c126138cf7 Update cache.lua 2017-07-22 15:17:11 -06:00
FusionPBX c857ce7f69 Update cache.php 2017-07-22 13:18:03 -06:00
FusionPBX c2663c3e59 Update cache.lua 2017-07-22 12:38:45 -06:00
FusionPBX b582247c7f Update app_config.php 2017-07-22 01:23:24 -06:00
FusionPBX 8e5eb0c110 Update cache.lua 2017-07-22 01:09:39 -06:00
FusionPBX cf33f13426 Update scripts.php 2017-07-22 00:48:46 -06:00
FusionPBX f7a26d7711 Update lazy_settings.lua 2017-07-22 00:38:25 -06:00
FusionPBX c2c239d337 Update index.lua 2017-07-21 18:05:23 -06:00
FusionPBX 25a244f874 Update index.lua 2017-07-21 18:05:08 -06:00
Len 16b54e6581 Update index.lua 2017-07-21 00:10:35 -04:00
FusionPBX c7c67f3ea2 Update index.lua 2017-07-20 03:50:10 -06:00
FusionPBX 0cefad0358 Update index.lua 2017-07-19 23:07:04 -06:00
FusionPBX 08034e37ff Update index.lua 2017-07-19 23:06:41 -06:00
sergey-mz 874d39f7c7 Update template (#2749)
Do not disable LLDP. LLDP can push the phone to separate VLAN if set by switch and it will lose connection and go to web recovery mode.
Add second screen name line to display extension #.
Add line display name (Caller ID in web interface).
2017-07-19 14:44:43 -06:00
FusionPBX beb432dcbd Update ivr_menu_edit.php 2017-07-18 14:26:46 -06:00
emaktech 249e576108 Add IVR language option (master) (#2744)
* Add available translations for new language option

* Add language option to IVR menu editing page

Adds the option to define language on the IVR edit page. This is needed because when a phrase is selected in a language other than the default language, Freeswitch fails to load the file.
2017-07-18 14:23:12 -06:00
Cristian Livadaru 7419f2b1b2 fix snom register_expire (#2745)
the template uses the wrong parameter for sip registry expire, the
parameter user_subscription_expiry sets the expiry of subscriptions and
not the register (see
http://wiki.snom.com/Settings/user_subscription_expiry)
To set the register expiry one needs to use the user_expiry parameter
(see http://wiki.snom.com/Settings/user_expiry)
2017-07-18 12:27:53 -06:00
FusionPBX 9f734452c1 Update voicemail_greetings.php 2017-07-18 01:25:47 -06:00
powerpbx c451a6838b Add CIDR notation check (#2739)
* Add CIDR notation check

* Update access_control_node_edit.php

Add IPv6 check

* Update access_control_node_edit.php
2017-07-16 11:41:59 -06:00
FusionPBX e9285f8e37 Show an example. host[:port]
The square brackets indicate the port is optional.
2017-07-16 11:38:50 -06:00
Mafoo f6e0532369 Enhance Better descriptions for proxies (#2737)
update all proxy descriptions to indicate they take the host:port format
2017-07-16 11:23:16 -06:00
FusionPBX 815a6e0ec6 Update database.php 2017-07-15 23:06:22 -06:00
FusionPBX 06a1aca61a Update database.php 2017-07-15 22:26:01 -06:00
FusionPBX b45e7ceac9 Update database.php 2017-07-15 20:38:56 -06:00
FusionPBX 11ad3b0ee8 Update database.php 2017-07-15 20:20:51 -06:00
FusionPBX bf4c0a0cb0 Update database.php 2017-07-15 17:20:21 -06:00
FusionPBX bae575c875 Update database.php 2017-07-15 17:09:01 -06:00
FusionPBX 3fb6936e97 Update sql_db_conversion.php 2017-07-15 12:43:37 -06:00
FusionPBX cc5634e002 Update report.php 2017-07-15 12:41:16 -06:00
FusionPBX 71e0330bbf Delete schema.php 2017-07-15 12:37:23 -06:00
FusionPBX 753555a948 Update database.php 2017-07-14 20:44:45 -06:00
FusionPBX 278bb44dd6 Update database.php 2017-07-14 20:41:23 -06:00
FusionPBX 6cee69c895 Update {$mac}.cfg
http://community.polycom.com/t5/VoIP/Exchange-URL-warning-after-new-update/td-p/86621
2017-07-14 12:46:47 -06:00
FusionPBX d402d50386 Update {$mac}.cfg
http://community.polycom.com/t5/VoIP/Exchange-URL-warning-after-new-update/td-p/86621
2017-07-14 12:45:46 -06:00
FusionPBX 2d1beb0bec Update index.lua 2017-07-14 12:26:01 -06:00
FusionPBX 313cb54164 Update database.php 2017-07-14 10:52:30 -06:00
FusionPBX 739aafa04d Update database.php 2017-07-11 12:48:20 -06:00
FusionPBX 7910cb8f04 Update database.php 2017-07-11 11:30:22 -06:00
FusionPBX 1cd030a2f0 Update database.php 2017-07-11 00:13:54 -06:00
FusionPBX 51c6b14e46 Update database.php 2017-07-10 22:38:29 -06:00
FusionPBX a05db79b37 Update app_defaults.php 2017-07-09 23:52:34 -06:00
FusionPBX 2954fcaca4 Update vars.xml 2017-07-09 23:46:36 -06:00
FusionPBX c67ab587d7 Update vars.xml 2017-07-09 13:27:11 -06:00
FusionPBX 57e7cfb158 Update vars.xml 2017-07-09 13:20:04 -06:00
FusionPBX 55ad354a2b Update vars.xml 2017-07-09 13:04:00 -06:00
FusionPBX 85318c1131 Update vars.xml 2017-07-09 12:52:21 -06:00
FusionPBX edf9ac6328 Update vars.xml 2017-07-09 12:45:32 -06:00
FusionPBX 8e5229b615 Update vars.xml 2017-07-09 11:20:23 -06:00
FusionPBX 749b97c253 Update database.php 2017-07-08 01:10:28 -06:00
FusionPBX dfdecf8414 Update extension_edit.php 2017-07-05 10:26:45 -06:00
FusionPBX 6cc881a8cc Update voicemail_edit.php 2017-07-05 10:23:47 -06:00
FusionPBX 9d4ee85b6f Update app_config.php 2017-07-05 10:21:37 -06:00
FusionPBX 469f3ad351 Update time_condition_edit.php 2017-07-04 12:22:50 -06:00
FusionPBX b7eac24f58 Update access_control_node_edit.php 2017-07-04 11:39:13 -06:00
FusionPBX 7baedc7561 Update access_control_node_delete.php 2017-07-04 11:38:28 -06:00
FusionPBX abaa85baf8 Update access_control_delete.php 2017-07-04 11:37:16 -06:00
FusionPBX afc8c6f244 Update access_control_edit.php 2017-07-04 11:35:55 -06:00
FusionPBX aa9be98b8e Update access_control_edit.php 2017-07-04 11:34:41 -06:00
FusionPBX f8765077a9 Update cmd.php 2017-07-04 11:31:21 -06:00
FusionPBX 6ee8a05d62 Update access_control_node_edit.php 2017-07-04 11:21:04 -06:00
FusionPBX 18bea26ee4 Update access_control_node_delete.php 2017-07-04 11:17:08 -06:00
FusionPBX 15365b2b03 Update access_control_delete.php 2017-07-04 11:16:15 -06:00
FusionPBX 31c457d455 Update access_control_edit.php 2017-07-04 11:15:47 -06:00
FusionPBX 8a2f044109 Update database.php 2017-07-04 09:48:52 -06:00
FusionPBX 3de75210d7 Update README.md 2017-07-01 16:51:19 -06:00
FusionPBX 7b94cc9d91 Update README.md 2017-07-01 16:49:22 -06:00
FusionPBX 83cc908e75 Update menu.php 2017-07-01 16:05:25 -06:00
FusionPBX 60106b605f Update menu.php 2017-07-01 14:13:51 -06:00
FusionPBX 07478aadea Update check_auth.php 2017-07-01 10:09:17 -06:00
FusionPBX 254074d95e Update check_auth.php 2017-07-01 09:44:34 -06:00
FusionPBX 0bf98bee89 Update README.md 2017-07-01 09:25:30 -06:00
FusionPBX 1624ee2f11 Update README.md 2017-07-01 09:10:29 -06:00
FusionPBX 839769459c Update README.md 2017-07-01 09:09:24 -06:00
FusionPBX e54426ebda Update README.md 2017-07-01 09:03:31 -06:00
FusionPBX a041ad67d4 Update README.md 2017-07-01 09:00:57 -06:00
FusionPBX 2b11b9e507 Update app_config.php 2017-06-30 22:02:00 -06:00
FusionPBX 4c21585a8a Update app_config.php 2017-06-30 21:53:53 -06:00
FusionPBX ea992299e6 Update app_menu.php 2017-06-30 19:03:30 -06:00
FusionPBX 9df2ada4c0 Update app_menu.php 2017-06-30 18:59:07 -06:00
FusionPBX dcde2b8e9d Update app_menu.php 2017-06-30 18:37:19 -06:00
FusionPBX 002f4fd9a9 Update app_config.php 2017-06-30 18:27:56 -06:00
The-Operator 1f31b25f79 Update German and Austrian translations (#2722)
* Update German and Austrian translations

Update German and Austrian translations and added missing English translations for FAX application.

* Update German & Austrian translations
2017-06-30 15:23:01 -06:00
FusionPBX b51dfe2f13 Create translate.conf.lua 2017-06-29 12:11:39 -06:00
FusionPBX ca84bc8dba Update dialplan_edit.php 2017-06-28 20:55:43 -06:00
Dean Montgomery 7b86862706 Fix Attended Transfer Caller ID Display (#2718)
* Update {$mac}.xml

Fix Attended Transfer Caller ID Display

* Update {$mac}.xml

Fix Attended Transfer - Caller ID Display.

* Update {$mac}.xml

Fix Attended Transfer - Caller ID Display = Auto

* Update {$mac}.xml

Fix Attended Transfer - Caller ID Display  = Auto

* Update {$mac}.xml

Fix Attended Transfer - Caller ID Display = Auto
2017-06-27 22:58:45 -06:00
Len e607599bad Update {$mac}.xml 2017-06-25 05:39:00 -04:00
Len 68d3602b55 Update {$mac}.xml 2017-06-25 03:45:45 -04:00
Len 98832f62fe Update app_config.php 2017-06-23 16:27:39 -04:00
Len 6c4f3e721e Update app_config.php 2017-06-23 16:16:42 -04:00
Alexey Melnichuk 132f250d9e Add. Support missed argument in xml_cdr.php (#2711)
This argument used when build link in xml_cdr_statistics.php.
2017-06-23 09:21:25 -06:00
Len 52c26f8cad Update y000000000051.cfg 2017-06-22 19:20:50 -04:00
Len cad75c73a2 Update y000000000065.cfg 2017-06-22 19:20:09 -04:00
Len 64e3d97171 Update y000000000035.cfg 2017-06-22 19:19:14 -04:00
Len fa41c5d3c3 Update y000000000066.cfg 2017-06-22 19:18:24 -04:00
Len 2246f01a27 Update y000000000029.cfg 2017-06-22 19:17:11 -04:00
Len 529a5c34e7 Update y000000000068.cfg 2017-06-22 19:16:05 -04:00
Len d21a737506 Update y000000000036.cfg 2017-06-22 19:15:13 -04:00
Len 5ddd661808 Update y000000000054.cfg 2017-06-22 19:06:27 -04:00
Len eba4e0647c Update y000000000046.cfg 2017-06-22 19:04:46 -04:00
Len 2dc8e3c3a4 Update y000000000045.cfg 2017-06-22 19:03:50 -04:00
Len 10dd20491e Update y000000000069.cfg 2017-06-22 19:02:58 -04:00
Len aac1469b6b Update y000000000044.cfg 2017-06-22 19:01:30 -04:00
Len 9c7ec6a5e0 Update y000000000044.cfg 2017-06-22 19:00:35 -04:00
Len bebd6439e6 Update y000000000052.cfg 2017-06-22 19:00:01 -04:00
Len f20c632bbb Update y000000000028.cfg 2017-06-22 17:31:10 -04:00
Len 27a5b94757 Update y000000000028.cfg 2017-06-22 17:25:10 -04:00
Len 7403f1c584 Update {$mac}.xml 2017-06-22 17:15:50 -04:00
Len d6e794682d Update {$mac}.cfg 2017-06-22 14:47:23 -04:00
FusionPBX 4d90b4753c Update {$mac}.cfg 2017-06-22 12:41:23 -06:00
Len 24d7c80aba Update app_config.php 2017-06-22 14:23:49 -04:00
Len db2be8587f Update app_config.php 2017-06-22 14:20:55 -04:00
Len 72393ee002 Update app_config.php 2017-06-22 14:06:45 -04:00
FusionPBX 2205d30f4e Update ivr_menu_edit.php 2017-06-22 09:20:40 -06:00
Alexey Melnichuk 49a7f8aa53 Add. Display both CPM for all calls and for answered only. (#2707) 2017-06-22 09:04:44 -06:00
FusionPBX cb1daa7cb9 Unset call_timeout on new outbound routes. 2017-06-22 08:46:43 -06:00
Alexey Melnichuk 9e38643c40 Fix. Stack overflow when calls base actor. (#2706) 2017-06-22 00:14:28 -06:00
FusionPBX 116ba64fcb Update xml_cdr.php 2017-06-21 23:46:17 -06:00
FusionPBX a5827cd4d4 Update xml_cdr.php 2017-06-21 23:39:56 -06:00
FusionPBX 463a971275 Update v_xml_cdr_import.php 2017-06-21 19:34:06 -06:00
FusionPBX 08b4c9505d Update app_config.php 2017-06-21 19:10:11 -06:00
FusionPBX 6e6c35013b Update provision.php 2017-06-21 10:50:33 -06:00
FusionPBX 70cc5f8906 Update provision.php 2017-06-21 10:44:59 -06:00
Mafoo 2575da1a06 Enhance-Multiple messages display (#2702)
Store messages by mood so they can be grouped up
change default mood to positive and add a default colour to catch messages with a wrong mood
migrate settings so upgrading vs new is consistent
2017-06-21 08:27:05 -06:00
Alexey Melnichuk c5cfffb05a Update CDR Stats application. (#2704)
* Update CDR Stats application.

Fix. Number of calls always calculate only for all domain.
Fix. Number of missed calls ignores any search parameters and use only `inbound` filter.
Fix. Calls duration for days use only domain filter and do not use any other filters.
Add. Limit setting for number of hours to calculate statistic.
Add. When timestamp set then calculate statistic only for this period.

* Fix. Calculate `Calls per minute`
Fix. Prevent divide `0/0` when calculate `ALOC`

* Fix. `Hours` have to be integer type.
2017-06-21 08:20:29 -06:00
FusionPBX 6d35dec5bb Update check_auth.php 2017-06-20 11:29:50 -06:00
Len 2d8b0fc0b2 Update y000000000051.cfg 2017-06-20 12:33:01 -04:00
Len 234ec38c5f Update y000000000065.cfg 2017-06-20 12:27:43 -04:00
Len b364bb2e47 Update y000000000035.cfg 2017-06-20 12:26:53 -04:00
Len 26d8e32379 Update y000000000066.cfg 2017-06-20 12:26:09 -04:00
Len 5d11c50aa3 Update y000000000028.cfg 2017-06-20 12:24:37 -04:00
Len d874e58501 Update y000000000029.cfg 2017-06-20 12:22:51 -04:00
Len e46d0205d1 Update y000000000068.cfg 2017-06-20 12:21:22 -04:00
Len 06224ebb72 Update y000000000036.cfg 2017-06-20 12:20:21 -04:00
Len 28d228bb58 Update y000000000054.cfg 2017-06-20 12:19:51 -04:00
Len ba6c3be7ab Update y000000000046.cfg 2017-06-20 12:17:57 -04:00
Len 4bbccff559 Update y000000000045.cfg 2017-06-20 12:16:45 -04:00
Len 6d8f2b8680 Update y000000000069.cfg 2017-06-20 12:09:49 -04:00
Len 083adade53 Update y000000000044.cfg 2017-06-20 12:07:57 -04:00
Len 6eef650ebe Update y000000000044.cfg 2017-06-20 12:07:18 -04:00
Len f0a07d5b39 Update app_config.php 2017-06-20 12:01:14 -04:00
FusionPBX 48a02c0aef Update y000000000052.cfg 2017-06-20 09:54:19 -06:00
andycol ce9a10cd85 Hide pin codes when a user pushed the redial button (#2690) 2017-06-20 09:51:35 -06:00
Alexey Melnichuk 515fc15767 Add. BLF indication for call forward. (#2664)
* Add. BLF indication for call forward.

To display general status of CallForward use blf like `forward+<extension>`
To display status for specific phone number use blf like `forward+<extension>/<number>`

* Fix. Escape variable in regex expression.

* Fix. Sync DND and CF blf.

* Add. `blf_subscribe` service which can handle all custom subscriptions.

To run for specific protocol it possible run as `luarun blf_subscribe.lua <PROTO>`
2017-06-20 09:23:23 -06:00
FusionPBX 0140ae098d Update app_defaults.php 2017-06-17 14:02:19 -06:00
FusionPBX 524c614651 Update directory.lua 2017-06-17 12:19:43 -06:00
FusionPBX bbf8aca7d0 Update directory.lua 2017-06-17 11:38:24 -06:00
FusionPBX 8865c570ac Change directory full name to first and last name. 2017-06-17 11:37:22 -06:00
FusionPBX 25dc51a4a3 Update app_config.php 2017-06-17 11:35:52 -06:00
FusionPBX fd115a43f9 Update dialplan_outbound_add.php
Removed as a security precaution.
2017-06-17 10:57:17 -06:00
FusionPBX a9ddb62f0c Update app_config.php 2017-06-17 09:18:26 -06:00
Luis Daniel Lucio Quiroz ce9fb88207 Little language update (#2693)
ES and FR
2017-06-16 08:39:15 -07:00
Mafoo 9abe2ca4a0 Database transactions
Change the select statement to a left outer join so when either domain_uuid or user_uuid is null it will still be able to display the data. This will keep the total number of records the same as the count done above

* dos2unix on app/database_transactions/database_transactions.php
2017-06-14 07:22:01 -07:00
Len bc42f4fac3 bug fix caller_destination label 2017-06-13 18:34:18 -04:00
Mafoo 0ccafad11c Enhance - text class autofill (#2679)
Try and auto fill a value when its blank an the same baseline language
has a value
2017-06-12 22:19:02 -07:00
Mafoo 07ed66fc06 Enhance-master-translation autofill (#2681)
Autofill all language files for pt de and es
2017-06-12 22:14:11 -07:00
Mafoo 8e8405469b Enhance - translation missing tags (#2680)
add tags missing in some app_languages
2017-06-12 22:13:06 -07:00
Mafoo 02719901b4 dos2unix (#2682)
find . -name "*.php" | xargs dos2unix
2017-06-12 22:09:36 -07:00
Len ee3b5ff717 Create {$mac}.cfg 2017-06-12 23:57:47 -04:00
Len 2935829bcd Create {$mac}.cfg 2017-06-12 23:55:15 -04:00
Len 21561cf33f Create {$mac}.cfg 2017-06-12 23:52:19 -04:00
Len 0016341e24 Create {$mac}.cfg 2017-06-12 23:50:20 -04:00
Len 78c5f76b44 Create {$mac}.cfg 2017-06-12 23:48:57 -04:00
Len 629e79d623 Create {$mac}.cfg 2017-06-12 23:46:11 -04:00
Len 8099778632 Create {$mac}.cfg 2017-06-12 23:43:52 -04:00
Len 6d9e2c1346 Create {$mac}.cfg 2017-06-12 23:42:06 -04:00
Len f510b67114 Create {$mac}.cfg 2017-06-12 23:39:50 -04:00
Len 3af8504f0a Create {$mac}.cfg 2017-06-12 23:37:37 -04:00
Len 2d50a8fd98 Create {$mac}.cfg 2017-06-12 23:35:30 -04:00
Len fb2e64de2b Create {$mac}.cfg 2017-06-12 23:33:50 -04:00
Len e6947060bd Create {$mac}.cfg 2017-06-12 23:32:30 -04:00
Len d2cd442a63 Create {$mac}.cfg 2017-06-12 23:30:52 -04:00
Len a800d61330 Create {$mac}.cfg 2017-06-12 23:26:30 -04:00
Len 92465eb88c Create {$mac}.cfg 2017-06-12 23:25:16 -04:00
Len b56afc06d3 Create {$mac}.cfg 2017-06-12 23:23:18 -04:00
Len e394c2078c Create {$mac}.cfg 2017-06-12 23:21:46 -04:00
Len 02b33b0abd Create {$mac}.cfg 2017-06-12 23:20:22 -04:00
Len d30632040c Create {$mac}.cfg 2017-06-12 23:18:47 -04:00
Len de3b56cff5 Create {$mac}.cfg 2017-06-12 23:17:26 -04:00
Len 879ab6cef8 Create {$mac}.cfg 2017-06-12 23:13:00 -04:00
Len 1caa3ea725 Create {$mac}.cfg 2017-06-12 23:11:11 -04:00
Len 817fc4453c Create {$mac}.cfg 2017-06-12 23:08:53 -04:00
Len 440fdd67a7 Create {$mac}.cfg 2017-06-12 23:06:39 -04:00
FusionPBX 83816a0274 Update app_config.php 2017-06-12 20:01:41 -07:00
Len 3b1e9ac187 Create app_config.php 2017-06-12 22:52:19 -04:00
Len 1567b7332b update cid_source 2017-06-12 22:47:05 -04:00
FusionPBX d0961c7cd4 Create database_transaction_edit.php 2017-06-11 21:08:13 -07:00
Mafoo d2c6bacd9d Enhance upgrade show during install (#2676)
the install uses upgrade_domains.php, update it to use well known
varibles to show output
2017-06-11 08:49:39 -06:00
FusionPBX 5bc8691dfb Use null instead of an empty string for user_uuid when not available. 2017-06-11 08:48:18 -06:00
FusionPBX 3a0db01a92 Create menu_messages.lua 2017-06-10 23:53:12 -06:00
FusionPBX fd15866cda Create app_config.php 2017-06-10 23:27:21 -06:00
FusionPBX d9a4a8344a Create menu_messages.lua 2017-06-10 23:06:29 -06:00
FusionPBX 1342888163 Create index.lua 2017-06-10 23:03:22 -06:00
FusionPBX 8ca0847900 Create record_message.lua 2017-06-10 22:57:51 -06:00
FusionPBX fbbd57f8c2 Create index.lua 2017-06-10 22:50:40 -06:00
Len 8e3aa2d18e Create y000000000052.cfg 2017-06-11 00:08:24 -04:00
Len 3aae62f29d Update y000000000044.cfg 2017-06-11 00:05:55 -04:00
Len 1d08d23a00 Create y000000000044.cfg 2017-06-11 00:01:19 -04:00
Len af92ae43e4 Update y000000000069.cfg 2017-06-10 23:56:26 -04:00
Len 325f06fa74 Create y000000000045.cfg 2017-06-10 23:52:44 -04:00
Len 3ece83a933 Update y000000000046.cfg 2017-06-10 23:49:00 -04:00
Len 913a86f1c3 Update y000000000036.cfg 2017-06-10 23:43:54 -04:00
Len cf6282ebc3 Create y000000000068.cfg 2017-06-10 23:40:07 -04:00
Len 3b5f1fd0bb Update y000000000029.cfg 2017-06-10 23:37:06 -04:00
Len 8d4e34ebd4 Update y000000000028.cfg 2017-06-10 23:28:56 -04:00
Len 4cb3e1f4d2 Update y000000000035.cfg 2017-06-10 23:24:28 -04:00
Len 64d4507f98 Update y000000000051.cfg 2017-06-10 23:22:27 -04:00
Len 62836d26bf Update y000000000066.cfg 2017-06-10 23:14:37 -04:00
Len 0bcf1b0e25 Update y000000000065.cfg 2017-06-10 23:12:51 -04:00
Len 4eb5747358 Create app_config.php 2017-06-10 21:57:43 -04:00
Len 9c90cea6ad Create app_config.php 2017-06-10 21:49:32 -04:00
Mafoo ba9b0ade53 BugFix - messages class (#2674)
missed the self class reference when adding a legacy message
2017-06-10 16:12:05 -06:00
FusionPBX aa897aca47 Create text.php
Switch require back to include what it was originally as it breaks too many things with little benefits.
2017-06-10 09:42:54 -06:00
Mafoo d9d50df4fb BugFix - check_auth (#2672)
the update to check_auth to enable text i made a mistake and put the
wrong parameter into get. this corrects that
2017-06-10 09:22:24 -06:00
Mafoo 22392cdff2 Enhance text class (#2670)
make the get routine a little more rugged by checking if the file exists not the directory it is in.
throw a exception if we are asked to load a app_languages that doesn't exist
don't reload the resources/app_languages if exclude_global was ommitted
code styling update to match project
2017-06-10 09:14:58 -06:00
Mafoo 01eebd6244 Enhance - remove statsh/pop from messages class (#2671)
statsh/pop was present to work around a bad implementation in loginphp.
This removes the now redundant code.
2017-06-10 08:59:21 -06:00
FusionPBX df8f7cf5f6 Update login.php 2017-06-10 08:47:44 -06:00
FusionPBX 5d59c9a574 Create logout.php 2017-06-10 08:45:41 -06:00
FusionPBX 69219cf4f0 Create login.php 2017-06-10 08:43:59 -06:00
Mafoo 5bfda43d16 Enhance - add message stash/pop (#2660)
add new methods to messages class to let it take care of stash and pop of the messages
update login.php to use new methods
tweak html function to put the $_SESSION['message'] in the stack so there is only one code point to maintain for rendering
2017-06-09 22:15:18 -06:00
Mafoo 0526819a01 Enhance [master] - update check_auth to use $text (#2661)
* Enhance - update check_auth to use $text

convert to messages::add and utilize $text for invalid_credentials

* Russian translations for check_auth
2017-06-09 22:13:51 -06:00
Mafoo 9570ce1bf0 Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
2017-06-09 20:13:40 -06:00
Mafoo 4f4baf136b Enhance - better reasons for 403 in orm class (#2659)
update return message when code 403 to also state the permission that failed
2017-06-09 20:03:22 -06:00
Mafoo 37463204e4 remove debug lines in permissions (#2658)
because application defaults is now captured for output these debug
lines show up when used. This removes them
2017-06-09 13:32:31 -06:00
Mafoo 9e8eb943e8 BugFix - database class app_uuid (#2663)
if $database->app_uuid is not set it would use '' in some conditions
which isset would test true.
This fix uses strlen instead, but also fixes number_transations app that
highlighted the flaw
2017-06-09 13:31:50 -06:00
FusionPBX c0ea12daa5 Update external.xml.noload 2017-06-09 11:19:57 -06:00
FusionPBX 818e535848 Update internal-ipv6.xml.noload 2017-06-09 11:19:16 -06:00
FusionPBX 841e783576 Update internal.xml.noload 2017-06-09 11:18:42 -06:00
FusionPBX 72779123f1 Create call_forward.php 2017-06-09 10:27:32 -06:00
Dean Montgomery 88a155e4b3 Update Grandstream provisioning (#2652)
* Update Grandstream provisioning

* Add Vtech

* Create app_config.php

fix typo

* Update app_config.php

remove newline at end as it can break php

* Update app_config.php

remove newline at end as it can break php

* Create app_config.php

remove newline at end.

* Update app_config.php

remove trailing newline

* Create device_edit.php

Add both http and https

* Create app_config.php

remove newline

* Add gxp16xx and fix typos
2017-06-08 16:21:47 -06:00
Mafoo ed95f1d5b5 Enhance - system_info (#2656)
display more information about the operating system
2017-06-08 12:44:15 -06:00
Mafoo 7df70cb6f3 BugFix - app_languages.php - core/upgrade (#2655)
correct translation for message-upgrade_source
2017-06-08 12:09:08 -06:00
FusionPBX 2650897ce7 Create 320_vmain.xml 2017-06-08 11:05:53 -06:00
FusionPBX 2002d0950d Create 320_vmain.xml 2017-06-08 11:05:32 -06:00
The-Operator d7f2bc562a Enhance vmail to support direct acces to a VM (#2654)
* Enhance vmail to support direct acces to a VM

Added the possibility to dial into a voicemail box directly by specifying the destination Vm in the dialstring., e.g. *981234 to access VM 1234. Usefull to access shared VM via function keys.

* Enhance vmail to support direct acces to a VM - Update

Add missing break="never" to first condition and added voicemail_authorized=false as suggested.

* Enhance vmail to support direct acces to a VM - Update
2017-06-08 11:04:14 -06:00
FusionPBX 0390f1ef64 Create conference_edit.php 2017-06-08 10:54:48 -06:00
Alexey Melnichuk a83d52eba6 Add. Statistics takes account to leg. (#2653)
Add. Leg field to advanced search form.
2017-06-08 09:45:27 -06:00
Alexey Melnichuk d43cb9e700 Add. Allow use call_flow_subscribe.lua with feature codes without flow+ prefix. (#2609)
This commit allows create call flow extension with some feature code (e.g. `*401`)
Then on the phone you can configure BLF like `flow+*401` and use `call_flow_subscribe` to
track current status of this call flow. BLF like `*401` will also works but only if
use `call_flow_monitor` script.
Also it is possible dial `flow+*401` as well as `*401` to toggle call flow state.
2017-06-08 09:44:45 -06:00
Mafoo 7015209e54 Enhance [master] provide $app_path during upgrade (#2573)
if a application is installed via a symlink PHP will resolve the symlink
for __DIR__ and __FILE__ making it impossible for an application to work
out it's relative path withing the fusion system.
By providing $app_path during upgrade routines an application will
beable to provide the correct link for menu items (e.g.
/opt/languages/index.php) instead of having to hard code it where it
could change depending on how the application was installed
2017-06-08 09:41:56 -06:00
Mafoo bcfab0fd83 BugFix - nway conference (#2644)
corrected xml
2017-06-08 09:40:18 -06:00
Mafoo 2c97ce1144 Enhance - Display text on app_defaults (#2645)
enable display_type on domains (and therefore app_defaults)
capture the output of app_defaults
format if statements to project preference
use more generic label display for results reducing number of translations required
change upgrade.php to use the more consistent $display_type
2017-06-08 09:39:50 -06:00
Mafoo b7f4cba09c Enhance - Convert more messages (#2646)
convert more messages to messages class
skipped dashboard messages due to them relying on $_SESSION['message']
to know if there has already been a change
2017-06-08 09:39:04 -06:00
Alexey Melnichuk 76ab1cca6a Fix. Properly handle error from memcached when load configs. (#2641)
On my system mod_memcached returns `-ERR SOME ERRORS WERE REPORTED` when
memcached service not available. And sofia.conf.lua does not handle this case
and interpret this response as valid one.
Using `cache` class allows handle such errors. Also this class handle all
escaping operation which makes code more clear.
2017-06-08 09:38:28 -06:00
Alexey Melnichuk 49ab82e657 Add. Use cache class in xml_handler/directory (#2647) 2017-06-08 09:37:30 -06:00
Mafoo 641b2c34df NewApp [master] - number_translation (#2649)
* NewApp - number_translation

allows management of mod_translate profiles
automatically importing existing configuration on app_defaults where the configuration file is not marked as autogenerated.
import from separate files for presets

* Russian translations for number_translation

* German, Austrian and Swiss translations for number_translation
2017-06-08 09:35:36 -06:00
Len a78a29b6e2 update cid_source 2017-06-07 15:04:34 -04:00
Len 777f004673 update cid_source 2017-06-07 15:00:47 -04:00
Len 364e068d90 update cid_source 2017-06-07 14:56:20 -04:00
Len 2dba6c9d65 update cid_source 2017-06-07 14:53:00 -04:00
FusionPBX 2611b79ba4 System Status make the code more consistent. 2017-06-07 12:47:17 -06:00
Len 6f49ff29ff update cid_source 2017-06-07 14:42:42 -04:00
Len 129c9c1ce0 update cid_source 2017-06-07 14:35:00 -04:00
Len ed1aba2ee7 update cid_source 2017-06-07 14:26:59 -04:00
Len 3f58ea0ac6 update cid_source 2017-06-07 14:23:49 -04:00
Len d6c9c35e7b update cid_source 2017-06-07 14:20:42 -04:00
Len 3d9b03d56f update cid_source 2017-06-07 14:18:02 -04:00
FusionPBX b4b364b70d Update calls_active_inc.php 2017-06-07 12:16:58 -06:00
Len 5ba6fbecde update cid_source 2017-06-07 14:13:26 -04:00
FusionPBX ef7724b4f9 Update calls_active_inc.php 2017-06-07 12:12:55 -06:00
FusionPBX 460569f9f3 Update calls_active_inc.php 2017-06-07 12:10:46 -06:00
Len da6559d538 update cid_source 2017-06-07 14:09:42 -04:00
Len b47e2ea931 update cid_source 2017-06-07 14:06:38 -04:00
Len dc32ccbab4 update cid_source 2017-06-07 14:03:36 -04:00
Len a2f3e475db update cid_source 2017-06-07 13:59:59 -04:00
Len 381f36b2a7 update cid_source 2017-06-07 13:56:29 -04:00
Len e9a6e17941 update cid_source 2017-06-07 13:53:29 -04:00
Len a9fc1b08e6 update cid_source 2017-06-07 13:50:09 -04:00
Len 89692feff2 update cid_source 2017-06-07 13:39:58 -04:00
Len a42df5ee71 update cid_source 2017-06-07 13:36:48 -04:00
Len 2c1189c021 update cid_source 2017-06-07 13:30:12 -04:00
Len 4b7df2aac9 update cid_source 2017-06-07 13:27:34 -04:00
Len 4f0df88241 update cid_source 2017-06-07 13:25:10 -04:00
Len adcadd313c Update {$mac}.cfg 2017-06-07 13:22:25 -04:00
Len 90f7f68432 Update cid_source 2017-06-07 13:19:58 -04:00
Len 62275a1e2d Update {$mac}.cfg
Update cid_source
2017-06-07 13:14:56 -04:00
Mafoo 33d23c2322 Enhance-system information (#2650)
use human format and wide display for free under linux
use posix output format and totals on df under linux
make spacing consistent on value assignements
2017-06-07 08:58:33 -06:00
FusionPBX 4e54605653 Update 2017-06-06 23:01:46 -06:00
FusionPBX 161adf5cad Update listen_to_recording.lua 2017-06-06 21:16:55 -06:00
FusionPBX b6f85d9392 Update index.lua 2017-06-06 21:16:47 -06:00
FusionPBX e394ab4475 Update on_dtmf.lua 2017-06-06 20:45:32 -06:00
Len a504184369 Merge pull request #2624 from jamesorose/patch-1
voicemail lights up on missed calls
2017-06-06 02:02:25 -04:00
Len 9b444474b7 Merge branch 'master' into patch-1 2017-06-06 02:02:04 -04:00
Len d67945b4cf Update y000000000023.cfg 2017-06-05 17:03:27 -04:00
Len 6c01134fff Update y000000000053.cfg 2017-06-05 16:58:36 -04:00
Len 23ce68b455 Update y000000000007.cfg 2017-06-05 16:57:32 -04:00
Len 030e2e3302 Update y000000000052.cfg 2017-06-05 16:56:35 -04:00
Len 8afc4702ff Update y000000000005.cfg 2017-06-05 16:51:52 -04:00
Len 266f0e27fd Update y000000000044.cfg 2017-06-05 16:50:32 -04:00
Len 564851a059 Update y000000000044.cfg 2017-06-05 16:48:16 -04:00
Len dc15fc9d53 Update y000000000004.cfg 2017-06-05 16:47:05 -04:00
Len f452ff0104 Update y000000000069.cfg 2017-06-05 16:44:30 -04:00
Len b945b1f79d Update y000000000045.cfg 2017-06-05 16:41:10 -04:00
Len c505be5aa0 Update y000000000000.cfg 2017-06-05 16:37:41 -04:00
Len b9d3439380 Update y000000000046.cfg 2017-06-05 16:35:48 -04:00
Len 5ecd5e56f8 Update y000000000032.cfg 2017-06-05 16:33:31 -04:00
Len bbd816a739 Update y000000000038.cfg 2017-06-05 16:32:15 -04:00
Len ff99a56c95 Update y000000000054.cfg 2017-06-05 16:30:08 -04:00
Len b9c1a1d84e Update y000000000036.cfg 2017-06-05 16:29:19 -04:00
Len be2d678038 Update y000000000068.cfg 2017-06-05 16:27:52 -04:00
Len f9ab6d442c Update y000000000029.cfg 2017-06-05 16:24:14 -04:00
Len a08eb5dc55 Update y000000000051.cfg 2017-06-05 16:15:18 -04:00
Len fcffd3e247 Update y000000000065.cfg 2017-06-05 16:12:02 -04:00
Len 5fb740561b Update y000000000035.cfg 2017-06-05 16:09:23 -04:00
Len 5d2a9f0450 Update y000000000028.cfg 2017-06-05 16:07:53 -04:00
Len 0d7f1e5049 Update y000000000066.cfg 2017-06-05 16:06:32 -04:00
Len 3db86cb618 Update y000000000028.cfg 2017-06-05 16:04:18 -04:00
FusionPBX f751189447 Create v8.conf.xml 2017-06-05 11:49:51 -06:00
FusionPBX 58ba80e989 Create opus.conf.xml 2017-06-05 11:43:02 -06:00
FusionPBX 0595259ad2 Update follow_me.php 2017-06-05 09:35:14 -06:00
Alexey Melnichuk 9cc513d3d4 Fix. Find php interpreter when use CGI/FastCGI mode. (#2640)
Prev version has bug when extension_dir has relative path (e.g. `ext`)
`basedir('ext')` returns not empty string by dot symbol `.` so it going to
infinity loop.
Also official distro of PHP has no executable binaries with version (phpX.exe)
only `php.exe`.
Tested on OpenServer with PHP 5.3-7.1 under Apache/Nginx.
And also on manual install of Nginx 1.11 / PHP 5.4
2017-06-05 08:47:38 -06:00
FusionPBX 00c51e69f9 Update app_config.php 2017-06-05 08:37:47 -06:00
Mafoo 0c2b06a394 Enhance - language update (#2639)
removed some unused tags
corrected some typos in tag names e.g. 'ckeck and check'
combined tags that had two names
inserted missing tags in sip_status
2017-06-04 09:50:58 -06:00
Mafoo 7482377c08 Enhance [master] Default settings sort order (#2593)
add to the sort order for default/domain settings so when a type is
array without *_setting_order the values will sort in order
2017-06-03 12:36:56 -06:00
Mafoo 6ac7fa4363 Enhance - app_config.php comment cleanup (#2636)
Correct a few missed tab indents on comments
2017-06-03 12:36:08 -06:00
Mafoo 3b1a3354ce Enhance - app_config.php last cleanup (#2637)
last batch of app_config.php changes
2017-06-03 12:35:18 -06:00
Mafoo b2841c4a8c remove schema translations (#2638)
the schema should not have any translations on it as they are present
for reference only.
This removes the extra descriptions found and corrects some of the en to
en-us ones
2017-06-03 12:34:19 -06:00
FusionPBX b7c8230e78 Update app_config.php 2017-06-03 10:57:06 -06:00
FusionPBX 5a900c9aa9 Update app_config.php 2017-06-03 10:52:51 -06:00
FusionPBX 61e4993ad8 Update app_config.php 2017-06-03 10:46:48 -06:00
FusionPBX b1f28b0407 Update apps.php 2017-06-03 10:25:58 -06:00
Mafoo 1af9964ab5 BugFix - time_conditions (#2635)
revert and earlier change that changed all quoting to "
2017-06-03 10:17:07 -06:00
FusionPBX e6a23c5a24 Update app_config.php 2017-06-03 09:37:28 -06:00
FusionPBX 55b9457ece Update apps.php 2017-06-03 09:24:03 -06:00
Mafoo 3449f978a5 Enhance - Display application descriptions in native (#2629)
Where application description is availible in the session language,
display it, if not fall back to en-us then &nbsp;
2017-06-03 09:15:41 -06:00
Mafoo 02fd32b845 Enhance - app_config.php cleanup for core (#2631)
make spacing and layout consistent
add all missing language tags
fill missing en-us descriptions
Repaired a couple of character encodings in fr-fr
convert to $x$y$z usage for array filling
add a default version number
this is a by hand update
2017-06-03 09:01:10 -06:00
Mafoo f90e080ef4 Enhance - app_config.php cleanup for apps (#2633)
make spacing and layout consistent
add all missing language tags
fill missing en-us descriptions
convert to $x$y$z usage for array filling
add a default version number
this is a by hand update
2017-06-03 09:00:20 -06:00
Mafoo 92398b7f32 Enhance - app_config.php cleanup for theme (#2632)
make spacing and layout consistent
add all missing language tags
fill missing en-us description
add a default version number
change quotes to "
this is a by hand update
2017-06-03 08:59:37 -06:00
Mafoo c1e1d1bbae BugFix - sip_profiles description (#2634)
change description to use correct $text
2017-06-03 08:34:48 -06:00
Mafoo c4bbe8b571 Enhance [master] messages::add convert core/upgrade (#2597)
convert message handling to use messages class
unify response display to reduce boilerplates
fix for when performing source upgrade with any other operation going wrong (required preservation of cwd)
add missing $text for default permissions
removed surpless $text provided by reources/app_languages.php
correct all <br> tags
2017-06-02 22:38:15 -06:00
andycol b9b66911ee fix unexpected t class (#2620) 2017-06-02 22:36:03 -06:00
netpro25 73032b5fae Update fax_retry.lua (#2625)
Had an issue with malformed email confirmation where the number_dialed was showing up with a bunch of random repeating strings after it. This resolved it for me. Also fixed a grammar error.
2017-06-02 22:33:32 -06:00
Alexey Melnichuk 5d43f73134 Add. Handle b legs in CDR. (#2626)
* Add. Handle `b` legs in CDR.

CDR list/statistic by default handle only `a` legs.
So it prevent display wrong result when b-leg turn on.
Add ability to write to db `b` legs only for specific call directions.

To be able see b-legs in CDR need set xml_cdr_b_leg permission.
To add specific call direction to filter need add element to `cdr/b_leg/array` in default/domain settings.

* Add. `b_leg` to defalut settings.
2017-06-02 22:31:20 -06:00
Mafoo 3c23fb5115 BugFix [master] language update (#2628)
Imported Found language ro as ro-ro Romanian (tested by reverse translation)
Add placeholders for all found languages
Add new missing flags
Enhancements to text class
* improved sort to keep language-* tags organized at the top
* if a language is missing a name tag, add it
* changed organizer to not add a final \n
* corrected some indenting
* added detect_all_languages that attempts to find any languages that haven't been defined in resources/app_languages.php
* added language_totals, this is used by the optional languages application to calculate how complete a language is
2017-06-02 13:24:12 -06:00
Mafoo b4dce6f4f2 BugFix [master] - Convert all menus to 2-2 format (#2627)
convert all app_menu.php files to have all placeholders and languages and use 2-2 format for languages
update app_defaults to convert any items found using legacy values in user_setings, domain_settings and default_settings
2017-06-02 12:17:50 -06:00
Kristian Karlsson b67931a139 BugFix [master] - Update languages (#2621)
Update for the Swedish language translation.
2017-06-02 08:39:34 -06:00
FusionPBX c5fa72bf5a Update app_config.php 2017-06-01 23:26:11 -06:00
jamesorose cf6371c622 voicemail lights up on missed calls
this behavior is annoying, and creates confusion among users. please add this as the default.
2017-06-01 13:53:42 -05:00
Mafoo 97ecc657a1 BugFix [master] - menu class (#2622)
when a translation is missing/blank take it from en-us
take the list of lanaguages from text class so all languages get a value
(should fix missing logout button in some languages)
2017-06-01 10:21:21 -06:00
Mafoo 584679503e BugFix [master] - messages class (#2618)
htmlspecialchars isn't required for the javascript, only the \r?\n escape
2017-05-31 14:09:07 -06:00
FusionPBX e7f5f588f3 Update ring_groups.php 2017-05-31 02:03:48 -06:00
Mafoo 3b55aba656 Enhance [master] sip_status Add Stop Action (#2611)
add stop action
change cmd.php to use messages::add and also trim trailing \n so message
does render
2017-05-30 13:45:06 -06:00
Mafoo f2e1fa6290 BugFix [master] - messages class escape more text automatically (#2612)
because we are using javascript to populate the messages list we need to
make sure all special chars are escaped or line feeds will cause
problems
2017-05-30 13:44:51 -06:00
FusionPBX 4167d11ac0 Update dialplans.php 2017-05-30 10:34:58 -06:00
FusionPBX 9cc0198bb4 Update 015_caller_details.xml 2017-05-30 10:00:51 -06:00
FusionPBX 7fff6f8e66 Update 010_caller_details.xml 2017-05-30 10:00:28 -06:00
FusionPBX 4ee820733f Update dialplans.php 2017-05-30 09:53:16 -06:00
FusionPBX cd21efeb0a Update 015_caller_details.xml 2017-05-29 22:18:31 -06:00
FusionPBX 3a9a8be678 Create 010_caller_details.xml 2017-05-29 22:14:41 -06:00
FusionPBX 26b24894b6 Create 015_caller_details.xml 2017-05-29 22:08:48 -06:00
FusionPBX 8531866117 Update dialplans.php 2017-05-29 20:58:23 -06:00
FusionPBX 3c718f967f Update 999_not-found.xml 2017-05-29 20:55:32 -06:00
FusionPBX 7f6f369cdf Create 999_not-found.xml 2017-05-29 19:34:03 -06:00
FusionPBX 10697788d5 Update dialplan.php 2017-05-29 19:32:34 -06:00
FusionPBX 5456db5d5e Update 505_call-forward-all.xml 2017-05-29 19:23:10 -06:00
FusionPBX 43c1d6b53c Create 550_talking_clock_date.xml 2017-05-29 19:20:32 -06:00
FusionPBX 2125f680d3 Update 540_talking_clock_time.xml 2017-05-29 19:20:02 -06:00
FusionPBX 3a5748760e Update 530_talking_clock_date_and_time.xml 2017-05-29 19:19:05 -06:00
FusionPBX beeaaa7e3b Update xml_cdr.php 2017-05-29 15:54:39 -06:00
FusionPBX 12c2ce45d6 Update xml_cdr_inc.php 2017-05-29 15:51:45 -06:00
FusionPBX 50d2e1cb08 Update app_languages.php 2017-05-29 15:21:54 -06:00
FusionPBX 909870d797 Update xml_cdr.php 2017-05-29 15:18:18 -06:00
FusionPBX 7d9b0bc603 Update xml_cdr.php 2017-05-29 15:15:31 -06:00
FusionPBX d1754cc3d2 Update v_xml_cdr_import.php 2017-05-29 15:14:38 -06:00
FusionPBX e953f3198b Update app_config.php 2017-05-29 15:13:36 -06:00
FusionPBX 2c74b77952 Update xml_cdr.php 2017-05-29 11:23:36 -06:00
FusionPBX 4d080cbe89 Update xml_cdr_inc.php 2017-05-29 10:56:28 -06:00
FusionPBX 2d1f89fbba Update v_xml_cdr_import.php 2017-05-29 10:48:30 -06:00
FusionPBX fda8e00d4c Update app_config.php 2017-05-29 10:47:20 -06:00
Alexey Melnichuk 64b1134482 Add. Support DND feature via BLF key (#2606) 2017-05-29 09:50:20 -06:00
Mafoo 52642ea175 BugFix [master] database class (#2594)
Fix for if you send an array containing both updates and new data, it would end up placing all the new data on top of the last item containing the uuid of the last update (if updates are earlier in the array than new items)
2017-05-28 10:18:07 -06:00
FusionPBX da7f893081 Update {$mac}.xml 2017-05-28 09:58:26 -06:00
FusionPBX bcf281dee4 Create {$mac}.xml 2017-05-28 09:56:40 -06:00
FusionPBX 85f72de1e1 Update user_dashboard.php 2017-05-28 09:48:37 -06:00
FusionPBX 188c34aadb Update call_forward.php 2017-05-26 15:59:14 -06:00
Luis Daniel Lucio Quiroz 2b5926ffd7 Fix the CID (#2588)
* Fixes CID

Although you already had somehow fixed the caller id here. you need to put origination and effective. For some reason, not all carriers get the CID from the same field in the SIP payload. origination_* and effective_* affects different parts of the SIP invite.

* Fix the CID


Although you already had somehow fixed the caller id here. you need to put origination and effective. For some reason, not all carriers get the CID from the same field in the SIP payload. origination_* and effective_* affects different parts of the SIP invite.

* Update follow_me.php

* Update call_forward.php
2017-05-26 15:41:50 -06:00
Mafoo e51a7bf3e3 BugFix [master] outbound_caller_id_select cache issue (#2602)
retrieve the correct items to feed to cache->delete
2017-05-26 09:18:21 -06:00
Mafoo d53fd72998 Enhance [master] Better reasons for 403 in database class (#2596)
update return message when code 403 to also state the permission that failed
2017-05-25 23:54:10 -06:00
Mafoo 7ec01104f5 BugFix [master] text class (#2598)
update escape_str to more reliabiliy escape the string into a consistent
format
2017-05-23 09:26:33 -06:00
konradSC 1b515dc75b Update devices.php (#2599)
Carry the search across multiple page results.
2017-05-23 09:23:35 -06:00
The-Operator 778dca9fa9 Update German and Austrian translations (#2595) 2017-05-23 02:15:49 -06:00
FusionPBX 8054298240 Update domain_delete.php 2017-05-22 16:04:46 -06:00
Alexey Melnichuk fa787880d4 Fix. Remove using call_prompt field. (#2589)
It marked as deprecated and do not used anywhere.
2017-05-21 01:32:24 -06:00
FusionPBX 39c0f121eb Update user_dashboard.php 2017-05-19 20:16:53 -06:00
FusionPBX 1a8c4c9b1e Create call_center_agent_dashboard.php 2017-05-19 20:15:14 -06:00
FusionPBX 0d55d624e0 Update app_config.php 2017-05-19 20:10:32 -06:00
FusionPBX 73cb782110 Update call_center_agent_status.php 2017-05-19 20:09:33 -06:00
FusionPBX 497953e21e Update app_languages.php 2017-05-19 15:04:53 -06:00
Mafoo 5760a2eb47 BugFix - Convert all languages to 2-2 digit (#2590)
Some applications were missed due to permissions issue on the server performing the update, this update corrects the missing changes
ordering in xml_cdr was done manually in a previous PR, this corrects the ordering and incorrect description-pdd and description-mos for nl-nl
2017-05-19 11:50:44 -06:00
FusionPBX bf7f211b46 Update intercept.lua 2017-05-19 01:21:19 -06:00
FusionPBX 688cdc5e90 Update intercept.lua 2017-05-19 01:17:08 -06:00
FusionPBX dd37b89353 Update intercept.lua 2017-05-19 01:07:05 -06:00
Andrei Mahalean 9fdb3bf649 Add provisioning template for Yealink T19P-E2 (#2584) 2017-05-18 08:44:43 -06:00
Alexey Melnichuk 06b62af061 Fix. Load Message class (#2585)
Fix. Use correct way to get text message.
Fix. Use `Database Username` to create database if no `Create Database Username` specified.
2017-05-18 08:43:43 -06:00
FusionPBX d8495400af Update call_center_agent_status.php 2017-05-16 19:54:38 -06:00
FusionPBX 53a3d183b6 Update call_center_agent_status.php 2017-05-16 18:39:44 -06:00
FusionPBX 3a63517941 Update call_flow_edit.php 2017-05-16 17:57:16 -06:00
FusionPBX 812c79a954 Update call_center_agent_edit.php 2017-05-16 10:28:53 -06:00
FusionPBX 759be39ce0 Update app_config.php 2017-05-16 10:25:17 -06:00
FusionPBX 30f0d515b2 Update app_languages.php 2017-05-16 10:23:53 -06:00
FusionPBX d6fae8627d Change agent_name into an input box. 2017-05-15 10:06:52 -06:00
FusionPBX 02643ba48a Update dialplan_add.php 2017-05-13 23:33:17 -06:00
FusionPBX 9277318d34 Update app_config.php 2017-05-13 23:04:02 -06:00
FusionPBX e0c5f15cea Delete dialplan_advanced.php
Not used.
2017-05-13 23:00:43 -06:00
FusionPBX 9b37538afe Update call_center_agent_status.php 2017-05-13 22:24:59 -06:00
Mafoo 301b540600 Enhance [master] add column descriptions to xml_cdr (#2571)
update th_order_by to accept optional description parameter that will
populate the title field and append the , sort(order)
2017-05-13 14:14:03 -06:00
Mafoo 55ae0b2b42 Enhance - Convert all languages to 2-2 digit (#2581)
Convert all languages to use the en-us style codes
Where an installation is using a 2 digit code, use the legacy map to find
the mapped language and provide that text correctly
Have escape_str strip \' before converting or we end up with a double
encode
Update organzie_languages to understand how to convert legacy languages
automatically
updated flags
2017-05-13 13:13:38 -06:00
Mafoo 882868520c BugFix [master] Flag correction (#2580)
correction to flags from language update
2017-05-12 13:52:13 -06:00
FusionPBX 1dff786b60 Update sofia.conf.lua 2017-05-12 13:21:19 -06:00
FusionPBX 24fb954811 Update sofia.conf.lua 2017-05-12 12:36:34 -06:00
Mafoo 543a555471 reworked text class to gather the languages on construction (more efficient) (#2576)
organize_languages will now use an internal function to escape values as fusion's check_str would not be appropriate
enabled two missing flags
organize on remaining app_languages.php and add missing 'he'
2017-05-12 08:44:53 -06:00
FusionPBX cce45db24e Update app_languages.php 2017-05-10 22:16:07 -06:00
Mafoo ce6fed13fd BugFix-[master]-mos (#2547)
change incorrect % calculation of MOS to tagged words to represent the standard, see - https://en.wikipedia.org/wiki/Mean_opinion_score
2017-05-10 14:09:30 -06:00
Mafoo bca24ac04d BugFix [master] Languages add missing text placeholders (#2572)
* BugFix [master] Languages add missing text placeholders

add placeholders for missing language text
reorganise file so languages are in a consistent order with en-us always first, and the remaining stored alphabetically
space out tag names to make them line up for readability

* add organize_language to text class

also add get_languages
2017-05-10 13:40:46 -06:00
FusionPBX 2b9937e863 Update install_fusionpbx.php 2017-05-09 20:22:39 -06:00
powerpbx ec9e26966a Fix SQL syntax (#2570) 2017-05-09 20:21:12 -06:00
FusionPBX 340ed5142d Update directory.lua 2017-05-08 23:20:31 -06:00
FusionPBX 0715194731 Update directory.lua 2017-05-08 23:17:03 -06:00
Stefan Siegel 4877406d6e Fix the interactive conference "+Vol" button control (#2564) 2017-05-07 11:35:41 -06:00
FusionPBX 77866036bf Update sip_profile_edit.php 2017-05-07 10:28:39 -06:00
FusionPBX 95de070698 Update sip_profile_edit.php 2017-05-07 00:43:41 -07:00
FusionPBX afdc3330fb Update sip_profile_edit.php 2017-05-07 00:18:03 -07:00
FusionPBX f93684d76a Update user_edit.php
https://github.com/fusionpbx/fusionpbx/issues/2554
2017-05-06 14:13:28 -07:00
FusionPBX 78487500a9 Update dialplan_edit.php 2017-05-02 21:39:58 -07:00
FusionPBX c9ca32ba71 Update call_flow_edit.php 2017-05-02 21:30:49 -07:00
FusionPBX 5e76240cfd Update call_flows.php 2017-05-02 17:19:52 -07:00
FusionPBX bc3f8b6d85 Update y000000000068.cfg 2017-05-01 14:21:35 -07:00
FusionPBX ed39b3213e Update y000000000068.cfg 2017-05-01 14:20:58 -07:00
FusionPBX 31af723da0 Create directory.xml 2017-05-01 14:19:41 -07:00
FusionPBX 873cfb4866 Create favorite_setting.xml 2017-05-01 14:18:28 -07:00
FusionPBX 4615a7f95d Create y000000000068.cfg 2017-05-01 14:17:37 -07:00
FusionPBX 86f6fe91de Create {$mac}.cfg 2017-05-01 14:11:25 -07:00
FusionPBX 9dc04f8f70 Create 860_bind_digit_action.xml 2017-04-30 08:57:21 -06:00
FusionPBX de35032118 Update 890_local_extension.xml 2017-04-30 08:51:39 -06:00
FusionPBX a1b656bbc3 Update app_config.php 2017-04-29 23:39:20 -06:00
FusionPBX 3d78918617 Update app_config.php 2017-04-29 23:35:08 -06:00
FusionPBX 561d84762c Update app_config.php 2017-04-29 23:30:37 -06:00
FusionPBX e4f0ae85a4 Update app_config.php 2017-04-29 23:28:32 -06:00
FusionPBX c564299f0e Update app_config.php 2017-04-29 23:25:39 -06:00
FusionPBX 906989fc7b Update app_config.php 2017-04-29 23:21:07 -06:00
FusionPBX 5025586399 Update app_config.php 2017-04-29 23:18:32 -06:00
FusionPBX 44987d7355 Update app_config.php 2017-04-29 23:04:52 -06:00
Luis Daniel Lucio Quiroz 0104686767 Typo in the CC exit key patch (#2550)
I did a bad copy and paste, reading $_POST where it was $row
2017-04-29 20:13:11 -06:00
FusionPBX fd4e0a3b5f Create smpp.conf.xml 2017-04-28 19:41:40 -06:00
FusionPBX 8f69485fbd Update app_menu.php 2017-04-28 15:34:23 -06:00
Len c3dd94a067 Update {$mac}.cfg 2017-04-28 12:59:05 -04:00
Len f0260f8098 Update {$mac}.xml 2017-04-27 23:08:27 -04:00
FusionPBX a8213843cf Fix the dnsnaptr spelling mistake. 2017-04-27 18:22:46 -06:00
FusionPBX e322660bdc Fix the dnsnaptr spelling mistake. 2017-04-27 18:21:44 -06:00
FusionPBX 68b6eae7e6 Update extension_dashboard.php
Finish up the Caller ID dashboard.php.
2017-04-27 18:05:28 -06:00
FusionPBX e582a57f49 Update check_auth.php 2017-04-27 17:58:20 -06:00
FusionPBX 99271697c8 Update app_languages.php 2017-04-27 16:59:37 -06:00
FusionPBX 1f003f8a98 Update extension_dashboard.php 2017-04-27 16:56:22 -06:00
The-Operator 6314b2c993 Updates to German and Austrian translations (#2549)
Updates and error corrections
2017-04-27 15:19:36 -06:00
Mafoo e2d34a856b Enhance-Add message stack (#2521)
Implement new messages class
Support legacy $_SESSION['message_*']
New function messages::add($message, $mood, $delay) to simplify adding messages
updated core/users/user_edit.php to demonstrate
includes space->tab corrections
2017-04-27 11:30:52 -06:00
The-Operator df3f153ebd Add/Update German and Austrian translations (#2542)
Updated remaining app_languages.php files and all app_config.php and app_menu.php files where necessary.
2017-04-26 23:41:55 -06:00
vkrt-11 866462a408 Adding ru-ru locales edit (#2543) 2017-04-26 23:41:28 -06:00
Len 7c9db4af4e Create {$mac}.xml 2017-04-26 22:52:11 -04:00
FusionPBX c4b79fd951 Add a refresh button to xml cdr. 2017-04-25 01:01:40 -06:00
FusionPBX 78053653f7 Update php.php 2017-04-25 00:09:53 -06:00
FusionPBX f290fe7ea5 Add function_exists to session_start. 2017-04-25 00:06:41 -06:00
konradSC 08a7d3d61e Conference Center Recording mp3 (#2531)
* Merge (#4)

* Added variables to disable call waiting and t.38 faxing

* HT702 config file variables: grandstream_disable_call_waiting, grandstream_disable_fax_t38

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update app_config.php

* Corrected bug with expansion board and call park value.  Was 19, should be 16.

* MAC detection for some Grandstream phones (#2486)

Some GS models send the Mac address in the user agent

* Add/Update German and Austrian translations (#2483)

Updates to the following apps:
call_broadcast
call_flows
devices
dialplan_inbound
dialplan_outbound
edit
emails
exec
extensions
fax
fifo
fifo_list
gateways
ivr_menus

* Update destinations.php

* Update xml_cdr_inc.php

* Update status_registrations.php

* Update y000000000028.cfg

* Update y000000000066.cfg

* Update y000000000035.cfg

* Update y000000000065.cfg

* Update y000000000051.cfg

* Update y000000000023.cfg

* Update y000000000025.cfg

* Update y000000000029.cfg

* Update y000000000036.cfg

* Update y000000000038.cfg

* Update y000000000032.cfg

* Update y000000000046.cfg

* Update y000000000000.cfg

* Update y000000000054.cfg

* Update y000000000045.cfg

* Update y000000000069.cfg

* Update y000000000004.cfg

* Update y000000000044.cfg

* Update y000000000044.cfg

* Update y000000000005.cfg

* Update y000000000052.cfg

* Update y000000000007.cfg

* Update y000000000037.cfg

* BugFix for VM Transcription (#2491)

Records as MP3 and skips transcription steps if a user has transcription set to false.

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Yet another ip phone reporting MAC in the UserAgent (#2492)

* Update app_config.php

Begin adding uuid's for key functions.

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Create 560_extension_queue.xml

* Update y000000000037.cfg

* Update y000000000007.cfg

* Update app_config.php

* Update y000000000052.cfg

* Update y000000000028.cfg

* Update y000000000005.cfg

* Update y000000000044.cfg

* Update y000000000044.cfg

* Update y000000000004.cfg

* Update y000000000069.cfg

* Update y000000000045.cfg

* Update y000000000000.cfg

* Update y000000000046.cfg

* Update y000000000032.cfg

* Update y000000000038.cfg

* Update y000000000054.cfg

* Update y000000000036.cfg

* Update y000000000029.cfg

* Update y000000000066.cfg

* Update y000000000035.cfg

* Update y000000000065.cfg

* Update y000000000051.cfg

* Update y000000000023.cfg

* Update y000000000025.cfg

* Update app_config.php

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update app_config.php

* Fix. Add new sip profile setting. (#2500)

* BugFix [master] system information git (#2499)

fix for if the .git folder is present but corrupt

* Fix. Redirect back to correct profile after delete setting. (#2501)

Fix. Add setting (seems need also set sip_profile_uuid)
Change. Order settings by name when output.

* Restore Button + Audiocodes preliminary support (#2502)

* Audiocodes phone support + restore default for vendors

* Restore button

* Restore script

* Update device_vendors.php

* Some FR & ES translation fixes (#2503)

* Update app_config.php

* Update app_config.php

* Create {$mac}.cfg

* Create directory.xml

* Create favorite_setting.xml

* Create y000000000025.cfg

* Fix. Add extension with non numeric extension number. (#2508)

* Update ring_group_edit.php

* Update call_edit.php

* Create 080_default_caller_id

* Update 080_default_caller_id

* Rename 080_default_caller_id to 080_default_caller_id.xml

* Fix. Create needed number of extensions (#2509)

* Update dialplan_edit.php

* Update switch.php

* Update index.php

* Update switch.php

* Update voicemail_edit.php

* Update app_config.php (#2515)

Add the necessary permissions in order to use the database save function (fusion 4.3) when coding for voicemail option adds/deletes/updates.

I realize these voicemail permissions overall will probably get cleaned up even more once the whole app is updated to use the database function, but this is a stop gap measure. I am working on adding voicemail options to the Bulk Account Settings app and I'm stuck without these permissions. The function is kicking a out 403 Forbidden.

* Update app_config.php

* Really use configured transcribe_language for transcription (#2513)

* Fix renaming domains (#2512)

* Make presence for conferences work out of the box (#2514)

Use '@' instead of '-' for separating conference name and domain, which
is what FreeSWITCH mod_conference uses.

* Add. Speed dial respects contacts user. (#2249)

* Add. Speed dial respects contacts user.

One user can not use speed dial numbers from contacts
associated with another user

* Make SQL query more efficient

* Add. Support find contacts by user groups as well

If contact has set any `user` or `group` then only this users can use speed dial numbers
in other case speed dial numbers are global for domain.

* Fixup for renaming domains (#2517)

The previous fix was incomplete, this one should do it.

* Create app_defaults.php

* Update page.lua

* CC Key Support for Call Center (#2518)

* Exit Keys support

* Multilanguage support

* CC Key Support

* Update call_center.php

* Update code to iterate over numbers. (#1727)

* Update code to iterate over numbers.

This code fixes some problems
 * range like `009-010` current code produce numbers `009` and `0010`
 * range like `200-100` now raise error so it will be easy to debug
 * range like `010-20` now generate error.
 * `destination` is string so condition `destination == tonumber(sip_from_user)` is always false so change it `destination == sip_from_user`

* Fix. handle ranges like `100-100`

* Update index.lua

* Update start_recording.lua
2017-04-24 16:43:32 -06:00
Vladimir 96c1cca28f Adding ru-ru locales (#2530)
* Translation of the menu (sent by Victor Kraft)

* ACL translate

* Backup translated

* App Fax translated (sent by Victor Kraft)

* App Adminer trnslated

* Resources translated (sent by Victor Kraft)

* App SIP Profiles translated

* ru-ru

* Call Block added

* ru-ru

* Update app_menu.php

* voicemails/app_languages.php locales ru-ru

voicemails/app_languages.php locales ru-ru

* app/vars/app_languages.php locales ru-ru

app/vars/app_languages.php locales ru-ru

* core: apps, authentication, databases, default_settings translate

* app/traffic_graph/app_languages.php adding locales ru-ru

app/traffic_graph/app_languages.php adding locales ru-ru

* app/time_conditions/app_languages.php adding locales ru-ru

app/time_conditions/app_languages.php adding locales ru-ru

* /app/system/app_languages.php adding locales ru-ru

/app/system/app_languages.php adding locales ru-ru

* /app/sip_status/app_languages.php adding locales ru-ru

* /app/settings/app_languages.php adding locales ru-ru

* /app/services/app_languages.php adding locales ru-ru

* /app/ring_groups/app_languages.php adding locales ru-ru

* /app/registrations/app_languages.php adding locales ru-ru

* /app/recordings/app_languages.php adding locales ru-ru

* /app/provision/app_menu.php adding locales ru-ru

* /app/pin_numbers/app_languages.php adding locales ru-ru

* Update app_languages.php

* /app/phrases/app_languages.php adding locales ru-ru

* /app/operator_panel/app_languages.php adding locales ru-ru

* core/groups translated

* /app/music_on_hold/app_languages.php adding locales ru-ru

* core/install translated

* core/menu translated

* /app/modules/app_languages.php adding locales ru-ru

* /app/meetings/app_menu.php adding locales ru-ru

* /app/log_viewer/app_languages.php adding locales ru-ru

* /app/ivr_menus/app_languages.php adding locales ru-ru

* /app/gateways/app_languages.php  adding locales ru-ru

* /app/fifo_list/app_languages.php adding locales ru-ru

* core/notifications translated

* /app/fifo/app_languages.php adding locales ru-ru

* core/upgrade translated

* Update app_config.php

* core/user_settings translated

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* core/users translated

* call_block translate fix

* Call Broadcast added

* call_block выклюено fix

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* themes translated

* /app/extensions/app_languages.php for locale ru-ru

* /app/exec/app_languages.php add locale ru-ru

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_menu.php

* add locales ru-ru /core/install/app_menu.php

* /app/emails/app_languages.php add locales ru-ru

* /app/edit/app_languages.php add locales ru-ru

* /app/dialplan_outbound/app_languages.php add lacales ru-ru

* app/devices translated

* /app/dialplan_inbound/app_languages.php add locales ru-ru

* call_center_active + call_centers

* /app/dialplan/app_languages.php add locales ru-ru

* /app/destinations/app_languages.php add locales ru-ru

* /app/database_transactions/app_languages.php add locales ru-ru

* /app/contacts/app_languages.php addlocales ru-ru

* Update app_languages.php

* Update app_languages.php

* /app/contacts/app_languages.php add locales ru-ru

* /app/conferences/app_languages.php add locales ru-ru

* /app/conference_profiles/app_languages.php add locales ru-ru

* /app/destinations/app_languages.php add locales ru-ru

* /app/destinations/app_languages.php add locales ru-ru

* /app/conferences/app_languages.php add locales ru-ru

* app/calls_active translated

* app/click_to_call translated

* app/calls_active label-opt fix transtation

* translated

* translated

* translate

* /app/voicemails/app_config.php addlocales ru-ru

* /app/voicemail_greetings/app_config.php add locales ru-ru

* /app/vars/app_config.php add locales ru-ru

* /app/traffic_graph/app_config.php add locales ru-ru

* /app/tones/app_config.php add locales ru-ru

* /app/time_conditions/app_config.php add locales ru-ru

* /app/tftp/app_config.php add locales ru-ru

* /app/system/app_config.php add locales ru-ru

* /app/sip_status/app_config.php addlocales ru-ru

* app/devices translated ru-ru

* app/devices translated ru-ru

* /core/menu/app_languages.php add locales ru-ru

* /app/contacts/app_languages.php add locales ru-ru

* /app/conferences/app_languages.php add locales ru-ru

* /app/voicemails/app_languages.php add locales ru-ru

* /app/conference_centers/app_languages.php add locales ru-ru

* /app/ring_groups/app_languages.php add locales ru-ru

* /app/ivr_menus/app_languages.php add locales ru-ru

* /app/xml_cdr/app_languages.php add locales ru-ru

* /resources/app_languages.php add locales ru-ru

* /app/conference_centers/app_languages.php add locales ru-ru

* call_flows

* /app/call_broadcast/app_languages.php add locales ru-ru

* /app/call_block/app_languages.php add locales ru-ru

* /app/call_block/app_languages.php add locales ru-ru

* /app/call_block/app_languages.php add locales ru-ru

* By now

* calls

* /app/call_flows/app_languages.php add locales ru-ru

* /app/system/app_languages.php add locales ru-ru

* /app/exec/app_languages.php add locales ru-ru

* /app/vars/app_menu.php add locales ru-ru

* /app/backup/app_languages.php add locales ru-ru

* /app/ring_groups/app_languages.php add locales ru-ru

* /app/calls/app_languages.php add locales ru-ru

* /app/call_centers/app_languages.php add locales ru-ru

* /app/call_broadcast/app_languages.php add locales ru-ru

* app/fax fix translate label-fax_send_channels

* /app/extensions/app_languages.php add locales ru-ru

* /app/xml_cdr/app_languages.php add locales ru-ru

* /app/ring_groups/app_languages.php add locales ru-ru

* /app/contacts/app_languages.php add locales ru-ru

* Fix default language select

* /app/contacts/app_languages.php add locales ru-ru

* Fix translations in app edit, extensions, fifo, gateways, music_on_hold, services, time_conditions, xml_cdr

* Replaced "звонки" to "вызовы" and fix sorting in menu for "Конференции"

* More replace "звонк"

* Fix translate

* app/xml_cdr replace translate for label-start_range, label-end_range

* app/xml_cdr replace translate label-destination, description_search and description-4

* Corrections

* Repalce "Порядковый номер" to "Приоритет"

* app/operator_panel replace translation label-call_group
2017-04-24 16:37:00 -06:00
FusionPBX b5a7acdb55 Add http_auth_disable 2017-04-22 18:32:03 -06:00
FusionPBX e511f23b7f Update app_config.php 2017-04-22 18:27:17 -06:00
sergey-mz 4452909532 Add contact column to registration table (#2310)
Command "sofia xmlstatus profile internal reg" returns contact in this format:
"Contact Name" <sip:236@10.0.15.108:5060;>
Only Aastra phones send Contact name with REGISTER message. 
I tested Grandstream and Polycom phones, but contact name is missing. 
Adding just "	<td class='".$row_style[$c]."'>".$row['contact']."</td>\n"; will produce same visible result because <sip:....> portion will be hidden.
2017-04-22 14:42:32 -06:00
FusionPBX f2a298b959 Update device_download.php
Make the code more consistent.
2017-04-22 10:56:23 -06:00
FusionPBX 86455adbbf Update pin_download.php
Make the code consistent with project coding standards.
2017-04-22 10:50:09 -06:00
FusionPBX c2e4b6cb88 Update call_flows.php 2017-04-22 10:28:57 -06:00
andycol b38265efcd Add export to Pin Numbers application (#2126)
* Add files via upload

* Update pin_numbers.php

* Create pin_download.php

* Delete {$mac}.cfg

* Update pin_numbers.php

* fix status not displaying any result

the Status block was showing as blank even if enabled/disabled
This will now fix it
2017-04-22 10:22:21 -06:00
Alexey Melnichuk 27f2f41cb4 Fix. Improve parameters patterns. (#2218)
E.g. now it handle queries like
```Lua
local sql = "select :J::text as value"
print(dbh:first_value(sql, {J='hello'}))
```
2017-04-22 10:18:10 -06:00
andycol 356161ae53 device export (#2445)
* update devices.php

add export button

* Add files via upload
2017-04-22 10:17:18 -06:00
FusionPBX c206afec21 Add french fr-fr for operator panel. 2017-04-21 13:51:48 -06:00
The-Operator 6297044c94 Add/Update German and Austrian translations (#2528)
Modified apps:
- call_centers
- log_viewer
- modules
- music_on_hold
- operator_panel
- phrases
- pin_numbers
- recordings
- registrations
- ring_groups
- services
- settings
- sip_profiles
- sip_status
- system
2017-04-21 13:41:20 -06:00
konradSC bbdc7b70e3 N-Way conference (#2524)
* Merge (#4)

* Added variables to disable call waiting and t.38 faxing

* HT702 config file variables: grandstream_disable_call_waiting, grandstream_disable_fax_t38

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update app_config.php

* Corrected bug with expansion board and call park value.  Was 19, should be 16.

* MAC detection for some Grandstream phones (#2486)

Some GS models send the Mac address in the user agent

* Add/Update German and Austrian translations (#2483)

Updates to the following apps:
call_broadcast
call_flows
devices
dialplan_inbound
dialplan_outbound
edit
emails
exec
extensions
fax
fifo
fifo_list
gateways
ivr_menus

* Update destinations.php

* Update xml_cdr_inc.php

* Update status_registrations.php

* Update y000000000028.cfg

* Update y000000000066.cfg

* Update y000000000035.cfg

* Update y000000000065.cfg

* Update y000000000051.cfg

* Update y000000000023.cfg

* Update y000000000025.cfg

* Update y000000000029.cfg

* Update y000000000036.cfg

* Update y000000000038.cfg

* Update y000000000032.cfg

* Update y000000000046.cfg

* Update y000000000000.cfg

* Update y000000000054.cfg

* Update y000000000045.cfg

* Update y000000000069.cfg

* Update y000000000004.cfg

* Update y000000000044.cfg

* Update y000000000044.cfg

* Update y000000000005.cfg

* Update y000000000052.cfg

* Update y000000000007.cfg

* Update y000000000037.cfg

* BugFix for VM Transcription (#2491)

Records as MP3 and skips transcription steps if a user has transcription set to false.

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Yet another ip phone reporting MAC in the UserAgent (#2492)

* Update app_config.php

Begin adding uuid's for key functions.

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Create 560_extension_queue.xml

* Update y000000000037.cfg

* Update y000000000007.cfg

* Update app_config.php

* Update y000000000052.cfg

* Update y000000000028.cfg

* Update y000000000005.cfg

* Update y000000000044.cfg

* Update y000000000044.cfg

* Update y000000000004.cfg

* Update y000000000069.cfg

* Update y000000000045.cfg

* Update y000000000000.cfg

* Update y000000000046.cfg

* Update y000000000032.cfg

* Update y000000000038.cfg

* Update y000000000054.cfg

* Update y000000000036.cfg

* Update y000000000029.cfg

* Update y000000000066.cfg

* Update y000000000035.cfg

* Update y000000000065.cfg

* Update y000000000051.cfg

* Update y000000000023.cfg

* Update y000000000025.cfg

* Update app_config.php

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update app_config.php

* Fix. Add new sip profile setting. (#2500)

* BugFix [master] system information git (#2499)

fix for if the .git folder is present but corrupt

* Fix. Redirect back to correct profile after delete setting. (#2501)

Fix. Add setting (seems need also set sip_profile_uuid)
Change. Order settings by name when output.

* Restore Button + Audiocodes preliminary support (#2502)

* Audiocodes phone support + restore default for vendors

* Restore button

* Restore script

* Update device_vendors.php

* Some FR & ES translation fixes (#2503)

* Update app_config.php

* Update app_config.php

* Create {$mac}.cfg

* Create directory.xml

* Create favorite_setting.xml

* Create y000000000025.cfg

* Fix. Add extension with non numeric extension number. (#2508)

* Update ring_group_edit.php

* Update call_edit.php

* Create 080_default_caller_id

* Update 080_default_caller_id

* Rename 080_default_caller_id to 080_default_caller_id.xml

* Fix. Create needed number of extensions (#2509)

* Update dialplan_edit.php

* Update switch.php

* Update index.php

* Update switch.php

* Update voicemail_edit.php

* Update app_config.php (#2515)

Add the necessary permissions in order to use the database save function (fusion 4.3) when coding for voicemail option adds/deletes/updates.

I realize these voicemail permissions overall will probably get cleaned up even more once the whole app is updated to use the database function, but this is a stop gap measure. I am working on adding voicemail options to the Bulk Account Settings app and I'm stuck without these permissions. The function is kicking a out 403 Forbidden.

* Update app_config.php

* Really use configured transcribe_language for transcription (#2513)

* Fix renaming domains (#2512)

* Make presence for conferences work out of the box (#2514)

Use '@' instead of '-' for separating conference name and domain, which
is what FreeSWITCH mod_conference uses.

* Add. Speed dial respects contacts user. (#2249)

* Add. Speed dial respects contacts user.

One user can not use speed dial numbers from contacts
associated with another user

* Make SQL query more efficient

* Add. Support find contacts by user groups as well

If contact has set any `user` or `group` then only this users can use speed dial numbers
in other case speed dial numbers are global for domain.

* Fixup for renaming domains (#2517)

The previous fix was incomplete, this one should do it.

* Create app_defaults.php

* Update page.lua

* CC Key Support for Call Center (#2518)

* Exit Keys support

* Multilanguage support

* CC Key Support

* Update call_center.php

* Update code to iterate over numbers. (#1727)

* Update code to iterate over numbers.

This code fixes some problems
 * range like `009-010` current code produce numbers `009` and `0010`
 * range like `200-100` now raise error so it will be easy to debug
 * range like `010-20` now generate error.
 * `destination` is string so condition `destination == tonumber(sip_from_user)` is always false so change it `destination == sip_from_user`

* Fix. handle ranges like `100-100`

* Create 570_nway_conference.xml

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Update app_config.php
2017-04-21 08:28:25 -06:00
FusionPBX 1c65ec8c15 Update extension_dashboard.php
Make the outbound caller id select work better.
2017-04-21 06:55:44 -06:00
FusionPBX 1bee893d3f Add caller id select to the extension dashboard. 2017-04-21 06:26:34 -06:00
Alexey Melnichuk 2f3c3c87c6 Fix. Remove unused code from mwi_subscribe.lua (#2527) 2017-04-21 05:59:38 -06:00
FusionPBX 13cf50db7f Update v_mailto.php 2017-04-21 04:51:50 -06:00
FusionPBX d567b0093d Update email_cron.php 2017-04-21 04:49:13 -06:00
FusionPBX 932dd8d994 Update ldap.php 2017-04-20 10:28:53 -06:00
Alexey Melnichuk b0f83edcf0 Fix. Escape strings in regex api (#2523) 2017-04-20 07:48:49 -06:00
FusionPBX 720d8d6e4b Update user_dashboard.php 2017-04-19 20:48:20 -06:00
FusionPBX 350f466b38 Create extension_dashboard.php 2017-04-19 20:40:42 -06:00
FusionPBX 8cf1ccda81 Update app_config.php
Add extension_caller_id permission.
2017-04-19 20:39:35 -06:00
FusionPBX f5659a7221 Update app_config.php 2017-04-19 19:22:03 -06:00
FusionPBX ec0bc3e1d9 Update app_config.php 2017-04-19 19:20:46 -06:00
FusionPBX 6ce918e6fd Update app_config.php 2017-04-19 15:25:17 -06:00
FusionPBX 999eecc74d Update app_languages.php
Add label-caller_id_number to app/extensions
2017-04-19 15:18:19 -06:00
konradSC ab349620c8 Ring group toll allow (#2520)
* Merge (#4)

* Added variables to disable call waiting and t.38 faxing

* HT702 config file variables: grandstream_disable_call_waiting, grandstream_disable_fax_t38

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update app_config.php

* Corrected bug with expansion board and call park value.  Was 19, should be 16.

* MAC detection for some Grandstream phones (#2486)

Some GS models send the Mac address in the user agent

* Add/Update German and Austrian translations (#2483)

Updates to the following apps:
call_broadcast
call_flows
devices
dialplan_inbound
dialplan_outbound
edit
emails
exec
extensions
fax
fifo
fifo_list
gateways
ivr_menus

* Update destinations.php

* Update xml_cdr_inc.php

* Update status_registrations.php

* Update y000000000028.cfg

* Update y000000000066.cfg

* Update y000000000035.cfg

* Update y000000000065.cfg

* Update y000000000051.cfg

* Update y000000000023.cfg

* Update y000000000025.cfg

* Update y000000000029.cfg

* Update y000000000036.cfg

* Update y000000000038.cfg

* Update y000000000032.cfg

* Update y000000000046.cfg

* Update y000000000000.cfg

* Update y000000000054.cfg

* Update y000000000045.cfg

* Update y000000000069.cfg

* Update y000000000004.cfg

* Update y000000000044.cfg

* Update y000000000044.cfg

* Update y000000000005.cfg

* Update y000000000052.cfg

* Update y000000000007.cfg

* Update y000000000037.cfg

* BugFix for VM Transcription (#2491)

Records as MP3 and skips transcription steps if a user has transcription set to false.

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Yet another ip phone reporting MAC in the UserAgent (#2492)

* Update app_config.php

Begin adding uuid's for key functions.

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Update app_config.php

* Create 560_extension_queue.xml

* Update y000000000037.cfg

* Update y000000000007.cfg

* Update app_config.php

* Update y000000000052.cfg

* Update y000000000028.cfg

* Update y000000000005.cfg

* Update y000000000044.cfg

* Update y000000000044.cfg

* Update y000000000004.cfg

* Update y000000000069.cfg

* Update y000000000045.cfg

* Update y000000000000.cfg

* Update y000000000046.cfg

* Update y000000000032.cfg

* Update y000000000038.cfg

* Update y000000000054.cfg

* Update y000000000036.cfg

* Update y000000000029.cfg

* Update y000000000066.cfg

* Update y000000000035.cfg

* Update y000000000065.cfg

* Update y000000000051.cfg

* Update y000000000023.cfg

* Update y000000000025.cfg

* Update app_config.php

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update app_config.php

* Fix. Add new sip profile setting. (#2500)

* BugFix [master] system information git (#2499)

fix for if the .git folder is present but corrupt

* Fix. Redirect back to correct profile after delete setting. (#2501)

Fix. Add setting (seems need also set sip_profile_uuid)
Change. Order settings by name when output.

* Restore Button + Audiocodes preliminary support (#2502)

* Audiocodes phone support + restore default for vendors

* Restore button

* Restore script

* Update device_vendors.php

* Some FR & ES translation fixes (#2503)

* Update app_config.php

* Update app_config.php

* Create {$mac}.cfg

* Create directory.xml

* Create favorite_setting.xml

* Create y000000000025.cfg

* Fix. Add extension with non numeric extension number. (#2508)

* Update ring_group_edit.php

* Update call_edit.php

* Create 080_default_caller_id

* Update 080_default_caller_id

* Rename 080_default_caller_id to 080_default_caller_id.xml

* Fix. Create needed number of extensions (#2509)

* Update dialplan_edit.php

* Update switch.php

* Update index.php

* Update switch.php

* Update voicemail_edit.php

* Update app_config.php (#2515)

Add the necessary permissions in order to use the database save function (fusion 4.3) when coding for voicemail option adds/deletes/updates.

I realize these voicemail permissions overall will probably get cleaned up even more once the whole app is updated to use the database function, but this is a stop gap measure. I am working on adding voicemail options to the Bulk Account Settings app and I'm stuck without these permissions. The function is kicking a out 403 Forbidden.

* Update app_config.php

* Really use configured transcribe_language for transcription (#2513)

* Fix renaming domains (#2512)

* Make presence for conferences work out of the box (#2514)

Use '@' instead of '-' for separating conference name and domain, which
is what FreeSWITCH mod_conference uses.

* Add. Speed dial respects contacts user. (#2249)

* Add. Speed dial respects contacts user.

One user can not use speed dial numbers from contacts
associated with another user

* Make SQL query more efficient

* Add. Support find contacts by user groups as well

If contact has set any `user` or `group` then only this users can use speed dial numbers
in other case speed dial numbers are global for domain.

* Fixup for renaming domains (#2517)

The previous fix was incomplete, this one should do it.

* Create app_defaults.php

* Update page.lua

* CC Key Support for Call Center (#2518)

* Exit Keys support

* Multilanguage support

* CC Key Support

* Update call_center.php

* Update code to iterate over numbers. (#1727)

* Update code to iterate over numbers.

This code fixes some problems
 * range like `009-010` current code produce numbers `009` and `0010`
 * range like `200-100` now raise error so it will be easy to debug
 * range like `010-20` now generate error.
 * `destination` is string so condition `destination == tonumber(sip_from_user)` is always false so change it `destination == sip_from_user`

* Fix. handle ranges like `100-100`

* Update app_config.php

* Update app_languages.php

* Update ring_group_edit.php

* Update index.lua
2017-04-19 14:12:14 -06:00
Alexey Melnichuk e4a0127906 Update code to iterate over numbers. (#1727)
* Update code to iterate over numbers.

This code fixes some problems
 * range like `009-010` current code produce numbers `009` and `0010`
 * range like `200-100` now raise error so it will be easy to debug
 * range like `010-20` now generate error.
 * `destination` is string so condition `destination == tonumber(sip_from_user)` is always false so change it `destination == sip_from_user`

* Fix. handle ranges like `100-100`
2017-04-18 12:11:39 -06:00
Luis Daniel Lucio Quiroz 73af3e3dbd CC Key Support for Call Center (#2518)
* Exit Keys support

* Multilanguage support

* CC Key Support

* Update call_center.php
2017-04-18 12:03:41 -06:00
FusionPBX b4b0014a26 Update page.lua 2017-04-18 11:56:33 -06:00
FusionPBX a474ba1c97 Create app_defaults.php 2017-04-17 20:11:35 -06:00
Stefan Siegel 0c660c0181 Fixup for renaming domains (#2517)
The previous fix was incomplete, this one should do it.
2017-04-17 13:42:23 -06:00
Alexey Melnichuk cf9c77ad9b Add. Speed dial respects contacts user. (#2249)
* Add. Speed dial respects contacts user.

One user can not use speed dial numbers from contacts
associated with another user

* Make SQL query more efficient

* Add. Support find contacts by user groups as well

If contact has set any `user` or `group` then only this users can use speed dial numbers
in other case speed dial numbers are global for domain.
2017-04-17 09:02:36 -06:00
Stefan Siegel 47866df1ec Make presence for conferences work out of the box (#2514)
Use '@' instead of '-' for separating conference name and domain, which
is what FreeSWITCH mod_conference uses.
2017-04-17 09:01:04 -06:00
Stefan Siegel 505d2a5415 Fix renaming domains (#2512) 2017-04-17 08:54:02 -06:00
Stefan Siegel c017652cbd Really use configured transcribe_language for transcription (#2513) 2017-04-17 08:50:34 -06:00
FusionPBX d717152b9a Update app_config.php 2017-04-16 22:15:05 -06:00
konradSC 18e6736ff7 Update app_config.php (#2515)
Add the necessary permissions in order to use the database save function (fusion 4.3) when coding for voicemail option adds/deletes/updates.

I realize these voicemail permissions overall will probably get cleaned up even more once the whole app is updated to use the database function, but this is a stop gap measure. I am working on adding voicemail options to the Bulk Account Settings app and I'm stuck without these permissions. The function is kicking a out 403 Forbidden.
2017-04-16 22:14:05 -06:00
FusionPBX 55606d997f Update voicemail_edit.php 2017-04-15 15:32:15 -06:00
FusionPBX f7725839e7 Update switch.php 2017-04-15 13:47:40 -06:00
FusionPBX 8f541f0e77 Update index.php 2017-04-14 22:21:38 -06:00
FusionPBX cc80103f78 Update switch.php 2017-04-14 22:13:18 -06:00
FusionPBX 44de5949c5 Update dialplan_edit.php 2017-04-14 21:49:53 -06:00
Alexey Melnichuk cc262b83e4 Fix. Create needed number of extensions (#2509) 2017-04-14 04:09:11 -06:00
FusionPBX 84746bf115 Rename 080_default_caller_id to 080_default_caller_id.xml 2017-04-14 03:55:20 -06:00
FusionPBX f343cc2273 Update 080_default_caller_id 2017-04-14 03:44:03 -06:00
FusionPBX 0069f4bc21 Create 080_default_caller_id 2017-04-14 03:34:32 -06:00
FusionPBX 9b7b02a8cd Update call_edit.php 2017-04-14 02:39:41 -06:00
FusionPBX a9765f7139 Update ring_group_edit.php 2017-04-14 02:23:48 -06:00
Alexey Melnichuk c4111082f6 Fix. Add extension with non numeric extension number. (#2508) 2017-04-14 02:12:24 -06:00
Len 5d436e2baf Create y000000000025.cfg 2017-04-14 01:55:47 -04:00
Len d23beb0da3 Create favorite_setting.xml 2017-04-14 01:47:24 -04:00
Len 526ced848b Create directory.xml 2017-04-14 01:46:20 -04:00
Len 3ef7a3af31 Create {$mac}.cfg 2017-04-14 01:45:15 -04:00
Len 62f3eabb92 Update app_config.php 2017-04-14 01:34:56 -04:00
Len d8f30250bd Update app_config.php 2017-04-14 01:30:27 -04:00
Luis Daniel Lucio Quiroz 1eeeb3504c Some FR & ES translation fixes (#2503) 2017-04-13 15:47:15 -06:00
Luis Daniel Lucio Quiroz 8931f96bc9 Restore Button + Audiocodes preliminary support (#2502)
* Audiocodes phone support + restore default for vendors

* Restore button

* Restore script

* Update device_vendors.php
2017-04-13 14:18:38 -06:00
Alexey Melnichuk 120d599f7a Fix. Redirect back to correct profile after delete setting. (#2501)
Fix. Add setting (seems need also set sip_profile_uuid)
Change. Order settings by name when output.
2017-04-13 10:24:48 -06:00
Mafoo a4e9c70157 BugFix [master] system information git (#2499)
fix for if the .git folder is present but corrupt
2017-04-13 10:07:21 -06:00
Alexey Melnichuk 82accaaf1c Fix. Add new sip profile setting. (#2500) 2017-04-13 10:06:52 -06:00
Len 0dc6784f71 Update app_config.php 2017-04-13 01:14:31 -04:00
Len 824f5f5caf Update {$mac}.xml 2017-04-13 00:37:29 -04:00
Len d6dbf0b635 Update {$mac}.xml 2017-04-13 00:34:06 -04:00
Len e936b3168e Update {$mac}.xml 2017-04-13 00:33:31 -04:00
Len c515e32411 Update {$mac}.xml 2017-04-13 00:31:44 -04:00
Len 25c5f7e751 Update {$mac}.xml 2017-04-13 00:31:00 -04:00
Len 4abdbb3716 Update {$mac}.xml 2017-04-13 00:29:18 -04:00
Len 4c36c277e3 Update {$mac}.xml 2017-04-13 00:28:40 -04:00
Len 8267cbb738 Update {$mac}.xml 2017-04-13 00:24:53 -04:00
Len 17e2dff6e2 Update {$mac}.xml 2017-04-13 00:23:39 -04:00
Len da9869a67f Update {$mac}.xml 2017-04-13 00:22:25 -04:00
Len f753b500da Update {$mac}.xml 2017-04-13 00:21:26 -04:00
Len 016c51aa27 Update {$mac}.xml 2017-04-13 00:19:30 -04:00
Len ff1c2b0fa6 Update {$mac}.xml 2017-04-13 00:18:53 -04:00
Len e483f99254 Update {$mac}.xml 2017-04-13 00:10:11 -04:00
Len 6196b423b2 Update {$mac}.xml 2017-04-13 00:09:25 -04:00
Len 6933e868ec Update {$mac}.xml 2017-04-13 00:06:36 -04:00
Len 19620613d8 Update {$mac}.xml 2017-04-13 00:03:09 -04:00
Len 5f40a003fd Update {$mac}.xml 2017-04-13 00:01:38 -04:00
Len 16296a2148 Update {$mac}.xml 2017-04-12 23:58:39 -04:00
Len 4b813b419b Update {$mac}.xml 2017-04-12 23:56:28 -04:00
Len ad260d9ce1 Update {$mac}.xml 2017-04-12 23:55:23 -04:00
Len cb9c2ccf37 Update {$mac}.xml 2017-04-12 23:52:26 -04:00
Len 2f8de479a5 Update {$mac}.xml 2017-04-12 23:50:25 -04:00
Len 2c22ce92ab Update {$mac}.xml 2017-04-12 23:49:45 -04:00
Len c1c126429c Update {$mac}.xml 2017-04-12 23:46:52 -04:00
Len fd46ac0863 Update {$mac}.xml 2017-04-12 23:45:58 -04:00
Len 39fe145c27 Update {$mac}.xml 2017-04-12 23:43:46 -04:00
Len b321965788 Update app_config.php 2017-04-12 23:39:41 -04:00
Len 96d6f64c70 Update y000000000025.cfg 2017-04-12 23:07:58 -04:00
Len d54c0096e0 Update y000000000023.cfg 2017-04-12 23:07:10 -04:00
Len efbc759eb1 Update y000000000051.cfg 2017-04-12 23:05:46 -04:00
Len 4a39b419ed Update y000000000065.cfg 2017-04-12 23:04:24 -04:00
Len dc6418f8f4 Update y000000000035.cfg 2017-04-12 23:03:45 -04:00
Len f7a8a57e78 Update y000000000066.cfg 2017-04-12 23:02:03 -04:00
Len 4060804068 Update y000000000029.cfg 2017-04-12 23:00:01 -04:00
Len c596fdcfaf Update y000000000036.cfg 2017-04-12 22:56:25 -04:00
Len bf5ddb7eaa Update y000000000054.cfg 2017-04-12 22:55:12 -04:00
Len 4c3f1b7908 Update y000000000038.cfg 2017-04-12 22:54:11 -04:00
Len 12bf5c28bc Update y000000000032.cfg 2017-04-12 22:52:43 -04:00
Len 7b4c5eaf08 Update y000000000046.cfg 2017-04-12 22:51:54 -04:00
Len b38725c225 Update y000000000000.cfg 2017-04-12 22:51:07 -04:00
Len ec39e8c677 Update y000000000045.cfg 2017-04-12 22:48:35 -04:00
Len 01d0ff2304 Update y000000000069.cfg 2017-04-12 22:44:02 -04:00
Len 82d0e61dfb Update y000000000004.cfg 2017-04-12 22:43:18 -04:00
Len dad124eadc Update y000000000044.cfg 2017-04-12 22:42:34 -04:00
Len d0a6dbdda0 Update y000000000044.cfg 2017-04-12 22:41:36 -04:00
Len 0a36f4b563 Update y000000000005.cfg 2017-04-12 22:36:14 -04:00
Len b10499c209 Update y000000000028.cfg 2017-04-12 22:34:01 -04:00
Len 4088ac72a5 Update y000000000052.cfg 2017-04-12 22:33:00 -04:00
Len 217fedc59d Update app_config.php 2017-04-12 22:31:00 -04:00
Len f7f9b3c9f4 Update y000000000007.cfg 2017-04-12 22:14:53 -04:00
Len 4bc476a360 Update y000000000037.cfg 2017-04-12 22:10:06 -04:00
FusionPBX c3a3848865 Create 560_extension_queue.xml 2017-04-11 22:33:28 -06:00
Len ad025c5d28 Update app_config.php 2017-04-12 00:27:53 -04:00
Len 4e3ee097e6 Update app_config.php 2017-04-12 00:04:45 -04:00
Len 8df7d9bd51 Update app_config.php 2017-04-11 23:49:39 -04:00
Len 6021d05d4a Update app_config.php 2017-04-11 23:33:11 -04:00
Len 680b1d914f Update app_config.php 2017-04-11 23:18:08 -04:00
FusionPBX c23e1f00d3 Update app_config.php 2017-04-11 20:35:58 -06:00
FusionPBX c81cbb0557 Update app_config.php
Begin adding uuid's for key functions.
2017-04-11 20:17:16 -06:00
Luis Daniel Lucio Quiroz a6b3c77976 Yet another ip phone reporting MAC in the UserAgent (#2492) 2017-04-11 14:04:10 -06:00
Len c437c20668 Update {$mac}.xml 2017-04-11 00:21:01 -04:00
Len 6dfd4e0e99 Update {$mac}.xml 2017-04-11 00:06:23 -04:00
Len d29fcab505 Update {$mac}.xml 2017-04-11 00:04:19 -04:00
Len e3f56c1947 Update {$mac}.xml 2017-04-10 23:51:59 -04:00
Len 294080f0a2 Update {$mac}.xml 2017-04-10 23:49:34 -04:00
Len c2c167408e Update {$mac}.xml 2017-04-10 23:46:47 -04:00
Len f1654460af Update {$mac}.xml 2017-04-10 23:44:32 -04:00
Len b81e143e5a Update {$mac}.xml 2017-04-10 23:41:39 -04:00
Len c2210e681e Update {$mac}.xml 2017-04-10 23:38:56 -04:00
Len ee08062f01 Update {$mac}.xml 2017-04-10 23:36:06 -04:00
Len 970ecce1ca Update {$mac}.xml 2017-04-10 23:34:20 -04:00
Len 929b1c11b1 Update {$mac}.xml 2017-04-10 23:30:53 -04:00
Len d266ec741d Update {$mac}.xml 2017-04-10 23:16:42 -04:00
konradSC 372475094a BugFix for VM Transcription (#2491)
Records as MP3 and skips transcription steps if a user has transcription set to false.
2017-04-10 18:13:50 -06:00
Len 4ddd39311a Update y000000000037.cfg 2017-04-10 10:19:04 -04:00
Len a564df3b34 Update y000000000007.cfg 2017-04-10 10:16:25 -04:00
Len 64e65f279b Update y000000000052.cfg 2017-04-10 10:13:17 -04:00
Len 69dd2400b7 Update y000000000005.cfg 2017-04-10 10:10:45 -04:00
Len a0f0140699 Update y000000000044.cfg 2017-04-10 10:07:48 -04:00
Len 536eb7eebf Update y000000000044.cfg 2017-04-10 10:02:10 -04:00
Len b0fdb70571 Update y000000000004.cfg 2017-04-10 10:00:01 -04:00
Len 230fe0a5a5 Update y000000000069.cfg 2017-04-10 09:57:50 -04:00
Len ec99f0a110 Update y000000000045.cfg 2017-04-10 09:55:27 -04:00
Len 1c5a597e64 Update y000000000054.cfg 2017-04-10 09:53:01 -04:00
Len 371fa53ecf Update y000000000000.cfg 2017-04-10 09:50:11 -04:00
Len 4a95c4def1 Update y000000000046.cfg 2017-04-10 09:49:01 -04:00
Len c2f56ce65d Update y000000000032.cfg 2017-04-10 09:46:44 -04:00
Len 65e309eb81 Update y000000000038.cfg 2017-04-10 09:42:20 -04:00
Len 6e4429de93 Update y000000000036.cfg 2017-04-10 09:38:59 -04:00
Len a3e2da3eff Update y000000000029.cfg 2017-04-10 09:34:32 -04:00
Len 30b10b639f Update y000000000025.cfg 2017-04-10 09:30:30 -04:00
Len 46163d787f Update y000000000023.cfg 2017-04-10 09:29:41 -04:00
Len fa2b26facd Update y000000000051.cfg 2017-04-10 09:25:55 -04:00
Len 58a35eb322 Update y000000000065.cfg 2017-04-10 09:21:59 -04:00
Len 790c7cd914 Update y000000000035.cfg 2017-04-10 09:18:53 -04:00
Len dfb89033ef Update y000000000066.cfg 2017-04-10 09:17:11 -04:00
Len cd1503aed5 Update y000000000028.cfg 2017-04-10 09:13:10 -04:00
FusionPBX c3e98a1170 Update status_registrations.php 2017-04-09 10:42:52 -06:00
FusionPBX 099fcaa385 Update xml_cdr_inc.php 2017-04-08 15:17:52 -06:00
FusionPBX 952a24a1bd Update destinations.php 2017-04-08 09:40:55 -06:00
The-Operator 1d7015e306 Add/Update German and Austrian translations (#2483)
Updates to the following apps:
call_broadcast
call_flows
devices
dialplan_inbound
dialplan_outbound
edit
emails
exec
extensions
fax
fifo
fifo_list
gateways
ivr_menus
2017-04-08 09:35:29 -06:00
Luis Daniel Lucio Quiroz a78eaacbcb MAC detection for some Grandstream phones (#2486)
Some GS models send the Mac address in the user agent
2017-04-07 23:47:52 -06:00
Len 189578e982 Merge pull request #2480 from kusznir/master
Bug fix for two grandstream templates (Please backport to 4.2)
2017-04-07 01:39:08 -04:00
Jim Kusznir e116dcf1ca Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2017-04-06 21:23:03 -07:00
Jim Kusznir cee3213973 Corrected bug with expansion board and call park value. Was 19, should be 16. 2017-04-06 21:21:16 -07:00
Len a8a52e630e Update app_config.php 2017-04-06 01:54:39 -04:00
Len 9a00d51e43 Update {$mac}.cfg 2017-04-06 01:26:53 -04:00
Len ad8c92723a Update {$mac}.cfg 2017-04-06 01:24:35 -04:00
Len b396b52dd6 Update {$mac}.cfg 2017-04-06 01:22:43 -04:00
Len 2454d7d2e3 Update {$mac}.cfg 2017-04-06 01:20:57 -04:00
Len fc47e3e224 Update {$mac}.cfg 2017-04-06 01:19:56 -04:00
Len 7aa8c77aac Update {$mac}.cfg 2017-04-06 01:18:08 -04:00
Len 7d233bc207 Update {$mac}.cfg 2017-04-06 01:16:17 -04:00
Len 064b4842ec Update {$mac}.cfg 2017-04-06 01:13:19 -04:00
Len 173509bda0 Update {$mac}.cfg 2017-04-06 01:11:43 -04:00
Len 024e4536a0 Update {$mac}.cfg 2017-04-06 01:09:25 -04:00
Len 03f69664b8 Update {$mac}.cfg 2017-04-06 01:07:41 -04:00
Len ece058304c Update {$mac}.cfg 2017-04-06 01:04:46 -04:00
Len bd24ddd0cb Update {$mac}.cfg 2017-04-06 01:02:35 -04:00
Len 7aa37fee70 Update {$mac}.cfg 2017-04-06 01:00:38 -04:00
Len 7e863b5ba7 Update {$mac}.cfg 2017-04-06 00:57:57 -04:00
Len fe2c804556 Update {$mac}.cfg 2017-04-06 00:55:52 -04:00
Len 40b78492b4 Update {$mac}.cfg 2017-04-06 00:54:08 -04:00
Len 9a1443e3b7 Update {$mac}.cfg 2017-04-06 00:53:14 -04:00
Len ee58bd3de9 Update {$mac}.cfg 2017-04-06 00:51:33 -04:00
Len f39ed55168 Update {$mac}.cfg 2017-04-06 00:50:02 -04:00
Len b46bdfce4d Update {$mac}.cfg 2017-04-06 00:48:18 -04:00
Len d78d3e8daf Update {$mac}.cfg 2017-04-06 00:46:23 -04:00
Len fe5616031e Update {$mac}.cfg 2017-04-06 00:45:39 -04:00
FusionPBX f101c0b5cc Update destination_edit.php 2017-04-05 00:55:16 -06:00
FusionPBX ad722efcfb Update app_config.php 2017-04-05 00:11:37 -06:00
FusionPBX ce9ab23976 Update destinations.php 2017-04-04 23:42:36 -06:00
FusionPBX bccf01cd19 Update destinations.php 2017-04-04 23:39:51 -06:00
FusionPBX 5f15324d1f Update destination_delete.php 2017-04-04 23:32:10 -06:00
konradSC 0852dee581 Update index.lua (#2473)
Bug fix in per user vm transcription. If domain had transcription enabled but the user did not, then the sql insert of the msg would fail.
2017-04-04 21:24:13 -06:00
Jim Kusznir 5d463f1cd9 Added variables to grandstream ht702 template to disable call waiting and t.38 faxing (#2471)
* Added variables to disable call waiting and t.38 faxing

* HT702 config file variables: grandstream_disable_call_waiting, grandstream_disable_fax_t38
2017-04-03 20:04:03 -06:00
Jim Kusznir e360e513a9 HT702 config file variables: grandstream_disable_call_waiting, grandstream_disable_fax_t38 2017-04-03 14:15:30 -07:00
FusionPBX dca174919c Update ldap.php 2017-04-03 12:04:16 -06:00
Luis Daniel Lucio Quiroz 5c2a8433db Fix CID alteration in Ringroups (#2467)
I really don't know if this is an IP phone issue (tested on grandstream) or a new behavior on FreeSWITCH, but in order to add the prefix to the caller id (name or number) correctly, you need to export instead of set.
2017-04-03 11:53:41 -06:00
Mafoo b23c9d93b0 Enhance [master] Show more git information (#2461)
make commit id clickable though to origin
display a status of the branch compared to remote
2017-04-03 09:49:35 -06:00
Jim Kusznir e3c47185e9 Added variables to disable call waiting and t.38 faxing 2017-04-01 14:15:13 -07:00
Len 80f9db077b Create {$mac}.xml 2017-04-01 01:49:03 -04:00
Len 7986795db0 Create gxp2160/{$mac}.xml 2017-04-01 01:47:52 -04:00
Len f452c1a9e9 Create {$mac}.xml 2017-04-01 01:46:00 -04:00
Len e5fcca2d19 Create {$mac}.xml 2017-04-01 01:44:55 -04:00
Len bf576a7a06 Create {$mac}.xml 2017-04-01 01:41:53 -04:00
FusionPBX 4a951d3fae Update 030_is_local.xml 2017-03-31 12:11:45 -06:00
FusionPBX 0daf2f1976 Update 030_is_local.xml 2017-03-31 12:11:05 -06:00
Mafoo a0494015f3 Added missing execute rights (#2459) 2017-03-29 21:40:54 -06:00
FusionPBX a874681c6a Update extension_edit.php 2017-03-27 15:05:41 -06:00
FusionPBX 62394744b5 Update app_config.php 2017-03-27 15:01:02 -06:00
FusionPBX 852e28b6a0 Update extension_edit.php 2017-03-27 14:49:55 -06:00
Len 6b293ab130 Update {$mac}.xml 2017-03-25 19:51:09 -04:00
Len dfd8ba58a2 Update {$mac}.xml 2017-03-25 19:47:50 -04:00
Len a8ca385e8e Update {$mac}.xml 2017-03-25 19:46:15 -04:00
Len ff4674072e Update {$mac}.xml 2017-03-25 19:44:32 -04:00
Len a48ec72bc1 Update {$mac}.xml 2017-03-25 19:39:19 -04:00
Len 899723c23a Update {$mac}.xml 2017-03-25 19:28:51 -04:00
Len 07c9e83d68 Update {$mac}.xml 2017-03-25 19:26:37 -04:00
Len 756d9786fe Update {$mac}.xml 2017-03-25 19:22:39 -04:00
Len 47244371d1 Update {$mac}.xml 2017-03-25 19:20:15 -04:00
Len 72cc84afa8 Update {$mac}.xml 2017-03-25 18:59:19 -04:00
Len b77ef673fa Update {$mac}.xml 2017-03-25 18:53:53 -04:00
Len 299a4781a8 Update {$mac}.xml 2017-03-25 18:43:10 -04:00
Len 3c643768f2 Update {$mac}.xml 2017-03-25 18:35:49 -04:00
Len a9cec9eb10 Update {$mac}.xml 2017-03-25 18:31:41 -04:00
Len f197a0bbfb Update {$mac}.xml 2017-03-25 18:23:48 -04:00
Len aced664f1e Update {$mac}.xml 2017-03-25 18:10:49 -04:00
Len 717217c2e3 Update {$mac}.xml 2017-03-25 18:03:54 -04:00
Len ab27dea155 Update {$mac}.xml 2017-03-25 17:45:20 -04:00
Len 66337e30a9 Update {$mac}.xml 2017-03-25 17:38:43 -04:00
Len 0de77c7184 Update {$mac}.xml 2017-03-25 17:36:22 -04:00
Len a562f13fd2 Update {$mac}.xml 2017-03-25 17:29:10 -04:00
Len d50551de8b Update {$mac}.xml 2017-03-25 17:05:30 -04:00
Len 2be9e079f4 Update {$mac}.xml 2017-03-25 16:09:04 -04:00
Len 06087cde7b Update {$mac}.xml 2017-03-25 16:07:12 -04:00
Len 57207c3007 Update {$mac}.xml 2017-03-25 16:04:40 -04:00
Len 421db6a583 Update {$mac}.xml 2017-03-25 16:01:11 -04:00
Len d2814b5558 Update {$mac}.xml 2017-03-25 16:00:12 -04:00
Len 783b890582 Update {$mac}.xml 2017-03-25 15:58:16 -04:00
Len fb4c22c904 Update {$mac}.xml 2017-03-25 15:56:22 -04:00
Len 899284339f Update {$mac}.xml 2017-03-25 15:55:30 -04:00
Len 26775b9773 Update {$mac}.xml 2017-03-25 15:53:57 -04:00
Len 53514ccd71 Update {$mac}.xml 2017-03-25 15:50:18 -04:00
Len 79dba02b70 Update {$mac}.xml 2017-03-25 15:46:58 -04:00
FusionPBX 31d8523d7f Update {$mac}.xml 2017-03-25 09:43:37 -06:00
Mafoo 8c082cdbef Log messages to the syslog when provisioning fails (#2448) 2017-03-24 23:18:15 -06:00
konradSC 5dcd3a1d2e Voicemail tutorial (#2451)
* Update macro.lua

Add additional macros for the tutorial.

* Create tutorial.lua

* Update index.lua

* Update record_greeting.lua

Add menu variable to route back to appropriate place in the flow.

* Update record_menu.lua

Add menu variable to accommodate the tutorial.

* Update change_password.lua

Add menu variable to accommodate the tutorial.

* Update record_name.lua

Add menu variable to accommodate the tutorial.

* Update voicemail_edit.php

Add option to play tutorial on next login.

* Update app_languages.php

* Update app_config.php

Add voicemail_tutorial to database.

* Update extension_edit.php

Set "voicemail_tutorial" to true for new extensions.
2017-03-24 23:06:16 -06:00
konradSC be308e40bd Update voicemail_edit.php (#2452)
Sets the default value for the tutorial to false if the database has a null value.
2017-03-24 23:03:29 -06:00
FusionPBX ca1f6a0208 Update {$mac}.cfg 2017-03-24 21:08:08 -06:00
Mafoo 2718152226 BugFix-sub item rendering (#2450)
Fix for $mod_li and $mod_a_li not being blanked/reset foreach menu
parent item rendered, causing the first menu with sub items to force sub
item rendering for all remaining menu items
2017-03-24 20:20:35 -06:00
FusionPBX 40410ee7f7 Update {$mac}.xml 2017-03-24 18:55:11 -06:00
FusionPBX 24566cde78 Update {$mac}.xml 2017-03-24 18:53:16 -06:00
FusionPBX 3165ba1c29 Update {$mac}.xml 2017-03-24 18:41:36 -06:00
FusionPBX 1e8d41552f Update {$mac}.xml 2017-03-24 18:39:54 -06:00
FusionPBX bf860e26d0 Update app_config.php 2017-03-24 18:35:27 -06:00
FusionPBX 9719c4ed32 Update app_config.php 2017-03-24 17:54:52 -06:00
FusionPBX c9d1155111 Update {$mac}.xml 2017-03-24 17:52:12 -06:00
FusionPBX 6ab20eceff Update {$mac}.xml 2017-03-24 17:50:02 -06:00
FusionPBX 52b38d30d1 Update {$mac}.xml 2017-03-24 17:48:22 -06:00
konradSC 82fb8c31cb Update voicemail_edit.php (#2447)
Set default value of per user voicemail transcription to false of the value is null in the database.
2017-03-24 12:48:28 -06:00
FusionPBX 6c2a7df202 Update music_on_hold.php 2017-03-22 22:53:27 -06:00
The-Operator 3eece41639 Add German translation and update Austrian Translation (#2441)
Numerous apps updated
2017-03-22 18:49:33 -06:00
Luis Daniel Lucio Quiroz 6cdab54c56 Let the apps be more self-contained regarding LUA scripts (#2440)
At this moment, all LUA scripts must be at resources/install/script, this patch allows applications to be more self-contained by having app/*/resources/install/scripts directory, which it will be copied to the scripts_dir directory as well.
2017-03-22 09:25:33 -06:00
FusionPBX b98609719b Update install_select_language.php 2017-03-22 01:25:28 -06:00
FusionPBX 547f45e790 Update xml_cdr_statistics_inc.php 2017-03-21 22:51:06 -06:00
Len 527a2b2136 Update {$mac}.xml 2017-03-22 00:24:15 -04:00
Len 605f1f7d6a Update {$mac}.xml 2017-03-22 00:23:34 -04:00
Len 4a48823aaa Update {$mac}.xml 2017-03-22 00:22:51 -04:00
Len 5f5bedc521 Update {$mac}.xml 2017-03-22 00:22:20 -04:00
Len 85209b91aa Update {$mac}.xml 2017-03-22 00:21:37 -04:00
Len 049acd11ef Update {$mac}.xml 2017-03-22 00:20:56 -04:00
Len 0b499b4ce2 Update {$mac}.xml 2017-03-22 00:20:18 -04:00
Len ea23631915 Update {$mac}.xml 2017-03-22 00:19:33 -04:00
Len 5f583ffd61 Update {$mac}.xml 2017-03-22 00:18:29 -04:00
Len 41b847e86e Update {$mac}.xml 2017-03-22 00:16:54 -04:00
Len 933c3e9d7a Update {$mac}.xml 2017-03-22 00:15:27 -04:00
Len e0e34953a1 Update {$mac}.xml 2017-03-22 00:14:49 -04:00
Len a4cca7bf3e Update {$mac}.xml 2017-03-22 00:13:43 -04:00
Len 7e4105c9a5 Update {$mac}.xml 2017-03-22 00:05:25 -04:00
The-Operator ae8d9c25a0 Add German translation & update Austrian Translation (#2438)
* Add German translation and update Austrian translation

* Add German translation and update Austrian translation

* Fix syntax error in line 1301 introduced by German translation.

* Add German translation & update Austrian translation

Add German translation & update Austrian translation. Fixed two php syntax errors.
2017-03-18 17:55:23 -06:00
konradSC edc60c9cfe Update app_languages.php (#2437)
Add Label for Yealink Paging List key function.
2017-03-18 17:54:09 -06:00
konradSC f770923e1d Update app_config.php (#2436)
Add Paging List key function for Yealinks
2017-03-18 17:53:30 -06:00
konradSC 79550602b3 Update app_languages.php (#2434) 2017-03-17 23:22:26 -06:00
FusionPBX 26cde4953a Update app_config.php 2017-03-17 11:59:56 -06:00
FusionPBX dae3e4f9c9 Update app_config.php 2017-03-17 11:28:48 -06:00
konradSC 9f8e41b18a Update app_languages.php (#2433)
Fix quotes
2017-03-17 10:22:34 -06:00
The-Operator aa37b89587 Add German translation & update Austrian translation (#2429)
* Add German translation and update Austrian translation

* Add German translation and update Austrian translation

* Fix syntax error in line 1301 introduced by German translation.
2017-03-17 10:03:27 -06:00
konradSC 372c343d2f Update app_languages.php (#2431)
Users app crashes. Missing single quote in file.
2017-03-17 10:02:43 -06:00
FusionPBX 71736c19e7 Update database.php 2017-03-17 00:09:32 -06:00
FusionPBX 28cf9785f3 Update contact_import.php 2017-03-17 00:04:27 -06:00
FusionPBX fa52a380bb Update database.php 2017-03-16 22:20:11 -06:00
FusionPBX 186ece4940 Update contact_import.php 2017-03-16 19:23:17 -06:00
The-Operator 3b3e2f5715 Fix syntax error in line 1301 introduced by German translation. (#2428)
* Add German translation and update Austrian translation

* Add German translation and update Austrian translation

* Fix syntax error in line 1301 introduced by German translation.
2017-03-16 15:48:39 -06:00
The-Operator cbe8c884aa Add German translations & update Austrian translations (#2426)
* Add German translation and update Austrian translation

* Add German translation and update Austrian translation
2017-03-16 10:13:43 -06:00
The-Operator 16db8269e9 Add German translation and update Austrian translation (#2425) 2017-03-16 03:22:38 -06:00
FusionPBX 5d23c27e89 Update app_languages.php 2017-03-16 01:01:50 -06:00
FusionPBX af74c10296 Update app_languages.php 2017-03-16 00:58:19 -06:00
FusionPBX 57de69e804 Create app_languages.php 2017-03-16 00:46:25 -06:00
FusionPBX 6bd1d04a04 Update app_languages.php 2017-03-15 23:42:49 -06:00
FusionPBX 9ba0666919 Create favorite_setting.xml 2017-03-14 23:30:13 -06:00
FusionPBX 00ee2a82c1 Create directory.xml 2017-03-14 23:26:37 -06:00
FusionPBX 13e14b5557 Create y000000000069.cfg 2017-03-14 23:24:51 -06:00
FusionPBX f61dd83d77 Create {$mac}.cfg 2017-03-14 23:22:35 -06:00
Len 0e9690d7f2 Update README.md 2017-03-15 00:54:45 -04:00
FusionPBX e0d9bf2d11 Update domain_delete.php
Fix the domain delete.
2017-03-14 14:56:23 -06:00
FusionPBX 006874afcb Update app_config.php 2017-03-13 18:36:27 -06:00
FusionPBX 391ec7b68f Update app_config.php 2017-03-13 18:34:19 -06:00
drenda 291fa36f8d Added italian translation (#2417)
* Added Italian translation

* add italian translation

* add italian translation

* add italian translation

* fix typo error

* add italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian translation

* added italian language

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian language

* added italian translation

* added italian translation

* added italian language

* fixed error in copy button

* added italian translation

* added italian translation

* partial italian translation

* added partial italian translation

* added italian translation

* added italian translation

* Update app_languages.php

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation
2017-03-13 12:26:35 -06:00
Len b9b26d2345 Update y000000000007.cfg 2017-03-10 19:15:22 -05:00
Len 537685c972 Update y000000000052.cfg 2017-03-10 19:11:41 -05:00
Len 0564a60c1f Update y000000000005.cfg 2017-03-10 19:07:32 -05:00
Len ca0bacc2bf Update y000000000044.cfg 2017-03-10 18:59:13 -05:00
Len 397106364a Update y000000000004.cfg 2017-03-10 18:55:33 -05:00
Len d1c79481e1 Update y000000000045.cfg 2017-03-10 18:52:40 -05:00
Len 28b6eaadb7 Update y000000000000.cfg 2017-03-10 18:48:07 -05:00
Len 22771c6db3 Update y000000000046.cfg 2017-03-10 18:44:42 -05:00
Len a35955a085 Update y000000000032.cfg 2017-03-10 18:40:32 -05:00
Len c00987c2bd Update y000000000038.cfg 2017-03-10 18:36:51 -05:00
Len 1f5b594176 Update y000000000036.cfg 2017-03-10 18:33:36 -05:00
Len cb0691d53e Update y000000000029.cfg 2017-03-10 18:31:13 -05:00
Len 45a18f6dca Update y000000000028.cfg 2017-03-10 18:26:37 -05:00
Len 8fd0bfd0b9 Update y000000000066.cfg 2017-03-10 18:22:54 -05:00
Len db14daacb5 Update y000000000051.cfg 2017-03-10 18:19:33 -05:00
Len 2084822869 Update y000000000065.cfg 2017-03-10 18:16:04 -05:00
Len 1940cb4b5d Update y000000000035.cfg 2017-03-10 17:15:56 -05:00
FusionPBX 81622f3fea Create directory.xml 2017-03-10 13:01:12 -07:00
FusionPBX 01aa9e85e9 Create favorite_setting.xml 2017-03-10 13:00:32 -07:00
FusionPBX e5ad9c369d Create y000000000065.cfg 2017-03-10 12:59:28 -07:00
FusionPBX 648fe5011f Create {$mac}.cfg 2017-03-10 12:57:07 -07:00
FusionPBX 7b2d6c86f6 Update {$mac}.xml 2017-03-09 00:12:16 -07:00
Dean Montgomery 7436ef5ca1 Fix disappearing voicemail_description. (#2394)
Editing an extension causes the voicemail_description filed to disappear in v_voicemails.
* Preserves voicemail_description if present in v_voicemails table.
* Creates voicemail_description if empty in v_voicemails.
2017-03-08 16:30:31 -07:00
FusionPBX 36f9093bd5 Update authentication.php 2017-03-08 16:04:38 -07:00
Adam Niedzwiedzki 295283ca1c Update user_dashboard.php (#2392)
Calling which via php-fpm on centos returns null.
CentOS has df in path for nginx/php-fpm scrtips.
2017-03-08 00:43:04 -07:00
Dean Montgomery e528163f5e Fix user_dashboard broken user_edit link (#2410)
On the user_dashboard clicking on the username brings you to a 404 page.
Fixed link path.
2017-03-08 00:22:27 -07:00
konradSC 927c19c37a Update 010_user_exists.xml (#2409)
If toll_allow is set on an extension, an outside caller dialing a direct number will not be transferred back out to cfwd-no-answer external number unless the toll_allow variable is read in the dialplan.
2017-03-08 00:16:58 -07:00
FusionPBX 4070da5da9 Update app_config.php 2017-03-03 23:20:10 -07:00
FusionPBX e29860b575 Update app_config.php 2017-03-03 23:17:15 -07:00
Len e9a04b9a7f Update {$mac}.xml 2017-03-03 18:32:48 -05:00
Len 3f0306fc86 Update {$mac}.xml 2017-03-03 18:29:13 -05:00
Len 1f4bb9e4a8 Update {$mac}.xml 2017-03-03 18:28:16 -05:00
Len 7b156afbf8 Update {$mac}.xml 2017-03-03 18:24:59 -05:00
Len e6fc52d089 Update {$mac}.xml 2017-03-03 18:20:25 -05:00
Len 8138cd4d18 Update {$mac}.xml 2017-03-03 18:08:41 -05:00
Len 72860f347d Update {$mac}.xml 2017-03-03 18:03:55 -05:00
Len f581f0b4f4 Update {$mac}.xml 2017-03-03 17:59:51 -05:00
Len cda07724ce Update {$mac}.xml 2017-03-03 17:56:37 -05:00
Len b191619f0a Update {$mac}.xml 2017-03-03 17:26:33 -05:00
Len 54b9890060 Update {$mac}.xml 2017-03-03 17:18:35 -05:00
FusionPBX 7e81e46692 Update call_forward.php 2017-03-02 16:37:07 -07:00
FusionPBX 2cfcb73c4f Update follow_me.php 2017-03-02 15:45:50 -07:00
FusionPBX 8404838b98 Update app_config.php 2017-03-02 13:51:52 -07:00
Len b7153c8829 Update {$mac}.xml 2017-03-02 00:36:21 -05:00
Len 16f7041b73 Update {$mac}.xml 2017-03-01 23:41:19 -05:00
Len bec4a2c72b Update {$mac}.xml 2017-03-01 21:16:50 -05:00
FusionPBX 22d11226c1 Update hangup_rx.lua 2017-03-01 12:24:54 -07:00
FusionPBX 1b811104c5 Update fax_to_email.php 2017-03-01 12:16:11 -07:00
drenda 22df79cedf Added italian translation (#2408)
* Added Italian translation

* add italian translation

* add italian translation

* add italian translation

* fix typo error

* add italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian translation

* added italian language

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian language

* added italian translation

* added italian translation

* added italian language

* fixed error in copy button

* added italian translation

* added italian translation

* partial italian translation

* added partial italian translation

* added italian translation

* added italian translation

* Update app_languages.php

* added italian translation

* added italian translation

* added italian translation
2017-03-01 01:28:19 -07:00
Len e96a6d1643 Update {$mac}.xml 2017-03-01 00:03:43 -05:00
Len b59e54b1e9 Update {$mac}.xml 2017-03-01 00:02:52 -05:00
Len ed3466e00e Update {$mac}.xml 2017-03-01 00:01:26 -05:00
FusionPBX d15c7719b9 Update ring_group_forward.php 2017-02-28 21:57:35 -07:00
Len c8e98c2623 Update {$mac}.xml 2017-02-28 23:57:21 -05:00
Len 2e3333d61a Update {$mac}.xml 2017-02-28 23:55:55 -05:00
Len 9287a7d94c Update {$mac}.xml 2017-02-28 23:53:59 -05:00
Len 90599a0fef Update {$mac}.xml 2017-02-28 23:52:21 -05:00
Len 054d38d6a5 Update {$mac}.xml 2017-02-28 23:49:39 -05:00
Len 03050273f3 Update {$mac}.xml 2017-02-28 23:48:41 -05:00
Len 8dd359ece6 Update {$mac}.xml 2017-02-28 23:47:21 -05:00
Len 0445eec1eb Update {$mac}.xml 2017-02-28 23:44:51 -05:00
Len 69804ff41b Update {$mac}.xml 2017-02-28 23:41:38 -05:00
Len 60f3875d35 Update {$mac}.xml 2017-02-28 23:39:53 -05:00
Len 58a4269500 Update {$mac}.xml 2017-02-28 23:33:36 -05:00
FusionPBX 4ee5aaccf0 Update {$mac}.xml 2017-02-28 21:31:54 -07:00
Len d3cc7c2ed7 Update {$mac}.xml 2017-02-28 23:28:40 -05:00
Len 6a23b0134b Update {$mac}.xml 2017-02-28 23:26:56 -05:00
FusionPBX 81ed1b7fd3 Update {$mac}.xml 2017-02-28 21:26:28 -07:00
Len 6d38931e59 Update {$mac}.xml 2017-02-28 23:24:58 -05:00
Len 904cebef79 Update {$mac}.xml 2017-02-28 23:22:58 -05:00
Len ba5d3b4682 Update {$mac}.xml 2017-02-28 23:20:53 -05:00
Len 6766a93ce7 Update {$mac}.xml 2017-02-28 23:20:14 -05:00
Len 0ec32223f4 Update {$mac}.xml 2017-02-28 23:16:34 -05:00
Len 3e238f5b9a Update {$mac}.xml 2017-02-28 23:10:41 -05:00
FusionPBX fec2edb6c6 Update provision.php 2017-02-28 21:01:03 -07:00
Len 03239d7ca7 Update {$mac}.xml 2017-02-28 22:54:55 -05:00
Len 8919663b98 Update {$mac}.xml 2017-02-28 22:54:19 -05:00
Len fb69fcb464 Update {$mac}.xml 2017-02-28 22:53:37 -05:00
Len 8339dc7bdf Update {$mac}.xml 2017-02-28 22:53:00 -05:00
Len 83708edfaa Update {$mac}.xml 2017-02-28 22:52:23 -05:00
Len e6057129f0 Update {$mac}.xml 2017-02-28 22:51:43 -05:00
Len dcf08f480c Update {$mac}.xml 2017-02-28 22:51:04 -05:00
Len f406aabac4 Update {$mac}.xml 2017-02-28 22:49:47 -05:00
Len 472f0a0b06 Update {$mac}.xml 2017-02-28 22:49:16 -05:00
Len d737880a06 Update {$mac}.xml 2017-02-28 22:48:36 -05:00
Len cbee49db50 Update {$mac}.xml 2017-02-28 22:48:00 -05:00
Len baf80d37e5 Update {$mac}.xml 2017-02-28 22:47:09 -05:00
Len 1d7e69d742 Update {$mac}.xml 2017-02-28 22:46:34 -05:00
Len d55c967583 Update {$mac}.xml 2017-02-28 22:45:15 -05:00
Len 58d49be0e8 Update {$mac}.xml 2017-02-28 22:44:20 -05:00
Len a3ca09ebe5 Update {$mac}.xml 2017-02-28 22:37:27 -05:00
FusionPBX 6cb9f483e2 Update {$mac}.xml 2017-02-28 20:33:42 -07:00
Len f988f1b919 Update {$mac}.xml 2017-02-28 22:33:35 -05:00
Len c3e5412941 Update {$mac}.xml 2017-02-28 22:23:53 -05:00
Len b2f236011b Update {$mac}.xml 2017-02-28 22:22:08 -05:00
Len dd5c43772a Update {$mac}.xml 2017-02-28 22:20:18 -05:00
FusionPBX 4bd05b5719 Update {$mac}.xml 2017-02-28 20:17:28 -07:00
Len 6700fe078a Update {$mac}.xml 2017-02-28 22:17:27 -05:00
FusionPBX 1e1201fb51 Update {$mac}.xml 2017-02-28 20:09:12 -07:00
FusionPBX eb0439503c Update {$mac}.xml 2017-02-28 20:06:15 -07:00
FusionPBX 5bb8a522f0 Update {$mac}.xml 2017-02-28 20:04:05 -07:00
FusionPBX 2408e89a39 Update {$mac}.xml 2017-02-28 19:58:01 -07:00
FusionPBX b336f8951c Update {$mac}.xml 2017-02-28 19:23:55 -07:00
FusionPBX 11140a6076 Update {$mac}.xml 2017-02-28 19:20:58 -07:00
FusionPBX 82d48356dc Update {$mac}.xml 2017-02-28 19:16:31 -07:00
FusionPBX e0c0ae593e Update {$mac}.xml 2017-02-28 19:15:39 -07:00
FusionPBX 3ef47ca56b Update {$mac}.xml 2017-02-28 19:11:53 -07:00
FusionPBX 380c7febf2 Update {$mac}.xml 2017-02-28 19:08:41 -07:00
FusionPBX fcd0845ece Update {$mac}.xml 2017-02-28 19:08:01 -07:00
FusionPBX f4d70bc094 Update {$mac}.xml 2017-02-28 19:05:23 -07:00
FusionPBX 48c25d4494 Update {$mac}.xml 2017-02-28 19:04:21 -07:00
FusionPBX 60fefc67ec Update {$mac}.xml 2017-02-28 19:02:44 -07:00
FusionPBX 41d89bf868 Update {$mac}.xml 2017-02-28 18:55:49 -07:00
FusionPBX 40b89e0a6b Update {$mac}.xml 2017-02-28 18:54:35 -07:00
FusionPBX eda3e7226f Update {$mac}.xml 2017-02-28 18:52:00 -07:00
FusionPBX ef4407635b Update {$mac}.xml 2017-02-28 18:49:41 -07:00
FusionPBX 806dafd82e Update {$mac}.xml 2017-02-28 15:58:28 -07:00
FusionPBX ee2b094881 Update {$mac}.xml 2017-02-28 15:51:26 -07:00
FusionPBX 578ba07d96 Update time_condition_edit.php
Work on the indentation and update the dialplan xml.
2017-02-27 22:25:55 -07:00
FusionPBX 4fbcddb177 Update dialplan_xml.php 2017-02-27 21:45:02 -07:00
drenda de040b83ab Added italian translation (#2404)
* Added Italian translation

* add italian translation

* add italian translation

* add italian translation

* fix typo error

* add italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian translation

* added italian language

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian language

* added italian translation

* added italian translation

* added italian language

* fixed error in copy button

* added italian translation

* added italian translation

* partial italian translation

* added partial italian translation

* added italian translation

* added italian translation

* Update app_languages.php

* added italian translation

* added italian translation
2017-02-27 21:40:05 -07:00
drenda 18b215ae36 Added italian translation (#2399)
* Added Italian translation

* add italian translation

* add italian translation

* add italian translation

* fix typo error

* add italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian translation

* added italian language

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian language

* added italian translation

* added italian translation

* added italian language

* fixed error in copy button

* added italian translation

* added italian translation

* partial italian translation

* added partial italian translation

* added italian translation

* added italian translation

* Update app_languages.php
2017-02-24 21:42:58 -07:00
FusionPBX 9211aea940 Update contact_import.php 2017-02-24 10:50:14 -07:00
FusionPBX 3243c130a1 Update device_edit.php
Make the vendor name case insensitive.
2017-02-24 00:19:28 -07:00
jamesorose 18f74bfa61 alphabetize the page (#2396) 2017-02-23 16:16:54 -07:00
drenda 9acb477bb2 Added italian translation (#2391)
* Added Italian translation

* add italian translation

* add italian translation

* add italian translation

* fix typo error

* add italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian translation

* added italian language

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian language

* added italian translation

* added italian translation

* added italian language

* fixed error in copy button

* added italian translation

* added italian translation

* partial italian translation
2017-02-22 21:31:40 -07:00
FusionPBX 5f0dccbb0f Update destinations.php 2017-02-22 20:59:30 -07:00
FusionPBX 78876e08d2 Update follow_me.php 2017-02-22 12:51:14 -07:00
FusionPBX 6ba32b0852 Fix the english copy button. 2017-02-21 20:13:37 -07:00
FusionPBX 304339fd49 Grandstream Disable Call Features 2017-02-21 15:33:35 -07:00
FusionPBX e11a31060f Grandstream Disable Call Features 2017-02-21 15:32:54 -07:00
FusionPBX e74498ac18 Update {$mac}.xml
Grandstream Disable Call Features
2017-02-21 15:31:27 -07:00
FusionPBX 5d7ef6bd6b Update {$mac}.xml
Grandstream Disable Call Features
2017-02-21 15:30:46 -07:00
FusionPBX 3348f46d58 Update {$mac}.xml
Grandstream Disable Call Features
2017-02-21 15:30:01 -07:00
FusionPBX 2959eb3e70 Update device_edit.php 2017-02-20 22:12:49 -07:00
FusionPBX 7c62ff196d Update call_center_active.php 2017-02-20 20:57:29 -07:00
FusionPBX 92ba5e1529 Update callcenter.conf.lua 2017-02-20 20:47:35 -07:00
FusionPBX 23308a56bc Update device_edit.php 2017-02-20 20:22:27 -07:00
Luis Daniel Lucio Quiroz 4365c4db33 Make sure provisioning temporal directory exists (#2386)
Same rationale as 4.2
2017-02-19 21:50:35 -07:00
drenda 08ede55363 Added italian translation (#2384)
* Added Italian translation

* add italian translation

* add italian translation

* add italian translation

* fix typo error

* add italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian translation

* added italian language

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian language

* added italian translation
2017-02-19 21:17:46 -07:00
FusionPBX 5ac6881cf4 Update forward_to_extension.lua 2017-02-19 04:14:18 -07:00
FusionPBX 64a0a44682 Update 890_local_extension.xml 2017-02-17 11:00:42 -07:00
FusionPBX 011e7a6940 Update app_config.php 2017-02-17 10:47:46 -07:00
FusionPBX 489a48f67a Update dialplan_detail_delete.php 2017-02-17 09:39:14 -07:00
FusionPBX 7f7e0d9f4e Update dialplan_detail_delete.php 2017-02-17 09:37:11 -07:00
Harald Gutmann ebb7c2e32b allow page-break on fax_message & fax_footer (#1978) (#2378)
* enable page-breaks on fax messages

* fix footer & allow page break

* update footer placement to work properly on single page
2017-02-16 19:48:17 -07:00
drenda b42e347b11 Added Italian translation (#2379)
* Added Italian translation

* add italian translation

* add italian translation

* add italian translation

* fix typo error

* add italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian translation

* added italian language

* added italian translation

* added italian language
2017-02-16 19:46:50 -07:00
FusionPBX bb360bfce6 Update on_dtmf.lua 2017-02-16 18:14:59 -07:00
FusionPBX 0018e767f2 Update contact_import.php 2017-02-16 17:12:34 -07:00
FusionPBX ab7ea78f18 Update app_config.php 2017-02-16 15:43:53 -07:00
FusionPBX f153c2c93a Update voicemail_edit.php 2017-02-16 01:28:28 -07:00
FusionPBX eef1c1b3f0 Update user_dashboard.php 2017-02-16 00:53:07 -07:00
FusionPBX f960dddad5 Update contact_import.php 2017-02-16 00:14:52 -07:00
FusionPBX f40b8bfd47 Update schema.php 2017-02-16 00:03:33 -07:00
FusionPBX 6f1045a15e Update app_config.php 2017-02-15 23:50:07 -07:00
FusionPBX d50e8302ba Update app_config.php 2017-02-15 23:47:36 -07:00
FusionPBX 929ffb88ee Update app_config.php 2017-02-15 23:40:31 -07:00
FusionPBX 7a8bb0e661 Update app_config.php 2017-02-15 23:38:36 -07:00
FusionPBX 1097d28af8 Update app_config.php 2017-02-15 23:27:05 -07:00
FusionPBX d068b132eb Update app_config.php 2017-02-15 23:24:29 -07:00
FusionPBX 245d342bcf Update app_config.php 2017-02-15 23:22:57 -07:00
FusionPBX a3b2c3c377 Update app_config.php 2017-02-15 23:22:05 -07:00
FusionPBX d3fd93f9b9 Update app_config.php 2017-02-15 23:21:22 -07:00
FusionPBX 1786802c88 Update app_config.php 2017-02-15 23:20:14 -07:00
FusionPBX 5da8a7bea4 Update app_config.php 2017-02-15 23:19:30 -07:00
FusionPBX 1776e25f76 Update app_config.php 2017-02-15 23:18:47 -07:00
FusionPBX b738f32ece Update app_config.php 2017-02-15 23:17:48 -07:00
FusionPBX 3a373588fe Update app_config.php 2017-02-15 23:16:28 -07:00
FusionPBX 0d00df1e33 Update app_config.php 2017-02-15 23:14:56 -07:00
FusionPBX a541ee8e4e Update app_config.php 2017-02-15 23:12:24 -07:00
FusionPBX a47a49499e Update app_config.php 2017-02-15 22:55:46 -07:00
FusionPBX 0d2a46c1aa Update app_config.php 2017-02-15 22:53:20 -07:00
FusionPBX 4ef02ac2a6 Update app_config.php 2017-02-15 22:52:35 -07:00
FusionPBX c13855d2fe Update app_config.php 2017-02-15 22:51:43 -07:00
FusionPBX 940a0e06c8 Update app_config.php 2017-02-15 22:50:16 -07:00
FusionPBX b35ac57c60 Update app_config.php 2017-02-15 22:49:17 -07:00
FusionPBX 13f3630e4d Update app_config.php 2017-02-15 22:47:48 -07:00
FusionPBX 650072151c Update 2017-02-15 22:45:34 -07:00
FusionPBX aae67667c7 Update app_config.php 2017-02-15 22:44:38 -07:00
FusionPBX 663ddb7a04 Update app_config.php 2017-02-15 22:43:03 -07:00
FusionPBX f65b6ffcba Update app_config.php 2017-02-15 22:41:42 -07:00
FusionPBX 2d619d9f7f Update app_config.php 2017-02-15 22:40:22 -07:00
FusionPBX 2c097f9790 Update app_config.php 2017-02-15 22:39:34 -07:00
FusionPBX fff3ddb05b Update app_config.php 2017-02-15 22:38:13 -07:00
FusionPBX 37b34b65c9 Update app_config.php 2017-02-15 22:36:26 -07:00
FusionPBX 14327e24e1 Update app_config.php 2017-02-15 22:34:43 -07:00
FusionPBX 1438feb2ad Update app_config.php 2017-02-15 22:33:55 -07:00
FusionPBX 794d736997 Update app_config.php 2017-02-15 22:33:05 -07:00
FusionPBX 2721370403 Update app_config.php 2017-02-15 22:31:51 -07:00
FusionPBX 8a4b23e44f Update app_config.php 2017-02-15 22:29:36 -07:00
FusionPBX 8a0a33c722 Update app_config.php 2017-02-15 22:27:32 -07:00
FusionPBX 25e3dbced3 Update app_config.php 2017-02-15 22:25:48 -07:00
FusionPBX 45940fb7d8 Update app_config.php 2017-02-15 22:23:43 -07:00
FusionPBX c60671e145 Update app_config.php 2017-02-15 22:20:16 -07:00
FusionPBX 36afadadef Update app_config.php 2017-02-15 22:18:58 -07:00
FusionPBX df9d1585b7 Update app_config.php 2017-02-15 22:17:18 -07:00
FusionPBX 036fa9feab Update app_config.php 2017-02-15 22:14:00 -07:00
FusionPBX 5ec8cb9ba6 Update app_config.php 2017-02-15 22:12:37 -07:00
FusionPBX 378f3e25e5 Update app_config.php 2017-02-15 22:11:32 -07:00
FusionPBX b2392939c2 Update app_config.php 2017-02-15 21:43:00 -07:00
FusionPBX c8e7b820c2 Update app_config.php 2017-02-15 21:42:03 -07:00
FusionPBX 3e4c846c7e Update app_config.php 2017-02-15 21:40:56 -07:00
FusionPBX bdcae72834 Update app_config.php 2017-02-15 21:39:53 -07:00
FusionPBX 355e6d60c2 Update app_config.php 2017-02-15 21:32:45 -07:00
FusionPBX 3f16f1e68e Update app_config.php 2017-02-15 21:32:01 -07:00
FusionPBX c47a4a528b Update app_config.php 2017-02-15 21:30:59 -07:00
FusionPBX bb9c9dd469 Update app_config.php 2017-02-15 21:29:46 -07:00
FusionPBX b6a9cb3f04 Update app_config.php 2017-02-15 21:28:54 -07:00
FusionPBX 88f1a4ac2e Update app_config.php 2017-02-15 21:28:18 -07:00
FusionPBX 40a225ec70 Update app_config.php 2017-02-15 21:27:34 -07:00
FusionPBX 97199e8167 Update app_config.php 2017-02-15 21:26:46 -07:00
FusionPBX d22a6aa731 Update app_config.php 2017-02-15 21:25:18 -07:00
FusionPBX 3997e144f5 Update app_config.php 2017-02-15 21:23:56 -07:00
FusionPBX 1fc255acc9 Update 2017-02-15 21:23:04 -07:00
FusionPBX 742de2d20a Update app_config.php 2017-02-15 21:22:08 -07:00
FusionPBX 97f64aa62b Update app_config.php 2017-02-15 21:21:02 -07:00
FusionPBX 47dfa57602 Update app_config.php 2017-02-15 21:20:08 -07:00
FusionPBX 70e9e5004c Update app_config.php 2017-02-15 21:19:12 -07:00
FusionPBX 13cb094937 Update app_config.php 2017-02-15 21:18:30 -07:00
FusionPBX 016b75777b Update app_config.php 2017-02-15 21:17:44 -07:00
FusionPBX 2fae1dbaa0 Update app_config.php 2017-02-15 21:16:45 -07:00
FusionPBX c14d1e71d8 Update 2017-02-15 21:12:32 -07:00
FusionPBX e11525338a Update app_config.php 2017-02-15 21:11:26 -07:00
FusionPBX 2d65bc389e Update app_config.php 2017-02-15 21:10:35 -07:00
FusionPBX ede28fa474 Update 2017-02-15 21:09:22 -07:00
FusionPBX cc5a9ee55e Update 2017-02-15 21:06:59 -07:00
FusionPBX 486b08de8f Add RECOVERY_ON_TIMER_EXPIRE for the timeout destination. 2017-02-15 10:31:31 -07:00
FusionPBX ef40872f8c Update ivr_menu_edit.php
Add a missing $ in the IVR menu dialplan.
2017-02-15 08:20:41 -07:00
FusionPBX 4190785fc0 Add ring_ready to extend the ring time. 2017-02-14 15:01:59 -07:00
sergey-mz 84c0df78b8 Show voicemail description (user name) (#2309)
Show voicemail description (user name) after voicemail id.
Useful in case user has more than one mailbox assigned.
2017-02-13 13:20:01 -07:00
sergey-mz 0ec099471a Add contact column to registration table (#2311)
Translations for Contact header
2017-02-13 13:18:09 -07:00
emaktech 331ab0114d Yealink Provisioning - Add Trusted Cert Variable (#2364)
* Update y000000000037.cfg

* Update y000000000007.cfg

* Update y000000000025.cfg

* Update y000000000023.cfg

* Update y000000000051.cfg

* Update y000000000035.cfg

* Update y000000000066.cfg

* Update y000000000028.cfg

* Update y000000000029.cfg

* Update y000000000036.cfg

* Update y000000000054.cfg

* Update y000000000038.cfg

* Update y000000000032.cfg

* Update y000000000046.cfg

* Update y000000000000.cfg

* Update y000000000045.cfg

* Update y000000000004.cfg

* Update y000000000044.cfg

* Update y000000000044.cfg

* Update y000000000005.cfg

* Update y000000000052.cfg
2017-02-13 13:13:16 -07:00
Chris Black 437d3ac735 Add per-voicemail transcription enabled. (#2370) 2017-02-13 13:12:43 -07:00
FusionPBX d6401dc1c5 Update get_call_activity.php 2017-02-13 12:55:11 -07:00
FusionPBX ca2e7dc007 Update {$mac}.xml 2017-02-09 12:58:45 -07:00
FusionPBX 01093b8ddd Update {$mac}.xml 2017-02-09 12:57:48 -07:00
FusionPBX d835c096bb Update {$mac}.xml 2017-02-09 12:48:17 -07:00
FusionPBX 65a8869ed5 Update {$mac}.xml 2017-02-09 12:34:14 -07:00
FusionPBX 68a3397c37 Update {$mac}.xml 2017-02-09 12:32:38 -07:00
FusionPBX 0f2b37d321 Update {$mac}.xml 2017-02-09 12:28:21 -07:00
FusionPBX e99023bb7f Update {$mac}.xml 2017-02-09 11:45:50 -07:00
FusionPBX ad6f745a2d Update {$mac}.xml
Add outbound proxy to spa112
2017-02-09 11:35:46 -07:00
FusionPBX 5885258c87 Update {$mac}.xml 2017-02-09 11:30:52 -07:00
FusionPBX 6a90eb3594 Update {$mac}.xml 2017-02-09 11:24:32 -07:00
FusionPBX e75b3b65a7 Update scripts.php 2017-02-09 00:19:55 -07:00
netpro25 289861272e Add multiple email fields (#2365)
Add multiple email fields to make entering multiple email addresses easier.
2017-02-08 14:32:07 -07:00
FusionPBX 4394d12268 Update app_defaults.php 2017-02-08 13:29:48 -07:00
Luis Daniel Lucio Quiroz 83c82f1bbf Be sure FAX path exists before uploading (#2345) 2017-02-07 21:37:48 -07:00
Luis Daniel Lucio Quiroz 3f9ce5bf86 SCRIPTS: PHP bin is not always php5 (#2352) 2017-02-07 21:32:39 -07:00
Luis Daniel Lucio Quiroz d6f888f6a9 PHP bin is not always php5 (#2350)
not everybody names php binary as php5
2017-02-07 21:31:52 -07:00
FusionPBX 3c229a7ae9 Update directory.lua 2017-02-07 18:56:21 -07:00
Richard Neese 8bf2348947 fixing debian pkg installs (#2363) 2017-02-07 15:52:44 -07:00
FusionPBX 84b2d8ffb0 Update algom{$mac}.conf
Add provision path and ntp server variables.
2017-02-06 19:01:51 -07:00
FusionPBX 322e64e5ab Update time_condition_edit.php 2017-02-04 18:02:27 -07:00
FusionPBX e28fff32f1 Update app_languages.php 2017-02-03 15:08:11 -07:00
FusionPBX 3c05e6e5e2 Update contact_import.php 2017-02-03 15:04:21 -07:00
Marc Laporte b6e80f42c8 Fix a typo (#2355) 2017-02-03 13:09:33 -07:00
FusionPBX 7c3f8fc55d Update verto.conf.xml 2017-02-02 19:24:22 -07:00
FusionPBX e1fbdd0ced Update switch.sql 2017-02-01 18:01:20 -07:00
FusionPBX c766cba008 Update app_config.php 2017-02-01 13:30:49 -07:00
FusionPBX e9836b9c69 Update app_config.php 2017-02-01 13:22:24 -07:00
markjcrane 85c1f0b586 Fix the filename for algom provisioning template. 2017-01-31 21:48:07 -07:00
Moishe Grunstein ce56362bf4 Update provision.php (#2336) 2017-01-31 21:38:04 -07:00
FusionPBX f2bc81c287 Create algo{$mac}.conf
Add Algo 8180 provisioning template sponsored first version of the template donated by nysolutions.com.
2017-01-31 21:28:52 -07:00
FusionPBX 24ebf7a053 Update device.php 2017-01-31 17:25:16 -07:00
FusionPBX 02006cb9c2 Update provision.php
Prevent php warning in the provision php class.
2017-01-31 16:49:47 -07:00
Alexey Melnichuk 3c067947de Add. Support remote reboot Panasonic devices. (#2326)
Tested with Panasonic KX-TGP500 Firmware 22.90
User agent string `Panasonic_KX-TGP500B09/22.90 (<MAC>)`
2017-01-31 00:35:24 -07:00
FusionPBX 1373914369 Update index.lua
Adding  ~= nil as its used in various places in this file changed for better consistency.
2017-01-30 20:57:37 -07:00
FusionPBX 2c4d54a52b Update index.lua
Add the voicemail_uuid to the if statement on vm disk quota.
2017-01-30 20:54:03 -07:00
FusionPBX b3ec8047a0 Minor version update 4.3.2. 2017-01-30 20:40:28 -07:00
FusionPBX b63a6bb42b Update index.lua
Prevent a nil error when using voicemail has reached its quota.
2017-01-30 20:35:27 -07:00
FusionPBX 4250f9da6d Update device_vendor_function_edit.php
Prevent a warning that was discovered in the admin training.
2017-01-29 13:30:26 -07:00
FusionPBX 89f789432e Update index.php
Prevent a php warning message.
2017-01-29 13:07:08 -07:00
FusionPBX 4c806d8012 Update index_inc.php
Prevent warning messages.
2017-01-29 13:05:05 -07:00
FusionPBX 53fe4b87be Update sofia.conf.lua
Activate the sofia profile domain aliases.
2017-01-28 14:50:06 -07:00
FusionPBX 5050244567 Update app_defaults.php
Update systems that don't have the sip profile domain all alias settings.
2017-01-28 13:09:57 -07:00
FusionPBX e36ffecc73 Update internal-ipv6.xml.noload
Add the domains section.
2017-01-28 13:06:30 -07:00
FusionPBX 3b025cf1cf Update app_defaults.php
Add the sip profile domain settings on new installs.
2017-01-28 11:06:37 -07:00
FusionPBX 6b37fe25aa Update
Add voicemail/vm-no_answer_no_vm.wav
2017-01-27 13:24:10 -07:00
FusionPBX 27d383b367 Update index.lua
Prevent an error by moving the voicemail quota into the if statement that checks if the voicemail_uuid is not null.
2017-01-27 12:18:01 -07:00
FusionPBX ab4b784710 Update 310_extension-to-voicemail.xml
Prevent a minor error.
2017-01-26 13:08:14 -07:00
FusionPBX b24a573cc1 Update recordings.php
Fix a warning when the file recording doesn't exist.
2017-01-26 09:41:06 -07:00
FusionPBX ed318d024f Update {$mac}.cfg
Prevent creating an empty password for Polycom phones.
2017-01-25 11:13:07 -07:00
FusionPBX 3b9ece1c84 Update {$mac}.cfg
Preventing provisioning an empty admin_password for Polycom.
2017-01-25 11:12:09 -07:00
FusionPBX 3466921977 Create directory.xml 2017-01-25 08:45:14 -07:00
FusionPBX 1d1dcfc678 Create favorite_setting.xml 2017-01-25 08:44:22 -07:00
FusionPBX df0e3dd4a8 Create {$mac}.cfg 2017-01-25 08:40:35 -07:00
FusionPBX 403853c05a Update y000000000066.cfg 2017-01-25 08:39:09 -07:00
FusionPBX b5ec6da64b Create y000000000066.cfg 2017-01-25 08:37:33 -07:00
FusionPBX bc9f979393 Create sip_profile_domain_delete.php 2017-01-24 22:42:23 -07:00
FusionPBX faf7bfd86d Update sip_profile_delete.php
Delete data from the sip profile domains table.
2017-01-24 04:10:35 -07:00
FusionPBX 033a03400f Update sip_profile_edit.php
Rewrote almost all of this code other than the code to clear the cache.
2017-01-24 04:08:55 -07:00
FusionPBX 3de72f1f2d Update app/sip_profiles/sip_profiles.php 2017-01-24 04:06:45 -07:00
FusionPBX 62539be7ab Update sip_profile_copy.php 2017-01-24 04:04:18 -07:00
FusionPBX 355db16475 Update app_languages.php 2017-01-24 04:03:13 -07:00
FusionPBX 081fedea19 Update app_config.php
Change sofia_profile_domain_parse to sip_profile_domain_parse.
2017-01-24 04:02:28 -07:00
FusionPBX bca48e7f57 Update app_config.php
Fix the spacing
2017-01-24 02:02:02 -07:00
FusionPBX 9a2deed217 Add sip profile domains.
This will provide the ability to add 'add', 'alias', and 'parse'
2017-01-23 21:00:57 -07:00
FusionPBX ab5394aba4 Update fax_send.php
Prevent the fax cover page from exceeding 1 page.
2017-01-22 22:34:47 -07:00
FusionPBX 95af99a347 Update status_registrations.php 2017-01-20 03:41:37 -07:00
konradSC 846f2e92cb Update extension_delete.php (#2314)
Delete the extension settings from v_follow_me and v_follow_me_destinations.
2017-01-19 12:57:58 -07:00
FusionPBX d100458123 Update dialplans.php
Fix missing app_uuid for context public.
2017-01-19 12:41:13 -07:00
FusionPBX a050855ed3 Update sql_query_result.php 2017-01-19 12:02:48 -07:00
FusionPBX 49aeb1dc07 Fix xml cdr show all for export. 2017-01-18 20:05:21 -07:00
FusionPBX 7f45fef615 Update sofia.conf.lua 2017-01-18 08:55:29 -07:00
FusionPBX a5e47971be Update domains.php 2017-01-17 13:37:26 -07:00
jalr 7cbfb6f629 fix condition (#2298) 2017-01-17 10:16:13 -07:00
Alexey Melnichuk ff67706848 Fix. Russia has 11 digits (close #2303) (#2304) 2017-01-17 10:14:49 -07:00
Chris Black 231c45dffb Add transcription to the sms message (#2308)
Gives the user ability to add transcription to the sms message for
voicemail notifications.
2017-01-17 10:13:33 -07:00
FusionPBX c77a887311 Update email_cron.php 2017-01-16 23:46:53 -07:00
FusionPBX 0cf97645fd Update email_cron.php 2017-01-16 18:26:23 -07:00
FusionPBX fe178992c3 Update v_mailto.php 2017-01-16 18:20:09 -07:00
FusionPBX ccc1e1eb65 Update v_mailto.php 2017-01-16 18:18:35 -07:00
DigiDaz 03b0b5fc68 Stop warning message appearing (#2302)
Stops php warning message appearing when there are no assigned agents
2017-01-15 18:42:42 -07:00
FusionPBX e2016af5e2 Change a duplicated uuid. 2017-01-14 20:26:36 -07:00
FusionPBX dad5aecd49 Update domains.php 2017-01-14 18:17:21 -07:00
FusionPBX b34f1769f0 Update domains.php 2017-01-14 18:15:34 -07:00
FusionPBX ca9dd75335 Update events.php 2017-01-14 16:03:29 -07:00
FusionPBX 0601c4ad71 Minor syntax fix spotted in dry run now activate. 2017-01-14 14:39:05 -07:00
FusionPBX 7c93ac7901 Add the settings method to the upgrade method. 2017-01-14 14:33:05 -07:00
FusionPBX 86d8d7a3d2 Move voicemail default settings to app/voicemail 2017-01-14 14:04:04 -07:00
FusionPBX 70c76ad025 Update app_config.php 2017-01-14 13:57:51 -07:00
FusionPBX 6dcf03f23c Add the settings method to the domains class. 2017-01-14 13:15:03 -07:00
FusionPBX 301116d794 Update app_config.php 2017-01-14 12:12:06 -07:00
FusionPBX 0cf0d1e883 Add app_uuid to default settings schema. 2017-01-14 11:17:03 -07:00
FusionPBX ea621c4955 Update app_config.php 2017-01-14 00:09:33 -07:00
FusionPBX 52078c3ce3 Update app_config.php 2017-01-13 16:38:07 -07:00
FusionPBX 638d3acd02 Update app_config.php 2017-01-13 16:36:56 -07:00
FusionPBX e03ddef22d Update app_config.php 2017-01-13 16:34:04 -07:00
FusionPBX 25fd69cfea Update app_config.php 2017-01-13 16:28:21 -07:00
Alexey Melnichuk a67e215b10 Fix. Display Lan IP for Grandstream (#2297)
Grandstream send IP like `BJC.BGI.B.CAB` so we
should convert it to numeric form.
2017-01-13 14:24:32 -07:00
FusionPBX 522776c64b Delete app_defaults.php 2017-01-13 14:05:57 -07:00
FusionPBX 905c67d57f Delete app_defaults.php 2017-01-13 13:58:34 -07:00
FusionPBX bf890dcf0c Update app_defaults.php 2017-01-13 13:51:54 -07:00
FusionPBX 0ccb7cbd1a Update 470_valet_park.xml 2017-01-13 11:14:29 -07:00
FusionPBX 617bdcc3db Update app_config.php 2017-01-13 10:45:23 -07:00
FusionPBX 191e01801e Update app_config.php 2017-01-13 10:27:12 -07:00
FusionPBX ac3b8b50cd Create app_config.php 2017-01-13 10:21:03 -07:00
FusionPBX f2f461da3a Update app_defaults.php 2017-01-13 10:17:22 -07:00
FusionPBX e5687160e2 Update app_config.php
Add default settings array to app_config.php.
2017-01-13 10:01:24 -07:00
FusionPBX 8bd4f342c5 Update app_defaults.php 2017-01-13 09:56:30 -07:00
FusionPBX 7a2756788b Update app_config.php 2017-01-13 00:26:25 -07:00
FusionPBX 9d341cd49b Update app_defaults.php 2017-01-13 00:24:29 -07:00
FusionPBX 9a49e7af34 Update app_config.php 2017-01-13 00:19:51 -07:00
FusionPBX ee8c88e7e8 Update app_defaults.php 2017-01-13 00:18:36 -07:00
FusionPBX 6a923029b1 Update app_config.php 2017-01-13 00:11:39 -07:00
FusionPBX d61e1444ce Update app_defaults.php 2017-01-12 23:51:57 -07:00
FusionPBX 6f0c466a36 Update app_defaults.php 2017-01-12 23:47:44 -07:00
FusionPBX 2426b8398d Update app_config.php 2017-01-12 23:44:13 -07:00
FusionPBX 04c9d93ee7 Update app_config.php 2017-01-12 23:42:55 -07:00
FusionPBX eed9cf3c86 Update app_defaults.php 2017-01-12 23:38:58 -07:00
FusionPBX 423e9076b4 Update app_config.php 2017-01-12 23:31:10 -07:00
FusionPBX b70ed2767b Update app_defaults.php 2017-01-12 23:27:11 -07:00
FusionPBX 62e1dabb54 Update app_config.php 2017-01-12 23:24:25 -07:00
FusionPBX 386c83fd01 Update app_config.php 2017-01-12 23:19:37 -07:00
FusionPBX 1cc605cbcd Update app_defaults.php 2017-01-12 23:15:42 -07:00
FusionPBX 4cffec14ca Update app_config.php 2017-01-12 23:11:20 -07:00
FusionPBX 1b817b782a Update app_defaults.php 2017-01-12 23:09:33 -07:00
FusionPBX d6bffb013d Update app_config.php 2017-01-12 23:02:33 -07:00
FusionPBX c28d36128e Update app_defaults.php 2017-01-12 22:57:16 -07:00
FusionPBX 5366c1ef01 Update app_config.php
Add default settings to app_config.php.
2017-01-12 22:50:48 -07:00
FusionPBX 1f618785d5 Update app_defaults.php 2017-01-12 22:44:51 -07:00
FusionPBX 2ba99f3de8 Update app_config.php 2017-01-12 22:39:43 -07:00
FusionPBX becb44a8be Update app_defaults.php 2017-01-12 22:38:31 -07:00
FusionPBX 1b108576b4 Update app_config.php 2017-01-12 22:36:17 -07:00
FusionPBX 01e3649fe0 Update app_defaults.php 2017-01-12 20:35:46 -07:00
FusionPBX bbcc9e1575 Update app_defaults.php 2017-01-12 20:03:21 -07:00
FusionPBX b58a348a77 Update app_defaults.php 2017-01-12 16:30:37 -07:00
FusionPBX 0dd5f9435b Update app_defaults.php 2017-01-12 15:46:33 -07:00
FusionPBX 96f1e190dd Update app_defaults.php 2017-01-12 15:25:28 -07:00
FusionPBX a8edd0d464 Update app_defaults.php 2017-01-12 14:55:06 -07:00
FusionPBX bab992583f Update app_defaults.php 2017-01-12 14:41:43 -07:00
FusionPBX 37161f6fc4 Update sofia.conf.lua
Fix the year.
2017-01-12 04:26:32 -07:00
FusionPBX 4e2b96b29f Update sofia.conf.lua
Fix domain alias show with sofia status.
2017-01-12 04:18:58 -07:00
FusionPBX 2508d71b05 Update ring_group_edit.php 2017-01-12 03:19:38 -07:00
FusionPBX 8520731f39 Create app_defaults.php 2017-01-12 03:09:17 -07:00
FusionPBX e81e705651 Update ivr_menu_edit.php 2017-01-12 02:57:27 -07:00
FusionPBX 4be4f37849 Update app_defaults.php 2017-01-12 02:48:22 -07:00
FusionPBX ff6c507cb9 Create app_defaults.php 2017-01-12 02:44:56 -07:00
FusionPBX 9ee466a804 Update app_config.php 2017-01-12 00:56:51 -07:00
FusionPBX dc15600b84 Update event_socket.php 2017-01-11 14:43:45 -07:00
FusionPBX b32aaeb331 Update groups.php
Prevent warnings in groups.php.
2017-01-11 14:39:40 -07:00
FusionPBX c5ae1f13f0 Update event_socket.php
Add freeswitch defaults to event_socket.php
2017-01-11 14:14:47 -07:00
FusionPBX b07def6ed5 Update app_defaults.php
Add the default menu.
2017-01-10 10:13:07 -07:00
konradSC ee01daecb7 Update device_profile_copy.php (#2293)
Fixed missing functionality to copy device_settings that are in a profile. 

Updated select queries to use database function.
2017-01-10 08:12:03 -07:00
Tom Gillett 897038f2d8 Fixed bug preventing scripts from being copied properly during install process (#2296) 2017-01-10 08:11:09 -07:00
FusionPBX 7aacee9b37 Update groups.php 2017-01-10 07:55:09 -07:00
FusionPBX fd9e301368 Update switch.php 2017-01-10 01:46:59 -07:00
FusionPBX a45b014b5f Update scripts.php 2017-01-10 01:41:29 -07:00
FusionPBX 12e8d12dbe Update scripts.php 2017-01-10 01:36:59 -07:00
FusionPBX cdf9bcde8e Update switch_settings.php 2017-01-10 01:18:17 -07:00
FusionPBX 00ddb5365b Update app_defaults.php 2017-01-10 01:14:14 -07:00
FusionPBX 3226641a1b Update app_defaults.php 2017-01-10 01:03:27 -07:00
FusionPBX 2d888496de Update app_defaults.php 2017-01-10 00:58:42 -07:00
FusionPBX 70788de885 Update app_defaults.php
Fix warnings.
2017-01-10 00:45:01 -07:00
FusionPBX 8d3da2f566 Update app_defaults.php 2017-01-10 00:36:43 -07:00
FusionPBX ed4ca99f7e Update app_defaults.php 2017-01-10 00:35:32 -07:00
FusionPBX 1914f788bc Update app_defaults.php 2017-01-10 00:32:43 -07:00
FusionPBX e7bc37baa9 Update upgrade_domains.php 2017-01-10 00:20:46 -07:00
FusionPBX ad0e310850 Update app_defaults.php 2017-01-10 00:00:07 -07:00
FusionPBX 7975d3c40d Update 2017-01-09 23:48:15 -07:00
FusionPBX 6ceb371067 Update app_defaults.php
Check to see if the file exists before renaming it.
2017-01-09 23:26:54 -07:00
FusionPBX 7850f96a18 Update pdo.php 2017-01-09 17:55:40 -07:00
FusionPBX 52b66797fd Update dialplan_outbound_add.php 2017-01-08 23:17:07 -07:00
Len 2e591e0584 Update {$mac}.cfg
correct missing {
2017-01-08 19:41:47 -05:00
FusionPBX 9aa1133ea6 Update
Fix the dial string used with follow me when the dial_string is set in default settings.
2017-01-06 15:49:38 -07:00
FusionPBX 40fbb4315e Delete config.php.dist 2017-01-05 05:05:43 -07:00
FusionPBX 514fdadb51 Create uuid.php 2017-01-05 04:15:47 -07:00
FusionPBX 921aef7f24 Update schema.php 2017-01-05 03:58:01 -07:00
FusionPBX be18b77b8e Update schema.php
Prevent php warnings.
2017-01-05 03:53:02 -07:00
FusionPBX eb0eed1c87 Update extension_edit.php 2017-01-05 02:29:43 -07:00
FusionPBX eca050fc3f Update app_defaults.php
Fix a sql error for ringtones.
2017-01-05 02:10:26 -07:00
FusionPBX d0d0b8f041 Update xml_cdr.php 2017-01-04 22:25:17 -07:00
FusionPBX 1552e31e67 Update xml_cdr_inc.php 2017-01-04 21:56:23 -07:00
FusionPBX de5c336983 Update pdo.php
Prevent php warnings.
2017-01-04 20:40:36 -07:00
FusionPBX f04cd905e5 Update app_config.php
Add device vendor functions for Sangoma.
2017-01-03 17:52:27 -07:00
FusionPBX a6ed3c7466 Update device_vendor_function_edit.php
Fix a PHP warning.
2017-01-02 20:03:58 -07:00
FusionPBX 69ef0b7302 Update device_vendor_functions.php 2017-01-02 19:59:23 -07:00
FusionPBX 05a2118682 Update README.md 2017-01-01 14:09:58 -07:00
FusionPBX 0075afa4a6 Update README.md 2017-01-01 14:05:36 -07:00
jebsolutions d8b42e424e minor fix: show shell exec errors. Nicer hide/show. (#2275)
test #1:
enter an invalid command for the shell.  e.g. "asdf" then click execute.

expected result:
You get some type of result about invalid command.

Actual result: nothing shows up.  You have no idea if your command worked or not.

fixed result: When doing an exec include errors in the response: 2>&1

Test #2:
Enter something invalid in the switch command.  e.g. "asdf".  Click Execute.  Change to SQL.  Enter something valid e.g. "select * from v_users;"  Click execute.

Expected result:
You see the SQL output right below your "select * from v_users;" input text box.

Actual result:
Because the output from the previous switch/php/shell is not hidden the SQL output is pushed down off the screen.  Unless the user scrolls down they will not see the result and think their SQL command didn't actually work.

Fixed results:
When you do switch/phps/shell show the Response section.
When you do sql hide the response section.

This way only the relevant response/sql_response is shown to avoid confusion/screen clutter.
2016-12-30 12:06:53 -07:00
FusionPBX 10c55348ea Update xml_cdr.php
Capitalize the SQL, change tmp_cdr to an alias of c for CDR, and remove the spaces from the indentation.
2016-12-30 10:54:33 -07:00
Len 0788213443 Update README.md 2016-12-29 20:51:40 -05:00
FusionPBX 761a9f51f2 Update ivr.conf.lua 2016-12-29 13:35:55 -07:00
Karolis Pabijanskas f3c90f6060 Fix xml_cdr_extension_summary.php speed issues (#2280) 2016-12-29 12:59:52 -07:00
FusionPBX 16ffec9486 Update functions.php
Minor version change.
2016-12-27 22:22:54 -07:00
jebsolutions b0bde877d1 fixes bug #2270 reported by volga629 (#2276)
Please do further testing/review and give comments and suggest cleanup, etc.

This bug is only tripped if all of the following are true:
a) fax send fails
b) email notification of fax failure also fails
c) Other?

how to test
- have a 100% working fax to email setup.
- Change Advanced->defaults->email and set the port to be something invalid.
- e.g. smtp port 9999 is invalid
- send a test fax to something without a fax
- e.g. I just faxed my own DID which does NOT have fax answering

- each time the phone rings answer...wait 5 seconds, and then hang up
- note: it will retry sending the fax 5 times so repeat the above.

- on the last try it will give up, and try to send the failure email
- the email will fail (bad port) and then it will insert the failed email into v_emails
- the insert will fail and nothing in v_emails

Error was caused by trying to insert '' into the domain_uuid field.
'' is invalid in a uuid field, but null is okay.

The null is caused by no x-headers being passed.  So these two fields end up null:
$headers["X-FusionPBX-Domain-UUID"]
$headers["X-FusionPBX-Email-Type"]

Ignoring unset/uninitialized variables hides bugs.

Fix: feed the X-Header in the calling lua code.
2016-12-27 17:49:57 -07:00
jebsolutions 273a69fc50 Minor fixes to HTML markup. (#2274)
call_flow_edit.php
- fix: <script> tag output before html headers
2016-12-27 10:06:30 -07:00
jebsolutions f40f37bebb vars.php - fix 3 notify warnings (#2247) 2016-12-26 14:57:49 -07:00
Luis Daniel Lucio Quiroz 5bb9c37b20 Fix global vars scope (#2263)
Same rationale as 4.2
2016-12-26 14:53:42 -07:00
FusionPBX b92765b168 Update functions.php
is_uuid make it more generic so it doesn't matter which uuid type it is whether 1,2,3 or 4.
2016-12-24 14:07:03 -07:00
Luis Daniel Lucio Quiroz a435f8973a Fix Call forward BUSY and NO ANSWER DEVEL (#2269)
Same rationale as 4.0 and 4.2
2016-12-24 10:38:21 -07:00
FusionPBX 167bacf9df Update route_to_bridge.lua 2016-12-23 02:16:22 -07:00
FusionPBX fe31c4b633 Update route_to_bridge.lua 2016-12-23 01:52:19 -07:00
FusionPBX 0bb9de3463 Update dialplan.lua
Add hostname to dialplan xml handler.
2016-12-23 01:28:47 -07:00
FusionPBX be26c449f3 Update switch.php 2016-12-23 01:21:14 -07:00
FusionPBX c60867659a Update switch.php 2016-12-23 01:17:09 -07:00
FusionPBX 7506941b17 Update app_languages.php 2016-12-23 01:03:22 -07:00
FusionPBX 6e1fc7e4ea Update app_config.php
Add hostname to the gateways table.
2016-12-23 01:02:06 -07:00
FusionPBX bc04f6f2d0 Update app_languages.php 2016-12-23 01:00:49 -07:00
FusionPBX 315ca6d239 Update dialplan_edit.php
Add dialplan hostname and change some of the indentation.
2016-12-23 01:00:02 -07:00
FusionPBX 4993104fbd Update gateway_edit.php
Move the hostname for the gateway behind the advanced button.
2016-12-23 00:29:57 -07:00
FusionPBX a29138fdc2 Update app_config.php
Show the follow me ignore busy by default.
2016-12-22 23:59:28 -07:00
FusionPBX 56666844ff Update xml_cdr_inc.php 2016-12-22 21:36:46 -07:00
FusionPBX 6463d5facf Update xml_cdr.php 2016-12-22 21:19:35 -07:00
FusionPBX 4ca5ad50c7 Update xml_cdr.php 2016-12-22 21:14:22 -07:00
FusionPBX 335084e9d8 Update v_xml_cdr_import.php 2016-12-22 21:10:22 -07:00
FusionPBX d57c9dcafd Update v_xml_cdr_import.php 2016-12-22 20:50:09 -07:00
FusionPBX 89b5bce71a Update xml_cdr.php
Hide the the paging controls in Call Detail Records if there are are not enough records to page.
2016-12-22 19:02:16 -07:00
FusionPBX c2ce12d7b4 Update xml_cdr_search.php 2016-12-22 18:41:19 -07:00
FusionPBX 0bc667d3b0 Update xml_cdr_inc.php 2016-12-22 17:54:10 -07:00
FusionPBX 148ed74f8f Update xml_cdr.php 2016-12-22 17:37:47 -07:00
FusionPBX f22287d22d Update xml_cdr.php 2016-12-22 17:03:05 -07:00
FusionPBX a3e28f5094 Update xml_cdr_inc.php 2016-12-22 16:59:34 -07:00
FusionPBX 52ba8cf2e3 Update 2016-12-22 14:38:12 -07:00
FusionPBX 3f2c9a7e08 Update check_password.lua 2016-12-22 14:34:38 -07:00
FusionPBX ad94dfe7f3 Update xml_cdr_inc.php 2016-12-21 17:02:10 -07:00
FusionPBX 39bd024238 Update xml_cdr.php 2016-12-21 16:58:21 -07:00
FusionPBX 4f10b455c9 Update xml_cdr_search.php 2016-12-21 16:25:22 -07:00
FusionPBX b667a78d4a Update v_xml_cdr_import.php 2016-12-21 14:14:45 -07:00
FusionPBX 6f8dc1093b Update xml_cdr.php 2016-12-21 14:02:56 -07:00
FusionPBX 0ea401b336 Update {$mac}.xml
Add {$cisco_router_mode}
2016-12-20 15:01:44 -07:00
jebsolutions 5e14ba33ea Fix multiple notify warnings (#2254)
test:
- enable all errors
- go to log view page

expected result:
- no warnings/notify/errors

actual result:
Notice: Undefined index: ln in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 48
Notice: Undefined index: ord in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 51
Notice: Undefined index: fs in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 54
Notice: Undefined index: a in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 57
Notice: Undefined index: filter in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 81
Notice: Undefined variable: byte_count in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 221
Notice: Use of undefined constant color - assumed 'color' in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 246
Notice: Use of undefined constant font - assumed 'font' in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 246
Notice: Undefined variable: line_num in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 270
2016-12-20 13:26:42 -07:00
Len fb857088db Update SIP{$mac}.cnf
Set telnet to "0" for off by default.
2016-12-20 13:55:15 -05:00
Len 325abfd2c4 Update SIP{$mac}.cnf
Set telnet to "0" for off by default.
2016-12-20 13:49:40 -05:00
Alexey Melnichuk 5523e6f630 Fix. Use CID from extension for call forward if set call_forward_fix. (#2260)
This is same behavior as in Web UI.
2016-12-20 09:07:58 -07:00
Len 02b4cbcfe9 Update SIP{$mac}.cnf
add option for different telnet password and turn auto complete off by default
2016-12-19 22:32:42 -05:00
Len c35a7cc885 Update {$mac}.xml 2016-12-19 22:24:17 -05:00
Len 1bb46b81d6 Update {$mac}.xml 2016-12-19 22:22:30 -05:00
Len 5fb75607f9 Update {$mac}.xml 2016-12-19 22:20:56 -05:00
Len 826f954c21 Update {$mac}.xml 2016-12-19 22:18:41 -05:00
Len d0fe1f5afc Update {$mac}.xml 2016-12-19 22:16:41 -05:00
Len 80694cf5ac Update {$mac}.xml 2016-12-19 22:14:23 -05:00
Len 4e5b27bbab Update {$mac}.xml 2016-12-19 22:12:01 -05:00
Len 3ee40c927b Update {$mac}.xml 2016-12-19 22:10:09 -05:00
Len e5b08af213 Update {$mac}.xml 2016-12-19 16:08:25 -05:00
Len 669cc5f116 Update {$mac}.xml 2016-12-19 16:06:53 -05:00
Len 511b207ae8 Update {$mac}.xml 2016-12-19 15:54:06 -05:00
Len 8195d3e570 Update {$mac}.xml 2016-12-19 15:50:32 -05:00
FusionPBX 700163eec3 Update {$mac}.xml 2016-12-19 12:42:28 -07:00
FusionPBX fd8f8850f0 Update {$mac}.xml 2016-12-19 12:39:21 -07:00
FusionPBX 24d8aa82a4 Update {$mac}.xml 2016-12-19 12:35:14 -07:00
FusionPBX ebed1df09b Update {$mac}.xml 2016-12-19 12:33:27 -07:00
FusionPBX 6429226ada Update {$mac}.xml 2016-12-19 12:26:53 -07:00
FusionPBX 66d717f08c Update {$mac}.xml 2016-12-19 11:16:31 -07:00
FusionPBX 655f4d29df Update {$mac}.xml 2016-12-19 11:14:52 -07:00
FusionPBX 211754ff6e Update schema.php 2016-12-18 16:48:24 -07:00
FusionPBX d7550183c9 Update upgrade_schema.php 2016-12-18 16:43:35 -07:00
FusionPBX 587cdefd0a Update fax_send.php
Fax conversion failed until adding the /tmp as the home directory in this way.
2016-12-17 12:47:38 -07:00
FusionPBX 4ae4d63524 Update ivr.conf.lua
Fix the memcache expire on the ivr menu.
2016-12-14 08:45:56 -07:00
FusionPBX 22262635ea Update scripts.php
Add expire.default and expire.ivr.
2016-12-14 08:41:35 -07:00
FusionPBX 745c6164c1 Update login.php 2016-12-13 08:56:02 -07:00
FusionPBX 949e265080 Update dialplans.php 2016-12-13 08:49:33 -07:00
FusionPBX 314aad67e5 Update footer.php 2016-12-13 08:47:22 -07:00
FusionPBX 991aef3312 Update vars.xml 2016-12-13 08:32:35 -07:00
FusionPBX ea066922ba Update vars.xml 2016-12-12 16:41:25 -07:00
FusionPBX 1113e6e21a Update check_auth.php 2016-12-11 23:37:59 -07:00
FusionPBX ae7deb8fcb Update template.php 2016-12-11 23:08:40 -07:00
FusionPBX 661f480a29 Update template.php 2016-12-11 23:05:15 -07:00
FusionPBX 54cdeb550f Update index.php 2016-12-11 23:00:53 -07:00
FusionPBX 60a1603628 Update php.php 2016-12-11 22:59:48 -07:00
FusionPBX 2f1a916c7a Update install.php 2016-12-11 22:59:04 -07:00
FusionPBX 038a0dd626 Update fileoptionslist.php 2016-12-11 22:57:51 -07:00
FusionPBX fbbe6da1c1 Update img.php 2016-12-11 22:56:15 -07:00
FusionPBX 9dc644171d Update login.php 2016-12-11 22:54:39 -07:00
FusionPBX 4e061bafff Update filelist.php 2016-12-11 22:53:19 -07:00
FusionPBX 9e6d779faa Update check_auth.php 2016-12-11 22:47:51 -07:00
FusionPBX fa276ef4b4 Update check_auth.php 2016-12-11 22:19:02 -07:00
FusionPBX f49ac8d931 Update login.php 2016-12-11 22:09:27 -07:00
Alexey Melnichuk 4648f97c17 Fix. Find in database not empty phone number for speed dial. (#2242)
Also do not store `context` in memcache
2016-12-09 00:49:51 -07:00
Alexey Melnichuk bb073930bc Fix. logs sql only if debug flag set. (#2243) 2016-12-09 00:42:20 -07:00
FusionPBX 0107479329 Update 070_speed_dial.xml
Removing the other conditions because of the prefix.
2016-12-08 12:26:17 -07:00
FusionPBX e97d8f50f3 Update 070_speed_dial.xml
Adjust the condition order
2016-12-08 12:15:42 -07:00
FusionPBX 9eb6ea6472 Update index.lua
Change destination_number to destination, and use argv to get the destination.
2016-12-08 11:48:07 -07:00
FusionPBX 2af4c64fff Update 070_speed_dial.xml 2016-12-08 11:06:54 -07:00
Alexey Melnichuk bd9dc60090 Rewrite speed_dial Lua script. (#2239) 2016-12-08 10:23:38 -07:00
FusionPBX e789bf67d7 Update 070_speed_dial.xml 2016-12-08 03:18:09 -07:00
FusionPBX fb300f3db5 Create 070_speed_dial.xml
Add a new speed dial dialplan.
2016-12-08 03:13:11 -07:00
FusionPBX 1385749364 Update app_config.php 2016-12-08 03:05:41 -07:00
FusionPBX d86ea6b0de Create index.lua 2016-12-08 03:03:58 -07:00
FusionPBX 91d966f4ce Update dialplan_edit.php
Use is_array before every use of foreach.
2016-12-08 02:13:40 -07:00
FusionPBX 7ffc680283 Update dialplan_edit.php
Check if details is an array before using ksort.
2016-12-08 02:07:28 -07:00
Alexey Melnichuk c0c6883fbc Fix. Group intercept with not empty group name (#2232) 2016-12-07 23:47:37 -07:00
Alexey Melnichuk 4748250f43 Fix. Remove unused code. (#2233) 2016-12-07 23:46:47 -07:00
FusionPBX f02b9be24c Update app_languages.php
Add english speed dial label and description.
2016-12-07 23:38:21 -07:00
FusionPBX 5b0b527e6d Update contact_phone_edit.php
Add speed dial.
2016-12-07 23:27:31 -07:00
FusionPBX fbf49cbcc0 Update app_config.php
Add contact phone speed dial.
2016-12-07 23:04:12 -07:00
FusionPBX d785523688 Update contact_phone_edit.php 2016-12-07 22:26:13 -07:00
Len bf73067a22 Update {$mac}.cfg
Added account.x.shared_line 2-6
2016-12-07 22:42:58 -05:00
Len 500d8868c5 Update {$mac}.cfg
Added account.x.shared_line 2-6
2016-12-07 22:39:06 -05:00
Len de6168d5d7 Update {$mac}.cfg
Added account.x.shared_line 2-6
2016-12-07 22:33:59 -05:00
Len c6b90a4253 Update {$mac}.cfg
Added account.x.shared_line 2-6
2016-12-07 22:29:54 -05:00
Len 8c480315de Update {$mac}.cfg
Added account.x.shared_line 2-6
2016-12-07 22:22:35 -05:00
Len b86f72491c Update {$mac}.cfg
Added account.x.shared_line 2-6
2016-12-07 22:17:28 -05:00
Len e1b4a7fb5a Update {$mac}.cfg
Added account.x.shared_line 2-6
2016-12-07 22:13:10 -05:00
Len 4761f44031 Update {$mac}.cfg
Added account.x.shared_line 2-6
2016-12-07 22:08:58 -05:00
Len 6d4460deb5 Update {$mac}.cfg
Added account.x.shared_line 2-6
2016-12-07 22:04:11 -05:00
Len c77ed8cccd Update {$mac}.cfg
Added account.x.shared_line 2-6
2016-12-07 21:55:56 -05:00
Len f314c7212b Update README.md 2016-12-06 16:33:26 -05:00
FusionPBX c0c7a8cd4d Delete provision_write.php 2016-12-06 11:30:48 -07:00
FusionPBX ed6c649736 Update device_profile_edit.php 2016-12-06 11:25:37 -07:00
FusionPBX b87fa3646b Update device_edit.php 2016-12-06 11:25:08 -07:00
FusionPBX f17e96ade5 Update device_dashboard.php 2016-12-06 11:24:07 -07:00
FusionPBX da2550ebba Update device_profile_delete.php 2016-12-06 11:22:52 -07:00
FusionPBX e12caa6528 Update device_profile_delete.php 2016-12-06 11:21:13 -07:00
FusionPBX d2835f6a73 Update device_delete.php 2016-12-06 11:19:10 -07:00
FusionPBX 3eec500abb Update extension_edit.php
Fix an extension edit permission problem.
2016-12-06 10:29:44 -07:00
Alexey Melnichuk b112220534 Remove unused database connection. (#2235) 2016-12-06 09:52:51 -07:00
Alexey Melnichuk 3e1151cf31 Fix. Set correct values for voicemail_to_sms_* settings (#2229)
`true` and `false` string literals evaluates to `true` boolean value.
2016-12-05 16:02:32 -07:00
FusionPBX d7b6fbd706 Update voicemail.php 2016-12-03 13:32:55 -07:00
FusionPBX decc256aca Update voicemail_delete.php 2016-12-03 13:23:32 -07:00
FusionPBX 69cde30f8b Update voicemail.php
Validate the input to increase security in the voicemail class.
2016-12-03 12:02:14 -07:00
FusionPBX 266cbaa28d Update voicemail_messages.php 2016-12-03 11:49:51 -07:00
FusionPBX 1efc9e24e7 Update fax_send.php
Adjust the spacing for better consistency matching the rest of the code.
2016-12-02 21:35:40 -07:00
FusionPBX 2d580d4f6b Update fax_to_email.php
Remove the hard coded fax_enable_t38=true,fax_enable_t38_request=true in favor of default settings -> fax -> variables.
2016-12-02 21:16:07 -07:00
Alexey Melnichuk 9b6e1e8df3 Fix. group_call pass params to query (#2227) 2016-12-02 17:29:42 -07:00
FusionPBX fb7ff49c27 Update extension_edit.php 2016-12-02 17:25:51 -07:00
FusionPBX 9d429c0c12 Create json_cdr.conf.xml 2016-12-02 12:21:30 -07:00
Alexey Melnichuk 611a70099d Fix. Sync building $provision array in all places. (#2226) 2016-12-02 12:11:47 -07:00
Alexey Melnichuk b55e8f3974 Fix. Set correct dial-string in fax_to_email (#2223) 2016-12-02 02:08:43 -07:00
FusionPBX 087be8e5d8 Update {$mac}.xml 2016-12-02 02:02:07 -07:00
FusionPBX 258f0f759f Update fax.php 2016-12-02 01:16:38 -07:00
FusionPBX b6281a84c4 Update fax_retry.lua 2016-12-02 00:52:10 -07:00
FusionPBX 9c53d77fb9 Update fax_to_email.php
Add the common_dial_string to the dial_string.
2016-12-02 00:27:00 -07:00
FusionPBX 96708bdeea Update fax_retry.lua
Prevent a nill error for email_address.
2016-12-01 23:57:17 -07:00
FusionPBX c029516f07 Update fax_retry.lua 2016-12-01 23:47:32 -07:00
jebsolutions c5a47e0287 fix: voicemail message delete bug #2100 (#2221)
bug: voicemail_id was never set so wrong path constructed and glob finds no matching files.

test case:
delete a voicemail message from the web interface

expected result:
voicemail is deleted in the database + file system

actual results:
voicemail is still on the file system
2016-12-01 11:53:12 -07:00
Alexey Melnichuk 2946866316 Fix. Use Ivr Menu/application settings to switch IVR engine. (#2219) 2016-12-01 11:51:55 -07:00
Len dc86380af8 Update {$mac}.cfg
Add shared_line_2 , shared_line_3 variable , shared_line_4, shared_line_5, shared_line_6  variable.
2016-12-01 10:29:34 -05:00
Len 72b39b562b Update {$mac}.cfg
Add shared_line_2 , shared_line_3 variable , shared_line_4, shared_line_5, shared_line_6  variable.
2016-12-01 10:06:04 -05:00
Len d1bf6f3499 Update {$mac}.cfg
Add shared_line_2 , shared_line_3 variable , shared_line_4, shared_line_5, shared_line_6  variable.
2016-12-01 10:00:17 -05:00
Len ac8b30954b Update {$mac}.cfg
Add shared_line_2 , shared_line_3 variable , shared_line_4, shared_line_5, shared_line_6  variable.
2016-12-01 09:53:38 -05:00
Len 56cd566fdc Update {$mac}.cfg
Add shared_line_2 , shared_line_3 variable , shared_line_4, shared_line_5, shared_line_6  variable.
2016-12-01 09:40:43 -05:00
Len 8f9882a5b2 Update {$mac}.cfg
Add shared_line_2 , shared_line_3 variable , shared_line_4, shared_line_5, shared_line_6  variable.
2016-12-01 09:24:15 -05:00
Len 47bd0ee7f4 Update {$mac}.cfg 2016-12-01 09:15:24 -05:00
Len 364113009a Update {$mac}.cfg
Add shared_line_2 , shared_line_3 variable , shared_line_4, shared_line_5, shared_line_6  variable.
2016-12-01 09:11:27 -05:00
FusionPBX 49390a0bc2 Update sql_query_result.php
Prevent php warnings.
2016-12-01 05:40:51 -07:00
FusionPBX f12df1e6b2 Update y000000000054.cfg
Show the name and number after the call is answered on the Yealink T40p.
2016-12-01 02:11:59 -07:00
FusionPBX e11a182604 Update y000000000036.cfg
Show the name and number after the call is answered on the Yealink T41p.
2016-12-01 02:10:51 -07:00
FusionPBX 46d97b7b74 Update y000000000029.cfg
Show the name and number after the call is answered on the Yealink T42g.
2016-12-01 02:09:23 -07:00
FusionPBX 06b5a3f50d Update y000000000051.cfg
Show the name and number after the call is answered on the Yealink T49g
2016-12-01 02:07:50 -07:00
FusionPBX 9bfe644566 Update y000000000035.cfg
Show the name and number after the call is answered on the Yealink T48g
2016-12-01 02:06:23 -07:00
FusionPBX 53d819a35a Update y000000000028.cfg
Show the name and number after the call is answered on the Yealink T46g
2016-12-01 02:05:09 -07:00
Len 1da06635c7 Update y000000000000.cfg
Inform the server that the DND is activated on the phone.
2016-11-30 23:27:25 -05:00
Len 8bc6924a68 Update {$mac}.cfg
Re-enable DND programmable keys and add shared_line_1 variable.
2016-11-30 23:24:21 -05:00
Len f25691bbb1 Update {$mac}.cfg
Re-enable DND programmable keys and add shared_line_1 variable.
2016-11-30 23:19:25 -05:00
Len 7e3ab14948 Update y000000000044.cfg
Re-enable DND programmable key
2016-11-30 23:15:44 -05:00
Len 4db78f0352 Update {$mac}.cfg
Re-enable DND programmable keys and add shared_line_1 variable.
2016-11-30 23:13:47 -05:00
Len 3368d35a8f Update {$mac}.cfg
Add shared_line_1 variable.
2016-11-30 23:08:09 -05:00
Len 8f52d0279d Update {$mac}.cfg
Add shared_line_1 variable.
2016-11-30 23:03:39 -05:00
Len 67b67e6ee3 Update {$mac}.cfg
Add shared_line_1 variable.
2016-11-30 22:55:06 -05:00
jebsolutions 94f7d06aef add iNum Dial pattern to dialplan drop-down (#2201)
+011-883-5100-xxxx-xxxx

Most voip providers will give you a free iNum number.  Calls between iNum numbers are typically free.
2016-11-30 20:54:24 -07:00
Len f503f6223c Update {$mac}.cfg
Add shared_line_1 variable.
2016-11-30 22:50:37 -05:00
FusionPBX f14f2fe57d Update provision.php
Prevent a warning on the provisioning class.
2016-11-30 20:50:17 -07:00
jessetn db1dfd13b9 Change LocalSipPort s300 (#2215) 2016-11-30 20:49:12 -07:00
jessetn 4be074152d Change LocalSipPort s700 (#2216) 2016-11-30 20:48:56 -07:00
jessetn aff98ed3ea Change LocalSipPort s500 (#2214) 2016-11-30 20:48:44 -07:00
Len 94d6e6fb34 Update y000000000023.cfg
Re-enable DND programmable key
2016-11-30 22:45:57 -05:00
Len 6ada5d3f59 Update {$mac}.cfg
Re-enable DND programmable keys and add shared_line_1 variable.
2016-11-30 22:42:54 -05:00
Len e7e65e809e Update {$mac}.cfg
Re-enable DND programmable keys and add shared_line_1 variable.
2016-11-30 22:35:56 -05:00
Len 43596715f4 Update y000000000045.cfg
Re-enable DND programmable key
2016-11-30 22:32:45 -05:00
Len 73b76b4ada Update {$mac}.cfg
Re-enable DND programmable keys and add shared_line_1 variable.
2016-11-30 22:30:07 -05:00
Len 58f4cc36be Update y000000000044.cfg
Re-enable DND programmable key
2016-11-30 22:26:58 -05:00
Len 4a59eb9ab8 Update {$mac}.cfg
Re-enable DND programmable keys and add shared_line_1 variable.
2016-11-30 22:23:52 -05:00
Len 29b93baaec Update y000000000054.cfg
Re-enable DND programmable key
2016-11-30 22:20:01 -05:00
Len 0c6f3030bd Update {$mac}.cfg
Re-enable DND programmable keys and add shared_line_1 variable.
2016-11-30 22:15:29 -05:00
Len 70f7b3cebb Update y000000000036.cfg
Re-enable DND programmable key
2016-11-30 22:11:48 -05:00
Len b428251155 Update {$mac}.cfg
Re-enable DND programmable keys and add shared_line_1 variable.
2016-11-30 22:08:47 -05:00
Len a13fc6050c Update y000000000029.cfg
Re-enable DND programmable key
2016-11-30 22:03:39 -05:00
Len ae7477e90d Update {$mac}.cfg
Re-enable DND programmable keys and add shared_line_1 variable.
2016-11-30 22:00:47 -05:00
Len 794a791308 Update y000000000035.cfg
Re-enable DND programmable key
2016-11-30 21:55:23 -05:00
Len 93aca6465d Update {$mac}.cfg
Re-enable DND programmable keys and add shared_line_1 variable.
2016-11-30 21:48:08 -05:00
Len 79899c95f3 Update y000000000051.cfg
add option for dnd feature codes
2016-11-30 21:41:42 -05:00
FusionPBX 56acf07945 Update {$mac}.cfg
Re-enable DND programmable keys and add shared_line_1 variable.
2016-11-30 19:28:27 -07:00
FusionPBX ff0c855017 Update y000000000028.cfg
Add DND feature codes to the Yealink T46G.
2016-11-30 19:26:17 -07:00
Chris Black 1431a8a3fb Voicemail to sms notification (#2205)
Requires that you have fusionpbx-apps/sms

Doesn’t impact anything if you don’t have it. Must be enabled with
default_setting voicemail_to_sms

Everything is disabled by default and the fields in voicemail_edit.php
are hidden by default.
2016-11-30 16:26:39 -07:00
jessetn 848a8f9b8e Update Sangoma s700 {$mac}.xml (#2212)
Add function key descriptions, DND code, remote phone book, enabled rport on all accounts, and other standard default settings. HTTP(s) auth not currently working. Will need to add these new variables to default settings:
category: provision
subcategory: sangoma_transport
type: text
value: 0-2
Enabled: true
Description; Options: 0=udp, 1=tcp, 2=tls

category: provision
subcategory: sangoma_dns_mode
type: text
value: 0-2
Enabled: true
Description: Option: 0=A Record, 1=SRV, 2=NAPTR/SRV

Optional
category: provision
subcategory: sangoma_wallpaper
type: text
value: Insert image URL
enabled: true
2016-11-30 16:24:16 -07:00
jessetn 85af47f767 Update Sangoma s300 {$mac}.xml (#2213)
Add function key descriptions, DND code, remote phone book, enabled rport on all accounts, and other standard default settings. HTTP(s) auth not currently working. Will need to add these new variables to default settings:
category: provision
subcategory: sangoma_transport
type: text
value: 0-2
Enabled: true
Description; Options: 0=udp, 1=tcp, 2=tls

category: provision
subcategory: sangoma_dns_mode
type: text
value: 0-2
Enabled: true
Description: Option: 0=A Record, 1=SRV, 2=NAPTR/SRV
2016-11-30 16:23:35 -07:00
jessetn db39f08653 Update Sangoma s500 {$mac}.xml (#2211)
* Update {$mac}.xml

Add function key descriptions, DND code, remote phone book, enabled rport on all accounts, and other standard default settings.  HTTP(s) auth not currently working.  Will need to add these new variables to default settings:
category:  provision
subcategory:  sangoma_transport
type:  text
value:  0-2
Enabled:  true
Description;  Options: 0=udp, 1=tcp, 2=tls

category:  provision
subcategory:  sangoma_dns_mode
type:  text
value:  0-2
Enabled:  true
Description:  Option: 0=A Record, 1=SRV, 2=NAPTR/SRV

* change sangoma_s500_wallpaper to sangoma_wallpaper
2016-11-30 16:22:43 -07:00
Len 0861ce7250 Update fax_to_email.php
update old variable $t38 to $fax_variables
2016-11-30 01:38:00 -05:00
FusionPBX 7ea7490e0e Update extension_copy.php
Change the duplicate message from green to red.
2016-11-29 12:08:11 -07:00
FusionPBX 1f89e76f99 Update extension_copy.php 2016-11-29 11:56:05 -07:00
FusionPBX 6e5b6f5264 Update extension.php 2016-11-29 11:51:33 -07:00
FusionPBX 08c994ebe6 Update extension.php
Improve the extension->exists method.
2016-11-29 11:38:00 -07:00
FusionPBX 537083bd56 Update extension.php
Update the function exists method.
2016-11-29 11:04:00 -07:00
FusionPBX d6465b5c05 Update forward_add_intro.lua
Add missing ) which was breaking the syntax.
2016-11-28 08:43:47 -07:00
FusionPBX 373eb5ffc5 Update install_fusionpbx.php
Move to core default settings app defaults.
2016-11-27 17:05:37 -07:00
FusionPBX 2e1e575056 Update app_defaults.php 2016-11-27 16:54:56 -07:00
FusionPBX de3f56fc20 Update database.php
An improvement to make the database class more robust.
2016-11-27 00:16:18 -07:00
FusionPBX 8c138e3ae4 Update dialplan.php 2016-11-26 23:14:43 -07:00
FusionPBX 3f835ae957 Update call_center_active_inc.php 2016-11-26 21:44:20 -07:00
FusionPBX bf60efb15c Update database_transaction_edit.php 2016-11-26 21:37:43 -07:00
FusionPBX 96720a7825 Update provision.php
Add if is_array statements before using the array to prevent warnings if the array isn't defined.
2016-11-26 18:42:22 -07:00
FusionPBX cc06a78543 Update index.php 2016-11-26 18:35:10 -07:00
FusionPBX 2cf25c9448 Update {$mac}.xml 2016-11-26 18:33:00 -07:00
FusionPBX 37982ac4f8 Create {$mac}.xml 2016-11-26 18:32:32 -07:00
FusionPBX 6336926871 Update {$mac}.xml 2016-11-26 18:32:06 -07:00
FusionPBX 13df63993c Create {$mac}.xml
Add Sangoma s500 {$mac}.xml file.
2016-11-26 17:55:03 -07:00
FusionPBX d3e5faeebd Create {$mac}.xml
Add Sangoma s300 {$mac}.xml file.
2016-11-26 17:53:42 -07:00
FusionPBX 8aa385210f Create {$mac}.xml
Add Sangoma s700 {$mac}.xml file.
2016-11-26 17:51:35 -07:00
jebsolutions 8c350b56ba fix typo (#2199) 2016-11-26 16:09:28 -07:00
jebsolutions a54a247345 show git branch + commit. +link to preview git changes (#2186)
* show git branch + commit.  +link to preview git changes

new feature
- bottom of upgrade screen shows git branch + commit you are on
- provides a link to github showing changes since then on your current branch

More eyes reviewing the code is always a plus.  The github link helps make it easier.

* Update index.php

Add translations and pretty it up a little.
2016-11-26 00:21:31 -07:00
FusionPBX f38092a217 Update app_languages.php 2016-11-25 23:41:52 -07:00
Alexey Melnichuk 2aebf9e8b8 Fix. Build correct SQL in vm/menu_messages.lua (close #2189) (#2195) 2016-11-25 23:03:19 -07:00
Alexey Melnichuk 4856044e80 Fix. Close database object in vm/forward_to_extension.lua (#2196) 2016-11-25 23:01:43 -07:00
Alexey Melnichuk 1056b84ed3 Fix. Store message_intro_base64 in database. (#2197) 2016-11-25 23:01:18 -07:00
FusionPBX 90d9fbff02 Update gateways.php
Reverse the changes to the Gateways list to fix multiple bugs introduced to it from a pull request.
2016-11-25 20:37:44 -07:00
FusionPBX 352877108d Update app_defaults.php
Add the temp directory to default settings.
2016-11-25 14:28:35 -07:00
jebsolutions edd220198e fix for issue #2190 missing } (#2191) 2016-11-25 10:03:07 -07:00
jebsolutions 23326d6918 additional error handling for backup/restore (#2187)
prerequisite:
- add at least one backup path to the Advanced->defaults
- do NOT install rar archive/de-archive programs

test case #1
- go to backup screen and download backups as rar

test case #2
- go to backup screen and upload a RAR file

expected result:
- get a sign that an error occurs

actual result:
- not clear if it failed, or why

fix:
added error message.  And you will get the top-bar warning in red on error instead of in green.

note: cut-pasted from google translate for "extraction failed" part of message-restore_failed_extract
2016-11-24 20:53:03 -07:00
FusionPBX 67c8e5f567 Update voicemails.php
Uppercase the SQL, cast voicemail id as text, and add sterilize user data.
2016-11-24 13:01:32 -07:00
FusionPBX 467214b2cd Update extension_edit.php
Prevent a SQL error when adding a new user.
2016-11-24 12:21:55 -07:00
FusionPBX 41614372d0 Update extension.php
Remove the extra exists method added a few hours ago.
2016-11-24 11:03:13 -07:00
Alexey Melnichuk 72cd24d0d5 Fix. Add missing braces in gateways.php (#2179) 2016-11-24 10:09:14 -07:00
Alexey Melnichuk 80a1e5b710 Add. ${user_exists} value to check condition when build CF dialstring (#2183) 2016-11-24 10:07:55 -07:00
Alexey Melnichuk d892521404 Fix some minor typos related with new Database class. (#2174) 2016-11-24 10:04:42 -07:00
Alexey Melnichuk b8fc499360 Add. Use params in provision/index.lua (#2173) 2016-11-24 10:01:06 -07:00
Alexey Melnichuk c26bc296ec Add. call_flow_monitor.lua uses Database class. (#2172) 2016-11-24 09:57:18 -07:00
Alexey Melnichuk b1cd199f3f Add. Use params in disa.*.lua (#2171) 2016-11-24 09:56:09 -07:00
FusionPBX a53ed3540e Update extension_edit.php
Use check_str on extension edit when building the sql queries. In the future will switch to PHP PDO prepared statements with parameters. This change fixes a problem where the check_str is used twice and duplicating the single quote.
2016-11-24 03:21:35 -07:00
Alexey Melnichuk 5fe0308ef2 Fix. Find call_group with NULL in intercept.lua (#2169) 2016-11-24 03:04:52 -07:00
FusionPBX 014d883002 Update {$mac}.cfg 2016-11-24 01:44:55 -07:00
FusionPBX 98c9cb2507 Update {$mac}.cfg 2016-11-24 01:43:00 -07:00
Len 9d2d06d6e6 Update {$mac}.cfg 2016-11-24 02:52:43 -05:00
Len e06c753509 Update {$mac}.cfg 2016-11-24 02:51:31 -05:00
Len 69f048a9af Update {$mac}.cfg 2016-11-24 02:46:28 -05:00
Alexey Melnichuk 9d764b7d5c Fix. Add missing file for #1629 (#2077) 2016-11-24 00:41:43 -07:00
Len 0e6c09ff6a Update {$mac}.cfg 2016-11-24 02:40:27 -05:00
Len bc6b49a342 Update {$mac}.cfg 2016-11-24 02:38:52 -05:00
Len dabd0cb55f Update {$mac}.cfg 2016-11-24 02:36:20 -05:00
Len 19dd6007e6 Update {$mac}.cfg 2016-11-24 02:34:50 -05:00
Mafoo 7962e60206 observe gateway_domain permision more strictly (#1673)
make observation of the gateway_domain permission more strict when
generating edit and delete links
generate edit_link and delete_link once
2016-11-24 00:28:38 -07:00
Len 881f73a1db Update {$mac}.cfg 2016-11-24 02:25:54 -05:00
jebsolutions 03f95d865b prevent cloning duplicate extensions (master #1821) (#2033)
* prevent cloning duplicate extensions

app/extensions/app_languages.php
+ add duplicate extension error prompt

app/extensions/extension_copy.php
+ add check to see if duplicate extension exists

app/extensions/resources/classes/extension.php
+ add function to check if extension exists

* fix typo

* Update app_languages.php

* Update extension_copy.php

* Update extension.php

* Update extension_copy.php

Use the global app_languages.php message-duplicate translation.

* Update extension_copy.php

* Update extension.php
2016-11-24 00:23:44 -07:00
Len 004fdb4b4b Update {$mac}.cfg 2016-11-24 02:20:44 -05:00
Len f392b184bc Update {$mac}.cfg 2016-11-24 02:17:03 -05:00
FusionPBX a1c2fa83aa Update app_languages.php
Add message-duplicate
2016-11-24 00:10:17 -07:00
Len eb986fd52b Update {$mac}.cfg 2016-11-24 02:07:52 -05:00
Len 429a0f6695 Update {$mac}.cfg
update for networking
2016-11-24 02:01:30 -05:00
Len b340e99493 Update {$mac}.cfg
update to address Problem #1976; https://github.com/fusionpbx/fusionpbx/issues/1976
2016-11-24 01:40:46 -05:00
FusionPBX 3bb3d1b273 Update y000000000052.cfg 2016-11-23 23:28:59 -07:00
FusionPBX 264e9e8e0c Update y000000000044.cfg 2016-11-23 23:26:50 -07:00
Chris Black d084fe3fcc Couple firmware URL fixes (#2106)
* Couple firmware URL fixes

* Add handset OTA upgrade to W52p

* Remove profanity from returned results.
2016-11-23 23:21:35 -07:00
konradSC 19fa07c29a Registration search (#2151)
* Update status_registrations.php

* Update status_registrations_inc.php

* Update status_registrations_inc.php

* Update status_registrations_inc.php

* Update status_registrations_inc.php
2016-11-23 23:20:51 -07:00
Alexey Melnichuk a7c972ba2d Fix. Create dbh object in fax_retry.lua (#2168) 2016-11-23 23:14:58 -07:00
FusionPBX 4ff9f0c756 Update provision.php
Allow provision variables of type boolean and numeric.
2016-11-23 22:42:46 -07:00
FusionPBX eae984032a Create recording_play.php
Add the missing recording play file.
2016-11-23 22:08:33 -07:00
FusionPBX be19ad6bfb Update xml_cdr_details.php
Fix the recording links in the xml cdr details.
2016-11-23 22:01:37 -07:00
FusionPBX a26ebeba8c Update {$mac}.cfg
Prevent ghost calls for polycom.
2016-11-23 15:48:38 -07:00
FusionPBX 324e44ed51 Update {$mac}.cfg
Prevent ghost calls for polycom.
2016-11-23 15:46:02 -07:00
FusionPBX f8d40ccc6d Update database.php
Update the database class delete method.
2016-11-23 13:39:20 -07:00
konradSC a7b76b7a84 Device profile settings (#2165)
* Update app_config.php

* Update device_profile_edit.php

* Update device_setting_delete.php

* Update provision.php
2016-11-23 12:28:59 -07:00
FusionPBX 2c7715dcfd Update xml_cdr.php 2016-11-23 05:24:33 -07:00
Alexey Melnichuk 5c504b226f Add. Use params in ring_groups/destination.lua (#2163) 2016-11-23 03:50:22 -07:00
Alexey Melnichuk 95176f517e Fix. Fetch correct arrays from settings. (#2162)
* Fix. Fetch correct arrays from settings.
Add. Use params in `settings.lua`

* Fix. array from domain settings overwrite entire array from default settings instead of appends it.
2016-11-23 03:50:00 -07:00
Alexey Melnichuk 2fc804f61a Add. Use params in call_block/index.lua (#2161) 2016-11-23 02:18:36 -07:00
Alexey Melnichuk c0f0d81d01 Fix. Use correct database class in hangup_rx.lua (#2155) 2016-11-23 02:02:06 -07:00
Alexey Melnichuk d55eab9139 Add. Use params in vm/change_password.lua (#2156) 2016-11-23 02:01:50 -07:00
Alexey Melnichuk d65ee95d9c Add. Use params in directory.lua (#2157) 2016-11-23 02:01:29 -07:00
Alexey Melnichuk 7f8173f4ad Add. Use params in group_call.lua (#2158) 2016-11-23 02:00:44 -07:00
Alexey Melnichuk ba019995f1 Fix. Pass params to query call in destination_caller_id.lua (#2159) 2016-11-23 02:00:17 -07:00
Alexey Melnichuk 0520be077d Fix. Pass params in query call in do_not_disturb.lua (#2160) 2016-11-23 01:59:58 -07:00
FusionPBX cb987f24b9 Update index.lua
Get the sip_from_user and sip_number_alias from the session.
2016-11-23 01:20:00 -07:00
Alexey Melnichuk 571e42508f Fix. Use local err variable in apply_param (#2152) 2016-11-22 16:48:54 -07:00
Alexey Melnichuk a7341d97c4 Add. Use params in vm/record_menu.lua (#2130) 2016-11-22 11:22:41 -07:00
Alexey Melnichuk 4131d90862 Add. Use params in vm/message_waiting.lua (#2132) 2016-11-22 11:19:38 -07:00
Alexey Melnichuk c15ecf4a06 Add. Use params in vm/message_saved.lua (#2133) 2016-11-22 11:19:04 -07:00
Alexey Melnichuk f86f1d5b53 Add. Use params in vm/message_count.lua (#2134)
* Add. Use params in vm/message_count.lua

* Update message_count.lua

Change spelling prams to params.
2016-11-22 11:18:38 -07:00
Alexey Melnichuk b51e8acff3 Add. Use params in vm/menu_messages.lua (#2135) 2016-11-22 11:15:40 -07:00
Alexey Melnichuk 78e7fd3b9b Add. Use params in vm/main_menu.lua (#2136) 2016-11-22 11:14:28 -07:00
Alexey Melnichuk 1d34a31b33 Add. Use params in vm/listen_to_recording.lua (#2137) 2016-11-22 11:14:04 -07:00
Alexey Melnichuk 75df3999a9 Add. Use params in vm/forward_to_extension.lua (#2138) 2016-11-22 11:13:40 -07:00
Alexey Melnichuk 498ed9a3a8 Add. Use params in vm/delete_recording.lua (#2139) 2016-11-22 11:13:19 -07:00
Alexey Melnichuk 7758e7d810 Add. Use params in vm/choose_greeting.lua (#2140) 2016-11-22 11:13:03 -07:00
Alexey Melnichuk 0fbea311dc Add. Use params in vm/check_password.lua (#2141) 2016-11-22 11:12:50 -07:00
Alexey Melnichuk fb92e448d0 Add. Use params in vm/mwi_subscribe.lua (#2143) 2016-11-22 11:12:37 -07:00
Alexey Melnichuk d627f76eb4 Add. Use params in vm/play_greeting.lua (#2131) 2016-11-22 11:12:10 -07:00
Alexey Melnichuk bef6fc484e Add. Use params in vm/record_message.lua (#2129) 2016-11-22 11:11:55 -07:00
Alexey Melnichuk 55262a806c Add. Use params in vm/record_name.lua (#2128) 2016-11-22 11:11:36 -07:00
Alexey Melnichuk 0cb9948947 Add. Use params in send_mail.lua (#2120) 2016-11-22 11:11:05 -07:00
Alexey Melnichuk 749d6cbe34 Add. Use params in send_mail.lua (#2142) 2016-11-22 11:10:18 -07:00
Alexey Melnichuk a7bd0b0864 Add. Use params in call_flow.lua (#2145) 2016-11-22 11:09:48 -07:00
Alexey Melnichuk 4b26e8d237 Add. Use params in ring_groups/index.lua (#2146) 2016-11-22 11:09:25 -07:00
Alexey Melnichuk 043c01579a Add. Use params in fax/queue/retry.lua (#2148) 2016-11-22 11:09:03 -07:00
Alexey Melnichuk 7cf5b67d92 Add. Use params in voicemail/index.lua (#2147) 2016-11-22 11:08:26 -07:00
Alexey Melnichuk 1bcf3a5779 Add. Use params in hangup_rx.lua (#2149) 2016-11-22 11:07:45 -07:00
Alexey Melnichuk aeac98c90f Add. Use parameters in conference_center/index.lua (#2150) 2016-11-22 10:41:25 -07:00
Alexey Melnichuk 6c460641a4 Add. Use params in vm/send_email.lua (#2127) 2016-11-22 09:54:58 -07:00
Alexey Melnichuk ae17af5fa5 Add. Use params in fax_retry.lua (#2114) 2016-11-21 22:07:02 -07:00
Alexey Melnichuk 904d52407a Add. Use params in do_not_disturb.lua (#2115) 2016-11-21 22:05:58 -07:00
Alexey Melnichuk 45c3202d97 Add. Use params in follow_me.lua (#2117) 2016-11-21 22:04:44 -07:00
Alexey Melnichuk 86f25f5f34 Add. Use params in destination_caller_id.lua (#2123) 2016-11-21 22:03:46 -07:00
jebsolutions 076a02b41c [master] fix bug #2017 ring groups broken until re-save (#2108)
test case:
Create a new ring group with one extension.
Immediately dial the ring group number.

expected result:
Phone rings.  No errors in log.

actual result:
Call terminates and log has "0" as ring_group_uuid and a sql error.
Note: editing and re-saving the ring group works around the problem

The Problem:
Line 162: non-existent variable...being checked is returned as false  = 0

Line 278: Xml gets generated with bogus zero...

Line 298: Generate a new uuid...but too late.  We already generated the xml dial plan which will be invalid until we edit and resave this ring group.

fix:
Generate uuid before generating xml
2016-11-21 21:53:56 -07:00
Alexey Melnichuk 14f82769b3 Add. Use params in intercept.lua (#2113) 2016-11-21 21:51:11 -07:00
Alexey Melnichuk fd2a383394 Add. Use params in is_local/index.lua (#2122)
* Add. Use params in is_local/index.lua

* Fix. syntax error in params table.
2016-11-21 14:04:21 -07:00
jebsolutions 1da4785b41 fix orphan v_ring_group_users after deleting ring group (#2110)
* fix orphan v_ring_group_users after deleting ring group

steps to test:
create a ring group with one extension and one user.  This will add one user to v_ring_group_users.  Delete the ring group.

expected result:
ring group and all it's components are deleted

actual result
v_ring_group_user entry for this ring group is not deleted.

This fix: deletes v_ring_group_user when ring group is deleted.

* Update ring_group_delete.php

* Update ring_group_delete.php

Remove the hidden spaces
2016-11-21 13:59:12 -07:00
Alexey Melnichuk 7a51e1e2be Add. Use params in pin_number.lua (#2112) 2016-11-21 13:54:19 -07:00
Alexey Melnichuk be35f689c3 xml handler use sql params (#2109)
* Add. Use parameters in all xml_handler configuration files.

* Add. Use dialplan, domains and languages params

* Fix. load correct database module

* Fix. Pass params in dialplan query

* Fix. Load correct database class.
2016-11-21 13:53:47 -07:00
Alexey Melnichuk 6671490e92 Add. Use params in ivr_menu.lua (#2116) 2016-11-21 13:52:06 -07:00
Alexey Melnichuk 79952998ba Add. Use params in lazy_settings.lua (#2118) 2016-11-21 13:51:39 -07:00
Alexey Melnichuk affa42b192 Add. Use params in route_to_bridge.lua (#2119) 2016-11-21 13:51:21 -07:00
Alexey Melnichuk c142d58bcb Add. Use params in recordings.lua (#2121) 2016-11-21 13:50:38 -07:00
Alexey Melnichuk bb9e02267d Add. Use params in eavesdrop.lua (#2124) 2016-11-21 13:48:38 -07:00
Alexey Melnichuk 3aa3b4316d Add. Use params in agent_status/index.lua (#2125) 2016-11-21 13:48:05 -07:00
FusionPBX c7bb22ec8e Update app_defaults.php 2016-11-20 16:49:29 -07:00
FusionPBX af55379d19 Update dialplan.php 2016-11-20 14:01:59 -07:00
jebsolutions aa18cc0792 [master] include stderr in git pull results and check for error (#2105)
* [master] include stderr in git pull results and check for error

Old result (seems correct but actually failed):
Updating d190f6a..d958bea

Corrected result (includes failure message):
Updating d190f6a..d958bea
error: Your local changes to the following files would be overwritten by merge:
app/fax/fax_log_view.php
Please, commit your changes or stash them before you can merge.

* tab fixes
2016-11-20 13:54:57 -07:00
FusionPBX d958bea7b2 Update database.php
Enhance database->delete() method.
2016-11-19 14:10:06 -07:00
FusionPBX 03210fe78f Update database.php 2016-11-19 11:57:36 -07:00
FusionPBX 3027bdf9df Update database.php
Changes for database -> delete() keeping for the moment for backwards compatibility.
2016-11-19 11:49:38 -07:00
FusionPBX 36c649f2a9 Update directory.lua 2016-11-18 10:40:07 -07:00
Alexey Melnichuk c36cbe2771 Add. user parameters to build query for mod_directory. (#2091) 2016-11-18 10:37:16 -07:00
FusionPBX 5e4a9eec11 Update directory.lua 2016-11-18 10:35:07 -07:00
FusionPBX 4f6b63703a Update group_call.lua 2016-11-18 10:24:07 -07:00
Alexey Melnichuk 3440b8a15a Add. Use parameters in group_call.lua (#2093) 2016-11-18 10:22:33 -07:00
Alexey Melnichuk 1dc5a22f9a Add. Use parameters in reverse-auth-lookup.lua (#2094) 2016-11-18 10:21:53 -07:00
Alexey Melnichuk 20569d5838 Add. Use parameters for acl.lua (#2095) 2016-11-18 10:21:00 -07:00
FusionPBX b666e1a7a8 Update index.lua 2016-11-18 10:20:21 -07:00
FusionPBX 368040eb5c Update cidlookup.lua 2016-11-18 10:17:54 -07:00
Alexey Melnichuk 212536d35d Add. Use parameters in cidlookup.lua and call_block app (#2096) 2016-11-18 10:16:22 -07:00
FusionPBX 923f5eee67 Update directory.lua 2016-11-18 09:58:53 -07:00
Alexey Melnichuk 77810d66d0 Add. Use parameters in call_forward.lua (#2098) 2016-11-18 09:47:11 -07:00
Alexey Melnichuk 164888016d Add. Use parameters in dial_string.lua (#2099) 2016-11-18 09:43:19 -07:00
Alexey Melnichuk c59c0a4c59 Add. Increment number-alias and MWI account number when generates multiple extensions. (#2078) 2016-11-17 11:46:25 -07:00
Alexey Melnichuk 84cb98f442 Xml handler directory sql escape (#2088)
* Add. Extend database API to support parameters.

* Change. Use new Database API in `xml_handler::directory.lua`
2016-11-17 11:42:42 -07:00
Alexey Melnichuk 090f9b0d7b Add. Extend database API to support parameters. (#2086) 2016-11-17 11:41:16 -07:00
Alexey Melnichuk c30eb90839 Add. Support number_alias field as presence id in follow me/call forward (#2075) 2016-11-17 11:40:22 -07:00
FusionPBX 7514d91709 Update {$mac}.cfg 2016-11-14 23:21:30 -07:00
FusionPBX 8c4b703213 Update ivr.conf.lua
Use ${default_language}/${default_dialect}/${default_voice} instead as it will work better when the IVR Menu is cached.
2016-11-14 12:08:48 -07:00
FusionPBX 8920bddc5b Update ivr.conf.lua
Fix multi-lingual support for IVR Menu direct dial your call is being transferred and invalid entry.
2016-11-14 11:45:50 -07:00
Len 4a6b29449b Update {$mac}.cfg (#2064)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 22:30:33 -07:00
Len 1fe55d44f0 Update {$mac}.cfg (#2065)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 22:30:28 -07:00
Len 4a362b9259 Update {$mac}.cfg (#2066)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 22:30:22 -07:00
Len 7c26771c9c Update {$mac}.cfg (#2067)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 22:30:17 -07:00
Len 2967d2e62a Update {$mac}.cfg (#2068)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 22:30:09 -07:00
Len 129017865b Update {$mac}.cfg (#2069)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 22:30:01 -07:00
Len c6461f49f8 Update {$mac}.cfg (#2070)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 22:29:56 -07:00
Len 638431ba80 Update {$mac}.cfg (#2071)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 22:29:47 -07:00
Len 82a7fae28a Update {$mac}.cfg (#2072)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 22:29:15 -07:00
Len 74d99b41e0 Update {$mac}.cfg (#2063)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 21:08:04 -07:00
Len 9f71b26bf0 Update {$mac}.cfg (#2062)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 21:02:28 -07:00
Chris Black f1e1e1fe0f Add sip_trust_ctl to w52 provisioning (#2032) 2016-11-12 20:56:33 -07:00
Len 6a99829ea7 Update {$mac}.cfg (#2054)
add  {$yealink_retransmission}  {$yealink_session_timer} and change {$yealink_rport_1}  to {$yealink_rport}
2016-11-12 20:54:45 -07:00
Len 6428fdb300 Update {$mac}.cfg (#2055)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 20:54:04 -07:00
Len abe7aa4a35 Update {$mac}.cfg (#2056)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 20:52:25 -07:00
Len 0a36a27e6f Update {$mac}.cfg (#2058)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 20:51:52 -07:00
Len 95460b74c3 Update {$mac}.cfg (#2059)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 20:51:26 -07:00
Len a50f1e18a3 Update {$mac}.cfg (#2057)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 20:50:51 -07:00
Len b053ea6b51 Update {$mac}.cfg (#2061)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 20:49:58 -07:00
Len 0d3800bacd Update {$mac}.cfg (#2060)
add {$yealink_retransmission} {$yealink_session_timer} and change {$yealink_rport_1} to {$yealink_rport}
2016-11-12 20:49:05 -07:00
FusionPBX 536b7d0ed8 Update app_defaults.php 2016-11-12 20:48:16 -07:00
FusionPBX d87f92608d Update call_flow_edit.php
Escape the + with the back slash when used in the dialplan.
2016-11-11 13:55:11 -07:00
FusionPBX 8445a2bffb Update fax_send.php
Get fax variables from default settings and use them for sending.
2016-11-11 13:19:52 -07:00
FusionPBX 38aae2a9be Update app_defaults.php
Ignore ringing to improve fax success rate.
2016-11-11 13:05:51 -07:00
SJS87 56305f25e9 Update index.lua for E-164 Caller ID (#2047)
When saving Caller ID numbers which are in E-164 format these may include a '/' prefix used to escape '+'. This causes the '/' to be saved with the number which prevents the call from being returned.

The above fixes the issue by removing '/' prefix from the start of the Caller ID number before saving the voicemail message.
2016-11-11 10:48:21 -06:00
FusionPBX 7f58a05e0c Create 505_call-forward-all.xml 2016-11-10 15:16:58 -07:00
Chris Black 76dc9e9acd Update sip.trust_ctrl for yealink firmware version 80 (#2043)
In version 80 of the yealink firmware the trust_ctl changed from
account.X.sip_trust_ctrl=1  to sip.trust_ctrl=1. Making this change in
the provisioning files.
2016-11-09 15:57:26 -06:00
FusionPBX 6c8b6557b9 Update css.php 2016-11-06 01:44:32 -07:00
FusionPBX 7d113bf8eb Update index.lua
Improve security for voicemail_authorized = true;
2016-11-06 01:01:55 -06:00
FusionPBX aa1001be8e Update cidlookup.lua
Updated the code indentation and add cidlookup_exists to check if the module is running.
2016-11-06 00:15:59 -06:00
FusionPBX 7180672fd1 Update index.lua 2016-11-05 23:36:26 -06:00
FusionPBX 81e92ed003 Update extension.php
Add exists method to the extension class.
2016-11-05 22:32:20 -06:00
FusionPBX eaa80449f7 Update groups.php
Fix the link that was broke when directory name was changed.
2016-11-04 23:15:12 -06:00
Chris Black b07e91c279 Changes to API per issue 2036 (#2038)
https://github.com/fusionpbx/fusionpbx/issues/2036
2016-11-04 11:18:02 -06:00
jebsolutions 27694ba988 app/fax/app_defaults.php: (#2031)
+ fix: duplicate check only within same default_setting_category.  This fixes the bug where "keep_local" for fax wasn't being created because there was a "keep_local" for voicemail.  Without this fix you will get a lua error due to the field not being set and nothing shows up in the sent faxes log.

fax/fax_log_view.php:
+ fix: back button text is missing.  Copied correct localized text code from another fax page that worked.

app/fax/app_config.php
+ fix: date field is now timestamp for postgres+mysql.  This fixes the listing only showing the date, not the time as well.

Note: app->defaults doesn't change field types.  Existing installs will have to manually update the field type e.g. for postgres:

sudo -sHu postgres
\d fusionpbx
alter table v_fax_logs alter column fax_date type timestamp without time zone;
\q
2016-11-03 16:24:40 -06:00
Chris Black 7c4a726766 add built in ability for microsoft bing speech to text (#1960)
* add built in ability for microsoft bing speech to text

* move json.lua to lower case and more error checking in record_message

* Replaced Creative Commons json.lua with lunajson.lua which is MIT license

https://github.com/grafi-tt/lunajson/blob/master/LICENSE
2016-11-03 16:11:21 -06:00
FusionPBX 76edd90efd Update database.php
Add database -> select method.
2016-11-02 12:31:59 -06:00
FusionPBX cb96213e3d Update ldap.php
If the LDAP password is not provided then set authorized to false.
2016-11-02 00:16:30 -06:00
FusionPBX f65beacebc Update extension_edit.php
Fix the link thanks KonradSC for reporting the problem.
2016-11-01 21:54:37 -06:00
FusionPBX 86fc5c9f51 Update follow_me.php 2016-11-01 13:45:51 -06:00
FusionPBX 305651724b Update call_forward.php 2016-11-01 13:37:43 -06:00
markjcrane 4d76a50e9c Remove extra tabs, and special characters. 2016-11-01 12:20:57 -06:00
FusionPBX 37ce76b9ef Update y000000000005.cfg 2016-11-01 11:16:01 -06:00
jalr 8a3e0503cf Add German indications (#2005) 2016-11-01 11:02:21 -06:00
FusionPBX cfc539ceed Update install_switch.php
Switch directory will not always exist if the FreeSWITCH is installed on a separate machine than FusionPBX.
2016-10-31 23:46:13 -06:00
FusionPBX 5de28928e6 Update fax_to_email.php 2016-10-31 14:39:04 -06:00
jebsolutions 130147990e Fax email fix for master branch (#2023)
* allow bypass of certificate validation

* Update app_defaults.php

change to match

* Update app_defaults.php
2016-10-31 14:19:41 -06:00
FusionPBX 78b1f978f0 Update ldap.php 2016-10-31 11:01:52 -06:00
FusionPBX fa50cd855c Update fax_to_email.php 2016-10-31 07:37:32 -06:00
FusionPBX 0f3a214bc1 Update message_waiting.lua 2016-10-30 12:15:25 -06:00
FusionPBX 9039a32923 Update conference_control_details.php 2016-10-29 00:21:05 -06:00
FusionPBX 0aa3b09053 Update conference_control_edit.php 2016-10-29 00:15:29 -06:00
FusionPBX afc4289e81 Update conference_controls.php 2016-10-29 00:11:56 -06:00
FusionPBX 166e81e9f5 Update call_flow_edit.php
Escape the * with \* if it is used in the extension or feature code.
2016-10-28 15:25:38 -06:00
FusionPBX 04dcdce88d Update call_center_queue_edit.php 2016-10-27 13:19:48 -06:00
FusionPBX 2ff221703c Update call_center_agent_delete.php 2016-10-27 13:17:09 -06:00
FusionPBX 91ca9bae66 Update call_center_queue_delete.php 2016-10-27 13:15:55 -06:00
FusionPBX 534ab537c8 Update vars.xml
Change ssl_dir from ssl to tls.
2016-10-27 12:42:56 -06:00
FusionPBX 29021963fa Update xml_cdr.php 2016-10-25 18:06:34 -06:00
FusionPBX 549332b457 Update xml_cdr.php 2016-10-25 18:02:26 -06:00
FusionPBX bb961276c3 Update ivr.conf.lua
Move direct dial after the options.
2016-10-25 10:04:29 -06:00
FusionPBX 91c9548e35 Update {$mac}.xml 2016-10-24 15:09:40 -06:00
FusionPBX cfd59cbcb6 Update dialplan_inbound_add.php
Use the database save class when adding an inbound route.
2016-10-23 22:00:04 -06:00
FusionPBX 8ad0847d2a Update app_config.php 2016-10-23 13:20:55 -06:00
FusionPBX fef88f0873 Update app_defaults.php
Add number_as_presence_id in default settings provision category.
2016-10-23 13:13:34 -06:00
FusionPBX 6e44bb2be8 Update scripts.php 2016-10-23 13:00:31 -06:00
FusionPBX 4ecf0f95b0 Update directory.lua
Re-add force_ping to directory.lua.
2016-10-23 12:55:39 -06:00
FusionPBX b807c7e15f Update directory.lua
moteus changes to directory.lua in pull request 1129.
2016-10-23 12:46:35 -06:00
FusionPBX 10f1c42509 Update device_profile_copy.php 2016-10-23 10:58:51 -06:00
FusionPBX 2a5246fe41 Update ivr_menu_copy.php 2016-10-23 10:44:35 -06:00
FusionPBX cb2e0df06c Update fax.php 2016-10-23 00:20:29 -06:00
FusionPBX 12f2214194 Update call_center.php 2016-10-23 00:18:31 -06:00
FusionPBX 1c173fc5be Update device_profile_copy.php 2016-10-23 00:12:58 -06:00
FusionPBX 338c7c4e81 Update ivr_menu_copy.php 2016-10-22 23:51:12 -06:00
FusionPBX aa0aaae623 Update device_copy.php 2016-10-22 23:44:45 -06:00
FusionPBX 32d43790b5 Update app_defaults.php 2016-10-22 23:34:26 -06:00
FusionPBX ad2cb40775 Update device_edit.php 2016-10-22 23:30:11 -06:00
FusionPBX 04db82b5e4 Update time_condition_edit.php 2016-10-22 23:24:28 -06:00
FusionPBX 5b061a5563 Update device_profile_edit.php 2016-10-22 23:19:25 -06:00
FusionPBX ea9d308eea Update destination_delete.php 2016-10-22 23:14:28 -06:00
FusionPBX 19e914c422 Update dialplan_xml.php 2016-10-22 23:07:14 -06:00
FusionPBX 4f19f185a6 Update ivr_menu.php 2016-10-22 23:03:16 -06:00
FusionPBX 30890dfb21 Update dialplan_copy.php 2016-10-22 23:00:23 -06:00
FusionPBX 2b161dd02d Update dialplan_edit.php 2016-10-22 22:58:36 -06:00
FusionPBX 4a496302df Update call_center_agent_edit.php 2016-10-22 22:57:03 -06:00
FusionPBX 4ce86cbd37 Update app_defaults.php 2016-10-22 22:53:41 -06:00
FusionPBX 6a5d99bb8d Update app_defaults.php 2016-10-22 22:44:01 -06:00
FusionPBX 7facf8e50f Update app_defaults.php 2016-10-22 22:36:16 -06:00
FusionPBX 05ddfce8ef Update app_defaults.php 2016-10-22 22:12:32 -06:00
FusionPBX f2ec5cc6e7 Update app_defaults.php 2016-10-22 21:26:39 -06:00
FusionPBX cec74695d1 Update app_defaults.php 2016-10-22 21:21:17 -06:00
FusionPBX 5ca5ac72a3 Update app_defaults.php 2016-10-22 21:13:51 -06:00
FusionPBX a96d62c0bb Update app_defaults.php 2016-10-22 21:12:48 -06:00
FusionPBX 420696b65f Update app_defaults.php 2016-10-22 18:51:45 -06:00
FusionPBX acc355f28d Update app_defaults.php 2016-10-22 18:50:56 -06:00
FusionPBX 10c3fbe600 Update app_defaults.php 2016-10-22 17:20:24 -06:00
FusionPBX e173006be4 Update app_defaults.php 2016-10-22 16:37:56 -06:00
FusionPBX 2b164abf44 Update dialplan_outbound_add.php 2016-10-21 13:28:13 -06:00
FusionPBX 0e45593e33 Update gateway_edit.php 2016-10-21 10:24:44 -06:00
FusionPBX df4e744103 Update destination_edit.php 2016-10-21 10:24:01 -06:00
FusionPBX f8b3f1039d Update call_flow_edit.php 2016-10-21 10:21:56 -06:00
FusionPBX 3ac89b952a Update call_center_queue_edit.php 2016-10-21 10:21:14 -06:00
FusionPBX fbf53a942e Update ivr_menu_edit.php 2016-10-21 10:20:44 -06:00
FusionPBX 005d4c01e9 Update extension_edit.php 2016-10-21 10:19:45 -06:00
FusionPBX 253ea5cc40 Update conference_center_edit.php 2016-10-21 10:17:03 -06:00
FusionPBX fa55b67bb0 Update database.php 2016-10-20 15:03:52 -06:00
FusionPBX 063eb71b5f Update device_edit.php 2016-10-20 09:39:48 -06:00
FusionPBX c7d41aa825 Update dialplan_edit.php 2016-10-20 09:38:08 -06:00
FusionPBX 636555f516 Update dialplan_outbound_add.php 2016-10-19 13:37:56 -06:00
FusionPBX 4af1aa2f7c Update call_flow_edit.php 2016-10-18 09:37:26 -06:00
FusionPBX fb46ba0acd Update conference_center_edit.php 2016-10-18 09:36:18 -06:00
FusionPBX 5a02f16fc3 Update gateway_edit.php 2016-10-18 09:35:13 -06:00
FusionPBX 2509690d34 Update destination_edit.php 2016-10-18 09:33:35 -06:00
FusionPBX ff88f2af86 Update call_center_agent_edit.php 2016-10-18 09:31:37 -06:00
FusionPBX 24332e0632 Update call_center_queue_edit.php 2016-10-18 09:30:26 -06:00
FusionPBX d0ed299083 Update call_edit.php 2016-10-18 09:28:23 -06:00
FusionPBX 012d0c24df Update user_edit.php 2016-10-18 09:23:42 -06:00
FusionPBX 9ace1a3a39 Update dialplan_edit.php 2016-10-18 09:21:48 -06:00
FusionPBX d84675e9ba Update device_edit.php 2016-10-18 09:19:20 -06:00
FusionPBX 3b52f718bc Update extension_edit.php 2016-10-18 09:16:33 -06:00
FusionPBX efa2cd50b4 Update ivr_menu_edit.php 2016-10-18 09:07:04 -06:00
FusionPBX e62ffa2d15 Update extension.php 2016-10-18 00:18:32 -06:00
FusionPBX 5c6c89f6e1 Update index.lua 2016-10-17 17:58:06 -06:00
FusionPBX bb3d5cf903 Update conference_room_delete.php 2016-10-17 17:52:23 -06:00
FusionPBX 0a7a08c723 Update conference_center_edit.php 2016-10-17 17:51:17 -06:00
FusionPBX 59b9039441 Update conference_room_delete.php 2016-10-17 15:12:16 -06:00
FusionPBX 714cd3290b Update conference_room_delete.php
Improve the code indentation and comments
2016-10-17 14:12:25 -06:00
FusionPBX 28e052c353 Update database.php
Migrate methods from the orm class to the database class. Will be deprecating the orm class.
2016-10-16 10:45:04 -06:00
FusionPBX 0667087d28 Update ring_group_edit.php 2016-10-16 10:43:00 -06:00
FusionPBX 4bb2669555 Update ivr.conf.lua
Fix IVR Menu greet short.
2016-10-16 01:07:17 -06:00
Luis Daniel Lucio Quiroz 8f7cea5784 Add the capability to have extension and DID with same number (#1998)
* Add the capability to have extension and DID with same number

Same rationale than 4.0

* Update dialplan_outbound_add.php
2016-10-14 14:07:40 -07:00
FusionPBX 54ea97a9d0 Update app_defaults.php
Change the cert directory from ssl to tls to match what FreeSWITCH is using by default.
2016-10-14 09:18:42 -06:00
FusionPBX 34518765e2 Update conference_edit.php 2016-10-14 08:32:15 -06:00
FusionPBX 4dcc349d2a Update time_condition_edit.php 2016-10-14 08:21:45 -06:00
FusionPBX 745bc6479e Update dialplan_outbound_add.php 2016-10-14 08:13:40 -06:00
FusionPBX dffae21cec Update dialplan_inbound_add.php 2016-10-14 08:11:52 -06:00
FusionPBX e4e6166a56 Update dialplan_inbound_add.php 2016-10-14 08:09:05 -06:00
FusionPBX 70f939d713 Update extension_edit.php
Add accountcode to extensions.
2016-10-14 07:42:01 -06:00
FusionPBX e48552680c Update switch.sql
Add json_store table.
2016-10-13 15:48:09 -06:00
FusionPBX 1e20574f0a Create conference_layouts.conf.xml 2016-10-13 15:31:13 -06:00
FusionPBX 126b658344 Update dialplan_copy.php
Fix the dialplan copy on the master branch.
2016-10-13 08:54:29 -06:00
FusionPBX f377913bd4 Update call_center_queue_edit.php 2016-10-10 11:40:38 -06:00
FusionPBX 4d4c9f85ea Update device_profile_edit.php 2016-10-10 10:41:57 -06:00
FusionPBX d1a7cda449 Update extension_edit.php
Update permissions for extension edit.
2016-10-09 10:32:49 -06:00
FusionPBX ad0ab54d28 Update fax_edit.php
Remove the unofficial billing from fax edit.
2016-10-08 22:16:54 -06:00
FusionPBX 8fe60ba751 Update fax.php
Update the FAX dialplan to use the updated orm class.
2016-10-08 22:13:46 -06:00
FusionPBX cc6806b625 Update macro.lua 2016-10-08 09:52:21 -06:00
FusionPBX d462a244a5 Update 490_do-not-disturb.xml
Add *77 DND toggle.
2016-10-07 14:57:42 -06:00
FusionPBX a14b7fa83a Update do_not_disturb.lua
Add do not disturb toggle.
2016-10-07 14:54:02 -06:00
FusionPBX b09e17e892 Update template.php 2016-10-06 18:18:52 -06:00
FusionPBX e1c770e2db Update conference_center_edit.php 2016-10-05 18:44:38 -06:00
FusionPBX 08dc79d260 Update conference_edit.php 2016-10-05 18:42:46 -06:00
FusionPBX 2dc1eddcb5 Update call_flow_edit.php 2016-10-05 18:40:47 -06:00
FusionPBX 1b8cbe603b Update ring_group_edit.php 2016-10-05 18:38:07 -06:00
FusionPBX ed3c1111ea Update extension_edit.php 2016-10-05 18:24:53 -06:00
reliberate d20a495548 Users: Revamp and consolidate code, integrate ORM. 2016-10-05 10:29:30 -06:00
FusionPBX d98bac68a6 Update orm.php
Escape single quotes in the data.
2016-10-05 09:55:02 -06:00
FusionPBX 5cc746fd54 Update extension_delete.php 2016-10-05 09:34:57 -06:00
FusionPBX 02203b36b3 Update database_transaction_edit.php 2016-10-05 09:34:02 -06:00
FusionPBX 3b5a003741 Update call_center_queue_edit.php 2016-10-05 07:28:18 -06:00
FusionPBX 16eb07cfef Update call_center_queue_delete.php 2016-10-05 07:25:25 -06:00
FusionPBX cc873c7c13 Update app_config.php 2016-10-05 06:03:28 -06:00
FusionPBX 48d2c45d89 Update call_center_agent_edit.php 2016-10-05 03:44:55 -06:00
reliberate ed50859364 Call Control: Minor form layout mods, add Default Setting to control Follow Me Destination count and default Timeout value, integrate ORM. 2016-10-05 01:19:05 -06:00
FusionPBX 69bb29592c Update extension_edit.php 2016-10-04 23:55:02 -06:00
FusionPBX f89cf2f46e Update app_languages.php 2016-10-04 21:50:24 -06:00
FusionPBX c7d9231788 Update orm.php
The change from fetch to fetchAll created the need for this change.
2016-10-04 03:49:32 -06:00
FusionPBX 976a5e6113 Update call_flow_edit.php 2016-10-04 03:28:31 -06:00
FusionPBX a51b84a139 Update call_flows.php 2016-10-04 02:38:36 -06:00
FusionPBX 3063a29db9 Update app_languages.php 2016-10-04 02:19:48 -06:00
FusionPBX 844f7d8994 Update ivr_menu_edit.php
Fix the recent change to IVR Menu dialplan to fix the IVR Menu exit app.
2016-10-03 22:15:46 -06:00
FusionPBX 1733a646ec Update ldap.php 2016-10-03 21:38:05 -06:00
FusionPBX 07482f52d5 Update database.php 2016-10-03 21:37:27 -06:00
FusionPBX a1fb76f4be Update authentication.php
Update the session username if authorized is true.
2016-10-03 21:35:34 -06:00
FusionPBX bcb7881255 Update orm.php
Change the function fetch to fetchAll. Fetch returns a 2 dimensional array and fetchAll returns a 3 dimensional array. which changes the array structure so it works better with count.
2016-10-03 21:33:20 -06:00
FusionPBX 5bd3d3310d Update conference_center_edit.php 2016-10-03 20:15:28 -06:00
FusionPBX 7d8b2a5f66 Update conference_centers.php 2016-10-03 20:08:48 -06:00
Chris Black a49edd8f24 add account 3 to the w52p config (#1964) 2016-10-03 14:28:44 -06:00
FusionPBX 5b2b70530e Update app_languages.php 2016-10-03 01:05:25 -06:00
FusionPBX 598430148c Update conference_centers.php 2016-10-02 20:47:40 -06:00
FusionPBX fd12f82a1e Update app_languages.php 2016-10-02 20:33:54 -06:00
FusionPBX b373d39518 Update device_edit.php 2016-10-02 19:12:14 -06:00
FusionPBX 8c400aed9c Update ivr_menu_copy.php 2016-10-02 16:31:44 -06:00
FusionPBX 4f821949b2 Update ivr_menu_edit.php
Fix a problem when adding a new IVR Menu.
2016-10-02 15:33:17 -06:00
markjcrane d7c2930764 Update indentation for includes and check permissions. 2016-10-02 14:30:38 -06:00
FusionPBX e9d7bab186 Update gateway_edit.php 2016-10-02 12:54:30 -06:00
FusionPBX 570a71c4b1 Update destination_edit.php
Rewrote a large amount of the page to the new class which allows for much less code. Also remove the proprietary billing system and its contributor as their code was removed. Proper integration should not have to touch project code but be a standalone plugin. If current plugin capability is not sufficient will need to expand its capabilities.
2016-10-02 11:40:49 -06:00
FusionPBX 44867faa56 Update destination_edit.php
Update the dialplan destination to update the dialplan xml and adjust the array that is saved.
2016-10-02 10:26:28 -06:00
FusionPBX c3dfbe0884 Update device_edit.php 2016-10-02 01:13:25 -06:00
FusionPBX 3fa4f93a37 Update ivr_menu_edit.php 2016-10-02 01:05:40 -06:00
FusionPBX 741980b065 Update ring_group_edit.php 2016-10-02 01:03:45 -06:00
FusionPBX fc417c5fec Update dialplan_edit.php
Fix the dialplan detail array.
2016-10-01 22:00:04 -06:00
FusionPBX d020eeecec Update orm.php 2016-10-01 21:55:02 -06:00
FusionPBX f82c071017 Update database_transactions.php
Additional work on the transaction search.
2016-10-01 20:06:42 -06:00
FusionPBX bdf98c4561 Update app_config.php 2016-10-01 19:44:29 -06:00
FusionPBX 7dde703cc8 Update database_transactions.php
Work on the search tool.
2016-10-01 19:40:20 -06:00
FusionPBX 0c63d4dddd Update ivr_menus.php
Try again
2016-10-01 19:22:51 -06:00
FusionPBX 2d26f7a81b Update ivr_menus.php
Completely rewrote ivr_menus.php and added a new search tool like other pages.
2016-10-01 19:21:03 -06:00
FusionPBX b99acd76ff Update ivr_menu_edit.php 2016-10-01 19:17:07 -06:00
FusionPBX b7f620d12d Update ivr_menu_edit.php
This file has been completely rewritten includes the new search tool as used in other files.
2016-10-01 19:02:44 -06:00
FusionPBX df7d935dcf Update permissions.php 2016-10-01 12:07:47 -06:00
markjcrane 9b8bf76b1e Add the database transactions feature. 2016-09-30 20:25:33 -06:00
FusionPBX 8db7cba83e Update orm.php 2016-09-30 19:54:40 -06:00
Chris Black 26a0a702aa fix fax multiple files. (#1963)
Added some changes from ICR regarding the text/plain emails, added a
uuid to the file name when getting saved to the FS in the event that
multiple emails come in with the same exact file name and also reset
the tif_files in fax_send as it was just adding to the end of the array
and creating bad tiffcp commands.
2016-09-30 15:47:22 -06:00
FusionPBX bbc2f4f97d Update xml_cdr_inc.php 2016-09-30 01:00:55 -06:00
FusionPBX 07e2193080 Update app_config.php 2016-09-29 20:09:05 -06:00
FusionPBX b7d58c945c Update dialplan.lua
Use the new pre-generated xml for the xml handler.
2016-09-29 18:00:46 -06:00
FusionPBX 15e6adce29 Update dialplan_edit.php
Update the dialplan xml when a dialplan is updated.
2016-09-29 17:26:58 -06:00
FusionPBX 5853675c03 Update dialplan.php 2016-09-29 17:24:29 -06:00
FusionPBX c03e2e520e Update ring_group_edit.php 2016-09-29 16:31:42 -06:00
FusionPBX 6f59f766d3 Update ring_groups.php 2016-09-29 15:34:10 -06:00
FusionPBX 2cccf833c3 Update ivr_menu.php 2016-09-29 14:43:21 -06:00
FusionPBX d8d990a70a Update ivr_menu_edit.php 2016-09-29 14:41:22 -06:00
FusionPBX ad52c9ceea Update dialplan.php 2016-09-29 13:12:00 -06:00
FusionPBX 1f8e408c20 Update app_defaults.php 2016-09-29 13:10:35 -06:00
FusionPBX ccb6539805 Update dialplan.php
Add an xml method to the dialplan class.
2016-09-29 12:09:54 -06:00
FusionPBX 7a92f53711 Update functions.php
Update the master branch version to 4.3.
2016-09-29 09:05:24 -06:00
Luis Daniel Lucio Quiroz 0af9e3d794 Look further for domain_name (#1955)
Same rationale as 4.0
2016-09-28 17:56:53 -06:00
FusionPBX a23c2a957a Update orm.php 2016-09-28 16:42:42 -06:00
FusionPBX 5469535e59 Update fax_to_email.php
Fix fax to email when using method and smtp_port.
2016-09-28 13:30:46 -06:00
FusionPBX d9bec83296 Update app_languages.php
Add a button for XML.
2016-09-28 01:01:52 -06:00
FusionPBX 117eff2f7c Update dialplan_edit.php
Update the XML button and update the array.
2016-09-28 00:58:56 -06:00
FusionPBX 6bf73df771 Update app_config.php
Add the dialplan_xml field and permission.
2016-09-28 00:49:48 -06:00
FusionPBX 4f852b3ef1 Create dialplan_xml.php
Add a new file to be able to edit the new dialplan xml field.
2016-09-28 00:47:19 -06:00
Len a9153fc000 t40p yealink template (#1941)
* Create y000000000054.cfg
* Create {$mac}.cfg
* Create favorite_setting.xml

* Create directory.xml

* Update and rename y000000000036.cfg to y000000000054.cfg
2016-09-25 01:46:19 -06:00
Chris Black 35d3470bd6 one more spot to add playandgetdigits (#1942) 2016-09-25 01:43:20 -06:00
FusionPBX 01f4dfe527 Update recordings.php
When uploading a recording ensure that the domain name directory exists so the file can be uploaded to it.
2016-09-22 19:25:43 -06:00
Alexey Melnichuk ff1181e43b Fix. Do not display error message if exesute returns 0 (#1939) 2016-09-22 09:17:02 -06:00
Alexey Melnichuk 5006ef18aa Fix. Use array to support PHP 5.3. (#1938) 2016-09-22 09:15:07 -06:00
FusionPBX 3a8f14e1ea Update index.php 2016-09-20 16:51:17 -06:00
markjcrane b37a6554dc Update Yealink templates add new variables yealink_vlan_enable, yealink_emergency_number, yealink_lock_enable, yealink_lock_pin, yealink_lock_timeout, yealink_lock_key_type, yealink_backlight_time and correct the wallpaper and firmware variables for some of the phones. 2016-09-20 13:53:53 -06:00
FusionPBX 1b64726403 Update macro.lua 2016-09-20 10:56:34 -06:00
FusionPBX 4490709b23 Update macro.lua 2016-09-20 10:27:47 -06:00
FusionPBX ad93950d25 Update index.lua 2016-09-20 10:22:05 -06:00
FusionPBX 0896f8abcc Update app_languages.php 2016-09-20 10:01:40 -06:00
FusionPBX a1a2e68fdc Update voicemail_edit.php 2016-09-20 09:51:48 -06:00
FusionPBX 289cbff7ad Update app_config.php
Add voicemail_alternate_greet_id to the database.
2016-09-20 09:42:00 -06:00
hargut ceb532eb7e Fix e-mail attachment handling / conversion & allow local emails to be valid (#1921)
* Enable local email addresses to be valid. E.g required for local Fax submission.

* Fix filenames & allow spaces in filenames.

* Fix attachment file names.

* Revert "Fix filenames & allow spaces in filenames."

This reverts commit 0908f42cc7.
See commit ecf490ff79 for the proper fix.
2016-09-19 08:54:58 -06:00
Luis Daniel Lucio Quiroz 26617f7b51 Fix load balancing (#1920)
Same rationale as 4.0
2016-09-18 22:08:50 -06:00
FusionPBX d190f6a30d Update orm.php
Updated code to be more robust and handle more situations such as primary key and child key in the array but doesn't exist in the database.
2016-09-18 15:27:40 -06:00
jebsolutions 185417c45a Update macro.lua to fix reading voicemail extension number (#1929)
Expected result: The person at extension XXX is unavailable ...
Actual result: The person at is unavailable... 
i.e. it doesn't say the extension number.

bug: trying to access local variable voicemail_greet_id outside it's scope...so it doesn't exist and you get this in the logs:

2016-09-18 12:32:54.615249 [ERR] switch_cpp.cpp:977 Error! invalid args. 

Fix moves local variable creation outside the inner "if" so it's available for the later table.insert
2016-09-18 14:02:25 -06:00
AgregarDeveloper 4c0b83707b Added pt-br language support. Few typo fixes. (#1922)
* Added pt-br language support. Few typo fixes.

* Update switch.conf.xml

Update mailer-app and mailer-app-args to use the default install path.
2016-09-17 22:05:51 -06:00
FusionPBX e7ecc27901 Update macro.lua 2016-09-17 18:20:58 -06:00
FusionPBX c33853f88c Update check_auth.php 2016-09-16 18:06:51 -06:00
FusionPBX 19a15b6860 Update switch.conf.xml
Update mailer-app and mailer-app-args to use the default install path.
2016-09-15 14:10:27 -06:00
Chris Black 00fa4c7064 fix the voicemail IVR with custom greeting (#1917) 2016-09-14 15:28:04 -06:00
DigiDaz cf39ea04d9 Moved the display update to the end (#1913)
Moved the UPDATE sip request to the end as it was sending the UPDATE request sometimes before the ACK had been received to the 200OK. This was sometimes causing it to fail.

Also removed a couple of commented out lines.
2016-09-13 20:06:26 -06:00
FusionPBX 4cc8a8582b Update time_condition_edit.php
Time condition time-of-day use 1 minute increments this solves multiple problems and more flexible for minutes 0 - 59.
2016-09-13 19:17:19 -06:00
FusionPBX b0c712c0b5 Update ivr_menu.php
IVR Menu - Add temporary permissions for adding or editing the dialplan.
2016-09-12 15:50:58 -06:00
FusionPBX b78b9d91bd Update permissions.php 2016-09-12 15:42:28 -06:00
FusionPBX 913776ba67 Update permissions.php 2016-09-12 15:40:02 -06:00
Chris Black 4ac709943b add http_auth for remote phone book, fix dns issues (#1912) 2016-09-12 15:16:52 -06:00
FusionPBX 8efa92230b Update authentication.php 2016-09-11 12:51:54 -06:00
FusionPBX eab39b0192 Update database.php 2016-09-11 12:45:56 -06:00
FusionPBX d25921c8cb Update check_auth.php
Set the domain_uuid session variable.
2016-09-11 12:27:41 -06:00
FusionPBX 51177278fc Update authentication.php
Make the database the default authentication plugin if the default setting -> authentication is not set.
2016-09-11 09:51:40 -06:00
FusionPBX f486d08cff Update ldap.php 2016-09-11 09:09:54 -06:00
FusionPBX eff05debe4 Fix a spelling mistake in ldap.php. 2016-09-11 09:08:33 -06:00
1156 changed files with 271698 additions and 59502 deletions
+6 -1
View File
@@ -4,4 +4,9 @@
resources/config.php
secure/mailto.bat
secure/*.db
secure/*.sqlite
secure/*.sqlite
.DS_Store
*.php~
app/yealink/resources/firmware/*
+24 -21
View File
@@ -1,43 +1,46 @@
RewriteEngine On
RewriteEngine On
# $mac or $mac.cfg/xml
RewriteRule ^.*([A-Fa-f0-9]{12})(?:\.xml|\.cfg)?$ app/provision/index.php?mac=$1 [QSA]
RewriteRule ^.*([A-Fa-f0-9]{12})(?:\.xml|\.cfg)?$ app/provision/index.php?mac=$1 [QSA]
# $m:a:c or $m:a:c.cfg/xml
RewriteRule ^.*((?:[A-Fa-f0-9]{2}[:-]){5}[A-Fa-f0-9]{2})(?:\.xml|\.cfg)?$ app/provision/index.php?mac=$1 [QSA]
RewriteRule ^.*((?:[A-Fa-f0-9]{2}[:-]){5}[A-Fa-f0-9]{2})(?:\.xml|\.cfg)?$ app/provision/index.php?mac=$1 [QSA]
# kt*-$mac.xml
RewriteRule ^kt.*?-([A-Fa-f0-9]{12})\.xml$ app/provision/index.php?mac=$1 [QSA]
RewriteRule ^kt.*?-([A-Fa-f0-9]{12})\.xml$ app/provision/index.php?mac=$1 [QSA]
# cfg-$mac.xml
RewriteRule ^.*cfg([A-Fa-f0-9]{12})\.xml$ app/provision/index.php?mac=$1 [QSA]
RewriteRule ^.*cfg([A-Fa-f0-9]{12})\.xml$ app/provision/index.php?mac=$1 [QSA]
#Snom m3
RewriteRule ^m3/settings/([A-Fa-f0-9]{12})(?:\.cfg)?$ app/provision/index.php?mac=$1 [QSA]
RewriteRule ^m3/settings/([A-Fa-f0-9]{12})(?:\.cfg)?$ app/provision/index.php?mac=$1 [QSA]
#Grandstream
RewriteRule ^.*/cfg([A-Fa-f0-9]{12})(?:\.xml|\.cfg)?$ app/provision/?mac=$1 [QSA]
RewriteRule ^.*/cfg([A-Fa-f0-9]{12})(?:\.xml|\.cfg)?$ app/provision/?mac=$1 [QSA]
#Yealink and Polycom
RewriteRule ^.*/([A-Fa-f0-9]{12})(?:\.xml|\.cfg)?$ app/provision/index.php?mac=$1 [QSA]
RewriteRule ^.*/([A-Fa-f0-9]{12})(?:\.xml|\.cfg)?$ app/provision/index.php?mac=$1 [QSA]
#Polycom
RewriteRule ^.*/000000000000.cfg$ app/provision/?mac=$1&file={$mac}.cfg [QSA]
RewriteRule ^.*/features.cfg$ app/provision/?mac=$1&file=features.cfg [QSA]
RewriteRule ^.*/([A-Fa-f0-9]{12})-sip.cfg$ app/provision/?mac=$1&file=sip.cfg [QSA]
RewriteRule ^.*/([A-Fa-f0-9]{12})-phone.cfg$ app/provision/?mac=$1 [QSA]
RewriteRule ^.*/([A-Fa-f0-9]{12})-registration.cfg$ app/provision/?mac=$1&file={$mac}-registration.cfg [QSA]
RewriteRule ^.*/([A-Fa-f0-9]{12})-site.cfg$ app/provision/?mac=$1&file=site.cfg [QSA]
RewriteRule ^.*/([A-Fa-f0-9]{12})-web.cfg$ app/provision/?mac=$1&file=web.cfg [QSA]
RewriteRule ^.*/([A-Fa-f0-9]{12})-directory.xml$ app/provision/?mac=$1&file=directory.xml [QSA]
RewriteRule ^provision/000000000000.cfg$ app/provision/?mac=$1&file={$mac}.cfg [QSA]
RewriteRule ^provision/features.cfg$ app/provision/?mac=$1&file=features.cfg [QSA]
RewriteRule ^provision/([A-Fa-f0-9]{12})-sip.cfg$ app/provision/?mac=$1&file=sip.cfg [QSA]
RewriteRule ^provision/([A-Fa-f0-9]{12})-phone.cfg$ app/provision/?mac=$1 [QSA]
RewriteRule ^provision/([A-Fa-f0-9]{12})-registration.cfg$ app/provision/?mac=$1&file={$mac}-registration.cfg [QSA]
RewriteRule ^provision/([A-Fa-f0-9]{12})-site.cfg$ app/provision/?mac=$1&file=site.cfg [QSA]
RewriteRule ^provision/([A-Fa-f0-9]{12})-web.cfg$ app/provision/?mac=$1&file=web.cfg [QSA]
RewriteRule ^provision/([A-Fa-f0-9]{12})-directory.xml$ app/provision/?mac=$1&file=directory.xml [QSA]
#Escene
RewriteRule ^.*/provision/([0-9]{1,11})_Extern.xml$ app/provision/?ext=$1&file={$mac}_extern.xml [QSA]
RewriteRule ^.*/provision/([0-9]{1,11})_Phonebook.xml$ app/provision/?ext=$1&file={$mac}_phonebook.xml [QSA]
RewriteRule ^.*/([0-9]{1,11})_Extern.xml$ app/provision/?ext=$1&file={$mac}_extern.xml [QSA]
RewriteRule ^.*/([0-9]{1,11})_Phonebook.xml$ app/provision/?ext=$1&file={$mac}_phonebook.xml [QSA]
#Aastra
RewriteRule ^provision/aastra.cfg$ app/provision/index.php?file=aastra.cfg [QSA]
Options -Indexes
#PHP settings
php_value upload_max_filesize 25M
php_value post_max_size 35M
php_value memory_limit 512M
php_value upload_max_filesize 25M
php_value post_max_size 35M
php_value memory_limit 512M
+15 -15
View File
@@ -1,31 +1,34 @@
What is [FusionPBX](http://fusionpbx.com/)?
--------------------------------------
[FusionPBX](http://fusionpbx.com/) is a flexible, customizable administration web GUI that takes [FreeSwitch](http://freeswitch.org) and converts it into a single- or multi-tenant gateway or PBX system out of the box.
It can be run on any operating system and x86-based hardware of your choice.
It provides the functionality your business needs and brings corporate-level phone system features to small, medium, and large businesses. Read more at [FusionPBX](http://fusionpbx.com/).
[FusionPBX](http://fusionpbx.com/) can be used as a single or domain based multi-tenant PBX, carrier grade switch, call center server, fax server, VoIP server, voicemail server, conference server, voice application server, multi-tenant appliance framework and more. [FreeSWITCH™](http://freeswitch.org) is a highly scalable, multi-threaded, multi-platform communication platform.
It provides the functionality your business needs and brings carrier grade switching, and corporate-level phone system features to small, medium, and large businesses. Read more at [FusionPBX](http://fusionpbx.com/). [Please visit our youtube channel](https://www.youtube.com/FusionPBX)
In addition to providing all of the usual PBX functionality, FusionPBX allows you to configure:
- Multi-Tenant
- Unlimited Extensions
- Voicemail-to-Email
- Device Provisioning
- Music on Hold
- Call Parking
- Automatic Call Distribution
- Interactive Voice Response
- Ring Groups
- Find Me / Follow Me
- Dialplan Features that can be endlessly combined for your preferences
- [Many other Features](http://wiki.fusionpbx.com/index.php?title=Features)
- Hot desking
- High Availability and Redundancy
- Dialplan Programming that allow nearly endless possibilities
- [Many other Features](http://docs.fusionpbx.com/en/latest/features/features.html)
Free Support
--------------------------------------
We provide several avenues for you to get your system up and running on your own and learn the basics of the system.
1. [Old Documentation](http://wiki.fusionpbx.com/index.php?title=Main_Page)
2. [New Documentation](http://docs.fusionpbx.com)
1. [Youtube Channel](https://www.youtube.com/channel/UCN5j2ITmjua1MfjGR8jX9TA)
2. [Documentation](http://docs.fusionpbx.com)
3. [How to Contribute](https://github.com/Fusionpbx/opensource)
4. [IRC](http://webchat.freenode.net/) in the #fusionpbx channel
Commercial Support
--------------------------------------
@@ -39,28 +42,25 @@ These options support the project and cover any kind of help you might need from
Software Requirements
--------------------------------------
- [Debian Jessie](http://cdimage.debian.org/debian-cd/8.1.0/amd64/iso-cd/debian-8.1.0-amd64-netinst.iso) - Recommended
This is the distribution recommended by the FreeSwitch team
- Fusion will also install on Debian Wheezy, Ubuntu 10.10 LTS and is known to work on FreeBSD
- [FusionPBX Installer](http://fusionpbx.com)
- FusionPBX will run on Debian 8, FreeBSD 10 & 11, CentOS, and more.
- [FusionPBX Installer](http://fusionpbx.com/download.php)
Community
--------------------------------------
We have a pretty thriving community. You can find us here:
- [IRC](http://webchat.freenode.net/) in the #fusionpbx channel
- [Twitter](http://twitter.com/fusionpbx)
- [Website](http://fusionpbx.com)
Contributing
---------------------------------------
###Requirements
### Requirements
It's easy to contribute to FusionPBX the only thing we ask before accepting your pull request is that you sign a Contributor License Agreement.
We ask that you sign the Contributor License Agreement for the following reasons:
1. It protects FusionPBX by you gauranteeing that your contributions are yours to contribute and not the property of an employer or something found on the web.
1. It protects FusionPBX by you guaranteeing that your contributions are yours to contribute and not the property of an employer or something found on the web.
2. It protects you from using code that belongs to others that is subject unfriendly licensing.
### How to Contribute
@@ -39,13 +39,18 @@
$prep_statement->execute();
unset($sql);
// clear cache
remove_config_from_cache('configuration:acl.conf');
//clear the cache
$cache = new cache;
$cache->delete("configuration:acl.conf");
//create the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp) { event_socket_request($fp, "api reloadacl"); }
}
//redirect the user
$_SESSION['message'] = $text['message-delete'];
messages::add($text['message-delete']);
header('Location: access_controls.php');
?>
?>
+32 -9
View File
@@ -36,12 +36,13 @@
if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$msg = '';
if ($action == "update") {
$access_control_uuid = check_str($_POST["access_control_uuid"]);
}
//get the primary key
if ($action == "update") {
$access_control_uuid = check_str($_POST["access_control_uuid"]);
}
//check for all required data
$msg = '';
if (strlen($access_control_name) == 0) { $msg .= $text['message-required']." ".$text['label-access_control_name']."<br>\n"; }
if (strlen($access_control_default) == 0) { $msg .= $text['message-required']." ".$text['label-access_control_default']."<br>\n"; }
//if (strlen($access_control_description) == 0) { $msg .= $text['message-required']." ".$text['label-access_control_description']."<br>\n"; }
@@ -61,6 +62,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//add or update the database
if ($_POST["persistformvar"] != "true") {
if ($action == "add" && permission_exists('access_control_add')) {
//update the database
$sql = "insert into v_access_controls ";
$sql .= "(";
$sql .= "access_control_uuid, ";
@@ -78,14 +80,25 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$db->exec(check_sql($sql));
unset($sql);
remove_config_from_cache('configuration:acl.conf');
$_SESSION["message"] = $text['message-add'];
//clear the cache
$cache = new cache;
$cache->delete("configuration:acl.conf");
//create the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp) { event_socket_request($fp, "api reloadacl"); }
//add the message
messages::add($text['message-add']);
//redirect the user
header("Location: access_controls.php");
return;
} //if ($action == "add")
if ($action == "update" && permission_exists('access_control_edit')) {
//update the database
$sql = "update v_access_controls set ";
$sql .= "access_control_name = '$access_control_name', ";
$sql .= "access_control_default = '$access_control_default', ";
@@ -94,8 +107,18 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$db->exec(check_sql($sql));
unset($sql);
remove_config_from_cache('configuration:acl.conf');
$_SESSION["message"] = $text['message-update'];
//clear the cache
$cache = new cache;
$cache->delete("configuration:acl.conf");
//create the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp) { event_socket_request($fp, "api reloadacl"); }
//add the message
messages::add($text['message-update']);
//redirect the user
header("Location: access_controls.php");
return;
@@ -199,4 +222,4 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//include the footer
require_once "resources/footer.php";
?>
?>
@@ -1,37 +1,49 @@
<?php
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('access_control_node_delete')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('access_control_node_delete')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
$text = $language->get();
//get the id
if (count($_GET)>0) {
if (count($_GET) > 0) {
$id = check_str($_GET["id"]);
$access_control_uuid = check_str($_GET["access_control_uuid"]);
}
//delete access_control_node
if (strlen($id)>0) {
if (strlen($id) > 0) {
//update the database
$sql = "delete from v_access_control_nodes ";
$sql .= "where access_control_node_uuid = '$id' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
unset($sql);
remove_config_from_cache('configuration:acl.conf');
//clear the cache
$cache = new cache;
$cache->delete("configuration:acl.conf");
//create the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp) { event_socket_request($fp, "api reloadacl"); }
}
//redirect the user
$_SESSION['message'] = $text['message-delete'];
//redirect the browser
messages::add($text['message-delete']);
header('Location: access_control_edit.php?id='.$access_control_uuid);
?>
?>
@@ -1,14 +1,18 @@
<?php
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('access_control_node_add') || permission_exists('access_control_node_edit')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('access_control_node_add') || permission_exists('access_control_node_edit')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
@@ -38,16 +42,24 @@ else {
if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$msg = '';
if ($action == "update") {
$access_control_node_uuid = check_str($_POST["access_control_node_uuid"]);
}
//get the uuid
if ($action == "update") {
$access_control_node_uuid = check_str($_POST["access_control_node_uuid"]);
}
//check for all required data
$msg = '';
if (strlen($node_type) == 0) { $msg .= $text['message-required']." ".$text['label-node_type']."<br>\n"; }
//if (strlen($node_cidr) == 0) { $msg .= $text['message-required']." ".$text['label-node_cidr']."<br>\n"; }
//if (strlen($node_domain) == 0) { $msg .= $text['message-required']." ".$text['label-node_domain']."<br>\n"; }
//if (strlen($node_description) == 0) { $msg .= $text['message-required']." ".$text['label-node_description']."<br>\n"; }
// check IPv4 and IPv6 CIDR notation
$pattern4 = '/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$/';
$pattern6 = '/^s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:)))(%.+)?s*(\/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8]))$/';
if ($node_cidr != '' && (preg_match($pattern4, $node_cidr) == 0) && (preg_match($pattern6, $node_cidr) == 0)) { $msg .= $text['message-required']." ".$text['label-node_cidr']."<br>\n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
require_once "resources/header.php";
require_once "resources/persist_form_var.php";
@@ -64,6 +76,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//add or update the database
if ($_POST["persistformvar"] != "true") {
if ($action == "add" && permission_exists('access_control_node_add')) {
//update the database
$sql = "insert into v_access_control_nodes ";
$sql .= "(";
$sql .= "access_control_node_uuid, ";
@@ -85,14 +98,26 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$db->exec(check_sql($sql));
unset($sql);
remove_config_from_cache('configuration:acl.conf');
$_SESSION['message'] = $text['message-add'];
//clear the cache
$cache = new cache;
$cache->delete("configuration:acl.conf");
//create the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp) { event_socket_request($fp, "api reloadacl"); }
//add the message
messages::add($text['message-add']);
//redirect the browser
header('Location: access_control_edit.php?id='.$access_control_uuid);
return;
} //if ($action == "add")
if ($action == "update" && permission_exists('access_control_node_edit')) {
//update the database
$sql = "update v_access_control_nodes set ";
$sql .= "access_control_uuid = '$access_control_uuid', ";
$sql .= "node_type = '$node_type', ";
@@ -103,8 +128,18 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$db->exec(check_sql($sql));
unset($sql);
remove_config_from_cache('configuration:acl.conf');
$_SESSION['message'] = $text['message-update'];
//clear the cache
$cache = new cache;
$cache->delete("configuration:acl.conf");
//create the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp) { event_socket_request($fp, "api reloadacl"); }
//add the message
messages::add($text['message-update']);
//redirect the browser
header('Location: access_control_edit.php?id='.$access_control_uuid);
return;
@@ -134,7 +169,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
require_once "resources/header.php";
//show the content
echo "<form method='post' name='frm' action=''>\n";
echo "<table width='100%' border='0' cellpadding='6' cellspacing='0'>\n";
echo "<tr>\n";
@@ -217,4 +251,4 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//include the footer
require_once "resources/footer.php";
?>
?>
+91 -105
View File
@@ -1,129 +1,115 @@
<?php
//application details
$apps[$x]['name'] = 'Access Controls';
$apps[$x]['uuid'] = '1416a250-f6e1-4edc-91a6-5c9b883638fd';
$apps[$x]['category'] = '';
$apps[$x]['subcategory'] = '';
$apps[$x]['version'] = '';
$apps[$x]['license'] = 'Mozilla Public License 1.1';
$apps[$x]['url'] = 'http://www.fusionpbx.com';
$apps[$x]['description']['en-us'] = '';
$apps[$x]['name'] = "Access Controls";
$apps[$x]['uuid'] = "1416a250-f6e1-4edc-91a6-5c9b883638fd";
$apps[$x]['category'] = "";
$apps[$x]['subcategory'] = "";
$apps[$x]['version'] = "1.0";
$apps[$x]['license'] = "Mozilla Public License 1.1";
$apps[$x]['url'] = "http://www.fusionpbx.com";
$apps[$x]['description']['en-us'] = "Manage access control lists";
$apps[$x]['description']['ar-eg'] = "";
$apps[$x]['description']['de-at'] = "Zugriffssteuerungslisten verwalten";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-de'] = "Zugriffssteuerungslisten verwalten";
$apps[$x]['description']['es-cl'] = "";
$apps[$x]['description']['es-mx'] = "";
$apps[$x]['description']['fr-ca'] = "";
$apps[$x]['description']['fr-fr'] = "";
$apps[$x]['description']['he-il'] = "";
$apps[$x]['description']['it-it'] = "";
$apps[$x]['description']['nl-nl'] = "";
$apps[$x]['description']['pl-pl'] = "";
$apps[$x]['description']['pt-br'] = "";
$apps[$x]['description']['pt-pt'] = "";
$apps[$x]['description']['ro-ro'] = "";
$apps[$x]['description']['ru-ru'] = "";
$apps[$x]['description']['sv-se'] = "";
$apps[$x]['description']['uk-ua'] = "";
//permission details
$y = 0;
$apps[$x]['permissions'][$y]['name'] = 'access_control_view';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'user';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$y=0;
$apps[$x]['permissions'][$y]['name'] = "access_control_view";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = 'access_control_add';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$apps[$x]['permissions'][$y]['name'] = "access_control_add";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = 'access_control_edit';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
//$apps[$x]['permissions'][$y]['groups'][] = 'user';
$apps[$x]['permissions'][$y]['name'] = "access_control_edit";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = 'access_control_delete';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$apps[$x]['permissions'][$y]['name'] = "access_control_delete";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = 'access_control_node_view';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'user';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$apps[$x]['permissions'][$y]['name'] = "access_control_node_view";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = 'access_control_node_add';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$apps[$x]['permissions'][$y]['name'] = "access_control_node_add";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = 'access_control_node_edit';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
//$apps[$x]['permissions'][$y]['groups'][] = 'user';
$apps[$x]['permissions'][$y]['name'] = "access_control_node_edit";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = 'access_control_node_delete';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$apps[$x]['permissions'][$y]['name'] = "access_control_node_delete";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
//schema details
$y = 0; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = 'v_access_controls';
//$apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_uuid';
//$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
//$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
//$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
//$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
//$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
//$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
//$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'access_control_uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
$y=0;
$apps[$x]['db'][$y]['table']['name'] = "v_access_controls";
$apps[$x]['db'][$y]['table']['parent'] = "";
$z=0;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "access_control_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'access_control_name';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the name.';
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = 'Insira o nome';
$apps[$x]['db'][$y]['fields'][$z]['name'] = "access_control_name";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'access_control_default';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select the default type.';
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = 'Selecione o tipo padrão.';
$apps[$x]['db'][$y]['fields'][$z]['name'] = "access_control_default";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select the default type.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'access_control_description';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the description';
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = 'Insira com uma descrição';
$apps[$x]['db'][$y]['fields'][$z]['name'] = "access_control_description";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description";
$y = 1; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = 'v_access_control_nodes';
//$apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_uuid';
//$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
//$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
//$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
//$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
//$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
//$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
//$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'access_control_node_uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
$y++;
$apps[$x]['db'][$y]['table']['name'] = "v_access_control_nodes";
$apps[$x]['db'][$y]['table']['parent'] = "v_access_controls";
$z=0;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "access_control_node_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'access_control_uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_access_control';
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'access_control_uuid';
$apps[$x]['db'][$y]['fields'][$z]['name'] = "access_control_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_access_control";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "access_control_uuid";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'node_type';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select the type.';
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = 'Selecione o tipo.';
$apps[$x]['db'][$y]['fields'][$z]['name'] = "node_type";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select the type.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'node_cidr';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the IP CIDR range.';
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = 'Insira o intervalo IP CIDR.';
$apps[$x]['db'][$y]['fields'][$z]['name'] = "node_cidr";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the IP CIDR range.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'node_domain';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the domain.';
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = 'Insira com o domínio.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'node_description';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the description.';
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = 'Insira a descrição.';
$apps[$x]['db'][$y]['fields'][$z]['name'] = "node_domain";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the domain.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "node_description";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
?>
+4 -2
View File
@@ -129,10 +129,12 @@
unset($prep_statement);
//rename the file
rename($xml_dir.'/acl.conf.xml', $xml_dir.'/acl.conf');
if (file_exists($xml_dir.'/acl.conf.xml')) {
rename($xml_dir.'/acl.conf.xml', $xml_dir.'/acl.conf');
}
}
}
}
?>
?>
+359 -224
View File
@@ -1,289 +1,424 @@
<?php
#This file was last reorganized on 19th of September 2017 08:54:24 AM UTC
$text['title-access_controls']['en-us'] = "Access Controls";
$text['title-access_controls']['es-cl'] = "Controles de acceso";
$text['title-access_controls']['pt-pt'] = "Controles de Acesso";
$text['title-access_controls']['fr-fr'] = "Contrôle d'accès";
$text['title-access_controls']['pt-br'] = "Controles de Acesso";
$text['title-access_controls']['he'] = "בקרת גישה";
$text['title-access_controls']['de-at'] = " Zugriffskontrolle";
$text['title-access_controls']['pl'] = "Kontrola dostępu";
$text['title-access_controls']['ro'] = "Controale de acces";
$text['title-access_controls']['uk'] = "контроль доступу";
$text['title-access_controls']['sv-se'] = "Åtkomstkontroll";
$text['title-access_controls']['ar-eg'] = "عناصر التحكم في الوصول";
$text['title-access_controls']['de-at'] = " Zugriffskontrolle"; //copied from de-de
$text['title-access_controls']['de-ch'] = " Zugriffskontrolle"; //copied from de-de
$text['title-access_controls']['de-de'] = " Zugriffskontrolle";
$text['title-access_controls']['es-cl'] = "Controles de acceso";
$text['title-access_controls']['es-mx'] = "Controles de acceso"; //copied from es-cl
$text['title-access_controls']['fr-ca'] = "Contrôle d'accès"; //copied from fr-fr
$text['title-access_controls']['fr-fr'] = "Contrôle d'accès";
$text['title-access_controls']['he-il'] = "בקרת גישה";
$text['title-access_controls']['it-it'] = "Controllo Accessi";
$text['title-access_controls']['nl-nl'] = "";
$text['title-access_controls']['pl-pl'] = "Kontrola dostępu";
$text['title-access_controls']['pt-br'] = "Controles de Acesso"; //copied from pt-pt
$text['title-access_controls']['pt-pt'] = "Controles de Acesso";
$text['title-access_controls']['ro-ro'] = "Controale de acces";
$text['title-access_controls']['ru-ru'] = "Контроль доступа";
$text['title-access_controls']['sv-se'] = "Åtkomstkontroll";
$text['title-access_controls']['uk-ua'] = "контроль доступу";
$text['title-access_control_nodes']['en-us'] = "Nodes";
$text['title-access_control_nodes']['es-cl'] = "Nodos";
$text['title-access_control_nodes']['pt-pt'] = " Nodes";
$text['title-access_control_nodes']['fr-fr'] = " nœuds";
$text['title-access_control_nodes']['pt-br'] = "Nodes";
$text['title-access_control_nodes']['he'] = "בלוטות";
$text['title-access_control_nodes']['de-at'] = "Knoten";
$text['title-access_control_nodes']['pl'] = "węzły";
$text['title-access_control_nodes']['ro'] = "Noduri";
$text['title-access_control_nodes']['uk'] = "вузли";
$text['title-access_control_nodes']['sv-se'] = "Noder";
$text['title-access_control_nodes']['ar-eg'] = "العقد";
$text['title-access_control_nodes']['de-at'] = "Knoten"; //copied from de-de
$text['title-access_control_nodes']['de-ch'] = "Knoten"; //copied from de-de
$text['title-access_control_nodes']['de-de'] = "Knoten";
$text['title-access_control_nodes']['es-cl'] = "Nodos";
$text['title-access_control_nodes']['es-mx'] = "Nodos"; //copied from es-cl
$text['title-access_control_nodes']['fr-ca'] = " nœuds"; //copied from fr-fr
$text['title-access_control_nodes']['fr-fr'] = " nœuds";
$text['title-access_control_nodes']['he-il'] = "בלוטות";
$text['title-access_control_nodes']['it-it'] = "Nodi";
$text['title-access_control_nodes']['nl-nl'] = "";
$text['title-access_control_nodes']['pl-pl'] = "węzły";
$text['title-access_control_nodes']['pt-br'] = "Nodes";
$text['title-access_control_nodes']['pt-pt'] = " Nodes";
$text['title-access_control_nodes']['ro-ro'] = "Noduri";
$text['title-access_control_nodes']['ru-ru'] = "Узлы";
$text['title-access_control_nodes']['sv-se'] = "Noder";
$text['title-access_control_nodes']['uk-ua'] = "вузли";
$text['title-access_control_node']['en-us'] = "Node";
$text['title-access_control_node']['es-cl'] = "Nodo";
$text['title-access_control_node']['pt-pt'] = "Nó";
$text['title-access_control_node']['fr-fr'] = " noeud";
$text['title-access_control_node']['pt-br'] = "Nó";
$text['title-access_control_node']['he'] = "צומת";
$text['title-access_control_node']['de-at'] = "Netzknoten";
$text['title-access_control_node']['pl'] = "węzeł";
$text['title-access_control_node']['ro'] = "Nod";
$text['title-access_control_node']['uk'] = "вузол";
$text['title-access_control_node']['sv-se'] = "Nod";
$text['title-access_control_node']['ar-eg'] = "العقدة";
$text['title-access_control_node']['de-at'] = "Netzknoten"; //copied from de-de
$text['title-access_control_node']['de-ch'] = "Netzknoten"; //copied from de-de
$text['title-access_control_node']['de-de'] = "Netzknoten";
$text['title-access_control_node']['es-cl'] = "Nodo";
$text['title-access_control_node']['es-mx'] = "Nodo"; //copied from es-cl
$text['title-access_control_node']['fr-ca'] = " noeud"; //copied from fr-fr
$text['title-access_control_node']['fr-fr'] = " noeud";
$text['title-access_control_node']['he-il'] = "צומת";
$text['title-access_control_node']['it-it'] = "Nodo";
$text['title-access_control_node']['nl-nl'] = "";
$text['title-access_control_node']['pl-pl'] = "węzeł";
$text['title-access_control_node']['pt-br'] = "Nó"; //copied from pt-pt
$text['title-access_control_node']['pt-pt'] = "Nó";
$text['title-access_control_node']['ro-ro'] = "Nod";
$text['title-access_control_node']['ru-ru'] = "Узел";
$text['title-access_control_node']['sv-se'] = "Nod";
$text['title-access_control_node']['uk-ua'] = "вузол";
$text['title-access_control']['en-us'] = "Access Control";
$text['title-access_control']['es-cl'] = "Control de acceso";
$text['title-access_control']['pt-pt'] = "Controle de acesso";
$text['title-access_control']['fr-fr'] = "Contrôle d'accès";
$text['title-access_control']['pt-br'] = "Controle de acesso";
$text['title-access_control']['he'] = "בקרת גישה";
$text['title-access_control']['de-at'] = " Zugangskontrolle";
$text['title-access_control']['pl'] = "Kontrola dostępu";
$text['title-access_control']['ro'] = "Controlul accesului";
$text['title-access_control']['uk'] = "Управління доступом";
$text['title-access_control']['sv-se'] = "Åtkomstkontroll";
$text['title-access_control']['ar-eg'] = "التحكم في الوصول";
$text['title-access_control']['de-at'] = " Zugangskontrolle"; //copied from de-de
$text['title-access_control']['de-ch'] = " Zugangskontrolle"; //copied from de-de
$text['title-access_control']['de-de'] = " Zugangskontrolle";
$text['title-access_control']['es-cl'] = "Control de acceso";
$text['title-access_control']['es-mx'] = "Control de acceso"; //copied from es-cl
$text['title-access_control']['fr-ca'] = "Contrôle d'accès"; //copied from fr-fr
$text['title-access_control']['fr-fr'] = "Contrôle d'accès";
$text['title-access_control']['he-il'] = "בקרת גישה";
$text['title-access_control']['it-it'] = "Controllo Accesso";
$text['title-access_control']['nl-nl'] = "";
$text['title-access_control']['pl-pl'] = "Kontrola dostępu";
$text['title-access_control']['pt-br'] = "Controle de acesso"; //copied from pt-pt
$text['title-access_control']['pt-pt'] = "Controle de acesso";
$text['title-access_control']['ro-ro'] = "Controlul accesului";
$text['title-access_control']['ru-ru'] = "Управление доступом";
$text['title-access_control']['sv-se'] = "Åtkomstkontroll";
$text['title-access_control']['uk-ua'] = "Управління доступом";
$text['label-node_type']['en-us'] = "Type";
$text['label-node_type']['es-cl'] = "Escribe";
$text['label-node_type']['pt-pt'] = "Tipo";
$text['label-node_type']['fr-fr'] = "Type";
$text['label-node_type']['pt-br'] = "Tipo";
$text['label-node_type']['he'] = "סוג";
$text['label-node_type']['de-at'] = "Art";
$text['label-node_type']['pl'] = "typ";
$text['label-node_type']['ro'] = "Tip";
$text['label-node_type']['uk'] = "Тип";
$text['label-node_type']['sv-se'] = "Typ";
$text['label-node_type']['ar-eg'] = "اكتب";
$text['label-node_type']['de-at'] = "Art"; //copied from de-de
$text['label-node_type']['de-ch'] = "Art"; //copied from de-de
$text['label-node_type']['de-de'] = "Art";
$text['label-node_type']['es-cl'] = "Escribe";
$text['label-node_type']['es-mx'] = "Escribe"; //copied from es-cl
$text['label-node_type']['fr-ca'] = "Type"; //copied from fr-fr
$text['label-node_type']['fr-fr'] = "Type";
$text['label-node_type']['he-il'] = "סוג";
$text['label-node_type']['it-it'] = "Tipo";
$text['label-node_type']['nl-nl'] = "";
$text['label-node_type']['pl-pl'] = "typ";
$text['label-node_type']['pt-br'] = "Tipo"; //copied from pt-pt
$text['label-node_type']['pt-pt'] = "Tipo";
$text['label-node_type']['ro-ro'] = "Tip";
$text['label-node_type']['ru-ru'] = "Тип";
$text['label-node_type']['sv-se'] = "Typ";
$text['label-node_type']['uk-ua'] = "Тип";
$text['label-node_domain']['en-us'] = "Domain";
$text['label-node_domain']['es-cl'] = "Dominio";
$text['label-node_domain']['pt-pt'] = "Domínio";
$text['label-node_domain']['fr-fr'] = "Domaine";
$text['label-node_domain']['pt-br'] = "Domínio";
$text['label-node_domain']['he'] = "תחום";
$text['label-node_domain']['de-at'] = " Domäne";
$text['label-node_domain']['pl'] = "domeny";
$text['label-node_domain']['ro'] = "Domeniu";
$text['label-node_domain']['uk'] = "домен";
$text['label-node_domain']['sv-se'] = "Domän";
$text['label-node_domain']['ar-eg'] = "مجال";
$text['label-node_domain']['de-at'] = " Domäne"; //copied from de-de
$text['label-node_domain']['de-ch'] = " Domäne"; //copied from de-de
$text['label-node_domain']['de-de'] = " Domäne";
$text['label-node_domain']['es-cl'] = "Dominio";
$text['label-node_domain']['es-mx'] = "Dominio"; //copied from es-cl
$text['label-node_domain']['fr-ca'] = "Domaine"; //copied from fr-fr
$text['label-node_domain']['fr-fr'] = "Domaine";
$text['label-node_domain']['he-il'] = "תחום";
$text['label-node_domain']['it-it'] = "Dominio";
$text['label-node_domain']['nl-nl'] = "";
$text['label-node_domain']['pl-pl'] = "domeny";
$text['label-node_domain']['pt-br'] = "Domínio"; //copied from pt-pt
$text['label-node_domain']['pt-pt'] = "Domínio";
$text['label-node_domain']['ro-ro'] = "Domeniu";
$text['label-node_domain']['ru-ru'] = "Домен";
$text['label-node_domain']['sv-se'] = "Domän";
$text['label-node_domain']['uk-ua'] = "домен";
$text['label-node_description']['en-us'] = "Description";
$text['label-node_description']['es-cl'] = "Descripción";
$text['label-node_description']['pt-pt'] = "Descrição";
$text['label-node_description']['fr-fr'] = "Description";
$text['label-node_description']['pt-br'] = "Descrição";
$text['label-node_description']['he'] = "תיאור";
$text['label-node_description']['de-at'] = "Beschreibung";
$text['label-node_description']['pl'] = "opis";
$text['label-node_description']['ro'] = "Descriere";
$text['label-node_description']['uk'] = "опис";
$text['label-node_description']['sv-se'] = "Beskrivning";
$text['label-node_description']['ar-eg'] = "وصف";
$text['label-node_description']['de-at'] = "Beschreibung"; //copied from de-de
$text['label-node_description']['de-ch'] = "Beschreibung"; //copied from de-de
$text['label-node_description']['de-de'] = "Beschreibung";
$text['label-node_description']['es-cl'] = "Descripción";
$text['label-node_description']['es-mx'] = "Descripción"; //copied from es-cl
$text['label-node_description']['fr-ca'] = "Description"; //copied from fr-fr
$text['label-node_description']['fr-fr'] = "Description";
$text['label-node_description']['he-il'] = "תיאור";
$text['label-node_description']['it-it'] = "Descrizione";
$text['label-node_description']['nl-nl'] = "";
$text['label-node_description']['pl-pl'] = "opis";
$text['label-node_description']['pt-br'] = "Descrição"; //copied from pt-pt
$text['label-node_description']['pt-pt'] = "Descrição";
$text['label-node_description']['ro-ro'] = "Descriere";
$text['label-node_description']['ru-ru'] = "Описание";
$text['label-node_description']['sv-se'] = "Beskrivning";
$text['label-node_description']['uk-ua'] = "опис";
$text['label-node_cidr']['en-us'] = "CIDR";
$text['label-node_cidr']['es-cl'] = "CIDR";
$text['label-node_cidr']['pt-pt'] = "CIDR";
$text['label-node_cidr']['fr-fr'] = "CIDR";
$text['label-node_cidr']['pt-br'] = "CIDR";
$text['label-node_cidr']['he'] = "CIDR";
$text['label-node_cidr']['de-at'] = "CIDR";
$text['label-node_cidr']['pl'] = "CIDR";
$text['label-node_cidr']['ro'] = "CIDR";
$text['label-node_cidr']['uk'] = "CIDR";
$text['label-node_cidr']['sv-se'] = "CIDR";
$text['label-node_cidr']['ar-eg'] = "CIDR";
$text['label-node_cidr']['de-at'] = "CIDR"; //copied from de-de
$text['label-node_cidr']['de-ch'] = "CIDR"; //copied from de-de
$text['label-node_cidr']['de-de'] = "CIDR";
$text['label-node_cidr']['es-cl'] = "CIDR";
$text['label-node_cidr']['es-mx'] = "CIDR"; //copied from es-cl
$text['label-node_cidr']['fr-ca'] = "CIDR"; //copied from fr-fr
$text['label-node_cidr']['fr-fr'] = "CIDR";
$text['label-node_cidr']['he-il'] = "CIDR";
$text['label-node_cidr']['it-it'] = "CIDR";
$text['label-node_cidr']['nl-nl'] = "";
$text['label-node_cidr']['pl-pl'] = "CIDR";
$text['label-node_cidr']['pt-br'] = "CIDR"; //copied from pt-pt
$text['label-node_cidr']['pt-pt'] = "CIDR";
$text['label-node_cidr']['ro-ro'] = "CIDR";
$text['label-node_cidr']['ru-ru'] = "CIDR";
$text['label-node_cidr']['sv-se'] = "CIDR";
$text['label-node_cidr']['uk-ua'] = "CIDR";
$text['label-deny']['en-us'] = "deny";
$text['label-deny']['es-cl'] = "Negar";
$text['label-deny']['pt-pt'] = "negar";
$text['label-deny']['fr-fr'] = " nier";
$text['label-deny']['pt-br'] = "negar";
$text['label-deny']['he'] = "להכחיש";
$text['label-deny']['de-at'] = " leugnen";
$text['label-deny']['pl'] = "zaprzeczać";
$text['label-deny']['ro'] = "Nega";
$text['label-deny']['uk'] = "правда";
$text['label-deny']['sv-se'] = "förneka";
$text['label-deny']['ar-eg'] = "تنكر";
$text['label-deny']['de-at'] = " verbieten"; //copied from de-de
$text['label-deny']['de-ch'] = " verbieten"; //copied from de-de
$text['label-deny']['de-de'] = " verbieten";
$text['label-deny']['es-cl'] = "Negar";
$text['label-deny']['es-mx'] = "Negar"; //copied from es-cl
$text['label-deny']['fr-ca'] = " nier"; //copied from fr-fr
$text['label-deny']['fr-fr'] = " nier";
$text['label-deny']['he-il'] = "להכחיש";
$text['label-deny']['it-it'] = "nega";
$text['label-deny']['nl-nl'] = "";
$text['label-deny']['pl-pl'] = "zaprzeczać";
$text['label-deny']['pt-br'] = "negar"; //copied from pt-pt
$text['label-deny']['pt-pt'] = "negar";
$text['label-deny']['ro-ro'] = "Nega";
$text['label-deny']['ru-ru'] = "запретить";
$text['label-deny']['sv-se'] = "förneka";
$text['label-deny']['uk-ua'] = "правда";
$text['label-allow']['en-us'] = "allow";
$text['label-allow']['es-cl'] = "Permitir";
$text['label-allow']['pt-pt'] = "permitir";
$text['label-allow']['fr-fr'] = " permettre";
$text['label-allow']['pt-br'] = "permitir";
$text['label-allow']['he'] = "לאפשר";
$text['label-allow']['de-at'] = "erlauben";
$text['label-allow']['pl'] = "dopuszczać";
$text['label-allow']['ro'] = "Permite";
$text['label-allow']['uk'] = "дозволяти";
$text['label-allow']['sv-se'] = "tillåta";
$text['label-allow']['ar-eg'] = "السماح";
$text['label-allow']['de-at'] = "erlauben"; //copied from de-de
$text['label-allow']['de-ch'] = "erlauben"; //copied from de-de
$text['label-allow']['de-de'] = "erlauben";
$text['label-allow']['es-cl'] = "Permitir";
$text['label-allow']['es-mx'] = "Permitir"; //copied from es-cl
$text['label-allow']['fr-ca'] = " permettre"; //copied from fr-fr
$text['label-allow']['fr-fr'] = " permettre";
$text['label-allow']['he-il'] = "לאפשר";
$text['label-allow']['it-it'] = "permetti";
$text['label-allow']['nl-nl'] = "";
$text['label-allow']['pl-pl'] = "dopuszczać";
$text['label-allow']['pt-br'] = "permitir"; //copied from pt-pt
$text['label-allow']['pt-pt'] = "permitir";
$text['label-allow']['ro-ro'] = "Permite";
$text['label-allow']['ru-ru'] = "разрешить";
$text['label-allow']['sv-se'] = "tillåta";
$text['label-allow']['uk-ua'] = "дозволяти";
$text['label-access_control_name']['en-us'] = "Name";
$text['label-access_control_name']['es-cl'] = "Nombre";
$text['label-access_control_name']['pt-pt'] = "Nome";
$text['label-access_control_name']['fr-fr'] = "Nom";
$text['label-access_control_name']['pt-br'] = "Nome";
$text['label-access_control_name']['he'] = "שם";
$text['label-access_control_name']['de-at'] = "Name";
$text['label-access_control_name']['pl'] = " Imię";
$text['label-access_control_name']['ro'] = "Nume";
$text['label-access_control_name']['uk'] = "ім'я";
$text['label-access_control_name']['sv-se'] = "namn";
$text['label-access_control_name']['ar-eg'] = "اسم";
$text['label-access_control_name']['de-at'] = "Name"; //copied from de-de
$text['label-access_control_name']['de-ch'] = "Name"; //copied from de-de
$text['label-access_control_name']['de-de'] = "Name";
$text['label-access_control_name']['es-cl'] = "Nombre";
$text['label-access_control_name']['es-mx'] = "Nombre"; //copied from es-cl
$text['label-access_control_name']['fr-ca'] = "Nom"; //copied from fr-fr
$text['label-access_control_name']['fr-fr'] = "Nom";
$text['label-access_control_name']['he-il'] = "שם";
$text['label-access_control_name']['it-it'] = "Nome";
$text['label-access_control_name']['nl-nl'] = "";
$text['label-access_control_name']['pl-pl'] = " Imię";
$text['label-access_control_name']['pt-br'] = "Nome"; //copied from pt-pt
$text['label-access_control_name']['pt-pt'] = "Nome";
$text['label-access_control_name']['ro-ro'] = "Nume";
$text['label-access_control_name']['ru-ru'] = "Имя";
$text['label-access_control_name']['sv-se'] = "namn";
$text['label-access_control_name']['uk-ua'] = "ім'я";
$text['label-access_control_description']['en-us'] = "Description";
$text['label-access_control_description']['es-cl'] = "Descripción";
$text['label-access_control_description']['pt-pt'] = "Descrição";
$text['label-access_control_description']['fr-fr'] = "Description";
$text['label-access_control_description']['pt-br'] = "Descrição";
$text['label-access_control_description']['he'] = "תיאור";
$text['label-access_control_description']['de-at'] = "Beschreibung";
$text['label-access_control_description']['pl'] = "opis";
$text['label-access_control_description']['ro'] = "Descriere";
$text['label-access_control_description']['uk'] = "опис";
$text['label-access_control_description']['sv-se'] = "Beskrivning";
$text['label-access_control_description']['ar-eg'] = "وصف";
$text['label-access_control_description']['de-at'] = "Beschreibung"; //copied from de-de
$text['label-access_control_description']['de-ch'] = "Beschreibung"; //copied from de-de
$text['label-access_control_description']['de-de'] = "Beschreibung";
$text['label-access_control_description']['es-cl'] = "Descripción";
$text['label-access_control_description']['es-mx'] = "Descripción"; //copied from es-cl
$text['label-access_control_description']['fr-ca'] = "Description"; //copied from fr-fr
$text['label-access_control_description']['fr-fr'] = "Description";
$text['label-access_control_description']['he-il'] = "תיאור";
$text['label-access_control_description']['it-it'] = "Descrizione";
$text['label-access_control_description']['nl-nl'] = "";
$text['label-access_control_description']['pl-pl'] = "opis";
$text['label-access_control_description']['pt-br'] = "Descrição"; //copied from pt-pt
$text['label-access_control_description']['pt-pt'] = "Descrição";
$text['label-access_control_description']['ro-ro'] = "Descriere";
$text['label-access_control_description']['ru-ru'] = "Описание";
$text['label-access_control_description']['sv-se'] = "Beskrivning";
$text['label-access_control_description']['uk-ua'] = "опис";
$text['label-access_control_default']['en-us'] = "Default";
$text['label-access_control_default']['es-cl'] = "Defecto";
$text['label-access_control_default']['pt-pt'] = "Padrão";
$text['label-access_control_default']['fr-fr'] = "Par défaut";
$text['label-access_control_default']['pt-br'] = "Padrão";
$text['label-access_control_default']['he'] = " ברירת מחדל";
$text['label-access_control_default']['de-at'] = "Standard";
$text['label-access_control_default']['pl'] = "Domyślnie";
$text['label-access_control_default']['ro'] = "Implicit";
$text['label-access_control_default']['uk'] = "дефолт";
$text['label-access_control_default']['sv-se'] = "Standard";
$text['label-access_control_default']['ar-eg'] = "افتراضي";
$text['label-access_control_default']['de-at'] = "Standard"; //copied from de-de
$text['label-access_control_default']['de-ch'] = "Standard"; //copied from de-de
$text['label-access_control_default']['de-de'] = "Standard";
$text['label-access_control_default']['es-cl'] = "Defecto";
$text['label-access_control_default']['es-mx'] = "Defecto"; //copied from es-cl
$text['label-access_control_default']['fr-ca'] = "Par défaut"; //copied from fr-fr
$text['label-access_control_default']['fr-fr'] = "Par défaut";
$text['label-access_control_default']['he-il'] = " ברירת מחדל";
$text['label-access_control_default']['it-it'] = "Predefinito";
$text['label-access_control_default']['nl-nl'] = "";
$text['label-access_control_default']['pl-pl'] = "Domyślnie";
$text['label-access_control_default']['pt-br'] = "Padrão"; //copied from pt-pt
$text['label-access_control_default']['pt-pt'] = "Padrão";
$text['label-access_control_default']['ro-ro'] = "Implicit";
$text['label-access_control_default']['ru-ru'] = "По умолчанию";
$text['label-access_control_default']['sv-se'] = "Standard";
$text['label-access_control_default']['uk-ua'] = "дефолт";
$text['description-node_type']['en-us'] = "Select the type.";
$text['description-node_type']['es-cl'] = "Seleccione el tipo.";
$text['description-node_type']['pt-pt'] = "Selecione o tipo.";
$text['description-node_type']['fr-fr'] = " Sélectionnez le type";
$text['description-node_type']['pt-br'] = "Selecione o tipo.";
$text['description-node_type']['he'] = " בחר את הסוג.";
$text['description-node_type']['de-at'] = " Wählen Sie den Typ.";
$text['description-node_type']['pl'] = "Wybierz rodzaj.";
$text['description-node_type']['ro'] = "Selectați tipul.";
$text['description-node_type']['uk'] = "Виберіть тип.";
$text['description-node_type']['sv-se'] = "Välj typ.";
$text['description-node_type']['ar-eg'] = "حدد نوع.";
$text['description-node_type']['de-at'] = " Wählen Sie den Typ."; //copied from de-de
$text['description-node_type']['de-ch'] = " Wählen Sie den Typ."; //copied from de-de
$text['description-node_type']['de-de'] = " Wählen Sie den Typ.";
$text['description-node_type']['es-cl'] = "Seleccione el tipo.";
$text['description-node_type']['es-mx'] = "Seleccione el tipo."; //copied from es-cl
$text['description-node_type']['fr-ca'] = " Sélectionnez le type"; //copied from fr-fr
$text['description-node_type']['fr-fr'] = " Sélectionnez le type";
$text['description-node_type']['he-il'] = " בחר את הסוג.";
$text['description-node_type']['it-it'] = "Seleziona il tipo.";
$text['description-node_type']['nl-nl'] = "";
$text['description-node_type']['pl-pl'] = "Wybierz rodzaj.";
$text['description-node_type']['pt-br'] = "Selecione o tipo."; //copied from pt-pt
$text['description-node_type']['pt-pt'] = "Selecione o tipo.";
$text['description-node_type']['ro-ro'] = "Selectați tipul.";
$text['description-node_type']['ru-ru'] = "Выберите тип.";
$text['description-node_type']['sv-se'] = "Välj typ.";
$text['description-node_type']['uk-ua'] = "Виберіть тип.";
$text['description-node_domain']['en-us'] = "Enter the domain name.";
$text['description-node_domain']['es-cl'] = "Introduzca el nombre de dominio.";
$text['description-node_domain']['pt-pt'] = "Digite o nome de domínio.";
$text['description-node_domain']['fr-fr'] = "Entrez le nom de domaine.";
$text['description-node_domain']['pt-br'] = "Digite o nome de domínio.";
$text['description-node_domain']['he'] = " הזן את שם הדומיין.";
$text['description-node_domain']['de-at'] = "Geben Sie den Domain-Namen.";
$text['description-node_domain']['pl'] = " Wprowadź nazwę domeny.";
$text['description-node_domain']['ro'] = "Introduceți numele de domeniu.";
$text['description-node_domain']['uk'] = "Введіть ім'я домену.";
$text['description-node_domain']['sv-se'] = "Ange domännamnet.";
$text['description-node_domain']['ar-eg'] = "أدخل اسم المجال.";
$text['description-node_domain']['de-at'] = "Geben Sie den Domain-Namen."; //copied from de-de
$text['description-node_domain']['de-ch'] = "Geben Sie den Domain-Namen."; //copied from de-de
$text['description-node_domain']['de-de'] = "Geben Sie den Domain-Namen.";
$text['description-node_domain']['es-cl'] = "Introduzca el nombre de dominio.";
$text['description-node_domain']['es-mx'] = "Introduzca el nombre de dominio."; //copied from es-cl
$text['description-node_domain']['fr-ca'] = "Entrez le nom de domaine."; //copied from fr-fr
$text['description-node_domain']['fr-fr'] = "Entrez le nom de domaine.";
$text['description-node_domain']['he-il'] = " הזן את שם הדומיין.";
$text['description-node_domain']['it-it'] = "Inserisci il dominio.";
$text['description-node_domain']['nl-nl'] = "";
$text['description-node_domain']['pl-pl'] = " Wprowadź nazwę domeny.";
$text['description-node_domain']['pt-br'] = "Digite o nome de domínio."; //copied from pt-pt
$text['description-node_domain']['pt-pt'] = "Digite o nome de domínio.";
$text['description-node_domain']['ro-ro'] = "Introduceți numele de domeniu.";
$text['description-node_domain']['ru-ru'] = "Введите имя домена.";
$text['description-node_domain']['sv-se'] = "Ange domännamnet.";
$text['description-node_domain']['uk-ua'] = "Введіть ім'я домену.";
$text['description-node_description']['en-us'] = "Enter the description.";
$text['description-node_description']['es-cl'] = " Introduzca la descripción.";
$text['description-node_description']['pt-pt'] = " Digite a descrição.";
$text['description-node_description']['fr-fr'] = "Entrez la description.";
$text['description-node_description']['pt-br'] = "Digite a descrição.";
$text['description-node_description']['he'] = " הזן את התיאור.";
$text['description-node_description']['de-at'] = "Geben Sie die Beschreibung.";
$text['description-node_description']['pl'] = " Wprowadź opis.";
$text['description-node_description']['ro'] = "Introduceți descrierea.";
$text['description-node_description']['uk'] = "Введіть опис.";
$text['description-node_description']['sv-se'] = "Ange beskrivningen.";
$text['description-node_description']['ar-eg'] = "أدخل الوصف.";
$text['description-node_description']['de-at'] = "Geben Sie die Beschreibung ein."; //copied from de-de
$text['description-node_description']['de-ch'] = "Geben Sie die Beschreibung ein."; //copied from de-de
$text['description-node_description']['de-de'] = "Geben Sie die Beschreibung ein.";
$text['description-node_description']['es-cl'] = " Introduzca la descripción.";
$text['description-node_description']['es-mx'] = " Introduzca la descripción."; //copied from es-cl
$text['description-node_description']['fr-ca'] = "Entrez la description."; //copied from fr-fr
$text['description-node_description']['fr-fr'] = "Entrez la description.";
$text['description-node_description']['he-il'] = " הזן את התיאור.";
$text['description-node_description']['it-it'] = "Inserisci la descrizione.";
$text['description-node_description']['nl-nl'] = "";
$text['description-node_description']['pl-pl'] = " Wprowadź opis.";
$text['description-node_description']['pt-br'] = "Digite a descrição.";
$text['description-node_description']['pt-pt'] = " Digite a descrição.";
$text['description-node_description']['ro-ro'] = "Introduceți descrierea.";
$text['description-node_description']['ru-ru'] = "Введите описание.";
$text['description-node_description']['sv-se'] = "Ange beskrivningen.";
$text['description-node_description']['uk-ua'] = "Введіть опис.";
$text['description-node_cidr']['en-us'] = "Enter the IP CIDR range.";
$text['description-node_cidr']['es-cl'] = " Introduzca el rango de direcciones IP CIDR.";
$text['description-node_cidr']['pt-pt'] = "Digite o intervalo IP CIDR.";
$text['description-node_cidr']['fr-fr'] = "Entrez la plage IP CIDR.";
$text['description-node_cidr']['pt-br'] = "Digite o intervalo IP CIDR.";
$text['description-node_cidr']['he'] = " הזן את טווח ה- IP CIDR.";
$text['description-node_cidr']['de-at'] = " Geben Sie die IP CIDR-Bereich.";
$text['description-node_cidr']['pl'] = "Wprowadź zakres IP CIDR.";
$text['description-node_cidr']['ro'] = "Introduceți intervalul de IP CIDR.";
$text['description-node_cidr']['uk'] = "Введіть діапазон IP-CIDR.";
$text['description-node_cidr']['sv-se'] = "Ange IP CIDR sortimentet.";
$text['description-node_cidr']['ar-eg'] = "أدخل نطاق IP CIDR.";
$text['description-access_control_node']['en-us'] = "";
$text['description-access_control_node']['es-cl'] = "";
$text['description-access_control_node']['pt-pt'] = "";
$text['description-access_control_node']['fr-fr'] = "";
$text['description-access_control_node']['pt-br'] = "";
$text['description-access_control_node']['he'] = "";
$text['description-access_control_node']['de-at'] = "";
$text['description-access_control_node']['pl'] = "";
$text['description-access_control_node']['ro'] = "";
$text['description-access_control_node']['uk'] = "";
$text['description-access_control_node']['sv-se'] = "";
$text['description-access_control_node']['ar-eg'] = "";
$text['description-node_cidr']['de-at'] = " Geben Sie die IP CIDR-Bereich an."; //copied from de-de
$text['description-node_cidr']['de-ch'] = " Geben Sie die IP CIDR-Bereich an."; //copied from de-de
$text['description-node_cidr']['de-de'] = " Geben Sie die IP CIDR-Bereich an.";
$text['description-node_cidr']['es-cl'] = " Introduzca el rango de direcciones IP CIDR.";
$text['description-node_cidr']['es-mx'] = " Introduzca el rango de direcciones IP CIDR."; //copied from es-cl
$text['description-node_cidr']['fr-ca'] = "Entrez la plage IP CIDR."; //copied from fr-fr
$text['description-node_cidr']['fr-fr'] = "Entrez la plage IP CIDR.";
$text['description-node_cidr']['he-il'] = " הזן את טווח ה- IP CIDR.";
$text['description-node_cidr']['it-it'] = "Inserisci il range IP CIDR.";
$text['description-node_cidr']['nl-nl'] = "";
$text['description-node_cidr']['pl-pl'] = "Wprowadź zakres IP CIDR.";
$text['description-node_cidr']['pt-br'] = "Digite o intervalo IP CIDR."; //copied from pt-pt
$text['description-node_cidr']['pt-pt'] = "Digite o intervalo IP CIDR.";
$text['description-node_cidr']['ro-ro'] = "Introduceți intervalul de IP CIDR.";
$text['description-node_cidr']['ru-ru'] = "Введите диапазон IP CIDR.";
$text['description-node_cidr']['sv-se'] = "Ange IP CIDR sortimentet.";
$text['description-node_cidr']['uk-ua'] = "Введіть діапазон IP-CIDR.";
$text['description-access_control_name']['en-us'] = "Enter the name.";
$text['description-access_control_name']['es-cl'] = " Introduzca el nombre.";
$text['description-access_control_name']['pt-pt'] = "Digite o nome.";
$text['description-access_control_name']['fr-fr'] = "Entrez le nom.";
$text['description-access_control_name']['pt-br'] = "Digite o nome.";
$text['description-access_control_name']['he'] = " הזן את השם.";
$text['description-access_control_name']['de-at'] = "Geben Sie den Namen.";
$text['description-access_control_name']['pl'] = " Wpisz nazwę.";
$text['description-access_control_name']['ro'] = "Introduceți numele.";
$text['description-access_control_name']['uk'] = "Введіть ім'я.";
$text['description-access_control_name']['sv-se'] = "Ange namnet.";
$text['description-access_control_name']['ar-eg'] = "أدخل اسم.";
$text['description-access_control_name']['de-at'] = "Namen eingeben."; //copied from de-de
$text['description-access_control_name']['de-ch'] = "Namen eingeben."; //copied from de-de
$text['description-access_control_name']['de-de'] = "Namen eingeben.";
$text['description-access_control_name']['es-cl'] = " Introduzca el nombre.";
$text['description-access_control_name']['es-mx'] = " Introduzca el nombre."; //copied from es-cl
$text['description-access_control_name']['fr-ca'] = "Entrez le nom."; //copied from fr-fr
$text['description-access_control_name']['fr-fr'] = "Entrez le nom.";
$text['description-access_control_name']['he-il'] = " הזן את השם.";
$text['description-access_control_name']['it-it'] = "Inserisci il nome.";
$text['description-access_control_name']['nl-nl'] = "";
$text['description-access_control_name']['pl-pl'] = " Wpisz nazwę.";
$text['description-access_control_name']['pt-br'] = "Digite o nome."; //copied from pt-pt
$text['description-access_control_name']['pt-pt'] = "Digite o nome.";
$text['description-access_control_name']['ro-ro'] = "Introduceți numele.";
$text['description-access_control_name']['ru-ru'] = "Введите имя.";
$text['description-access_control_name']['sv-se'] = "Ange namnet.";
$text['description-access_control_name']['uk-ua'] = "Введіть ім'я.";
$text['description-access_control_description']['en-us'] = "Enter the description";
$text['description-access_control_description']['es-cl'] = "Introduzca la descripción";
$text['description-access_control_description']['pt-pt'] = "Digite a descrição";
$text['description-access_control_description']['fr-fr'] = "Entrez la description.";
$text['description-access_control_description']['pt-br'] = "Digite a descrição.";
$text['description-access_control_description']['he'] = " הזן את התיאור";
$text['description-access_control_description']['de-at'] = "Geben Sie die Beschreibung";
$text['description-access_control_description']['pl'] = "Wprowadź opis";
$text['description-access_control_description']['ro'] = "Introduceți descrierea";
$text['description-access_control_description']['uk'] = "Введіть опис";
$text['description-access_control_description']['sv-se'] = "Skriv en beskrivning";
$text['description-access_control_description']['ar-eg'] = "دخل وصف";
$text['description-access_control_description']['de-at'] = "Beschreibung eingeben."; //copied from de-de
$text['description-access_control_description']['de-ch'] = "Beschreibung eingeben."; //copied from de-de
$text['description-access_control_description']['de-de'] = "Beschreibung eingeben.";
$text['description-access_control_description']['es-cl'] = "Introduzca la descripción";
$text['description-access_control_description']['es-mx'] = "Introduzca la descripción"; //copied from es-cl
$text['description-access_control_description']['fr-ca'] = "Entrez la description."; //copied from fr-fr
$text['description-access_control_description']['fr-fr'] = "Entrez la description.";
$text['description-access_control_description']['he-il'] = " הזן את התיאור";
$text['description-access_control_description']['it-it'] = "Inserisci la descrizione";
$text['description-access_control_description']['nl-nl'] = "";
$text['description-access_control_description']['pl-pl'] = "Wprowadź opis";
$text['description-access_control_description']['pt-br'] = "Digite a descrição.";
$text['description-access_control_description']['pt-pt'] = "Digite a descrição";
$text['description-access_control_description']['ro-ro'] = "Introduceți descrierea";
$text['description-access_control_description']['ru-ru'] = "Введите описание";
$text['description-access_control_description']['sv-se'] = "Ange en beskrivning";
$text['description-access_control_description']['uk-ua'] = "Введіть опис";
$text['description-access_control_default']['en-us'] = "Select the default type.";
$text['description-access_control_default']['es-cl'] = "Seleccione el tipo de defecto.";
$text['description-access_control_default']['pt-pt'] = "Selecione o tipo de padrão.";
$text['description-access_control_default']['fr-fr'] = "Sélectionnez le type de défaut";
$text['description-access_control_default']['pt-br'] = "Selecione o tipo de padrão.";
$text['description-access_control_default']['he'] = " בחר את סוג ברירת המחדל.";
$text['description-access_control_default']['de-at'] = " Wählen Sie den Standardtyp.";
$text['description-access_control_default']['pl'] = "Wybierz typ domyślny.";
$text['description-access_control_default']['ro'] = "Selectați tipul implicit.";
$text['description-access_control_default']['uk'] = "Вибір типу за замовчуванням.";
$text['description-access_control_default']['sv-se'] = "Välj standardtypen.";
$text['description-access_control_default']['ar-eg'] = "حدد نوع الافتراضي.";
$text['description-access_control_default']['de-at'] = " Wählen Sie den Standardtyp."; //copied from de-de
$text['description-access_control_default']['de-ch'] = " Wählen Sie den Standardtyp."; //copied from de-de
$text['description-access_control_default']['de-de'] = " Wählen Sie den Standardtyp.";
$text['description-access_control_default']['es-cl'] = "Seleccione el tipo de defecto.";
$text['description-access_control_default']['es-mx'] = "Seleccione el tipo de defecto."; //copied from es-cl
$text['description-access_control_default']['fr-ca'] = "Sélectionnez le type de défaut"; //copied from fr-fr
$text['description-access_control_default']['fr-fr'] = "Sélectionnez le type de défaut";
$text['description-access_control_default']['he-il'] = " בחר את סוג ברירת המחדל.";
$text['description-access_control_default']['it-it'] = "Scegli il tipo di default.";
$text['description-access_control_default']['nl-nl'] = "";
$text['description-access_control_default']['pl-pl'] = "Wybierz typ domyślny.";
$text['description-access_control_default']['pt-br'] = "Selecione o tipo de padrão."; //copied from pt-pt
$text['description-access_control_default']['pt-pt'] = "Selecione o tipo de padrão.";
$text['description-access_control_default']['ro-ro'] = "Selectați tipul implicit.";
$text['description-access_control_default']['ru-ru'] = "Выберите тип по умолчанию.";
$text['description-access_control_default']['sv-se'] = "Välj standardtypen.";
$text['description-access_control_default']['uk-ua'] = "Вибір типу за замовчуванням.";
$text['description-access_control']['en-us'] = "Access control list can allow or deny ranges of IP addresses.";
$text['description-access_control']['es-cl'] = " Lista de control de acceso puede permitir o denegar los rangos de direcciones IP.";
$text['description-access_control']['pt-pt'] = "Lista de controle de acesso pode permitir ou negar intervalos de endereços IP.";
$text['description-access_control']['fr-fr'] = " Liste de contrôle d'accès peut autoriser ou refuser des plages d'adresses IP.";
$text['description-access_control']['pt-br'] = "Lista de controle de acesso pode permitir ou negar intervalos de endereços IP.";
$text['description-access_control']['he'] = " רשימת בקרת גישה יכולה לאפשר או למנוע טווחים של כתובות IP.";
$text['description-access_control']['de-at'] = " Zugriffssteuerungsliste kann zulassen oder ablehnen Bereiche von IP-Adressen.";
$text['description-access_control']['pl'] = "Lista kontroli dostępu może umożliwić lub zablokować zakresy adresów IP.";
$text['description-access_control']['ro'] = "Lista de control al accesului poate permite sau refuza intervale de adrese IP.";
$text['description-access_control']['uk'] = "Список контролю доступу може дозволити або заборонити діапазони IP-адрес.";
$text['description-access_control']['sv-se'] = "Åtkomstkontrollista kan tillåta eller neka intervall av IP-adresser.";
$text['description-access_control']['ar-eg'] = "قائمة التحكم بالوصول يمكن السماح أو الرفض نطاقات العناوين.";
$text['description-access_control']['de-at'] = " Die Zugriffskontrollliste kann Bereiche von IP Adressen zulassen oder ablehnen."; //copied from de-de
$text['description-access_control']['de-ch'] = " Die Zugriffskontrollliste kann Bereiche von IP Adressen zulassen oder ablehnen."; //copied from de-de
$text['description-access_control']['de-de'] = " Die Zugriffskontrollliste kann Bereiche von IP Adressen zulassen oder ablehnen.";
$text['description-access_control']['es-cl'] = " Lista de control de acceso puede permitir o denegar los rangos de direcciones IP.";
$text['description-access_control']['es-mx'] = " Lista de control de acceso puede permitir o denegar los rangos de direcciones IP."; //copied from es-cl
$text['description-access_control']['fr-ca'] = " Liste de contrôle d'accès peut autoriser ou refuser des plages d'adresses IP."; //copied from fr-fr
$text['description-access_control']['fr-fr'] = " Liste de contrôle d'accès peut autoriser ou refuser des plages d'adresses IP.";
$text['description-access_control']['he-il'] = " רשימת בקרת גישה יכולה לאפשר או למנוע טווחים של כתובות IP.";
$text['description-access_control']['it-it'] = "Le liste per il controllo di accesso permettono o negano l'accesso a range di IP.";
$text['description-access_control']['nl-nl'] = "";
$text['description-access_control']['pl-pl'] = "Lista kontroli dostępu może umożliwić lub zablokować zakresy adresów IP.";
$text['description-access_control']['pt-br'] = "Lista de controle de acesso pode permitir ou negar intervalos de endereços IP."; //copied from pt-pt
$text['description-access_control']['pt-pt'] = "Lista de controle de acesso pode permitir ou negar intervalos de endereços IP.";
$text['description-access_control']['ro-ro'] = "Lista de control al accesului poate permite sau refuza intervale de adrese IP.";
$text['description-access_control']['ru-ru'] = "Контроль доступа может разрешить или запретить диапазоны IP адресов.";
$text['description-access_control']['sv-se'] = "Åtkomstkontrollista kan tillåta eller neka intervall av IP-adresser.";
$text['description-access_control']['uk-ua'] = "Список контролю доступу може дозволити або заборонити діапазони IP-адрес.";
?>
?>
+25 -17
View File
@@ -1,21 +1,29 @@
<?php
$apps[$x]['menu'][0]['title']['en-us'] = "Access Controls";
$apps[$x]['menu'][0]['title']['fr-fr'] = "Contrôles d'accès";
$apps[$x]['menu'][0]['title']['pt-pt'] = "Controles de Acesso";
$apps[$x]['menu'][0]['title']['pt-br'] = "Controles de Acesso";
$apps[$x]['menu'][0]['title']['es-cl'] = "Controles de acceso";
$apps[$x]['menu'][0]['title']['he'] = "בקרת גישה";
$apps[$x]['menu'][0]['title']['de-at'] = " Zugriffskontrolle";
$apps[$x]['menu'][0]['title']['pl'] = "Kontrola dostępu";
$apps[$x]['menu'][0]['title']['ro'] = "Controale de acces";
$apps[$x]['menu'][0]['title']['uk'] = "контроль доступу";
$apps[$x]['menu'][0]['title']['sv-se'] = "Åtkomstkontroll";
$apps[$x]['menu'][0]['title']['ar-eg'] = "عناصر التحكم في الوصول";
$apps[$x]['menu'][0]['uuid'] = "bd47c972-5498-4541-b44a-d4bbfac69496";
$apps[$x]['menu'][0]['parent_uuid'] = "594d99c5-6128-9c88-ca35-4b33392cec0f";
$apps[$x]['menu'][0]['category'] = "internal";
$apps[$x]['menu'][0]['path'] = "/app/access_controls/access_controls.php";
$apps[$x]['menu'][0]['groups'][] = "superadmin";
$y=0;
$apps[$x]['menu'][$y]['title']['en-us'] = "Access Controls";
$apps[$x]['menu'][$y]['title']['ar-eg'] = "عناصر التحكم في الوصول";
$apps[$x]['menu'][$y]['title']['de-at'] = " Zugriffskontrolle";
$apps[$x]['menu'][$y]['title']['de-ch'] = "";
$apps[$x]['menu'][$y]['title']['de-de'] = " Zugriffskontrolle";
$apps[$x]['menu'][$y]['title']['es-cl'] = "Controles de acceso";
$apps[$x]['menu'][$y]['title']['es-mx'] = "";
$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
$apps[$x]['menu'][$y]['title']['fr-fr'] = "Contrôles d'accès";
$apps[$x]['menu'][$y]['title']['he-il'] = "בקרת גישה";
$apps[$x]['menu'][$y]['title']['it-it'] = "Controlli Accesso";
$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
$apps[$x]['menu'][$y]['title']['pl-pl'] = "Kontrola dostępu";
$apps[$x]['menu'][$y]['title']['pt-br'] = "Controles de Acesso";
$apps[$x]['menu'][$y]['title']['pt-pt'] = "Controles de Acesso";
$apps[$x]['menu'][$y]['title']['ro-ro'] = "Controale de acces";
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Контроль доступа";
$apps[$x]['menu'][$y]['title']['uk-ua'] = "контроль доступу";
$apps[$x]['menu'][$y]['title']['sv-se'] = "Åtkomstkontroll";
$apps[$x]['menu'][$y]['uuid'] = "bd47c972-5498-4541-b44a-d4bbfac69496";
$apps[$x]['menu'][$y]['parent_uuid'] = "594d99c5-6128-9c88-ca35-4b33392cec0f";
$apps[$x]['menu'][$y]['category'] = "internal";
$apps[$x]['menu'][$y]['path'] = "/app/access_controls/access_controls.php";
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
?>
+25 -6
View File
@@ -9,19 +9,38 @@
$apps[$x]['license'] = "http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0";
$apps[$x]['url'] = "http://www.adminer.org/";
$apps[$x]['description']['en-us'] = "Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP. Adminer is available for MySQL, PostgreSQL, SQLite, MS SQL and Oracle.";
$apps[$x]['description']['es-cl'] = "Adminer (anteriormente phpMinAdmin) es una herramienta completa para la gestión de bases de datos escrita en PHP. Adminer está disponible para MySQL, PostgreSQL, SQLite, MS SQL y Oracle)";
$apps[$x]['description']['de-de'] = "";
$apps[$x]['description']['ar-eg'] = "";
$apps[$x]['description']['de-at'] = "Adminer (ehemals phpMinAdmin) ist ein umfassendes Werkzeug für die Datenbankverwaltung welches in PHP geschrieben wurde. Es ist für MySQL, PostgreSQL, SQLite, MS SQL und Oracle verfügbar.";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-at'] = "";
$apps[$x]['description']['fr-fr'] = "Adminer (précédemment phpMinAdmin) est un outil gestion de base de données complet écrite en php. Adminer est disponible pour MySQL, PostgreSQL, SQLite, MS SQL et Oracle.";
$apps[$x]['description']['de-de'] = "Adminer (ehemals phpMinAdmin) ist ein umfassendes Werkzeug für die Datenbankverwaltung welches in PHP geschrieben wurde. Es ist für MySQL, PostgreSQL, SQLite, MS SQL und Oracle verfügbar.";
$apps[$x]['description']['es-cl'] = "Adminer (anteriormente phpMinAdmin) es una herramienta completa para la gestión de bases de datos escrita en PHP. Adminer está disponible para MySQL, PostgreSQL, SQLite, MS SQL y Oracle)";
$apps[$x]['description']['es-mx'] = "";
$apps[$x]['description']['fr-ca'] = "";
$apps[$x]['description']['fr-ch'] = "";
$apps[$x]['description']['pt-pt'] = "Adminer (anteriormente phpMinAdmin) é uma ferramenta completa para gestão de bases de dados escrita em PHP. O Adminer está disponível para MySQL, PostgreSQL, SQLite, MS SQL e Oracle.";
$apps[$x]['description']['fr-fr'] = "Adminer (précédemment phpMinAdmin) est un outil gestion de base de données complet écrite en php. Adminer est disponible pour MySQL, PostgreSQL, SQLite, MS SQL et Oracle.";
$apps[$x]['description']['he-il'] = "";
$apps[$x]['description']['it-it'] = "";
$apps[$x]['description']['nl-nl'] = "";
$apps[$x]['description']['pl-pl'] = "";
$apps[$x]['description']['pt-br'] = "";
$apps[$x]['description']['pt-pt'] = "Adminer (anteriormente phpMinAdmin) é uma ferramenta completa para gestão de bases de dados escrita em PHP. O Adminer está disponível para MySQL, PostgreSQL, SQLite, MS SQL e Oracle.";
$apps[$x]['description']['ro-ro'] = "";
$apps[$x]['description']['ru-ru'] = "Adminer (в прошлом phpMinAdmin) это полнофункциональный инструмент управления базами данных, написанный на PHP. Adminer доступен для for MySQL, PostgreSQL, SQLite, MS SQL и Oracle.";
$apps[$x]['description']['sv-se'] = "";
$apps[$x]['description']['uk-ua'] = "";
//permission details
$apps[$x]['permissions'][0]['name'] = "adminer";
$apps[$x]['permissions'][0]['menu']['uuid'] = "1f59d07b-b4f7-4f9e-bde9-312cf491d66e";
$apps[$x]['permissions'][0]['groups'][] = "superadmin";
//default settings
$y=0;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "e34b276a-1b64-4d11-9470-ae3ea977c47e";
$apps[$x]['default_settings'][$y]['default_setting_category'] = "adminer";
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "auto_login";
$apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
$apps[$x]['default_settings'][$y]['default_setting_value'] = "true";
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Set whether to auto-login to Adminer, or require a username and password.";
?>
+32 -65
View File
@@ -1,65 +1,32 @@
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2015
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
//proccess this only one time
if ($domains_processed == 1) {
//define array of settings
$x = 0;
$array[$x]['default_setting_category'] = 'adminer';
$array[$x]['default_setting_subcategory'] = 'auto_login';
$array[$x]['default_setting_name'] = 'boolean';
$array[$x]['default_setting_value'] = 'true';
$array[$x]['default_setting_enabled'] = 'false';
$array[$x]['default_setting_description'] = 'Set whether to auto-login to Adminer, or require a username and password.';
$x++;
//iterate and add each, if necessary
foreach ($array as $index => $default_settings) {
//add the default setting
$sql = "select count(*) as num_rows from v_default_settings ";
$sql .= "where default_setting_category = '".$default_settings['default_setting_category']."' ";
$sql .= "and default_setting_subcategory = '".$default_settings['default_setting_subcategory']."' ";
$sql .= "and default_setting_name = '".$default_settings['default_setting_name']."' ";
$prep_statement = $db->prepare($sql);
if ($prep_statement) {
$prep_statement->execute();
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
unset($prep_statement);
if ($row['num_rows'] == 0) {
$orm = new orm;
$orm->name('default_settings');
$orm->save($array[$index]);
$message = $orm->message;
//print_r($message);
}
unset($row);
}
}
}
?>
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2016
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
//proccess this only one time
if ($domains_processed == 1) {
}
?>
+26 -16
View File
@@ -1,20 +1,30 @@
<?php
$apps[$x]['menu'][0]['title']['en-us'] = "Adminer";
$apps[$x]['menu'][0]['title']['es-cl'] = "Administrador";
$apps[$x]['menu'][0]['title']['de-de'] = "";
$apps[$x]['menu'][0]['title']['de-ch'] = "";
$apps[$x]['menu'][0]['title']['de-at'] = "";
$apps[$x]['menu'][0]['title']['fr-fr'] = "Admin BDD";
$apps[$x]['menu'][0]['title']['fr-ca'] = "";
$apps[$x]['menu'][0]['title']['fr-ch'] = "";
$apps[$x]['menu'][0]['title']['pt-pt'] = "Administrador";
$apps[$x]['menu'][0]['title']['pt-br'] = "Adminer";
$apps[$x]['menu'][0]['uuid'] = "1f59d07b-b4f7-4f9e-bde9-312cf491d66e";
$apps[$x]['menu'][0]['parent_uuid'] = "594d99c5-6128-9c88-ca35-4b33392cec0f";
$apps[$x]['menu'][0]['category'] = "external";
$apps[$x]['menu'][0]['icon'] = "glyphicon-new-window";
$apps[$x]['menu'][0]['path'] = "/app/adminer/index.php";
$apps[$x]['menu'][0]['groups'][] = "superadmin";
$y=0;
$apps[$x]['menu'][$y]['title']['en-us'] = "Adminer";
$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
$apps[$x]['menu'][$y]['title']['de-at'] = "Adminer";
$apps[$x]['menu'][$y]['title']['de-ch'] = "";
$apps[$x]['menu'][$y]['title']['de-de'] = "Adminer";
$apps[$x]['menu'][$y]['title']['es-cl'] = "Administrador";
$apps[$x]['menu'][$y]['title']['es-mx'] = "";
$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
$apps[$x]['menu'][$y]['title']['fr-fr'] = "Admin BDD";
$apps[$x]['menu'][$y]['title']['he-il'] = "";
$apps[$x]['menu'][$y]['title']['it-it'] = "Adminer";
$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
$apps[$x]['menu'][$y]['title']['pl-pl'] = "";
$apps[$x]['menu'][$y]['title']['pt-br'] = "Adminer";
$apps[$x]['menu'][$y]['title']['pt-pt'] = "Administrador";
$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Администрирование БД";
$apps[$x]['menu'][$y]['title']['sv-se'] = "";
$apps[$x]['menu'][$y]['title']['uk-ua'] = "";
$apps[$x]['menu'][$y]['uuid'] = "1f59d07b-b4f7-4f9e-bde9-312cf491d66e";
$apps[$x]['menu'][$y]['parent_uuid'] = "594d99c5-6128-9c88-ca35-4b33392cec0f";
$apps[$x]['menu'][$y]['category'] = "external";
$apps[$x]['menu'][$y]['icon'] = "glyphicon-new-window";
$apps[$x]['menu'][$y]['path'] = "/app/adminer/index.php";
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
?>
+198
View File
@@ -0,0 +1,198 @@
<?php
class azure{
public static $formats = array (
'English-Zira' =>
array (
'lang' => 'en-US',
'gender' => 'Female',
'name' => 'Microsoft Server Speech Text to Speech Voice (en-US, ZiraRUS)'
),
'English-Jessa' =>
array (
'lang' => 'en-US',
'gender' => 'Female',
'name' => 'Microsoft Server Speech Text to Speech Voice (en-US, JessaRUS)'
),
'English-Benjamin' =>
array (
'lang' => 'en-US',
'gender' => 'Male',
'name' => 'Microsoft Server Speech Text to Speech Voice (en-US, BenjaminRUS)'
),
'British-Susan' =>
array (
'lang' => 'en-GB',
'gender' => 'Female',
'name' => 'Microsoft Server Speech Text to Speech Voice (en-GB, Susan, Apollo)'
),
'British-Hazel' =>
array (
'lang' => 'en-GB',
'gender' => 'Female',
'name' => 'Microsoft Server Speech Text to Speech Voice (en-GB, HazelRUS)'
),
'British-George' =>
array (
'lang' => 'en-GB',
'gender' => 'Male',
'name' => 'Microsoft Server Speech Text to Speech Voice (en-GB, George, Apollo)'
),
'Australian-Catherine' =>
array (
'lang' => 'en-AU',
'gender' => 'Female',
'name' => 'Microsoft Server Speech Text to Speech Voice (en-AU, Catherine)'
),
'Spanish-Helena' =>
array (
'lang' => 'es-ES',
'gender' => 'Female',
'name' => 'Microsoft Server Speech Text to Speech Voice (es-ES, HelenaRUS)'
),
'Spanish-Laura' =>
array (
'lang' => 'es-ES',
'gender' => 'Female',
'name' => 'Microsoft Server Speech Text to Speech Voice (es-ES, Laura, Apollo)'
),
'Spanish-Pablo' =>
array (
'lang' => 'es-ES',
'gender' => 'Male',
'name' => 'Microsoft Server Speech Text to Speech Voice (es-ES, Pablo, Apollo)'
),
'French-Julie' =>
array (
'lang' => 'fr-FR',
'gender' => 'Female',
'name' => 'Microsoft Server Speech Text to Speech Voice (fr-FR, Julie, Apollo)'
),
'French-Hortense' =>
array (
'lang' => 'fr-FR',
'gender' => 'Female',
'name' => 'Microsoft Server Speech Text to Speech Voice (fr-FR, HortenseRUS)'
),
'French-Paul' =>
array (
'lang' => 'fr-FR',
'gender' => 'Male',
'name' => 'Microsoft Server Speech Text to Speech Voice (fr-FR, Paul, Apollo)'
),
'German-Hedda' =>
array (
'lang' => 'de-DE',
'gender' => 'Female',
'name' => 'Microsoft Server Speech Text to Speech Voice (de-DE, Hedda)'
),
'Russian-Irina' =>
array (
'lang' => 'ru-RU',
'gender' => 'Female',
'name' => 'Microsoft Server Speech Text to Speech Voice (ru-RU, Irina, Apollo)'
),
'Russian-Pavel' =>
array (
'lang' => 'ru-RU',
'gender' => 'Male',
'name' => 'Microsoft Server Speech Text to Speech Voice (ru-RU, Pavel, Apollo)'
),
'Chinese-Huihui' =>
array (
'lang' => 'zh-CN',
'gender' => 'Female',
'name' => 'Microsoft Server Speech Text to Speech Voice (zh-CN, HuihuiRUS)'
),
'Chinese-Yaoyao' =>
array (
'lang' => 'zh-CN',
'gender' => 'Female',
'name' => 'Microsoft Server Speech Text to Speech Voice (zh-CN, Yaoyao, Apollo)'
),
'Chinese-Kangkang' =>
array (
'lang' => 'zh-CN',
'gender' => 'Male',
'name' => 'Microsoft Server Speech Text to Speech Voice (zh-CN, Kangkang, Apollo)'
)
);
private static function getTokenUrl(){
return "https://api.cognitive.microsoft.com/sts/v1.0/issueToken";
}
private static function getApiUrl(){
return "https://speech.platform.bing.com/synthesize";
}
private static function getSubscriptionKey(){
return $_SESSION['azure]['key']['text'];
}
private static function _getToken(){
$url = self::getTokenUrl();
$subscriptionKey = self::getSubscriptionKey();
$headers = array();
$headers[] = 'Ocp-Apim-Subscription-Key: '. $subscriptionKey;
$headers[] = 'Content-Length: 0';
$ch = curl_init();
curl_setopt( $ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, 1 );
curl_setopt ( $ch, CURLOPT_URL, $url );
//curl_setopt($ch, CURLOPT_SSLVERSION, 1);
curl_setopt ( $ch, CURLOPT_CONNECTTIMEOUT, 60 );
curl_setopt ( $ch, CURLOPT_TIMEOUT, 300 );
curl_setopt ( $ch, CURLOPT_VERBOSE, false);
curl_setopt($ch, CURLOPT_POST, true);
//curl_setopt($ch, CURLOPT_POSTFIELDS, $xml_post_string);
$response = curl_exec($ch);
curl_close($ch);
return $response;
}
public static function synthesize($data,$formate_key){
$lang = self::$formats[$formate_key]['lang'];
$gender = self::$formats[$formate_key]['gender'];
$name = self::$formats[$formate_key]['name'];
$token = self::_getToken();
$url = self::getApiUrl();
$headers = array();
$headers[] = 'Authorization: Bearer '. $token;
$headers[] = 'Content-Type: application/ssml+xml';
$headers[] = 'X-Microsoft-OutputFormat: riff-16khz-16bit-mono-pcm';
$headers[] = 'User-Agent: TTS';
$xml_post_string = "<speak version='1.0' xml:lang='".$lang."'>
<voice xml:lang='".$lang."' xml:gender='".$gender."' name='".$name."'>";
$xml_post_string .= $data;
$xml_post_string .= "</voice>
</speak>";
$ch = curl_init();
curl_setopt( $ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, 1 );
curl_setopt ( $ch, CURLOPT_URL, $url );
//curl_setopt($ch, CURLOPT_SSLVERSION, 1);
curl_setopt ( $ch, CURLOPT_CONNECTTIMEOUT, 60 );
curl_setopt ( $ch, CURLOPT_TIMEOUT, 300 );
curl_setopt ( $ch, CURLOPT_VERBOSE, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $xml_post_string);
$response = curl_exec($ch);
$filename = "tts_".time().".wav";
file_put_contents("/var/www/html/fusionpbx/app/voiplyrecording/tts_record/".$filename, $response);
curl_close($ch);
return $filename;
}
}
+18 -10
View File
@@ -1,32 +1,40 @@
<?php
//application details
$apps[$x]['name'] = "Backup";
$apps[$x]['uuid'] = "1df70270-8274-44e9-a43e-5074684649ad";
$apps[$x]['category'] = "App";
$apps[$x]['subcategory'] = "";
$apps[$x]['version'] = "";
$apps[$x]['version'] = "1.0";
$apps[$x]['license'] = "Mozilla Public License 1.1";
$apps[$x]['url'] = "http://www.fusionpbx.com";
$apps[$x]['description']['en-us'] = "";
$apps[$x]['description']['en-us'] = "Manage backups";
$apps[$x]['description']['ar-eg'] = "";
$apps[$x]['description']['de-at'] = "Datensicherung";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-de'] = "Datensicherung";
$apps[$x]['description']['es-cl'] = "";
$apps[$x]['description']['es-mx'] = "";
$apps[$x]['description']['de-de'] = "";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-at'] = "";
$apps[$x]['description']['fr-fr'] = "";
$apps[$x]['description']['fr-ca'] = "";
$apps[$x]['description']['fr-ch'] = "";
$apps[$x]['description']['pt-pt'] = "";
$apps[$x]['description']['fr-fr'] = "";
$apps[$x]['description']['he-il'] = "";
$apps[$x]['description']['it-it'] = "";
$apps[$x]['description']['nl-nl'] = "";
$apps[$x]['description']['pl-pl'] = "";
$apps[$x]['description']['pt-br'] = "";
$apps[$x]['description']['pt-pt'] = "";
$apps[$x]['description']['ro-ro'] = "";
$apps[$x]['description']['ru-ru'] = "";
$apps[$x]['description']['sv-se'] = "";
$apps[$x]['description']['uk-ua'] = "";
//permission details
$y = 0;
$y=0;
$apps[$x]['permissions'][$y]['name'] = "backup_download";
$apps[$x]['permissions'][$y]['menu']['uuid'] = "7e174c3c-e494-4bb0-a52a-4ea55209ffeb";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "backup_upload";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
?>
Executable → Regular
+294 -83
View File
@@ -1,193 +1,404 @@
<?php
#This file was last reorganized on 19th of September 2017 08:54:24 AM UTC
$text['title-backup']['en-us'] = "Backup";
$text['title-backup']['ar-eg'] = "";
$text['title-backup']['de-at'] = "Datensicherung"; //copied from de-de
$text['title-backup']['de-ch'] = "Datensicherung"; //copied from de-de
$text['title-backup']['de-de'] = "Datensicherung";
$text['title-backup']['es-cl'] = "Copia de seguridad";
$text['title-backup']['pt-pt'] = "Backup";
$text['title-backup']['es-mx'] = "Copia de seguridad"; //copied from es-cl
$text['title-backup']['fr-ca'] = "Sauvegarde"; //copied from fr-fr
$text['title-backup']['fr-fr'] = "Sauvegarde";
$text['title-backup']['pt-br'] = "Backup";
$text['title-backup']['pl'] = "Kopie zapasowe";
$text['title-backup']['he-il'] = "";
$text['title-backup']['it-it'] = "Backup";
$text['title-backup']['nl-nl'] = "";
$text['title-backup']['pl-pl'] = "Kopie zapasowe";
$text['title-backup']['pt-br'] = "Backup"; //copied from pt-pt
$text['title-backup']['pt-pt'] = "Backup";
$text['title-backup']['ro-ro'] = "";
$text['title-backup']['ru-ru'] = "Резервное копирование";
$text['title-backup']['sv-se'] = "Backup";
$text['title-backup']['uk'] = "Резервна копія";
$text['title-backup']['de-at'] = "Sicherung";
$text['title-backup']['uk-ua'] = "Резервна копія";
$text['option-file_download']['en-us'] = "File Download";
$text['option-file_download']['ar-eg'] = "";
$text['option-file_download']['de-at'] = "Datei herunterladen"; //copied from de-de
$text['option-file_download']['de-ch'] = "Datei herunterladen"; //copied from de-de
$text['option-file_download']['de-de'] = "Datei herunterladen";
$text['option-file_download']['es-cl'] = "Descarga de archivos";
$text['option-file_download']['pt-pt'] = "download do arquivo";
$text['option-file_download']['es-mx'] = "Descarga de archivos"; //copied from es-cl
$text['option-file_download']['fr-ca'] = "Télécharger le fichier"; //copied from fr-fr
$text['option-file_download']['fr-fr'] = "Télécharger le fichier";
$text['option-file_download']['he-il'] = "";
$text['option-file_download']['it-it'] = "Scarica File";
$text['option-file_download']['nl-nl'] = "";
$text['option-file_download']['pl-pl'] = "Pobierz plik";
$text['option-file_download']['pt-br'] = "Download do arquivo";
$text['option-file_download']['pl'] = "Pobierz plik";
$text['option-file_download']['pt-pt'] = "download do arquivo";
$text['option-file_download']['ro-ro'] = "";
$text['option-file_download']['ru-ru'] = "Скачать архив";
$text['option-file_download']['sv-se'] = "Ladda Ned Fil";
$text['option-file_download']['uk'] = "Скачування файлу";
$text['option-file_download']['de-at'] = "Datei Download";
$text['option-file_download']['uk-ua'] = "Скачування файлу";
$text['option-command']['en-us'] = "Command";
$text['option-command']['ar-eg'] = "";
$text['option-command']['de-at'] = "Befehl"; //copied from de-de
$text['option-command']['de-ch'] = "Befehl"; //copied from de-de
$text['option-command']['de-de'] = "Befehl";
$text['option-command']['es-cl'] = "Comando";
$text['option-command']['pt-pt'] = "Comando";
$text['option-command']['es-mx'] = "Comando"; //copied from es-cl
$text['option-command']['fr-ca'] = "Commandementt"; //copied from fr-fr
$text['option-command']['fr-fr'] = "Commandementt";
$text['option-command']['pt-br'] = "Comando";
$text['option-command']['pl'] = "Polecenie";
$text['option-command']['he-il'] = "";
$text['option-command']['it-it'] = "Comando";
$text['option-command']['nl-nl'] = "";
$text['option-command']['pl-pl'] = "Polecenie";
$text['option-command']['pt-br'] = "Comando"; //copied from pt-pt
$text['option-command']['pt-pt'] = "Comando";
$text['option-command']['ro-ro'] = "";
$text['option-command']['ru-ru'] = "Команда";
$text['option-command']['sv-se'] = "Komando";
$text['option-command']['uk'] = "Команда";
$text['option-command']['de-at'] = "Befehl";
$text['option-command']['uk-ua'] = "Команда";
$text['message-restore_failed_upload']['en-us'] = "Restore Failed - File Upload Failed";
$text['message-restore_failed_upload']['ar-eg'] = "";
$text['message-restore_failed_upload']['de-at'] = "Wiederherstellung fehlgeschlagen - Datei hochladen fehlgeschlagen"; //copied from de-de
$text['message-restore_failed_upload']['de-ch'] = "Wiederherstellung fehlgeschlagen - Datei hochladen fehlgeschlagen"; //copied from de-de
$text['message-restore_failed_upload']['de-de'] = "Wiederherstellung fehlgeschlagen - Datei hochladen fehlgeschlagen";
$text['message-restore_failed_upload']['es-cl'] = "Falló la recup - Cargar archivo Error";
$text['message-restore_failed_upload']['pt-pt'] = "Falha de restauração - Upload de arquivo falhou";
$text['message-restore_failed_upload']['es-mx'] = "Falló la recup - Cargar archivo Error"; //copied from es-cl
$text['message-restore_failed_upload']['fr-ca'] = "Echec de la restauration - Echec du téléchargement"; //copied from fr-fr
$text['message-restore_failed_upload']['fr-fr'] = "Echec de la restauration - Echec du téléchargement";
$text['message-restore_failed_upload']['he-il'] = "";
$text['message-restore_failed_upload']['it-it'] = "Ripristino Fallito - Caricamente File Fallito.";
$text['message-restore_failed_upload']['nl-nl'] = "";
$text['message-restore_failed_upload']['pl-pl'] = "Przywracanie oraz przesłanie pliku nie powiodło się";
$text['message-restore_failed_upload']['pt-br'] = "Falha de restauração - Upload de arquivo falhou ";
$text['message-restore_failed_upload']['pl'] = "Przywracanie oraz przesłanie pliku nie powiodło się";
$text['message-restore_failed_upload']['pt-pt'] = "Falha de restauração - Upload de arquivo falhou";
$text['message-restore_failed_upload']['ro-ro'] = "";
$text['message-restore_failed_upload']['ru-ru'] = "Ошибка восстановления - Загрузка файла не удалась";
$text['message-restore_failed_upload']['sv-se'] = "Återställning Misslyckades - Filöverföring misslyckades";
$text['message-restore_failed_upload']['uk'] = "Помилка відновлення: неможливо завантажити файл";
$text['message-restore_failed_upload']['de-at'] = "Wiederherstellung fehlgeschlagen - Datei hochladen fehlgeschlagen";
$text['message-restore_failed_upload']['uk-ua'] = "Помилка відновлення: неможливо завантажити файл";
$text['message-restore_failed_format']['en-us'] = "Restore Failed - Invalid File Format";
$text['message-restore_failed_format']['ar-eg'] = "";
$text['message-restore_failed_format']['de-at'] = "Wiederherstellung fehlgeschlagen - Ungültiges Dateiformat"; //copied from de-de
$text['message-restore_failed_format']['de-ch'] = "Wiederherstellung fehlgeschlagen - Ungültiges Dateiformat"; //copied from de-de
$text['message-restore_failed_format']['de-de'] = "Wiederherstellung fehlgeschlagen - Ungültiges Dateiformat";
$text['message-restore_failed_format']['es-cl'] = "Restaurar Error - Formato de archivo no válido";
$text['message-restore_failed_format']['pt-pt'] = "Falha na restauração - Formato de arquivo inválido";
$text['message-restore_failed_format']['es-mx'] = "Restaurar Error - Formato de archivo no válido"; //copied from es-cl
$text['message-restore_failed_format']['fr-ca'] = "Échec de la restauration - Format de fichier incorrect"; //copied from fr-fr
$text['message-restore_failed_format']['fr-fr'] = "Échec de la restauration - Format de fichier incorrect";
$text['message-restore_failed_format']['pt-br'] = "Falha na restauração - Formato de arquivo inválido";
$text['message-restore_failed_format']['pl'] = "Przywracanie nie powiodło się - niepoprawny format pliku";
$text['message-restore_failed_format']['he-il'] = "";
$text['message-restore_failed_format']['it-it'] = "Ripristino Fallito - Formato File non Valido.";
$text['message-restore_failed_format']['nl-nl'] = "";
$text['message-restore_failed_format']['pl-pl'] = "Przywracanie nie powiodło się - niepoprawny format pliku";
$text['message-restore_failed_format']['pt-br'] = "Falha na restauração - Formato de arquivo inválido"; //copied from pt-pt
$text['message-restore_failed_format']['pt-pt'] = "Falha na restauração - Formato de arquivo inválido";
$text['message-restore_failed_format']['ro-ro'] = "";
$text['message-restore_failed_format']['ru-ru'] = "Ошибка восстановления - Неверный формат файла";
$text['message-restore_failed_format']['sv-se'] = "Återställning Misslyckades - Ogiltigt Filformat";
$text['message-restore_failed_format']['uk'] = "Помилка відновлення: хибний формат файлу";
$text['message-restore_failed_format']['de-at'] = "Wiederherstellung fehlgeschlagen - Ungültiges Dateiformat";
$text['message-restore_failed_format']['uk-ua'] = "Помилка відновлення: хибний формат файлу";
$text['message-restore_failed_extract']['en-us'] = "Restore Failed - Extraction Error";
$text['message-restore_failed_extract']['ar-eg'] = "";
$text['message-restore_failed_extract']['de-at'] = "Wiederherstellung fehlgeschlagen - Die Extraktion ist fehlgeschlagen"; //copied from de-de
$text['message-restore_failed_extract']['de-ch'] = "Wiederherstellung fehlgeschlagen - Die Extraktion ist fehlgeschlagen"; //copied from de-de
$text['message-restore_failed_extract']['de-de'] = "Wiederherstellung fehlgeschlagen - Die Extraktion ist fehlgeschlagen";
$text['message-restore_failed_extract']['es-cl'] = "Restaurar Error - Error de extracción";
$text['message-restore_failed_extract']['es-mx'] = "Restaurar Error - Error de extracción"; //copied from es-cl
$text['message-restore_failed_extract']['fr-ca'] = "Échec de la restauration - Échec de l'extraction"; //copied from fr-fr
$text['message-restore_failed_extract']['fr-fr'] = "Échec de la restauration - Échec de l'extraction";
$text['message-restore_failed_extract']['he-il'] = "";
$text['message-restore_failed_extract']['it-it'] = "Ripristino Fallito - Errore di Estrazione";
$text['message-restore_failed_extract']['nl-nl'] = "";
$text['message-restore_failed_extract']['pl-pl'] = "Przywracanie nie powiodło się - Ekstrakcja zawiodły";
$text['message-restore_failed_extract']['pt-br'] = "Falha na restauração - Falha na extração"; //copied from pt-pt
$text['message-restore_failed_extract']['pt-pt'] = "Falha na restauração - Falha na extração";
$text['message-restore_failed_extract']['ro-ro'] = "";
$text['message-restore_failed_extract']['ru-ru'] = "Ошибка восстановления - Ошибка при извлечении";
$text['message-restore_failed_extract']['sv-se'] = "Återställning Misslyckades - extraktion misslyckades";
$text['message-restore_failed_extract']['uk-ua'] = "Помилка відновлення: Помилка при вилученні";
$text['message-restore_completed']['en-us'] = "Restore Completed";
$text['message-restore_completed']['ar-eg'] = "";
$text['message-restore_completed']['de-at'] = "Wiederherstellung erfolgreich"; //copied from de-de
$text['message-restore_completed']['de-ch'] = "Wiederherstellung erfolgreich"; //copied from de-de
$text['message-restore_completed']['de-de'] = "Wiederherstellung erfolgreich";
$text['message-restore_completed']['es-cl'] = "Restaurar Completado";
$text['message-restore_completed']['pt-pt'] = "Concluída a Restauração";
$text['message-restore_completed']['es-mx'] = "Restaurar Completado"; //copied from es-cl
$text['message-restore_completed']['fr-ca'] = "Restaurer Terminé"; //copied from fr-fr
$text['message-restore_completed']['fr-fr'] = "Restaurer Terminé";
$text['message-restore_completed']['he-il'] = "";
$text['message-restore_completed']['it-it'] = "Ripristino Completato";
$text['message-restore_completed']['nl-nl'] = "";
$text['message-restore_completed']['pl-pl'] = "Przywracanie zakończono pomyślnie.";
$text['message-restore_completed']['pt-br'] = "Restauração Concluída";
$text['message-restore_completed']['pl'] = "Przywracanie zakończono pomyślnie.";
$text['message-restore_completed']['pt-pt'] = "Concluída a Restauração";
$text['message-restore_completed']['ro-ro'] = "";
$text['message-restore_completed']['ru-ru'] = "Восстановление завершено";
$text['message-restore_completed']['sv-se'] = "Återställning Genomförd";
$text['message-restore_completed']['uk'] = "Відновлено";
$text['message-restore_completed']['de-at'] = "Wiederherstellung erfolgreich";
$text['message-restore_completed']['uk-ua'] = "Відновлено";
$text['message-backup_failed_paths']['en-us'] = "Backup Failed - No Backup Paths Defined";
$text['message-backup_failed_paths']['ar-eg'] = "";
$text['message-backup_failed_paths']['de-at'] = "Sicherung fehlgeschlagen - Kein Sicherungspfad angegeben"; //copied from de-de
$text['message-backup_failed_paths']['de-ch'] = "Sicherung fehlgeschlagen - Kein Sicherungspfad angegeben"; //copied from de-de
$text['message-backup_failed_paths']['de-de'] = "Sicherung fehlgeschlagen - Kein Sicherungspfad angegeben";
$text['message-backup_failed_paths']['es-cl'] = "Fallidos de copia de seguridad - No hay rutas de copia de seguridad definida";
$text['message-backup_failed_paths']['pt-pt'] = "Backup falhou - Sem Caminhos backup definido";
$text['message-backup_failed_paths']['es-mx'] = "Fallidos de copia de seguridad - No hay rutas de copia de seguridad definida"; //copied from es-cl
$text['message-backup_failed_paths']['fr-ca'] = "Echec de sauvegarde - Pas de chemins sauvegarde définis"; //copied from fr-fr
$text['message-backup_failed_paths']['fr-fr'] = "Echec de sauvegarde - Pas de chemins sauvegarde définis";
$text['message-backup_failed_paths']['he-il'] = "";
$text['message-backup_failed_paths']['it-it'] = "Backup Fallito - Path di Backup non definiti.";
$text['message-backup_failed_paths']['nl-nl'] = "";
$text['message-backup_failed_paths']['pl-pl'] = "Przywracanie nie powiodło się – ścieżki nie zostały zdefiniowane.";
$text['message-backup_failed_paths']['pt-br'] = "Backup falhou - Sem destino para o backup definido";
$text['message-backup_failed_paths']['pl'] = "Przywracanie nie powiodło się – ścieżki nie zostały zdefiniowane.";
$text['message-backup_failed_paths']['pt-pt'] = "Backup falhou - Sem Caminhos backup definido";
$text['message-backup_failed_paths']['ro-ro'] = "";
$text['message-backup_failed_paths']['ru-ru'] = "Ошибка - Не указаны пути сохранения резервной копии";
$text['message-backup_failed_paths']['sv-se'] = "Backup misslyckades - Ingen Backup Sökväg Definierad";
$text['message-backup_failed_paths']['uk'] = "Помилка: не вказано шлях для збереження файлу резервної копії";
$text['message-backup_failed_paths']['de-at'] = "Sicherung fehlgeschlagen - Kein Sicherungspfad angegeben";
$text['message-backup_failed_paths']['uk-ua'] = "Помилка: не вказано шлях для збереження файлу резервної копії";
$text['message-backup_failed_format']['en-us'] = "Backup Failed - Unable to Create Backup File";
$text['message-backup_failed_format']['ar-eg'] = "";
$text['message-backup_failed_format']['de-at'] = "Sicherung fehlgeschlagen - Sicherungsdatei kann nicht erstellt werden"; //copied from de-de
$text['message-backup_failed_format']['de-ch'] = "Sicherung fehlgeschlagen - Sicherungsdatei kann nicht erstellt werden"; //copied from de-de
$text['message-backup_failed_format']['de-de'] = "Sicherung fehlgeschlagen - Sicherungsdatei kann nicht erstellt werden";
$text['message-backup_failed_format']['es-cl'] = "Copia de seguridad Error - No se puede crear archivo de copia de seguridad";
$text['message-backup_failed_format']['pt-pt'] = "Falha no backup - Não é possível criar arquivo de backup";
$text['message-backup_failed_format']['es-mx'] = "Copia de seguridad Error - No se puede crear archivo de copia de seguridad"; //copied from es-cl
$text['message-backup_failed_format']['fr-ca'] = "Echec de la sauvegarde - Impossible de créer le fichier de sauvegarde"; //copied from fr-fr
$text['message-backup_failed_format']['fr-fr'] = "Echec de la sauvegarde - Impossible de créer le fichier de sauvegarde";
$text['message-backup_failed_format']['he-il'] = "";
$text['message-backup_failed_format']['it-it'] = "Backup Fallito - Impossibile creare File di Backup.";
$text['message-backup_failed_format']['nl-nl'] = "";
$text['message-backup_failed_format']['pl-pl'] = "Przywracanie nie powiodło się - nie można utworzyć pliku kopii zapasowej";
$text['message-backup_failed_format']['pt-br'] = "Falha no backup - Não é possível criar arquivo de backup ";
$text['message-backup_failed_format']['pl'] = "Przywracanie nie powiodło się - nie można utworzyć pliku kopii zapasowej";
$text['message-backup_failed_format']['pt-pt'] = "Falha no backup - Não é possível criar arquivo de backup";
$text['message-backup_failed_format']['ro-ro'] = "";
$text['message-backup_failed_format']['ru-ru'] = "Ошибка - Невозможно создать файл резервной копии";
$text['message-backup_failed_format']['sv-se'] = "Backup misslyckades - Kunde Inte Skapa Backup Fil";
$text['message-backup_failed_format']['uk'] = "Помилка: неможливо створити файл резервної копії";
$text['message-backup_failed_format']['de-at'] = "Sicherung fehlgeschlagen - Sicherungsdatei kann nicht erstellt werden";
$text['message-backup_failed_format']['uk-ua'] = "Помилка: неможливо створити файл резервної копії";
$text['label-target_type']['en-us'] = "Target Type";
$text['label-target_type']['ar-eg'] = "";
$text['label-target_type']['de-at'] = "Ziel Typ"; //copied from de-de
$text['label-target_type']['de-ch'] = "Ziel Typ"; //copied from de-de
$text['label-target_type']['de-de'] = "Ziel Typ";
$text['label-target_type']['es-cl'] = "Tipo de destino";
$text['label-target_type']['pt-pt'] = "Tipo de Destino";
$text['label-target_type']['es-mx'] = "Tipo de destino"; //copied from es-cl
$text['label-target_type']['fr-ca'] = "type de cible"; //copied from fr-fr
$text['label-target_type']['fr-fr'] = "type de cible";
$text['label-target_type']['he-il'] = "";
$text['label-target_type']['it-it'] = "Tipo Destinazione";
$text['label-target_type']['nl-nl'] = "";
$text['label-target_type']['pl-pl'] = "Typ docelowy";
$text['label-target_type']['pt-br'] = "Tipo de destino";
$text['label-target_type']['pl'] = "Typ docelowy";
$text['label-target_type']['pt-pt'] = "Tipo de Destino";
$text['label-target_type']['ro-ro'] = "";
$text['label-target_type']['ru-ru'] = "Тип";
$text['label-target_type']['sv-se'] = "Mål Typ";
$text['label-target_type']['uk'] = "Призначення";
$text['label-target_type']['de-at'] = "Ziel Typ";
$text['label-target_type']['uk-ua'] = "Призначення";
$text['label-source_paths']['en-us'] = "Source Paths";
$text['label-source_paths']['ar-eg'] = "";
$text['label-source_paths']['de-at'] = "Quell Pfade"; //copied from de-de
$text['label-source_paths']['de-ch'] = "Quell Pfade"; //copied from de-de
$text['label-source_paths']['de-de'] = "Quell Pfade";
$text['label-source_paths']['es-cl'] = "Fuente Caminos";
$text['label-source_paths']['pt-pt'] = "Fonte Caminhos";
$text['label-source_paths']['es-mx'] = "Fuente Caminos"; //copied from es-cl
$text['label-source_paths']['fr-ca'] = "Chemins Source"; //copied from fr-fr
$text['label-source_paths']['fr-fr'] = "Chemins Source";
$text['label-source_paths']['he-il'] = "";
$text['label-source_paths']['it-it'] = "Path Sorgenti";
$text['label-source_paths']['nl-nl'] = "";
$text['label-source_paths']['pl-pl'] = " Ścieżki źródłowe";
$text['label-source_paths']['pt-br'] = "Destino de origem";
$text['label-source_paths']['pl'] = " Ścieżki źródłowe";
$text['label-source_paths']['pt-pt'] = "Fonte Caminhos";
$text['label-source_paths']['ro-ro'] = "";
$text['label-source_paths']['ru-ru'] = "Объекты резервного копирования";
$text['label-source_paths']['sv-se'] = "Källa Sökväg";
$text['label-source_paths']['uk'] = "Об’єкти для резервного копіювання";
$text['label-source_paths']['de-at'] = "Quell Pfade";
$text['label-source_paths']['uk-ua'] = "Об’єкти для резервного копіювання";
$text['label-select_backup']['en-us'] = "Select Backup File";
$text['label-select_backup']['ar-eg'] = "";
$text['label-select_backup']['de-at'] = "Wählen Sie eine Sicherungsdatei aus"; //copied from de-de
$text['label-select_backup']['de-ch'] = "Wählen Sie eine Sicherungsdatei aus"; //copied from de-de
$text['label-select_backup']['de-de'] = "Wählen Sie eine Sicherungsdatei aus";
$text['label-select_backup']['es-cl'] = "Seleccione Copia de Seguridad";
$text['label-select_backup']['pt-pt'] = "Selecione Backup";
$text['label-select_backup']['es-mx'] = "Seleccione Copia de Seguridad"; //copied from es-cl
$text['label-select_backup']['fr-ca'] = "Sélectionnez le Fichier de Sauvegarde"; //copied from fr-fr
$text['label-select_backup']['fr-fr'] = "Sélectionnez le Fichier de Sauvegarde";
$text['label-select_backup']['he-il'] = "";
$text['label-select_backup']['it-it'] = "Scegli File di Backup";
$text['label-select_backup']['nl-nl'] = "";
$text['label-select_backup']['pl-pl'] = "Wybierz plik kopii zapasowej";
$text['label-select_backup']['pt-br'] = "Selecione o arquivo de Backup";
$text['label-select_backup']['pl'] = "Wybierz plik kopii zapasowej";
$text['label-select_backup']['pt-pt'] = "Selecione Backup";
$text['label-select_backup']['ro-ro'] = "";
$text['label-select_backup']['ru-ru'] = "Выберите файл резервной копии";
$text['label-select_backup']['sv-se'] = "Välj Backup Fil";
$text['label-select_backup']['uk'] = "Виберіть файл резервної копії";
$text['label-select_backup']['de-at'] = "Wählen Sie eine Sicherungsdatei";
$text['label-select_backup']['uk-ua'] = "Виберіть файл резервної копії";
$text['label-file_format']['en-us'] = "File Format";
$text['label-file_format']['ar-eg'] = "";
$text['label-file_format']['de-at'] = "Dateiformat"; //copied from de-de
$text['label-file_format']['de-ch'] = "Dateiformat"; //copied from de-de
$text['label-file_format']['de-de'] = "Dateiformat";
$text['label-file_format']['es-cl'] = "Formato de Archivo";
$text['label-file_format']['pt-pt'] = "Formato de arquivo";
$text['label-file_format']['es-mx'] = "Formato de Archivo"; //copied from es-cl
$text['label-file_format']['fr-ca'] = "Format de Fichier"; //copied from fr-fr
$text['label-file_format']['fr-fr'] = "Format de Fichier";
$text['label-file_format']['he-il'] = "";
$text['label-file_format']['it-it'] = "Formato File";
$text['label-file_format']['nl-nl'] = "";
$text['label-file_format']['pl-pl'] = "Format pliku";
$text['label-file_format']['pt-br'] = "Formato do arquivo";
$text['label-file_format']['pl'] = "Format pliku";
$text['label-file_format']['pt-pt'] = "Formato de arquivo";
$text['label-file_format']['ro-ro'] = "";
$text['label-file_format']['ru-ru'] = "Формат файла";
$text['label-file_format']['sv-se'] = "Filformat";
$text['label-file_format']['uk'] = "Формат файлу";
$text['label-file_format']['de-at'] = "Dateiformat";
$text['label-file_format']['uk-ua'] = "Формат файлу";
$text['label-command']['en-us'] = "Command";
$text['label-command']['ar-eg'] = "";
$text['label-command']['de-at'] = "Befehl"; //copied from de-de
$text['label-command']['de-ch'] = "Befehl"; //copied from de-de
$text['label-command']['de-de'] = "Befehl";
$text['label-command']['es-cl'] = "Comando";
$text['label-command']['pt-pt'] = "Comando";
$text['label-command']['es-mx'] = "Comando"; //copied from es-cl
$text['label-command']['fr-ca'] = "Commandementt"; //copied from fr-fr
$text['label-command']['fr-fr'] = "Commandementt";
$text['label-command']['pt-br'] = "Comando";
$text['label-command']['pl'] = "Polecenie";
$text['label-command']['he-il'] = "";
$text['label-command']['it-it'] = "Comando";
$text['label-command']['nl-nl'] = "";
$text['label-command']['pl-pl'] = "Polecenie";
$text['label-command']['pt-br'] = "Comando"; //copied from pt-pt
$text['label-command']['pt-pt'] = "Comando";
$text['label-command']['ro-ro'] = "";
$text['label-command']['ru-ru'] = "Команда";
$text['label-command']['sv-se'] = "Komando";
$text['label-command']['uk'] = "Команда";
$text['label-command']['de-at'] = "Befehl";
$text['label-command']['uk-ua'] = "Команда";
$text['header-restore']['en-us'] = "Restore";
$text['header-restore']['ar-eg'] = "";
$text['header-restore']['de-at'] = "Wiederherstellen"; //copied from de-de
$text['header-restore']['de-ch'] = "Wiederherstellen"; //copied from de-de
$text['header-restore']['de-de'] = "Wiederherstellen";
$text['header-restore']['es-cl'] = "Restaurar";
$text['header-restore']['pt-pt'] = "Restaurar";
$text['header-restore']['es-mx'] = "Restaurar"; //copied from es-cl
$text['header-restore']['fr-ca'] = "Restaurer"; //copied from fr-fr
$text['header-restore']['fr-fr'] = "Restaurer";
$text['header-restore']['pt-br'] = "Restaurar";
$text['header-restore']['pl'] = "Przywracanie kopii zapasowej";
$text['header-restore']['he-il'] = "";
$text['header-restore']['it-it'] = "Ripristina";
$text['header-restore']['nl-nl'] = "";
$text['header-restore']['pl-pl'] = "Przywracanie kopii zapasowej";
$text['header-restore']['pt-br'] = "Restaurar"; //copied from pt-pt
$text['header-restore']['pt-pt'] = "Restaurar";
$text['header-restore']['ro-ro'] = "";
$text['header-restore']['ru-ru'] = "Восстановление";
$text['header-restore']['sv-se'] = "Återställ";
$text['header-restore']['uk'] = "Відновлення";
$text['header-restore']['de-at'] = "Wiederherstellen";
$text['header-restore']['uk-ua'] = "Відновлення";
$text['header-backup']['en-us'] = "Backup";
$text['header-backup']['ar-eg'] = "";
$text['header-backup']['de-at'] = "Sichern"; //copied from de-de
$text['header-backup']['de-ch'] = "Sichern"; //copied from de-de
$text['header-backup']['de-de'] = "Sichern";
$text['header-backup']['es-cl'] = "Copia de seguridad";
$text['header-backup']['pt-pt'] = "Backup";
$text['header-backup']['es-mx'] = "Copia de seguridad"; //copied from es-cl
$text['header-backup']['fr-ca'] = "Sauvegarde"; //copied from fr-fr
$text['header-backup']['fr-fr'] = "Sauvegarde";
$text['header-backup']['pt-br'] = "Backup";
$text['header-backup']['pl'] = "Tworzenie kopii zapasowej";
$text['header-backup']['he-il'] = "";
$text['header-backup']['it-it'] = "Backup";
$text['header-backup']['nl-nl'] = "";
$text['header-backup']['pl-pl'] = "Tworzenie kopii zapasowej";
$text['header-backup']['pt-br'] = "Backup"; //copied from pt-pt
$text['header-backup']['pt-pt'] = "Backup";
$text['header-backup']['ro-ro'] = "";
$text['header-backup']['ru-ru'] = "Резервная копия";
$text['header-backup']['sv-se'] = "Backup";
$text['header-backup']['uk'] = "Резервна копія";
$text['header-backup']['de-at'] = "Sichern";
$text['header-backup']['uk-ua'] = "Резервна копія";
$text['description-restore_warning']['en-us'] = "Warning: Existing files, if any, will be overwritten.";
$text['description-restore_warning']['ar-eg'] = "";
$text['description-restore_warning']['de-at'] = "Warnung: Existierende Dateien, falls vorhanden, werden überschrieben."; //copied from de-de
$text['description-restore_warning']['de-ch'] = "Warnung: Existierende Dateien, falls vorhanden, werden überschrieben."; //copied from de-de
$text['description-restore_warning']['de-de'] = "Warnung: Existierende Dateien, falls vorhanden, werden überschrieben.";
$text['description-restore_warning']['es-cl'] = "Advertencia: Los archivos existentes, si los hay, se sobrescribirá.";
$text['description-restore_warning']['pt-pt'] = "Aviso: Os arquivos existentes, se houver, serão substituídos.";
$text['description-restore_warning']['es-mx'] = "Advertencia: Los archivos existentes, si los hay, se sobrescribirá."; //copied from es-cl
$text['description-restore_warning']['fr-ca'] = "Attention: les fichiers existants, s'il y en a, seront écrasés."; //copied from fr-fr
$text['description-restore_warning']['fr-fr'] = "Attention: les fichiers existants, s'il y en a, seront écrasés.";
$text['description-restore_warning']['he-il'] = "";
$text['description-restore_warning']['it-it'] = "Attenzione: I file esistenti saranno sovrascritti.";
$text['description-restore_warning']['nl-nl'] = "";
$text['description-restore_warning']['pl-pl'] = "Uwaga - obecne pliki (jeżeli istnieją), zostaną nadpisane";
$text['description-restore_warning']['pt-br'] = "Aviso: Os arquivos existentes, se houver, serão todos substituidos";
$text['description-restore_warning']['pl'] = "Uwaga - obecne pliki (jeżeli istnieją), zostaną nadpisane";
$text['description-restore_warning']['pt-pt'] = "Aviso: Os arquivos existentes, se houver, serão substituídos.";
$text['description-restore_warning']['ro-ro'] = "";
$text['description-restore_warning']['ru-ru'] = "Внимание! Существующие файлы будут перезаписаны.";
$text['description-restore_warning']['sv-se'] = "Varning: Befintliga filer, om någon, kommer att skrivas över.";
$text['description-restore_warning']['uk'] = "Увага! Файли, які вже існують, будуть перезаписані.";
$text['description-restore_warning']['de-at'] = "Warnung: Existierende Dateien, falls vorhanden, werden überschrieben.";
$text['description-restore_warning']['uk-ua'] = "Увага! Файли, які вже існують, будуть перезаписані.";
$text['description-restore']['en-us'] = "To restore a backup from a file on your local system, click 'Browse' then select the desired backup file (eg. 'backup_[YYMMDD]_[HHMMSS].tgz'), then click the 'Restore' button.";
$text['description-restore']['ar-eg'] = "";
$text['description-restore']['de-at'] = "Um das System von einer lokalen Datei wiederherzustellen klicken Sie 'Durchsuchen' und wählen Sie die gewünschte Sicherungsdatei."; //copied from de-de
$text['description-restore']['de-ch'] = "Um das System von einer lokalen Datei wiederherzustellen klicken Sie 'Durchsuchen' und wählen Sie die gewünschte Sicherungsdatei."; //copied from de-de
$text['description-restore']['de-de'] = "Um das System von einer lokalen Datei wiederherzustellen klicken Sie 'Durchsuchen' und wählen Sie die gewünschte Sicherungsdatei.";
$text['description-restore']['es-cl'] = "Para restaurar una copia de seguridad de un archivo en el sistema local, haga clic en 'Examinar' y seleccione el archivo de copia de seguridad que desee (por ejemplo, 'backup_[YYMMDD]_[HHMMSS].tgz'), a continuación, haga clic en el botón 'Restaurar'.";
$text['description-restore']['pt-pt'] = "Para restaurar um backup de um arquivo em seu sistema local, clique em 'Procurar' e selecione o arquivo de backup desejado (por exemplo, 'backup_[YYMMDD]_[HHMMSS].tgz'), então clique no botão 'Restaurar'.";
$text['description-restore']['es-mx'] = "Para restaurar una copia de seguridad de un archivo en el sistema local, haga clic en 'Examinar' y seleccione el archivo de copia de seguridad que desee (por ejemplo, 'backup_[YYMMDD]_[HHMMSS].tgz'), a continuación, haga clic en el botón 'Restaurar'."; //copied from es-cl
$text['description-restore']['fr-ca'] = "Pour restaurer une sauvegarde à partir d'un fichier sur votre système local, cliquez sur 'Parcourir' puis sélectionnez le fichier de sauvegarde souhaité (par exemple, 'backup_[YYMMDD]_[HHMMSS].tgz'), puis cliquez sur le bouton 'Restaurer'."; //copied from fr-fr
$text['description-restore']['fr-fr'] = "Pour restaurer une sauvegarde à partir d'un fichier sur votre système local, cliquez sur 'Parcourir' puis sélectionnez le fichier de sauvegarde souhaité (par exemple, 'backup_[YYMMDD]_[HHMMSS].tgz'), puis cliquez sur le bouton 'Restaurer'.";
$text['description-restore']['he-il'] = "";
$text['description-restore']['it-it'] = "Per ripristinare un backup da un file nel tuo sistema locale, clicca su 'Sfoglia' quindi seleziona il file di backup desiderato (es. 'backup_[YYMMDD]_[HHMMSS].tgz'), quindi clicca su Ripristina.";
$text['description-restore']['nl-nl'] = "";
$text['description-restore']['pl-pl'] = "Aby przywrócić kopię zapasową z pliku w systemie lokalnym, kliknij 'Przeglądaj', wybierz żądany plik kopii zapasowej (np. 'Backup_ [ YYMMDD ] _ [ GGMMSS ] .tgz' ), a następnie kliknij przycisk 'Przywróć ustawienia domyślne'.";
$text['description-restore']['pt-br'] = "Para restaurar um backup de um arquivo em seu sistema local, clique em 'Procurar' e selecione o arquivo de backup desejado (por exemplo, 'backup_[AAMMDD]_[HHMMSS].tgz'), então clique no botão 'Restaurar'. ";
$text['description-restore']['pl'] = "Aby przywrócić kopię zapasową z pliku w systemie lokalnym, kliknij 'Przeglądaj', wybierz żądany plik kopii zapasowej (np. 'Backup_ [ YYMMDD ] _ [ GGMMSS ] .tgz' ), a następnie kliknij przycisk 'Przywróć ustawienia domyślne'.";
$text['description-restore']['pt-pt'] = "Para restaurar um backup de um arquivo em seu sistema local, clique em 'Procurar' e selecione o arquivo de backup desejado (por exemplo, 'backup_[YYMMDD]_[HHMMSS].tgz'), então clique no botão 'Restaurar'.";
$text['description-restore']['ro-ro'] = "";
$text['description-restore']['ru-ru'] = "Для восстановления резервной копии из файла, нажмите кнопку 'Обзор' и выберите нужный файл (например, 'backup_[YYMMDD]_[HHMMSS].tgz'), а затем нажмите кнопку 'Восстановить'.";
$text['description-restore']['sv-se'] = "För att återställa en säkerhetskopia från en fil på ditt lokala system, klicka på ' Bläddra ' och välj sedan önskad säkerhetskopia (t.ex. . ' Backup_ [ ÅÅMMDD ] _ [ HHMMSS ] .tgz ' ) och klicka på ' Återställ ' -knappen.";
$text['description-restore']['uk'] = "Для відновлення резервної копії з файлу, натисніть кнопку 'Огляд' і виберіть потрібний файл резервної копії, а потім натисніть кнопку 'Відновити '.";
$text['description-restore']['de-at'] = "Um das System von einer lokalen Datei Wiederherzustellen klicken Sie 'Durchsuchen' und wählen Sie die gewünschte Sicherungsdatei.";
$text['description-restore']['uk-ua'] = "Для відновлення резервної копії з файлу, натисніть кнопку 'Огляд' і виберіть потрібний файл резервної копії, а потім натисніть кнопку 'Відновити '.";
$text['description-backup']['en-us'] = "To create a backup of the Source Paths below (defined in Default Settings), select the desired File Format and Target Type.";
$text['description-backup']['ar-eg'] = "";
$text['description-backup']['de-at'] = "Um eine Sicherung der unten angeführten Quell-Pfade (in Standard-Einstellungen definiert) zu erstellen, wählen Sie das gewünschte Dateiformat und den Ziel Typ."; //copied from de-de
$text['description-backup']['de-ch'] = "Um eine Sicherung der unten angeführten Quell-Pfade (in Standard-Einstellungen definiert) zu erstellen, wählen Sie das gewünschte Dateiformat und den Ziel Typ."; //copied from de-de
$text['description-backup']['de-de'] = "Um eine Sicherung der unten angeführten Quell-Pfade (in Standard-Einstellungen definiert) zu erstellen, wählen Sie das gewünschte Dateiformat und den Ziel Typ.";
$text['description-backup']['es-cl'] = "Para crear una copia de seguridad de las rutas de origen siguientes (definidos en la configuración predeterminada), seleccione el formato de archivo deseado y tipo de destino.";
$text['description-backup']['pt-pt'] = "Para criar uma cópia de segurança dos caminhos de origem abaixo (definidos em Default Settings), selecione o formato de arquivo desejado e Target Type.";
$text['description-backup']['es-mx'] = "Para crear una copia de seguridad de las rutas de origen siguientes (definidos en la configuración predeterminada), seleccione el formato de archivo deseado y tipo de destino."; //copied from es-cl
$text['description-backup']['fr-ca'] = "Pour créer une sauvegarde des chemins source ci-dessous (défini dans les paramètres par défaut), sélectionnez le format de fichier désiré et Type de cible."; //copied from fr-fr
$text['description-backup']['fr-fr'] = "Pour créer une sauvegarde des chemins source ci-dessous (défini dans les paramètres par défaut), sélectionnez le format de fichier désiré et Type de cible.";
$text['description-backup']['he-il'] = "";
$text['description-backup']['it-it'] = "Per creare un backup dei Path Sorgente sottostanti (definiti in Parametri di Default), seleziona il Formato File desiderato e il Tipo di Destinazione.";
$text['description-backup']['nl-nl'] = "";
$text['description-backup']['pl-pl'] = "Aby utworzyć kopię zapasową scieżki zródłowej zdefiniowanej w ustawieniach domyślnych, wybierz żądany format pliku i typ docelowy.";
$text['description-backup']['pt-br'] = "Para criar uma cópia de segurança dos caminhos de origem abaixo (definidos em Configurações Padrão), selecione o formato de arquivo desejado e Tipo de destino. ";
$text['description-backup']['pl'] = "Aby utworzyć kopię zapasową scieżki zródłowej zdefiniowanej w ustawieniach domyślnych, wybierz żądany format pliku i typ docelowy.";
$text['description-backup']['pt-pt'] = "Para criar uma cópia de segurança dos caminhos de origem abaixo (definidos em Default Settings), selecione o formato de arquivo desejado e Target Type.";
$text['description-backup']['ro-ro'] = "";
$text['description-backup']['ru-ru'] = "Чтобы создать резервную копию исходных путей ниже (определяется в настройках по умолчанию), выберите нужный тип формата файла и Target.";
$text['description-backup']['sv-se'] = "För att skapa en säkerhetskopia av Källa Sökväg nedan (som definieras i standardinställningar), välj önskad Filformat och Mål Typ.";
$text['description-backup']['uk'] = "Щоб створити резервну копію вказаних нижче об’єктів (вказано у налаштуваннях за замовчуванням), виберіть потрібний формат і призначення";
$text['description-backup']['de-at'] = "Um eine Sicherung der unten angeführten Quell Pfade (in Standard Einstellungen definiert) zu erstellen, wählen Sie das gewünschte Dateiformat und den Ziel Typ.";
$text['description-backup']['uk-ua'] = "Щоб створити резервну копію вказаних нижче об’єктів (вказано у налаштуваннях за замовчуванням), виберіть потрібний формат і призначення";
$text['button-generate']['en-us'] = "Generate";
$text['button-generate']['ar-eg'] = "";
$text['button-generate']['de-at'] = "Erzeugen"; //copied from de-de
$text['button-generate']['de-ch'] = "Erzeugen"; //copied from de-de
$text['button-generate']['de-de'] = "Erzeugen";
$text['button-generate']['es-cl'] = "Generar";
$text['button-generate']['pt-pt'] = "Gerar";
$text['button-generate']['es-mx'] = "Generar"; //copied from es-cl
$text['button-generate']['fr-ca'] = "Générer"; //copied from fr-fr
$text['button-generate']['fr-fr'] = "Générer";
$text['button-generate']['he-il'] = "";
$text['button-generate']['it-it'] = "Genera";
$text['button-generate']['nl-nl'] = "";
$text['button-generate']['pl-pl'] = "Generuj";
$text['button-generate']['pt-br'] = "Geração";
$text['button-generate']['pl'] = "Generuj";
$text['button-generate']['pt-pt'] = "Gerar";
$text['button-generate']['ro-ro'] = "";
$text['button-generate']['ru-ru'] = "Сгенерировать";
$text['button-generate']['sv-se'] = "Generera";
$text['button-generate']['uk'] = "Згенерувати";
$text['button-generate']['de-at'] = "Generieren";
$text['button-generate']['uk-ua'] = "Згенерувати";
?>
?>
+25 -12
View File
@@ -1,16 +1,29 @@
<?php
$apps[$x]['menu'][0]['title']['en-us'] = "Backup";
$apps[$x]['menu'][0]['title']['fr-fr'] = "Sauvegarde";
$apps[$x]['menu'][0]['title']['pl'] = "Kopie zapasowe";
$apps[$x]['menu'][0]['title']['pt-br'] = "Backup";
$apps[$x]['menu'][0]['title']['sv-se'] = "Backup";
$apps[$x]['menu'][0]['title']['uk'] = "Резервна копія";
$apps[$x]['menu'][0]['title']['de-at'] = "Sicherung";
$apps[$x]['menu'][0]['uuid'] = "7e174c3c-e494-4bb0-a52a-4ea55209ffeb";
$apps[$x]['menu'][0]['parent_uuid'] = "594d99c5-6128-9c88-ca35-4b33392cec0f";
$apps[$x]['menu'][0]['category'] = "internal";
$apps[$x]['menu'][0]['path'] = "/app/backup/index.php";
$apps[$x]['menu'][0]['groups'][] = "superadmin";
$y=0;
$apps[$x]['menu'][$y]['title']['en-us'] = "Backup";
$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
$apps[$x]['menu'][$y]['title']['de-at'] = "Datensicherung";
$apps[$x]['menu'][$y]['title']['de-ch'] = "";
$apps[$x]['menu'][$y]['title']['de-de'] = "Datensicherung";
$apps[$x]['menu'][$y]['title']['es-cl'] = "";
$apps[$x]['menu'][$y]['title']['es-mx'] = "";
$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
$apps[$x]['menu'][$y]['title']['fr-fr'] = "Sauvegarde";
$apps[$x]['menu'][$y]['title']['he-il'] = "";
$apps[$x]['menu'][$y]['title']['it-it'] = "";
$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
$apps[$x]['menu'][$y]['title']['pl-pl'] = "Kopie zapasowe";
$apps[$x]['menu'][$y]['title']['pt-br'] = "Backup";
$apps[$x]['menu'][$y]['title']['pt-pt'] = "";
$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Резервное копирование";
$apps[$x]['menu'][$y]['title']['sv-se'] = "Backup";
$apps[$x]['menu'][$y]['title']['uk-ua'] = "Резервна копія";
$apps[$x]['menu'][$y]['uuid'] = "7e174c3c-e494-4bb0-a52a-4ea55209ffeb";
$apps[$x]['menu'][$y]['parent_uuid'] = "594d99c5-6128-9c88-ca35-4b33392cec0f";
$apps[$x]['menu'][$y]['category'] = "internal";
$apps[$x]['menu'][$y]['path'] = "/app/backup/index.php";
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
?>
+20 -10
View File
@@ -58,7 +58,9 @@ else {
if (isset($_SESSION['backup']['path'])) foreach ($_SESSION['backup']['path'] as $value) {
$cmd .= $value.' ';
}
exec($cmd);
$cmd .= " 2>&1";
exec($cmd, $response, $restore_errlevel);
$response_txt = "<br>" . implode("<br>", $response);
//download the file
session_cache_limiter('public');
@@ -79,14 +81,14 @@ else {
}
else {
//set response message
$_SESSION["message"] = $text['message-backup_failed_format'];
messages::add($text['message-backup_failed_format'] . $response_txt, 'negative');
header("Location: ".$_SERVER['PHP_SELF']);
exit;
}
}
else {
//set response message
$_SESSION["message"] = $text['message-backup_failed_paths'];
messages::add($text['message-backup_failed_paths'], 'negative');
header("Location: ".$_SERVER['PHP_SELF']);
exit;
}
@@ -122,21 +124,29 @@ else {
}
if (!$valid_format) {
@unlink($backup_path.'/'.$backup_file);
$_SESSION["message"] = $text['message-restore_failed_format'];
messages::add($text['message-restore_failed_format'], 'negative');
header("Location: ".$_SERVER['PHP_SELF']);
exit;
}
else {
exec($cmd);
//set response message
$_SESSION["message"] = $text['message-restore_completed'];
header("Location: ".$_SERVER['PHP_SELF']);
exit;
$cmd .= ' 2>&1';
exec($cmd, $response, $restore_errlevel);
$response_txt = "<br>" . implode("<br>", $response);
if ($restore_errlevel == 0) {
//set response message
messages::add($text['message-restore_completed']);
header("Location: ".$_SERVER['PHP_SELF']);
exit;
} else {
messages::add($text['message-restore_failed_extract'] . $response_txt, 'negative');
header("Location: ".$_SERVER['PHP_SELF']);
exit;
}
}
}
else {
//set response message
$_SESSION["message"] = $text['message-restore_failed_upload'];
messages::add($text['message-restore_failed_upload'], 'negative');
header("Location: ".$_SERVER['PHP_SELF']);
exit;
}
+87
View File
@@ -0,0 +1,87 @@
<?php
//application details
$apps[$x]['name'] = 'Bridges';
$apps[$x]['uuid'] = 'a6a7c4c5-340a-43ce-bcbc-2ed9bab8659d';
$apps[$x]['category'] = '';
$apps[$x]['subcategory'] = '';
$apps[$x]['version'] = '';
$apps[$x]['license'] = 'Mozilla Public License 1.1';
$apps[$x]['url'] = 'http://www.fusionpbx.com';
$apps[$x]['description']['en-us'] = '';
//permission details
$y = 0;
$apps[$x]['permissions'][$y]['name'] = 'bridge_view';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'bridge_add';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'bridge_edit';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'bridge_delete';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'bridge_all';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
$y++;
//destination details
$y = 0;
$apps[$x]['destinations'][$y]['type'] = "sql";
$apps[$x]['destinations'][$y]['label'] = "bridges";
$apps[$x]['destinations'][$y]['name'] = "bridges";
//$apps[$x]['destinations'][$y]['sql'] = "select bridge_name, bridge_destination, bridge_description from v_bridges ";
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and bridge_enabled = 'true'";
$apps[$x]['destinations'][$y]['order_by'] = "bridge_name asc";
$apps[$x]['destinations'][$y]['field']['name'] = "bridge_name";
$apps[$x]['destinations'][$y]['field']['destination'] = "bridge_destination";
$apps[$x]['destinations'][$y]['field']['description'] = "bridge_description";
$apps[$x]['destinations'][$y]['select_value']['dialplan'] = "bridge:\${destination}";
$apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-exec-app:bridge \${destination}";
$apps[$x]['destinations'][$y]['select_label'] = "\${name} \${description} ";
$y++;
//Bridges
$y = 0;
$apps[$x]['db'][$y]['table']['name'] = 'v_bridges';
$apps[$x]['db'][$y]['table']['parent'] = '';
$z = 0;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'bridge_uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'bridge_name';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the name.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'bridge_destination';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the destination.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'bridge_enabled';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select to enable or disable.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'bridge_description';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the description. ';
$z++;
?>
+224
View File
@@ -0,0 +1,224 @@
<?php
//Bridges
$text['title-bridges']['en-us'] = 'Bridges';
$text['title-bridges']['ar-eg'] = '';
$text['title-bridges']['de-at'] = '';
$text['title-bridges']['de-ch'] = '';
$text['title-bridges']['de-de'] = '';
$text['title-bridges']['es-cl'] = '';
$text['title-bridges']['es-mx'] = '';
$text['title-bridges']['fr-ca'] = '';
$text['title-bridges']['fr-fr'] = '';
$text['title-bridges']['he-il'] = '';
$text['title-bridges']['it-it'] = '';
$text['title-bridges']['nl-nl'] = '';
$text['title-bridges']['pl-pl'] = '';
$text['title-bridges']['pt-br'] = '';
$text['title-bridges']['pt-pt'] = '';
$text['title-bridges']['ro-ro'] = '';
$text['title-bridges']['ru-ru'] = '';
$text['title-bridges']['sv-se'] = '';
$text['title-bridges']['uk-ua'] = '';
$text['title-bridge']['en-us'] = 'Bridge';
$text['title-bridge']['ar-eg'] = '';
$text['title-bridge']['de-at'] = '';
$text['title-bridge']['de-ch'] = '';
$text['title-bridge']['de-de'] = '';
$text['title-bridge']['es-cl'] = '';
$text['title-bridge']['es-mx'] = '';
$text['title-bridge']['fr-ca'] = '';
$text['title-bridge']['fr-fr'] = '';
$text['title-bridge']['he-il'] = '';
$text['title-bridge']['it-it'] = '';
$text['title-bridge']['nl-nl'] = '';
$text['title-bridge']['pl-pl'] = '';
$text['title-bridge']['pt-br'] = '';
$text['title-bridge']['pt-pt'] = '';
$text['title-bridge']['ro-ro'] = '';
$text['title-bridge']['ru-ru'] = '';
$text['title-bridge']['sv-se'] = '';
$text['title-bridge']['uk-ua'] = '';
$text['title_description-bridge']['en-us'] = 'Add bridge statements to destination select list.';
$text['title_description-bridge']['ar-eg'] = '';
$text['title_description-bridge']['de-at'] = '';
$text['title_description-bridge']['de-ch'] = '';
$text['title_description-bridge']['de-de'] = '';
$text['title_description-bridge']['es-cl'] = '';
$text['title_description-bridge']['es-mx'] = '';
$text['title_description-bridge']['fr-ca'] = '';
$text['title_description-bridge']['fr-fr'] = '';
$text['title_description-bridge']['he-il'] = '';
$text['title_description-bridge']['it-it'] = '';
$text['title_description-bridge']['nl-nl'] = '';
$text['title_description-bridge']['pl-pl'] = '';
$text['title_description-bridge']['pt-br'] = '';
$text['title_description-bridge']['pt-pt'] = '';
$text['title_description-bridge']['ro-ro'] = '';
$text['title_description-bridge']['ru-ru'] = '';
$text['title_description-bridge']['sv-se'] = '';
$text['title_description-bridge']['uk-ua'] = '';
$text['label-bridge_name']['en-us'] = 'Name';
$text['label-bridge_name']['ar-eg'] = '';
$text['label-bridge_name']['de-at'] = '';
$text['label-bridge_name']['de-ch'] = '';
$text['label-bridge_name']['de-de'] = '';
$text['label-bridge_name']['es-cl'] = '';
$text['label-bridge_name']['es-mx'] = '';
$text['label-bridge_name']['fr-ca'] = '';
$text['label-bridge_name']['fr-fr'] = '';
$text['label-bridge_name']['he-il'] = '';
$text['label-bridge_name']['it-it'] = '';
$text['label-bridge_name']['nl-nl'] = '';
$text['label-bridge_name']['pl-pl'] = '';
$text['label-bridge_name']['pt-br'] = '';
$text['label-bridge_name']['pt-pt'] = '';
$text['label-bridge_name']['ro-ro'] = '';
$text['label-bridge_name']['ru-ru'] = '';
$text['label-bridge_name']['sv-se'] = '';
$text['label-bridge_name']['uk-ua'] = '';
$text['description-bridge_name']['en-us'] = 'Enter the name.';
$text['description-bridge_name']['ar-eg'] = '';
$text['description-bridge_name']['de-at'] = '';
$text['description-bridge_name']['de-ch'] = '';
$text['description-bridge_name']['de-de'] = '';
$text['description-bridge_name']['es-cl'] = '';
$text['description-bridge_name']['es-mx'] = '';
$text['description-bridge_name']['fr-ca'] = '';
$text['description-bridge_name']['fr-fr'] = '';
$text['description-bridge_name']['he-il'] = '';
$text['description-bridge_name']['it-it'] = '';
$text['description-bridge_name']['nl-nl'] = '';
$text['description-bridge_name']['pl-pl'] = '';
$text['description-bridge_name']['pt-br'] = '';
$text['description-bridge_name']['pt-pt'] = '';
$text['description-bridge_name']['ro-ro'] = '';
$text['description-bridge_name']['ru-ru'] = '';
$text['description-bridge_name']['sv-se'] = '';
$text['description-bridge_name']['uk-ua'] = '';
$text['label-bridge_destination']['en-us'] = 'Destination';
$text['label-bridge_destination']['ar-eg'] = '';
$text['label-bridge_destination']['de-at'] = '';
$text['label-bridge_destination']['de-ch'] = '';
$text['label-bridge_destination']['de-de'] = '';
$text['label-bridge_destination']['es-cl'] = '';
$text['label-bridge_destination']['es-mx'] = '';
$text['label-bridge_destination']['fr-ca'] = '';
$text['label-bridge_destination']['fr-fr'] = '';
$text['label-bridge_destination']['he-il'] = '';
$text['label-bridge_destination']['it-it'] = '';
$text['label-bridge_destination']['nl-nl'] = '';
$text['label-bridge_destination']['pl-pl'] = '';
$text['label-bridge_destination']['pt-br'] = '';
$text['label-bridge_destination']['pt-pt'] = '';
$text['label-bridge_destination']['ro-ro'] = '';
$text['label-bridge_destination']['ru-ru'] = '';
$text['label-bridge_destination']['sv-se'] = '';
$text['label-bridge_destination']['uk-ua'] = '';
$text['description-bridge_destination']['en-us'] = 'Enter the destination.';
$text['description-bridge_destination']['ar-eg'] = '';
$text['description-bridge_destination']['de-at'] = '';
$text['description-bridge_destination']['de-ch'] = '';
$text['description-bridge_destination']['de-de'] = '';
$text['description-bridge_destination']['es-cl'] = '';
$text['description-bridge_destination']['es-mx'] = '';
$text['description-bridge_destination']['fr-ca'] = '';
$text['description-bridge_destination']['fr-fr'] = '';
$text['description-bridge_destination']['he-il'] = '';
$text['description-bridge_destination']['it-it'] = '';
$text['description-bridge_destination']['nl-nl'] = '';
$text['description-bridge_destination']['pl-pl'] = '';
$text['description-bridge_destination']['pt-br'] = '';
$text['description-bridge_destination']['pt-pt'] = '';
$text['description-bridge_destination']['ro-ro'] = '';
$text['description-bridge_destination']['ru-ru'] = '';
$text['description-bridge_destination']['sv-se'] = '';
$text['description-bridge_destination']['uk-ua'] = '';
$text['label-bridge_enabled']['en-us'] = 'Enabled';
$text['label-bridge_enabled']['ar-eg'] = '';
$text['label-bridge_enabled']['de-at'] = '';
$text['label-bridge_enabled']['de-ch'] = '';
$text['label-bridge_enabled']['de-de'] = '';
$text['label-bridge_enabled']['es-cl'] = '';
$text['label-bridge_enabled']['es-mx'] = '';
$text['label-bridge_enabled']['fr-ca'] = '';
$text['label-bridge_enabled']['fr-fr'] = '';
$text['label-bridge_enabled']['he-il'] = '';
$text['label-bridge_enabled']['it-it'] = '';
$text['label-bridge_enabled']['nl-nl'] = '';
$text['label-bridge_enabled']['pl-pl'] = '';
$text['label-bridge_enabled']['pt-br'] = '';
$text['label-bridge_enabled']['pt-pt'] = '';
$text['label-bridge_enabled']['ro-ro'] = '';
$text['label-bridge_enabled']['ru-ru'] = '';
$text['label-bridge_enabled']['sv-se'] = '';
$text['label-bridge_enabled']['uk-ua'] = '';
$text['description-bridge_enabled']['en-us'] = 'Select to enable or disable.';
$text['description-bridge_enabled']['ar-eg'] = '';
$text['description-bridge_enabled']['de-at'] = '';
$text['description-bridge_enabled']['de-ch'] = '';
$text['description-bridge_enabled']['de-de'] = '';
$text['description-bridge_enabled']['es-cl'] = '';
$text['description-bridge_enabled']['es-mx'] = '';
$text['description-bridge_enabled']['fr-ca'] = '';
$text['description-bridge_enabled']['fr-fr'] = '';
$text['description-bridge_enabled']['he-il'] = '';
$text['description-bridge_enabled']['it-it'] = '';
$text['description-bridge_enabled']['nl-nl'] = '';
$text['description-bridge_enabled']['pl-pl'] = '';
$text['description-bridge_enabled']['pt-br'] = '';
$text['description-bridge_enabled']['pt-pt'] = '';
$text['description-bridge_enabled']['ro-ro'] = '';
$text['description-bridge_enabled']['ru-ru'] = '';
$text['description-bridge_enabled']['sv-se'] = '';
$text['description-bridge_enabled']['uk-ua'] = '';
$text['label-bridge_description']['en-us'] = 'Description';
$text['label-bridge_description']['ar-eg'] = '';
$text['label-bridge_description']['de-at'] = '';
$text['label-bridge_description']['de-ch'] = '';
$text['label-bridge_description']['de-de'] = '';
$text['label-bridge_description']['es-cl'] = '';
$text['label-bridge_description']['es-mx'] = '';
$text['label-bridge_description']['fr-ca'] = '';
$text['label-bridge_description']['fr-fr'] = '';
$text['label-bridge_description']['he-il'] = '';
$text['label-bridge_description']['it-it'] = '';
$text['label-bridge_description']['nl-nl'] = '';
$text['label-bridge_description']['pl-pl'] = '';
$text['label-bridge_description']['pt-br'] = '';
$text['label-bridge_description']['pt-pt'] = '';
$text['label-bridge_description']['ro-ro'] = '';
$text['label-bridge_description']['ru-ru'] = '';
$text['label-bridge_description']['sv-se'] = '';
$text['label-bridge_description']['uk-ua'] = '';
$text['description-bridge_description']['en-us'] = 'Enter the description. ';
$text['description-bridge_description']['ar-eg'] = '';
$text['description-bridge_description']['de-at'] = '';
$text['description-bridge_description']['de-ch'] = '';
$text['description-bridge_description']['de-de'] = '';
$text['description-bridge_description']['es-cl'] = '';
$text['description-bridge_description']['es-mx'] = '';
$text['description-bridge_description']['fr-ca'] = '';
$text['description-bridge_description']['fr-fr'] = '';
$text['description-bridge_description']['he-il'] = '';
$text['description-bridge_description']['it-it'] = '';
$text['description-bridge_description']['nl-nl'] = '';
$text['description-bridge_description']['pl-pl'] = '';
$text['description-bridge_description']['pt-br'] = '';
$text['description-bridge_description']['pt-pt'] = '';
$text['description-bridge_description']['ro-ro'] = '';
$text['description-bridge_description']['ru-ru'] = '';
$text['description-bridge_description']['sv-se'] = '';
$text['description-bridge_description']['uk-ua'] = '';
?>
+19
View File
@@ -0,0 +1,19 @@
<?php
$apps[$x]['menu'][0]['title']['en-us'] = 'Bridges';
$apps[$x]['menu'][0]['title']['es-cl'] = '';
$apps[$x]['menu'][0]['title']['fr-fr'] = '';
$apps[$x]['menu'][0]['title']['fr-ca'] = '';
$apps[$x]['menu'][0]['title']['pl'] = '';
$apps[$x]['menu'][0]['title']['sv-se'] = '';
$apps[$x]['menu'][0]['title']['uk'] = '';
$apps[$x]['menu'][0]['title']['de-at'] = '';
$apps[$x]['menu'][0]['uuid'] = '345f0aad-8321-4a8b-9f08-c4730297660c';
$apps[$x]['menu'][0]['parent_uuid'] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5';
$apps[$x]['menu'][0]['category'] = 'internal';
$apps[$x]['menu'][0]['path'] = '/app/bridges/bridges.php';
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
//$apps[$x]['menu'][0]['groups'][] = 'admin';
//$apps[$x]['menu'][0]['groups'][] = 'user';
?>
+57
View File
@@ -0,0 +1,57 @@
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2018
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
//includes
require_once "root.php";
require_once "resources/require.php";
//add multi-lingual support
$language = new text;
$text = $language->get();
//delete the message
messages::add($text['message-delete']);
//delete the data
if (isset($_GET["id"]) && is_uuid($_GET["id"]) && permission_exists('bridge_delete')) {
//get the id
$id = check_str($_GET["id"]);
//delete bridge
$sql = "delete from v_bridges ";
$sql .= "where bridge_uuid = '$id' ";
$sql .= "and domain_uuid = '$domain_uuid' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
unset($sql);
//redirect the user
header('Location: bridges.php');
}
?>
+219
View File
@@ -0,0 +1,219 @@
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2018
the Initial Developer. All Rights Reserved.
*/
//includes
require_once "root.php";
require_once "resources/require.php";
//check permissions
require_once "resources/check_auth.php";
if (permission_exists('bridge_add') || permission_exists('bridge_edit')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
$text = $language->get();
//action add or update
if (isset($_REQUEST["id"])) {
$action = "update";
$bridge_uuid = check_str($_REQUEST["id"]);
$id = check_str($_REQUEST["id"]);
}
else {
$action = "add";
}
//get http post variables and set them to php variables
if (is_array($_POST)) {
$bridge_uuid = check_str($_POST["bridge_uuid"]);
$bridge_name = check_str($_POST["bridge_name"]);
$bridge_destination = check_str($_POST["bridge_destination"]);
$bridge_enabled = check_str($_POST["bridge_enabled"]);
}
//process the user data and save it to the database
if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//get the uuid from the POST
if ($action == "update") {
$bridge_uuid = check_str($_POST["bridge_uuid"]);
}
//check for all required data
$msg = '';
if (strlen($bridge_name) == 0) { $msg .= $text['message-required']." ".$text['label-bridge_name']."<br>\n"; }
if (strlen($bridge_destination) == 0) { $msg .= $text['message-required']." ".$text['label-bridge_destination']."<br>\n"; }
if (strlen($bridge_enabled) == 0) { $msg .= $text['message-required']." ".$text['label-bridge_enabled']."<br>\n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
require_once "resources/header.php";
require_once "resources/persist_form_var.php";
echo "<div align='center'>\n";
echo "<table><tr><td>\n";
echo $msg."<br />";
echo "</td></tr></table>\n";
persistformvar($_POST);
echo "</div>\n";
require_once "resources/footer.php";
return;
}
//set the domain_uuid
$_POST["domain_uuid"] = $_SESSION["domain_uuid"];
//add the bridge_uuid
if (strlen($_POST["bridge_uuid"]) == 0) {
$bridge_uuid = uuid();
$_POST["bridge_uuid"] = $bridge_uuid;
}
//prepare the array
$array['bridges'][0] = $_POST;
//save to the data
$database = new database;
$database->app_name = 'bridges';
$database->app_uuid = null;
if (strlen($bridge_uuid) > 0) {
$database->uuid($bridge_uuid);
}
$database->save($array);
$message = $database->message;
//debug info
//echo "<pre>";
//print_r($message);
//echo "</pre>";
//exit;
//redirect the user
if (isset($action)) {
if ($action == "add") {
$_SESSION["message"] = $text['message-add'];
}
if ($action == "update") {
$_SESSION["message"] = $text['message-update'];
}
header('Location: bridge_edit.php?id='.$bridge_uuid);
return;
}
} //(is_array($_POST) && strlen($_POST["persistformvar"]) == 0)
//pre-populate the form
if (is_array($_GET) && $_POST["persistformvar"] != "true") {
$bridge_uuid = check_str($_GET["id"]);
$sql = "select * from v_bridges ";
$sql .= "where bridge_uuid = '$bridge_uuid' ";
//$sql .= "and domain_uuid = '$domain_uuid' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
foreach ($result as &$row) {
$bridge_name = $row["bridge_name"];
$bridge_destination = $row["bridge_destination"];
$bridge_enabled = $row["bridge_enabled"];
}
unset ($prep_statement);
}
//show the header
require_once "resources/header.php";
//show the content
echo "<form name='frm' id='frm' method='post' action=''>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td align='left' width='30%' nowrap='nowrap' valign='top'><b>".$text['title-bridge']."</b><br><br></td>\n";
echo "<td width='70%' align='right' valign='top'>\n";
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='bridges.php'\" value='".$text['button-back']."'>";
echo " <input type='submit' class='btn' value='".$text['button-save']."'>";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-bridge_name']."\n";
echo "</td>\n";
echo "<td class='vtable' style='position: relative;' align='left'>\n";
echo " <input class='formfld' type='text' name='bridge_name' maxlength='255' value=\"$bridge_name\">\n";
echo "<br />\n";
echo $text['description-bridge_name']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-bridge_destination']."\n";
echo "</td>\n";
echo "<td class='vtable' style='position: relative;' align='left'>\n";
echo " <input class='formfld' type='text' name='bridge_destination' maxlength='255' value=\"$bridge_destination\">\n";
echo "<br />\n";
echo $text['description-bridge_destination']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-bridge_enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' style='position: relative;' align='left'>\n";
echo " <select class='formfld' name='bridge_enabled'>\n";
echo " <option value=''></option>\n";
if ($bridge_enabled == "true") {
echo " <option value='true' selected='selected'>".$text['label-true']."</option>\n";
}
else {
echo " <option value='true'>".$text['label-true']."</option>\n";
}
if ($bridge_enabled == "false") {
echo " <option value='false' selected='selected'>".$text['label-false']."</option>\n";
}
else {
echo " <option value='false'>".$text['label-false']."</option>\n";
}
echo " </select>\n";
echo "<br />\n";
echo $text['description-bridge_enabled']."\n";
echo "</td>\n";
echo "</tr>\n";
echo " <tr>\n";
echo " <td colspan='2' align='right'>\n";
echo " <input type='hidden' name='bridge_uuid' value='$bridge_uuid'>\n";
echo " <input type='submit' class='btn' value='".$text['button-save']."'>\n";
echo " </td>\n";
echo " </tr>";
echo "</table>";
echo "</form>";
echo "<br /><br />";
//include the footer
require_once "resources/footer.php";
?>
+263
View File
@@ -0,0 +1,263 @@
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2018
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('bridge_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
$text = $language->get();
//get the action
if (is_array($_POST["bridges"])) {
$bridges = $_POST["bridges"];
foreach($bridges as $row) {
if ($row['action'] == 'delete') {
$action = 'delete';
break;
}
}
}
//delete the bridges
if (permission_exists('bridge_delete')) {
if ($action == "delete") {
//download
$obj = new bridges;
$obj->delete($bridges);
//delete message
messages::add($text['message-delete']);
}
}
//get variables used to control the order
$order_by = check_str($_GET["order_by"]);
$order = check_str($_GET["order"]);
//add the search term
$search = strtolower(check_str($_GET["search"]));
if (strlen($search) > 0) {
$sql_search = " (";
$sql_search .= "lower(bridge_name) like '%".$search."%' ";
$sql_search .= "or lower(bridge_destination) like '%".$search."%' ";
$sql_search .= "or lower(bridge_enabled) like '%".$search."%' ";
$sql_search .= ") ";
}
//additional includes
require_once "resources/header.php";
require_once "resources/paging.php";
//prepare to page the results
$sql = "select count(bridge_uuid) as num_rows from v_bridges ";
if ($_GET['show'] == "all" && permission_exists('bridge_all')) {
if (isset($sql_search)) {
$sql .= "where ".$sql_search;
}
} else {
$sql .= "where (domain_uuid = '".$domain_uuid."' or domain_uuid is null) ";
if (isset($sql_search)) {
$sql .= "and ".$sql_search;
}
}
if (strlen($order_by)> 0) { $sql .= "order by $order_by $order "; }
$prep_statement = $db->prepare($sql);
if ($prep_statement) {
$prep_statement->execute();
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
if ($row['num_rows'] > 0) {
$num_rows = $row['num_rows'];
}
else {
$num_rows = '0';
}
}
//prepare to page the results
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
$param = "&search=".$search;
if ($_GET['show'] == "all" && permission_exists('bridge_all')) {
$param .= "&show=all";
}
$page = $_GET['page'];
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page);
$offset = $rows_per_page * $page;
//get the list
$sql = "select * from v_bridges ";
if ($_GET['show'] == "all" && permission_exists('bridge_all')) {
if (isset($sql_search)) {
$sql .= "where ".$sql_search;
}
} else {
$sql .= "where (domain_uuid = '".$domain_uuid."' or domain_uuid is null) ";
if (isset($sql_search)) {
$sql .= "and ".$sql_search;
}
}
if (strlen($order_by) > 0) { $sql .= "order by $order_by $order "; }
$sql .= "limit $rows_per_page offset $offset ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
unset ($prep_statement, $sql);
//alternate the row style
$c = 0;
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
//define the checkbox_toggle function
echo "<script type=\"text/javascript\">\n";
echo " function checkbox_toggle(item) {\n";
echo " var inputs = document.getElementsByTagName(\"input\");\n";
echo " for (var i = 0, max = inputs.length; i < max; i++) {\n";
echo " if (inputs[i].type === 'checkbox') {\n";
echo " if (document.getElementById('checkbox_all').checked == true) {\n";
echo " inputs[i].checked = true;\n";
echo " }\n";
echo " else {\n";
echo " inputs[i].checked = false;\n";
echo " }\n";
echo " }\n";
echo " }\n";
echo " }\n";
echo "</script>\n";
//show the content
echo "<table width='100%' border='0'>\n";
echo " <tr>\n";
echo " <td width='50%' align='left' nowrap='nowrap'><b>".$text['title-bridges']."</b></td>\n";
echo " <form method='get' action=''>\n";
echo " <td width='50%' style='vertical-align: top; text-align: right; white-space: nowrap;'>\n";
if (permission_exists('bridge_all')) {
if ($_GET['show'] == 'all') {
echo " <input type='hidden' name='show' value='all'>";
}
else {
echo " <input type='button' class='btn' value='".$text['button-show_all']."' onclick=\"window.location='bridges.php?show=all';\">\n";
}
}
echo " <input type='text' class='txt' style='width: 150px; margin-left: 15px;' name='search' id='search' value='".$search."'>\n";
echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>\n";
echo " </td>\n";
echo " </form>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td align='left' colspan='2'>\n";
echo " ".$text['title_description-bridge']."<br /><br />\n";
echo " </td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "<form method='post' action=''>\n";
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo " <th style='width:30px;'>\n";
echo " <input type='checkbox' name='checkbox_all' id='checkbox_all' value='' onclick=\"checkbox_toggle();\">\n";
echo " </th>\n";
echo th_order_by('bridge_name', $text['label-bridge_name'], $order_by, $order);
echo th_order_by('bridge_destination', $text['label-bridge_destination'], $order_by, $order);
echo th_order_by('bridge_enabled', $text['label-bridge_enabled'], $order_by, $order);
echo " <td class='list_control_icons'>";
if (permission_exists('bridge_add')) {
echo " <a href='bridge_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
}
else {
echo "&nbsp;\n";
}
echo " </td>\n";
echo "<tr>\n";
if (is_array($result)) {
$x = 0;
foreach($result as $row) {
if (permission_exists('bridge_edit')) {
$tr_link = "href='bridge_edit.php?id=".$row['bridge_uuid']."'";
}
echo "<tr ".$tr_link.">\n";
echo " <td valign='top' class='".$row_style[$c]." tr_link_void' style='align: center; padding: 3px 3px 0px 8px;'>\n";
echo " <input type='checkbox' name=\"bridges[$x][checked]\" id='checkbox_".$x."' value='true' onclick=\"if (!this.checked) { document.getElementById('chk_all_".$x."').checked = false; }\">\n";
echo " <input type='hidden' name=\"bridges[$x][bridge_uuid]\" value='".$row['bridge_uuid']."' />\n";
echo " </td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['bridge_name'])."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['bridge_destination'])."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['bridge_enabled'])."&nbsp;</td>\n";
echo " <td class='list_control_icons'>";
if (permission_exists('bridge_edit')) {
echo "<a href='bridge_edit.php?id=".$row['bridge_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
}
if (permission_exists('bridge_delete')) {
echo "<button type='submit' class='btn btn-default list_control_icon' name=\"bridges[$x][action]\" alt='".$text['button-delete']."' value='delete'><span class='glyphicon glyphicon-remove'></span></button>";
}
echo " </td>\n";
echo "</tr>\n";
$x++;
if ($c==0) { $c=1; } else { $c=0; }
} //end foreach
unset($sql, $result, $row_count);
} //end if results
echo "<tr>\n";
echo "<td colspan='5' align='left'>\n";
echo " <table width='100%' cellpadding='0' cellspacing='0'>\n";
echo " <tr>\n";
echo " <td width='33.3%' nowrap='nowrap'>&nbsp;</td>\n";
echo " <td width='33.3%' align='center' nowrap='nowrap'>$paging_controls</td>\n";
echo " <td class='list_control_icons'>";
if (permission_exists('bridge_add')) {
echo "<a href='bridge_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
}
else {
echo "&nbsp;";
}
echo " </td>\n";
echo " </tr>\n";
echo " </table>\n";
echo "</td>\n";
echo "</tr>\n";
echo "</table>";
echo "</form>\n";
echo "<br /><br />";
//include the footer
require_once "resources/footer.php";
?>
+75
View File
@@ -0,0 +1,75 @@
<?php
/**
* call_recordings class
*
* @method null download
*/
if (!class_exists('bridges')) {
class bridges {
public $db;
/**
* Called when the object is created
*/
public function __construct() {
//connect to the database if not connected
if (!$this->db) {
require_once "resources/classes/database.php";
$database = new database;
$database->connect();
$this->db = $database->db;
}
}
/**
* Called when there are no references to a particular object
* unset the variables used in the class
*/
public function __destruct() {
foreach ($this as $key => $value) {
unset($this->$key);
}
}
/**
* delete bridges
*/
public function delete($bridges) {
if (permission_exists('bridge_delete')) {
//delete multiple bridges
if (is_array($bridges)) {
//get the action
foreach($bridges as $row) {
if ($row['action'] == 'delete') {
$action = 'delete';
break;
}
}
//delete the checked rows
if ($action == 'delete') {
foreach($bridges as $row) {
if ($row['action'] == 'delete' or $row['checked'] == 'true') {
$sql = "delete from v_bridges ";
$sql .= "where bridge_uuid = '".$row['bridge_uuid']."'; ";
$this->db->query($sql);
unset($sql);
}
}
unset($bridges);
}
}
}
} //end the delete function
} //end the class
}
/*
$obj = new bridges;
$obj->delete();
*/
?>
+90
View File
@@ -0,0 +1,90 @@
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2018
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
// make sure the PATH_SEPARATOR is defined
umask(2);
if (!defined("PATH_SEPARATOR")) {
if (strpos($_ENV["OS"], "Win") !== false) {
define("PATH_SEPARATOR", ";");
} else {
define("PATH_SEPARATOR", ":");
}
}
if (!isset($output_format)) $output_format = (PHP_SAPI == 'cli') ? 'text' : 'html';
// make sure the document_root is set
$_SERVER["SCRIPT_FILENAME"] = str_replace("\\", '/', $_SERVER["SCRIPT_FILENAME"]);
if(PHP_SAPI == 'cli'){
chdir(pathinfo(realpath($_SERVER["PHP_SELF"]), PATHINFO_DIRNAME));
$script_full_path = str_replace("\\", '/', getcwd() . '/' . $_SERVER["SCRIPT_FILENAME"]);
$dirs = explode('/', pathinfo($script_full_path, PATHINFO_DIRNAME));
if (file_exists('/project_root.php')) {
$path = '/';
} else {
$i = 1;
$path = '';
while ($i < count($dirs)) {
$path .= '/' . $dirs[$i];
if (file_exists($path. '/project_root.php')) {
break;
}
$i++;
}
}
$_SERVER["DOCUMENT_ROOT"] = $path;
}else{
$_SERVER["DOCUMENT_ROOT"] = str_replace($_SERVER["PHP_SELF"], "", $_SERVER["SCRIPT_FILENAME"]);
}
$_SERVER["DOCUMENT_ROOT"] = realpath($_SERVER["DOCUMENT_ROOT"]);
// try to detect if a project path is being used
if (!defined('PROJECT_PATH')) {
if (is_dir($_SERVER["DOCUMENT_ROOT"]. '/fusionpbx')) {
define('PROJECT_PATH', '/fusionpbx');
} elseif (file_exists($_SERVER["DOCUMENT_ROOT"]. '/project_root.php')) {
define('PROJECT_PATH', '');
} else {
$dirs = explode('/', str_replace('\\', '/', pathinfo($_SERVER["PHP_SELF"], PATHINFO_DIRNAME)));
$i = 1;
$path = $_SERVER["DOCUMENT_ROOT"];
while ($i < count($dirs)) {
$path .= '/' . $dirs[$i];
if (file_exists($path. '/project_root.php')) {
break;
}
$i++;
}
if(!file_exists($path. '/project_root.php')){
die("Failed to locate the Project Root by searching for project_root.php please contact support for assistance");
}
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
define('PROJECT_PATH', $project_path);
}
$_SERVER["PROJECT_ROOT"] = realpath($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH);
set_include_path(get_include_path() . PATH_SEPARATOR . $_SERVER["PROJECT_ROOT"]);
}
?>
+27 -25
View File
@@ -5,22 +5,31 @@
$apps[$x]['uuid'] = "9ed63276-e085-4897-839c-4f2e36d92d6c";
$apps[$x]['category'] = "Switch";
$apps[$x]['subcategory'] = "";
$apps[$x]['version'] = "";
$apps[$x]['version'] = "1.0";
$apps[$x]['license'] = "Mozilla Public License 1.1";
$apps[$x]['url'] = "http://www.fusionpbx.com";
$apps[$x]['description']['en-us'] = "A tool to block incoming numbers.";
$apps[$x]['description']['es-cl'] = "Una herramineta para bloquear números entrantes";
$apps[$x]['description']['de-de'] = "";
$apps[$x]['description']['ar-eg'] = "";
$apps[$x]['description']['de-at'] = "Ein Werkzeug um eingehende Rufnummern zu sperren.";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-at'] = "";
$apps[$x]['description']['fr-fr'] = "Outil pour bloquer les numéro d'appelant";
$apps[$x]['description']['de-de'] = "Ein Werkzeug um eingehende Rufnummern zu sperren.";
$apps[$x]['description']['es-cl'] = "Una herramineta para bloquear números entrantes";
$apps[$x]['description']['es-mx'] = "";
$apps[$x]['description']['fr-ca'] = "";
$apps[$x]['description']['fr-ch'] = "";
$apps[$x]['description']['pt-pt'] = "Uma ferramenta para bloquear números indesejados";
$apps[$x]['description']['fr-fr'] = "Outil pour bloquer les numéro d'appelant";
$apps[$x]['description']['he-il'] = "";
$apps[$x]['description']['it-it'] = "";
$apps[$x]['description']['nl-nl'] = "";
$apps[$x]['description']['pl-pl'] = "";
$apps[$x]['description']['pt-br'] = "Uma ferramenta para bloquear números que entram.";
$apps[$x]['description']['pt-pt'] = "Uma ferramenta para bloquear números indesejados";
$apps[$x]['description']['ro-ro'] = "";
$apps[$x]['description']['ru-ru'] = "";
$apps[$x]['description']['sv-se'] = "";
$apps[$x]['description']['uk-ua'] = "";
//permission details
$y = 0;
$y=0;
$apps[$x]['permissions'][$y]['name'] = "call_block_view";
$apps[$x]['permissions'][$y]['menu']['uuid'] = "29295c90-b1b9-440b-9c7E-c8363c6e8975";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
@@ -37,12 +46,12 @@
$apps[$x]['permissions'][$y]['name'] = "call_block_delete";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
//schema details
$y = 0; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = "v_call_block";
$y=0;
$apps[$x]['db'][$y]['table']['name'] = "v_call_block";
$apps[$x]['db'][$y]['table']['parent'] = "";
$z=0;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
@@ -62,37 +71,30 @@
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "call_block_name";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "blocked_caller_name";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the name.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Insira o nome.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "call_block_number";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "blocked_caller_number";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the full phone number.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Insira o número de telefone completo.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the full phone number.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "call_block_count";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "blocked_call_count";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Number of calls.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Número de chamadas.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Number of calls.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "call_block_action";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "blocked_call_action";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Action for call.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Ação para a chamada.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Action for call.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "date_added";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Date/Time number was added.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Data/Hora que o número foi adicionado.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Date/Time number was added.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "call_block_enabled";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "block_call_enabled";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enable/disable blocking the call.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Habilitar/desabilitar bloqueamento da chamada.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enable/disable blocking the call.";
?>
+526 -336
View File
@@ -1,434 +1,624 @@
<?php
#This file was last reorganized on 19th of September 2017 08:54:24 AM UTC
$text['title-call-block']['en-us'] = "Call Block";
$text['title-call-block']['es-cl'] = "Bloqueo de llamadas";
$text['title-call-block']['pt-pt'] = "Bloqueio de Chamadas";
$text['title-call-block']['fr-fr'] = "Liste noire";
$text['title-call-block']['nl-nl'] = "";
$text['title-call-block']['pt-br'] = "Bloqueio de chamadas";
$text['title-call-block']['pl'] = "Blokowanie rozmów";
$text['title-call-block']['sv-se'] = "Blockera Samtal";
$text['title-call-block']['uk'] = "Блокування дзвінків";
$text['title-call-block']['ro'] = "Blocare apel";
$text['title-call-block']['de-at'] = "Sperrlisten";
$text['title-call-block']['ar-eg'] = "حظر المكالمات";
$text['title-call-block']['he'] = "חסימת מספר";
$text['title-call-block']['de-at'] = "Sperrlisten"; //copied from de-de
$text['title-call-block']['de-ch'] = "Sperrlisten"; //copied from de-de
$text['title-call-block']['de-de'] = "Sperrlisten";
$text['title-call-block']['es-cl'] = "Bloqueo de llamadas";
$text['title-call-block']['es-mx'] = "Bloqueo de llamadas"; //copied from es-cl
$text['title-call-block']['fr-ca'] = "Liste noire"; //copied from fr-fr
$text['title-call-block']['fr-fr'] = "Liste noire";
$text['title-call-block']['he-il'] = "חסימת מספר";
$text['title-call-block']['it-it'] = "Blocco Chiamate";
$text['title-call-block']['nl-nl'] = "";
$text['title-call-block']['pl-pl'] = "Blokowanie rozmów";
$text['title-call-block']['pt-br'] = "Bloqueio de chamadas";
$text['title-call-block']['pt-pt'] = "Bloqueio de Chamadas";
$text['title-call-block']['ro-ro'] = "Blocare apel";
$text['title-call-block']['ru-ru'] = "Черный список";
$text['title-call-block']['sv-se'] = "Blockera Samtal";
$text['title-call-block']['uk-ua'] = "Блокування дзвінків";
$text['prompt-block_recent_name']['en-us'] = "Block Recent Call - Edit the Name, if desired...";
$text['prompt-block_recent_name']['es-cl'] = "Bloqueo de llamadas recientes - Edite el nombre, si lo desea...";
$text['prompt-block_recent_name']['pt-pt'] = "Bloquear Chamadas Recentes - Edite o nome, se desejar...";
$text['prompt-block_recent_name']['fr-fr'] = "Bloquer appels récents - Modifiez le nom, si vous le souhaitez...";
$text['prompt-block_recent_name']['nl-nl'] = "";
$text['prompt-block_recent_name']['pt-br'] = "Bloquear chamadas recentes, edite o nome se assim desejar...";
$text['prompt-block_recent_name']['pl'] = "Zablokuj ostatnią rozmowę. Edytuj nazwę";
$text['prompt-block_recent_name']['sv-se'] = "Blockera Senaste Samtal, meditera namnet om nödvändigt...";
$text['prompt-block_recent_name']['uk'] = "Блокувати недавній дзвінок. Відредагуйте назву за бажанням";
$text['prompt-block_recent_name']['ro'] = "Blocare apel recent - Editați numele dacă doriți";
$text['prompt-block_recent_name']['de-at'] = "Kürzliche Anrufe Blockieren - Bearbeiten Sie den Namen, falls gewünscht...";
$text['prompt-block_recent_name']['ar-eg'] = "";
$text['prompt-block_recent_name']['he'] = "";
$text['prompt-block_recent_name']['de-at'] = "Kürzliche Anrufe Blockieren - Bearbeiten Sie den Namen, falls gewünscht..."; //copied from de-de
$text['prompt-block_recent_name']['de-ch'] = "Kürzliche Anrufe Blockieren - Bearbeiten Sie den Namen, falls gewünscht..."; //copied from de-de
$text['prompt-block_recent_name']['de-de'] = "Kürzliche Anrufe Blockieren - Bearbeiten Sie den Namen, falls gewünscht...";
$text['prompt-block_recent_name']['es-cl'] = "Bloqueo de llamadas recientes - Edite el nombre, si lo desea...";
$text['prompt-block_recent_name']['es-mx'] = "Bloqueo de llamadas recientes - Edite el nombre, si lo desea..."; //copied from es-cl
$text['prompt-block_recent_name']['fr-ca'] = "Bloquer appels récents - Modifiez le nom, si vous le souhaitez..."; //copied from fr-fr
$text['prompt-block_recent_name']['fr-fr'] = "Bloquer appels récents - Modifiez le nom, si vous le souhaitez...";
$text['prompt-block_recent_name']['he-il'] = "";
$text['prompt-block_recent_name']['it-it'] = "Blocca le chiamate recenti - Inserire il Nome, se desiderato...";
$text['prompt-block_recent_name']['nl-nl'] = "";
$text['prompt-block_recent_name']['pl-pl'] = "Zablokuj ostatnią rozmowę. Edytuj nazwę";
$text['prompt-block_recent_name']['pt-br'] = "Bloquear chamadas recentes, edite o nome se assim desejar...";
$text['prompt-block_recent_name']['pt-pt'] = "Bloquear Chamadas Recentes - Edite o nome, se desejar...";
$text['prompt-block_recent_name']['ro-ro'] = "Blocare apel recent - Editați numele dacă doriți";
$text['prompt-block_recent_name']['ru-ru'] = "Блокировать недавний вызов. Отредактируйте название, если необходимо...";
$text['prompt-block_recent_name']['sv-se'] = "Blockera Senaste Samtal, editera namnet om nödvändigt...";
$text['prompt-block_recent_name']['uk-ua'] = "Блокувати недавній дзвінок. Відредагуйте назву за бажанням";
$text['label-update-complete']['en-us'] = "Update Complete";
$text['label-update-complete']['es-cl'] = "Actualización Completa";
$text['label-update-complete']['pt-pt'] = "Actualização Efectuada";
$text['label-update-complete']['fr-fr'] = "Mise à jour effectuée";
$text['label-update-complete']['nl-nl'] = "";
$text['label-update-complete']['pt-br'] = "Atualização Completa";
$text['label-update-complete']['pl'] = "Zaktualizowano poprawnie";
$text['label-update-complete']['sv-se'] = "Uppdatering Klar";
$text['label-update-complete']['uk'] = "Оновлено";
$text['label-update-complete']['ro'] = "Actualizare completă";
$text['label-update-complete']['de-at'] = "Aktualisierung abgeschlossen";
$text['label-update-complete']['ar-eg'] = "اكتمال التحديث";
$text['label-update-complete']['he'] = "העדכון הושלם";
$text['label-update-complete']['de-at'] = "Aktualisierung abgeschlossen"; //copied from de-de
$text['label-update-complete']['de-ch'] = "Aktualisierung abgeschlossen"; //copied from de-de
$text['label-update-complete']['de-de'] = "Aktualisierung abgeschlossen";
$text['label-update-complete']['es-cl'] = "Actualización Completa";
$text['label-update-complete']['es-mx'] = "Actualización Completa"; //copied from es-cl
$text['label-update-complete']['fr-ca'] = "Mise à jour effectuée"; //copied from fr-fr
$text['label-update-complete']['fr-fr'] = "Mise à jour effectuée";
$text['label-update-complete']['he-il'] = "העדכון הושלם";
$text['label-update-complete']['it-it'] = "Aggiornamento Completato";
$text['label-update-complete']['nl-nl'] = "";
$text['label-update-complete']['pl-pl'] = "Zaktualizowano poprawnie";
$text['label-update-complete']['pt-br'] = "Atualização Completa";
$text['label-update-complete']['pt-pt'] = "Actualização Efectuada";
$text['label-update-complete']['ro-ro'] = "Actualizare completă";
$text['label-update-complete']['ru-ru'] = "Обновление завершено";
$text['label-update-complete']['sv-se'] = "Uppdatering Klar";
$text['label-update-complete']['uk-ua'] = "Оновлено";
$text['label-reject']['en-us'] = "Reject";
$text['label-reject']['es-cl'] = "Rechazar";
$text['label-reject']['pt-pt'] = "Rejeitar";
$text['label-reject']['fr-fr'] = "Rejeter";
$text['label-reject']['nl-nl'] = "";
$text['label-reject']['pt-br'] = "Rejeitar";
$text['label-reject']['pl'] = "Odrzuć ";
$text['label-reject']['sv-se'] = "Neka";
$text['label-reject']['uk'] = "Відхилити";
$text['label-reject']['ro'] = "";
$text['label-reject']['de-at'] = "Zurückweisen";
$text['label-reject']['ar-eg'] = "رفض";
$text['label-reject']['he'] = "לדחות";
$text['label-reject']['de-at'] = "Zurückweisen"; //copied from de-de
$text['label-reject']['de-ch'] = "Zurückweisen"; //copied from de-de
$text['label-reject']['de-de'] = "Zurückweisen";
$text['label-reject']['es-cl'] = "Rechazar";
$text['label-reject']['es-mx'] = "Rechazar"; //copied from es-cl
$text['label-reject']['fr-ca'] = "Rejeter"; //copied from fr-fr
$text['label-reject']['fr-fr'] = "Rejeter";
$text['label-reject']['he-il'] = "לדחות";
$text['label-reject']['it-it'] = "Blocca";
$text['label-reject']['nl-nl'] = "";
$text['label-reject']['pl-pl'] = "Odrzuć ";
$text['label-reject']['pt-br'] = "Rejeitar"; //copied from pt-pt
$text['label-reject']['pt-pt'] = "Rejeitar";
$text['label-reject']['ro-ro'] = "";
$text['label-reject']['ru-ru'] = "Отклонить";
$text['label-reject']['sv-se'] = "Neka";
$text['label-reject']['uk-ua'] = "Відхилити";
$text['label-provide-number']['en-us'] = "Please provide: Number";
$text['label-provide-number']['es-cl'] = "Por favor agregue: Número";
$text['label-provide-number']['pt-pt'] = "Por favor indique: Número";
$text['label-provide-number']['fr-fr'] = "Merci d'indiquer: Numéro";
$text['label-provide-number']['nl-nl'] = "";
$text['label-provide-number']['pt-br'] = "Por favor indique: Número";
$text['label-provide-number']['pl'] = " Wprowadź numer";
$text['label-provide-number']['sv-se'] = "Ange: Nummer";
$text['label-provide-number']['uk'] = "Введіть номер";
$text['label-provide-number']['ro'] = "";
$text['label-provide-number']['de-at'] = "Bitte geben Sie die Nummer an";
$text['label-provide-number']['ar-eg'] = "من فضلك أدخل: الرقم";
$text['label-provide-number']['he'] = "אנא הכנס מספר";
$text['label-provide-number']['de-at'] = "Bitte geben Sie die Nummer an"; //copied from de-de
$text['label-provide-number']['de-ch'] = "Bitte geben Sie die Nummer an"; //copied from de-de
$text['label-provide-number']['de-de'] = "Bitte geben Sie die Nummer an";
$text['label-provide-number']['es-cl'] = "Por favor agregue: Número";
$text['label-provide-number']['es-mx'] = "Por favor agregue: Número"; //copied from es-cl
$text['label-provide-number']['fr-ca'] = "Merci d'indiquer: Numéro"; //copied from fr-fr
$text['label-provide-number']['fr-fr'] = "Merci d'indiquer: Numéro";
$text['label-provide-number']['he-il'] = "אנא הכנס מספר";
$text['label-provide-number']['it-it'] = "Prego fornire: Numero";
$text['label-provide-number']['nl-nl'] = "";
$text['label-provide-number']['pl-pl'] = " Wprowadź numer";
$text['label-provide-number']['pt-br'] = "Por favor indique: Número"; //copied from pt-pt
$text['label-provide-number']['pt-pt'] = "Por favor indique: Número";
$text['label-provide-number']['ro-ro'] = "";
$text['label-provide-number']['ru-ru'] = "Введите номер";
$text['label-provide-number']['sv-se'] = "Ange: Nummer";
$text['label-provide-number']['uk-ua'] = "Введіть номер";
$text['label-provide-name']['en-us'] = "Please provide: Name";
$text['label-provide-name']['es-cl'] = "Por favor agregue: Nombre";
$text['label-provide-name']['pt-pt'] = "Por favor indique: Nome";
$text['label-provide-name']['fr-fr'] = "Merci d'indiquer: Nom";
$text['label-provide-name']['nl-nl'] = "";
$text['label-provide-name']['pt-br'] = "Por favor indique: Nome";
$text['label-provide-name']['pl'] = " Wprowadź nazwę ";
$text['label-provide-name']['sv-se'] = "Ange: Namn";
$text['label-provide-name']['uk'] = "Введіть назву";
$text['label-provide-name']['ro'] = "";
$text['label-provide-name']['de-at'] = "Bitte geben Sie den Namen an";
$text['label-provide-name']['ar-eg'] = "من فضلك أدخل: الأسم";
$text['label-provide-name']['he'] = "אנא הכנס שם";
$text['label-provide-name']['de-at'] = "Bitte geben Sie den Namen an"; //copied from de-de
$text['label-provide-name']['de-ch'] = "Bitte geben Sie den Namen an"; //copied from de-de
$text['label-provide-name']['de-de'] = "Bitte geben Sie den Namen an";
$text['label-provide-name']['es-cl'] = "Por favor agregue: Nombre";
$text['label-provide-name']['es-mx'] = "Por favor agregue: Nombre"; //copied from es-cl
$text['label-provide-name']['fr-ca'] = "Merci d'indiquer: Nom"; //copied from fr-fr
$text['label-provide-name']['fr-fr'] = "Merci d'indiquer: Nom";
$text['label-provide-name']['he-il'] = "אנא הכנס שם";
$text['label-provide-name']['it-it'] = "Prego fornire: Nome";
$text['label-provide-name']['nl-nl'] = "";
$text['label-provide-name']['pl-pl'] = " Wprowadź nazwę ";
$text['label-provide-name']['pt-br'] = "Por favor indique: Nome"; //copied from pt-pt
$text['label-provide-name']['pt-pt'] = "Por favor indique: Nome";
$text['label-provide-name']['ro-ro'] = "";
$text['label-provide-name']['ru-ru'] = "Пожалуйста, введите: Имя";
$text['label-provide-name']['sv-se'] = "Ange: Namn";
$text['label-provide-name']['uk-ua'] = "Введіть назву";
$text['label-provide-enabled']['en-us'] = "Please provide: Enabled";
$text['label-provide-enabled']['es-cl'] = "Por favor agregue: Activo";
$text['label-provide-enabled']['pt-pt'] = "Por favor indique: Activado";
$text['label-provide-enabled']['fr-fr'] = "Merci d'indiquer: Actif";
$text['label-provide-enabled']['nl-nl'] = "";
$text['label-provide-enabled']['pt-br'] = "Por favor indique se está habilitado";
$text['label-provide-enabled']['pl'] = " Wprowadź: Włączony";
$text['label-provide-enabled']['sv-se'] = "Ange: Aktiverad";
$text['label-provide-enabled']['uk'] = "Включити/відключити";
$text['label-provide-enabled']['ro'] = "";
$text['label-provide-enabled']['de-at'] = "Bitte geben Sie folgendes an: Aktiv";
$text['label-provide-enabled']['ar-eg'] = "";
$text['label-provide-enabled']['he'] = "";
$text['label-provide-enabled']['de-at'] = "Bitte geben Sie folgendes an: Aktiv"; //copied from de-de
$text['label-provide-enabled']['de-ch'] = "Bitte geben Sie folgendes an: Aktiv"; //copied from de-de
$text['label-provide-enabled']['de-de'] = "Bitte geben Sie folgendes an: Aktiv";
$text['label-provide-enabled']['es-cl'] = "Por favor agregue: Activo";
$text['label-provide-enabled']['es-mx'] = "Por favor agregue: Activo"; //copied from es-cl
$text['label-provide-enabled']['fr-ca'] = "Merci d'indiquer: Actif"; //copied from fr-fr
$text['label-provide-enabled']['fr-fr'] = "Merci d'indiquer: Actif";
$text['label-provide-enabled']['he-il'] = "";
$text['label-provide-enabled']['it-it'] = "Prego fornire: Abilitazione";
$text['label-provide-enabled']['nl-nl'] = "";
$text['label-provide-enabled']['pl-pl'] = " Wprowadź: Włączony";
$text['label-provide-enabled']['pt-br'] = "Por favor indique se está habilitado";
$text['label-provide-enabled']['pt-pt'] = "Por favor indique: Activado";
$text['label-provide-enabled']['ro-ro'] = "";
$text['label-provide-enabled']['ru-ru'] = "Пожалуйста, введите: Включить";
$text['label-provide-enabled']['sv-se'] = "Ange: Aktiverad";
$text['label-provide-enabled']['uk-ua'] = "Включити/відключити";
$text['label-number']['en-us'] = "Number";
$text['label-number']['es-cl'] = "Número";
$text['label-number']['pt-pt'] = "Número";
$text['label-number']['fr-fr'] = "Numéro";
$text['label-number']['nl-nl'] = "";
$text['label-number']['pt-br'] = "Número";
$text['label-number']['pl'] = "Numer";
$text['label-number']['sv-se'] = "Nummer";
$text['label-number']['uk'] = "Номер";
$text['label-number']['ro'] = "Număr";
$text['label-number']['de-at'] = "Nummer";
$text['label-number']['ar-eg'] = "رقم";
$text['label-number']['he'] = "מספר";
$text['label-number']['de-at'] = "Nummer"; //copied from de-de
$text['label-number']['de-ch'] = "Nummer"; //copied from de-de
$text['label-number']['de-de'] = "Nummer";
$text['label-number']['es-cl'] = "Número";
$text['label-number']['es-mx'] = "Número"; //copied from es-cl
$text['label-number']['fr-ca'] = "Numéro"; //copied from fr-fr
$text['label-number']['fr-fr'] = "Numéro";
$text['label-number']['he-il'] = "מספר";
$text['label-number']['it-it'] = "Numero";
$text['label-number']['nl-nl'] = "";
$text['label-number']['pl-pl'] = "Numer";
$text['label-number']['pt-br'] = "Número"; //copied from pt-pt
$text['label-number']['pt-pt'] = "Número";
$text['label-number']['ro-ro'] = "Număr";
$text['label-number']['ru-ru'] = "Номер";
$text['label-number']['sv-se'] = "Nummer";
$text['label-number']['uk-ua'] = "Номер";
$text['label-message']['en-us'] = "Message";
$text['label-message']['es-cl'] = "Mensaje";
$text['label-message']['pt-pt'] = "Mensagem";
$text['label-message']['fr-fr'] = "Message";
$text['label-message']['nl-nl'] = "";
$text['label-message']['pt-br'] = "Mensagem";
$text['label-message']['pl'] = "Wiadomość";
$text['label-message']['sv-se'] = "Meddelande";
$text['label-message']['uk'] = "Повідомлення";
$text['label-message']['ro'] = "Mesaj";
$text['label-message']['de-at'] = "Nachricht";
$text['label-message']['ar-eg'] = "رسالة";
$text['label-message']['he'] = "הודעה";
$text['label-message']['de-at'] = "Nachricht"; //copied from de-de
$text['label-message']['de-ch'] = "Nachricht"; //copied from de-de
$text['label-message']['de-de'] = "Nachricht";
$text['label-message']['es-cl'] = "Mensaje";
$text['label-message']['es-mx'] = "Mensaje"; //copied from es-cl
$text['label-message']['fr-ca'] = "Message"; //copied from fr-fr
$text['label-message']['fr-fr'] = "Message";
$text['label-message']['he-il'] = "הודעה";
$text['label-message']['it-it'] = "Messaggio";
$text['label-message']['nl-nl'] = "";
$text['label-message']['pl-pl'] = "Wiadomość";
$text['label-message']['pt-br'] = "Mensagem"; //copied from pt-pt
$text['label-message']['pt-pt'] = "Mensagem";
$text['label-message']['ro-ro'] = "Mesaj";
$text['label-message']['ru-ru'] = "Сообщение";
$text['label-message']['sv-se'] = "Meddelande";
$text['label-message']['uk-ua'] = "Повідомлення";
$text['label-local']['en-us'] = "Local";
$text['label-local']['es-cl'] = "Local";
$text['label-local']['pt-pt'] = "Local";
$text['label-local']['fr-fr'] = "Local";
$text['label-local']['nl-nl'] = "";
$text['label-local']['pt-br'] = "Local";
$text['label-local']['pl'] = "Lokalny";
$text['label-local']['sv-se'] = "Lokal";
$text['label-local']['uk'] = "Місцевий";
$text['label-local']['ro'] = "Local";
$text['label-local']['de-at'] = "Lokal";
$text['label-local']['ar-eg'] = "محلي";
$text['label-local']['he'] = "מקומי";
$text['label-local']['de-at'] = "Lokal"; //copied from de-de
$text['label-local']['de-ch'] = "Lokal"; //copied from de-de
$text['label-local']['de-de'] = "Lokal";
$text['label-local']['es-cl'] = "Local";
$text['label-local']['es-mx'] = "Local"; //copied from es-cl
$text['label-local']['fr-ca'] = "Local"; //copied from fr-fr
$text['label-local']['fr-fr'] = "Local";
$text['label-local']['he-il'] = "מקומי";
$text['label-local']['it-it'] = "Locale";
$text['label-local']['nl-nl'] = "";
$text['label-local']['pl-pl'] = "Lokalny";
$text['label-local']['pt-br'] = "Local"; //copied from pt-pt
$text['label-local']['pt-pt'] = "Local";
$text['label-local']['ro-ro'] = "Local";
$text['label-local']['ru-ru'] = "Локальный";
$text['label-local']['sv-se'] = "Lokal";
$text['label-local']['uk-ua'] = "Місцевий";
$text['label-inbound']['en-us'] = "Inbound";
$text['label-inbound']['es-cl'] = "Entrada";
$text['label-inbound']['pt-pt'] = "Entrada";
$text['label-inbound']['fr-fr'] = "Entrant";
$text['label-inbound']['nl-nl'] = "";
$text['label-inbound']['pt-br'] = "Entrada";
$text['label-inbound']['pl'] = "Przychodzący";
$text['label-inbound']['sv-se'] = "Inkommande";
$text['label-inbound']['uk'] = "Вихідний";
$text['label-inbound']['ro'] = "";
$text['label-inbound']['de-at'] = "Eingehend";
$text['label-inbound']['ar-eg'] = "";
$text['label-inbound']['he'] = "";
$text['label-inbound']['de-at'] = "Eingehend"; //copied from de-de
$text['label-inbound']['de-ch'] = "Eingehend"; //copied from de-de
$text['label-inbound']['de-de'] = "Eingehend";
$text['label-inbound']['es-cl'] = "Entrada";
$text['label-inbound']['es-mx'] = "Entrada"; //copied from es-cl
$text['label-inbound']['fr-ca'] = "Entrant"; //copied from fr-fr
$text['label-inbound']['fr-fr'] = "Entrant";
$text['label-inbound']['he-il'] = "";
$text['label-inbound']['it-it'] = "In ingresso";
$text['label-inbound']['nl-nl'] = "";
$text['label-inbound']['pl-pl'] = "Przychodzący";
$text['label-inbound']['pt-br'] = "Entrada"; //copied from pt-pt
$text['label-inbound']['pt-pt'] = "Entrada";
$text['label-inbound']['ro-ro'] = "";
$text['label-inbound']['ru-ru'] = "Входящий";
$text['label-inbound']['sv-se'] = "Inkommande";
$text['label-inbound']['uk-ua'] = "Вихідний";
$text['label-edit-note']['en-us'] = "Block calls from a number. Edit the name and enable/disable below.";
$text['label-edit-note']['es-cl'] = "Bloquea llamadas desde un número. Edite el nombre y active/desactive abajo.";
$text['label-edit-note']['pt-pt'] = "Bloquear chamadas a partir de um número. Edite o nome e active/desactive.";
$text['label-edit-note']['fr-fr'] = "Bloquer les appels à partir d'un numéro. Editer le nom et activer/désactiver ci-dessous.";
$text['label-edit-note']['nl-nl'] = "";
$text['label-edit-note']['pt-br'] = "Bloquear chamadas a partir de um número. Edite o nome e ative ou desative";
$text['label-edit-note']['pl'] = "Blokowanie połączeń z danego numeru. Edytuj nazwę i włącz/wyłącz poniżej.";
$text['label-edit-note']['sv-se'] = "Blockera samtal från nummer. Editera namn och Aktiv/Inaktiv nedan.";
$text['label-edit-note']['uk'] = "Блокувати дзвінки з номера. Змініть ім'я і включіть/відключіть нижче.";
$text['label-edit-note']['ro'] = "Blocați apelurile de la un număr. Editați numele și activați/dezactivați mai jos.";
$text['label-edit-note']['de-at'] = "Anrufe von Nummer Blockieren. Bearbeiten Sie den Namen und aktivieren/deaktivieren Sie unten.";
$text['label-edit-note']['ar-eg'] = "";
$text['label-edit-note']['he'] = "";
$text['label-edit-note']['de-at'] = "Anrufe von einer Rufnummer sperren. Bearbeiten Sie den Namen und aktivieren/deaktivieren Sie diesen unten."; //copied from de-de
$text['label-edit-note']['de-ch'] = "Anrufe von einer Rufnummer sperren. Bearbeiten Sie den Namen und aktivieren/deaktivieren Sie diesen unten."; //copied from de-de
$text['label-edit-note']['de-de'] = "Anrufe von einer Rufnummer sperren. Bearbeiten Sie den Namen und aktivieren/deaktivieren Sie diesen unten.";
$text['label-edit-note']['es-cl'] = "Bloquea llamadas desde un número. Edite el nombre y active/desactive abajo.";
$text['label-edit-note']['es-mx'] = "Bloquea llamadas desde un número. Edite el nombre y active/desactive abajo."; //copied from es-cl
$text['label-edit-note']['fr-ca'] = "Bloquer les appels à partir d'un numéro. Editer le nom et activer/désactiver ci-dessous."; //copied from fr-fr
$text['label-edit-note']['fr-fr'] = "Bloquer les appels à partir d'un numéro. Editer le nom et activer/désactiver ci-dessous.";
$text['label-edit-note']['he-il'] = "";
$text['label-edit-note']['it-it'] = "Blocca le chiamate da un numero. Inserire il nome e abilitare/disabilitare qui sotto.";
$text['label-edit-note']['nl-nl'] = "";
$text['label-edit-note']['pl-pl'] = "Blokowanie połączeń z danego numeru. Edytuj nazwę i włącz/wyłącz poniżej.";
$text['label-edit-note']['pt-br'] = "Bloquear chamadas a partir de um número. Edite o nome e ative ou desative";
$text['label-edit-note']['pt-pt'] = "Bloquear chamadas a partir de um número. Edite o nome e active/desactive.";
$text['label-edit-note']['ro-ro'] = "Blocați apelurile de la un număr. Editați numele și activați/dezactivați mai jos.";
$text['label-edit-note']['ru-ru'] = "Блокировать вызовы от номера. Отредактируйте имя и включено/выключено ниже.";
$text['label-edit-note']['sv-se'] = "Blockera samtal från nummer. Editera namn och Aktiv/Inaktiv nedan.";
$text['label-edit-note']['uk-ua'] = "Блокувати дзвінки з номера. Змініть ім'я і включіть/відключіть нижче.";
$text['label-edit-edit']['en-us'] = "Call Block";
$text['label-edit-edit']['es-cl'] = "Bloqueo de llamada";
$text['label-edit-edit']['pt-pt'] = "Bloqueio de Chamadas";
$text['label-edit-edit']['fr-fr'] = "Liste noire";
$text['label-edit-edit']['nl-nl'] = "";
$text['label-edit-edit']['pt-br'] = "Bloqueio de chamadas";
$text['label-edit-edit']['pl'] = "Blokowanie rozmów";
$text['label-edit-edit']['sv-se'] = "Blockera Samtal";
$text['label-edit-edit']['uk'] = "Блокування дзвінків";
$text['label-edit-edit']['ro'] = "Blocare apel";
$text['label-edit-edit']['de-at'] = "Sperrlisten";
$text['label-edit-edit']['ar-eg'] = "";
$text['label-edit-edit']['he'] = "חסימת שיחה";
$text['label-edit-edit']['de-at'] = "Sperrlisten"; //copied from de-de
$text['label-edit-edit']['de-ch'] = "Sperrlisten"; //copied from de-de
$text['label-edit-edit']['de-de'] = "Sperrlisten";
$text['label-edit-edit']['es-cl'] = "Bloqueo de llamada";
$text['label-edit-edit']['es-mx'] = "Bloqueo de llamada"; //copied from es-cl
$text['label-edit-edit']['fr-ca'] = "Liste noire"; //copied from fr-fr
$text['label-edit-edit']['fr-fr'] = "Liste noire";
$text['label-edit-edit']['he-il'] = "חסימת שיחה";
$text['label-edit-edit']['it-it'] = "Blocco Chiamate";
$text['label-edit-edit']['nl-nl'] = "";
$text['label-edit-edit']['pl-pl'] = "Blokowanie rozmów";
$text['label-edit-edit']['pt-br'] = "Bloqueio de chamadas";
$text['label-edit-edit']['pt-pt'] = "Bloqueio de Chamadas";
$text['label-edit-edit']['ro-ro'] = "Blocare apel";
$text['label-edit-edit']['ru-ru'] = "Черный список";
$text['label-edit-edit']['sv-se'] = "Blockera Samtal";
$text['label-edit-edit']['uk-ua'] = "Блокування дзвінків";
$text['label-edit-add-recent']['en-us'] = "Recent Calls";
$text['label-edit-add-recent']['es-cl'] = "Llamadas Recientes";
$text['label-edit-add-recent']['pt-pt'] = "Chamadas Recentes";
$text['label-edit-add-recent']['fr-fr'] = "Appels Récents";
$text['label-edit-add-recent']['nl-nl'] = "";
$text['label-edit-add-recent']['pt-br'] = "Chamadas recentes";
$text['label-edit-add-recent']['pl'] = "Ostatnie rozmowy";
$text['label-edit-add-recent']['sv-se'] = "Senaste Samtal";
$text['label-edit-add-recent']['uk'] = "Останні дзвінки";
$text['label-edit-add-recent']['ro'] = "Apeluri recente";
$text['label-edit-add-recent']['de-at'] = "Kürzliche Anrufe";
$text['label-edit-add-recent']['ar-eg'] = "";
$text['label-edit-add-recent']['he'] = "שיחות אחרונות";
$text['label-edit-add-recent']['de-at'] = "Kürzliche Anrufe"; //copied from de-de
$text['label-edit-add-recent']['de-ch'] = "Kürzliche Anrufe"; //copied from de-de
$text['label-edit-add-recent']['de-de'] = "Kürzliche Anrufe";
$text['label-edit-add-recent']['es-cl'] = "Llamadas Recientes";
$text['label-edit-add-recent']['es-mx'] = "Llamadas Recientes"; //copied from es-cl
$text['label-edit-add-recent']['fr-ca'] = "Appels Récents"; //copied from fr-fr
$text['label-edit-add-recent']['fr-fr'] = "Appels Récents";
$text['label-edit-add-recent']['he-il'] = "שיחות אחרונות";
$text['label-edit-add-recent']['it-it'] = "Chiamate Recenti";
$text['label-edit-add-recent']['nl-nl'] = "";
$text['label-edit-add-recent']['pl-pl'] = "Ostatnie rozmowy";
$text['label-edit-add-recent']['pt-br'] = "Chamadas recentes";
$text['label-edit-add-recent']['pt-pt'] = "Chamadas Recentes";
$text['label-edit-add-recent']['ro-ro'] = "Apeluri recente";
$text['label-edit-add-recent']['ru-ru'] = "Недавние вызовы";
$text['label-edit-add-recent']['sv-se'] = "Senaste Samtal";
$text['label-edit-add-recent']['uk-ua'] = "Останні дзвінки";
$text['label-edit-add']['en-us'] = "Call Block";
$text['label-edit-add']['es-cl'] = "Agregar bloqueo de llamada";
$text['label-edit-add']['pt-pt'] = "Adicionar Bloqueio de Chamadas";
$text['label-edit-add']['fr-fr'] = "Ajouter bloquage d'appel";
$text['label-edit-add']['nl-nl'] = "";
$text['label-edit-add']['pt-br'] = "Adicionar bloqueio de chamadas";
$text['label-edit-add']['pl'] = "Blokowaie rozmów";
$text['label-edit-add']['sv-se'] = "Blockera Samtal";
$text['label-edit-add']['uk'] = "Блокування дзвінків";
$text['label-edit-add']['ro'] = "Blocare apel";
$text['label-edit-add']['de-at'] = "Sperrlisten";
$text['label-edit-add']['ar-eg'] = "حظر المكالمات";
$text['label-edit-add']['he'] = "חסימת שיחה";
$text['label-edit-add']['de-at'] = "Sperrlisten"; //copied from de-de
$text['label-edit-add']['de-ch'] = "Sperrlisten"; //copied from de-de
$text['label-edit-add']['de-de'] = "Sperrlisten";
$text['label-edit-add']['es-cl'] = "Agregar bloqueo de llamada";
$text['label-edit-add']['es-mx'] = "Agregar bloqueo de llamada"; //copied from es-cl
$text['label-edit-add']['fr-ca'] = "Ajouter bloquage d'appel"; //copied from fr-fr
$text['label-edit-add']['fr-fr'] = "Ajouter bloquage d'appel";
$text['label-edit-add']['he-il'] = "חסימת שיחה";
$text['label-edit-add']['it-it'] = "Blocco Chiamate";
$text['label-edit-add']['nl-nl'] = "";
$text['label-edit-add']['pl-pl'] = "Blokowaie rozmów";
$text['label-edit-add']['pt-br'] = "Adicionar bloqueio de chamadas";
$text['label-edit-add']['pt-pt'] = "Adicionar Bloqueio de Chamadas";
$text['label-edit-add']['ro-ro'] = "Blocare apel";
$text['label-edit-add']['ru-ru'] = "Черный список";
$text['label-edit-add']['sv-se'] = "Blockera Samtal";
$text['label-edit-add']['uk-ua'] = "Блокування дзвінків";
$text['label-duration']['en-us'] = "Duration";
$text['label-duration']['es-cl'] = "Duración";
$text['label-duration']['pt-pt'] = "Duração";
$text['label-duration']['fr-fr'] = "Durée";
$text['label-duration']['nl-nl'] = "";
$text['label-duration']['pt-br'] = "Duração";
$text['label-duration']['pl'] = "Czas trwania";
$text['label-duration']['sv-se'] = "Samtalstid";
$text['label-duration']['uk'] = "Тривалість";
$text['label-duration']['ro'] = "Durată";
$text['label-duration']['de-at'] = "Dauer";
$text['label-duration']['ar-eg'] = "المدة";
$text['label-duration']['he'] = "משך השיחה";
$text['label-duration']['de-at'] = "Dauer"; //copied from de-de
$text['label-duration']['de-ch'] = "Dauer"; //copied from de-de
$text['label-duration']['de-de'] = "Dauer";
$text['label-duration']['es-cl'] = "Duración";
$text['label-duration']['es-mx'] = "Duración"; //copied from es-cl
$text['label-duration']['fr-ca'] = "Durée"; //copied from fr-fr
$text['label-duration']['fr-fr'] = "Durée";
$text['label-duration']['he-il'] = "משך השיחה";
$text['label-duration']['it-it'] = "Durata";
$text['label-duration']['nl-nl'] = "";
$text['label-duration']['pl-pl'] = "Czas trwania";
$text['label-duration']['pt-br'] = "Duração"; //copied from pt-pt
$text['label-duration']['pt-pt'] = "Duração";
$text['label-duration']['ro-ro'] = "Durată";
$text['label-duration']['ru-ru'] = "Длительность";
$text['label-duration']['sv-se'] = "Samtalstid";
$text['label-duration']['uk-ua'] = "Тривалість";
$text['label-delete-complete']['en-us'] = "Delete Complete";
$text['label-delete-complete']['es-cl'] = "Eliminar Completo";
$text['label-delete-complete']['pt-pt'] = "Remoção Efectuada";
$text['label-delete-complete']['fr-fr'] = "Supprimé";
$text['label-delete-complete']['nl-nl'] = "";
$text['label-delete-complete']['pt-br'] = "Remoção efetuada";
$text['label-delete-complete']['pl'] = "Usunięto poprawnie";
$text['label-delete-complete']['sv-se'] = "Borttagning Klar";
$text['label-delete-complete']['uk'] = "Видалено";
$text['label-delete-complete']['ro'] = "Ștergere completă";
$text['label-delete-complete']['de-at'] = "Erfolgreich gelöscht";
$text['label-delete-complete']['ar-eg'] = "اكتمال المسح";
$text['label-delete-complete']['he'] = "המחיקה הושלמה";
$text['label-delete-complete']['de-at'] = "Erfolgreich gelöscht"; //copied from de-de
$text['label-delete-complete']['de-ch'] = "Erfolgreich gelöscht"; //copied from de-de
$text['label-delete-complete']['de-de'] = "Erfolgreich gelöscht";
$text['label-delete-complete']['es-cl'] = "Eliminar Completo";
$text['label-delete-complete']['es-mx'] = "Eliminar Completo"; //copied from es-cl
$text['label-delete-complete']['fr-ca'] = "Supprimé"; //copied from fr-fr
$text['label-delete-complete']['fr-fr'] = "Supprimé";
$text['label-delete-complete']['he-il'] = "המחיקה הושלמה";
$text['label-delete-complete']['it-it'] = "Cancellazione Completata";
$text['label-delete-complete']['nl-nl'] = "";
$text['label-delete-complete']['pl-pl'] = "Usunięto poprawnie";
$text['label-delete-complete']['pt-br'] = "Remoção efetuada";
$text['label-delete-complete']['pt-pt'] = "Remoção Efectuada";
$text['label-delete-complete']['ro-ro'] = "Ștergere completă";
$text['label-delete-complete']['ru-ru'] = "Удаление завершено";
$text['label-delete-complete']['sv-se'] = "Borttagning Klar";
$text['label-delete-complete']['uk-ua'] = "Видалено";
$text['label-date-added']['en-us'] = "Date Added";
$text['label-date-added']['es-cl'] = "Fecha de ingreso";
$text['label-date-added']['pt-pt'] = "Data adicionada";
$text['label-date-added']['fr-fr'] = "Date d'ajout";
$text['label-date-added']['nl-nl'] = "";
$text['label-date-added']['pt-br'] = "Data adicionada";
$text['label-date-added']['pl'] = "Dodano datę";
$text['label-date-added']['sv-se'] = "Datum Tillagt";
$text['label-date-added']['uk'] = "Додано";
$text['label-date-added']['ro'] = "Data adăugării";
$text['label-date-added']['de-at'] = "Datum hinzugefügt";
$text['label-date-added']['ar-eg'] = "تم اضافة التاريخ";
$text['label-date-added']['he'] = "התאריך נוסף";
$text['label-date-added']['de-at'] = "Datum hinzugefügt"; //copied from de-de
$text['label-date-added']['de-ch'] = "Datum hinzugefügt"; //copied from de-de
$text['label-date-added']['de-de'] = "Datum hinzugefügt";
$text['label-date-added']['es-cl'] = "Fecha de ingreso";
$text['label-date-added']['es-mx'] = "Fecha de ingreso"; //copied from es-cl
$text['label-date-added']['fr-ca'] = "Date d'ajout"; //copied from fr-fr
$text['label-date-added']['fr-fr'] = "Date d'ajout";
$text['label-date-added']['he-il'] = "התאריך נוסף";
$text['label-date-added']['it-it'] = "Data Aggiunta";
$text['label-date-added']['nl-nl'] = "";
$text['label-date-added']['pl-pl'] = "Dodano datę";
$text['label-date-added']['pt-br'] = "Data adicionada"; //copied from pt-pt
$text['label-date-added']['pt-pt'] = "Data adicionada";
$text['label-date-added']['ro-ro'] = "Data adăugării";
$text['label-date-added']['ru-ru'] = "Дата добавления";
$text['label-date-added']['sv-se'] = "Datum Tillagt";
$text['label-date-added']['uk-ua'] = "Додано";
$text['label-count']['en-us'] = "Count";
$text['label-count']['es-cl'] = "Conteo";
$text['label-count']['pt-pt'] = "Contagem";
$text['label-count']['fr-fr'] = "Nombre d'appels";
$text['label-count']['nl-nl'] = "";
$text['label-count']['pt-br'] = "Contagem";
$text['label-count']['pl'] = "Wyliczenie";
$text['label-count']['sv-se'] = "Räkna";
$text['label-count']['uk'] = "Кількість";
$text['label-count']['ro'] = "";
$text['label-count']['de-at'] = "Zähler";
$text['label-count']['ar-eg'] = "";
$text['label-count']['he'] = "";
$text['label-count']['de-at'] = "Zähler"; //copied from de-de
$text['label-count']['de-ch'] = "Zähler"; //copied from de-de
$text['label-count']['de-de'] = "Zähler";
$text['label-count']['es-cl'] = "Conteo";
$text['label-count']['es-mx'] = "Conteo"; //copied from es-cl
$text['label-count']['fr-ca'] = "Nombre d'appels"; //copied from fr-fr
$text['label-count']['fr-fr'] = "Nombre d'appels";
$text['label-count']['he-il'] = "";
$text['label-count']['it-it'] = "Conteggio";
$text['label-count']['nl-nl'] = "";
$text['label-count']['pl-pl'] = "Wyliczenie";
$text['label-count']['pt-br'] = "Contagem"; //copied from pt-pt
$text['label-count']['pt-pt'] = "Contagem";
$text['label-count']['ro-ro'] = "";
$text['label-count']['ru-ru'] = "Количество";
$text['label-count']['sv-se'] = "Räkna";
$text['label-count']['uk-ua'] = "Кількість";
$text['label-called-on']['en-us'] = "Called on";
$text['label-called-on']['es-cl'] = "Llamó en";
$text['label-called-on']['pt-pt'] = "Chamado em";
$text['label-called-on']['fr-fr'] = "Appelé sur";
$text['label-called-on']['nl-nl'] = "";
$text['label-called-on']['pt-br'] = "Chamada em ";
$text['label-called-on']['pl'] = "Zadzwoniono na";
$text['label-called-on']['sv-se'] = "Ringdes på";
$text['label-called-on']['uk'] = "Дзвінок здійснено";
$text['label-called-on']['ro'] = "Sunat pe";
$text['label-called-on']['de-at'] = "Anruf am";
$text['label-called-on']['ar-eg'] = "تم الأتصال علي";
$text['label-called-on']['he'] = "";
$text['label-called-on']['de-at'] = "Anruf am"; //copied from de-de
$text['label-called-on']['de-ch'] = "Anruf am"; //copied from de-de
$text['label-called-on']['de-de'] = "Anruf am";
$text['label-called-on']['es-cl'] = "Llamó en";
$text['label-called-on']['es-mx'] = "Llamó en"; //copied from es-cl
$text['label-called-on']['fr-ca'] = "Appelé sur"; //copied from fr-fr
$text['label-called-on']['fr-fr'] = "Appelé sur";
$text['label-called-on']['he-il'] = "";
$text['label-called-on']['it-it'] = "Chiamato il";
$text['label-called-on']['nl-nl'] = "";
$text['label-called-on']['pl-pl'] = "Zadzwoniono na";
$text['label-called-on']['pt-br'] = "Chamada em ";
$text['label-called-on']['pt-pt'] = "Chamado em";
$text['label-called-on']['ro-ro'] = "Sunat pe";
$text['label-called-on']['ru-ru'] = "Направление";
$text['label-called-on']['sv-se'] = "Ringdes på";
$text['label-called-on']['uk-ua'] = "Дзвінок здійснено";
$text['label-busy']['en-us'] = "Busy";
$text['label-busy']['es-cl'] = "Ocupado";
$text['label-busy']['pt-pt'] = "Ocupado";
$text['label-busy']['fr-fr'] = "Occupé";
$text['label-busy']['nl-nl'] = "";
$text['label-busy']['pt-br'] = "Ocupado";
$text['label-busy']['pl'] = "Zajęty";
$text['label-busy']['sv-se'] = "Upptagen";
$text['label-busy']['uk'] = "Зайнято";
$text['label-busy']['ro'] = "Ocupat";
$text['label-busy']['de-at'] = "Besetzt";
$text['label-busy']['ar-eg'] = "مشغول";
$text['label-busy']['he'] = "תפוס";
$text['label-busy']['de-at'] = "Besetzt"; //copied from de-de
$text['label-busy']['de-ch'] = "Besetzt"; //copied from de-de
$text['label-busy']['de-de'] = "Besetzt";
$text['label-busy']['es-cl'] = "Ocupado";
$text['label-busy']['es-mx'] = "Ocupado"; //copied from es-cl
$text['label-busy']['fr-ca'] = "Occupé"; //copied from fr-fr
$text['label-busy']['fr-fr'] = "Occupé";
$text['label-busy']['he-il'] = "תפוס";
$text['label-busy']['it-it'] = "Occupato";
$text['label-busy']['nl-nl'] = "";
$text['label-busy']['pl-pl'] = "Zajęty";
$text['label-busy']['pt-br'] = "Ocupado"; //copied from pt-pt
$text['label-busy']['pt-pt'] = "Ocupado";
$text['label-busy']['ro-ro'] = "Ocupat";
$text['label-busy']['ru-ru'] = "Занято";
$text['label-busy']['sv-se'] = "Upptagen";
$text['label-busy']['uk-ua'] = "Зайнято";
$text['label-hold']['en-us'] = "Hold";
$text['label-hold']['es-cl'] = "";
$text['label-hold']['pt-pt'] = "";
$text['label-hold']['fr-fr'] = "";
$text['label-hold']['nl-nl'] = "";
$text['label-hold']['pt-br'] = "Espera";
$text['label-hold']['pl'] = "";
$text['label-hold']['sv-se'] = "";
$text['label-hold']['uk'] = "";
$text['label-hold']['ro'] = "";
$text['label-hold']['de-at'] = "";
$text['label-hold']['ar-eg'] = "";
$text['label-hold']['he'] = "";
$text['label-hold']['de-at'] = "Halten"; //copied from de-de
$text['label-hold']['de-ch'] = "Halten"; //copied from de-de
$text['label-hold']['de-de'] = "Halten";
$text['label-hold']['es-cl'] = "";
$text['label-hold']['es-mx'] = "";
$text['label-hold']['fr-ca'] = "";
$text['label-hold']['fr-fr'] = "";
$text['label-hold']['he-il'] = "";
$text['label-hold']['it-it'] = "In attesa";
$text['label-hold']['nl-nl'] = "";
$text['label-hold']['pl-pl'] = "";
$text['label-hold']['pt-br'] = "Espera"; //copied from pt-pt
$text['label-hold']['pt-pt'] = "Espera";
$text['label-hold']['ro-ro'] = "";
$text['label-hold']['ru-ru'] = "Удержание";
$text['label-hold']['sv-se'] = "Vänt";
$text['label-hold']['uk-ua'] = "";
$text['label-voicemail']['en-us'] = "Voicemail";
$text['label-voicemail']['ar-eg'] = "";
$text['label-voicemail']['de-at'] = "Mailbox"; //copied from de-de
$text['label-voicemail']['de-ch'] = "Mailbox"; //copied from de-de
$text['label-voicemail']['de-de'] = "Mailbox";
$text['label-voicemail']['es-cl'] = "Correo de Voz";
$text['label-voicemail']['pt-pt'] = "Correio de Voz";
$text['label-voicemail']['es-mx'] = "Correo de Voz"; //copied from es-cl
$text['label-voicemail']['fr-ca'] = "Messagerie Vocale"; //copied from fr-fr
$text['label-voicemail']['fr-fr'] = "Messagerie Vocale";
$text['label-voicemail']['he-il'] = "תא קולי";
$text['label-voicemail']['it-it'] = "Voicemail";
$text['label-voicemail']['nl-nl'] = "";
$text['label-voicemail']['pl-pl'] = "Poczta głosowa";
$text['label-voicemail']['pt-br'] = "Correio de voz";
$text['label-voicemail']['pl'] = "Poczta głosowa";
$text['label-voicemail']['pt-pt'] = "Correio de Voz";
$text['label-voicemail']['ro-ro'] = "";
$text['label-voicemail']['ru-ru'] = "Голосовая почта";
$text['label-voicemail']['sv-se'] = "Röstbrevlåda";
$text['label-voicemail']['uk'] = "Голосова пошта";
$text['label-voicemail']['de-at'] = "Mailbox";
$text['label-voicemail']['he'] = "תא קולי";
$text['label-voicemail']['uk-ua'] = "Голосова пошта";
$text['label-add-note']['en-us'] = "Block calls from a number. Either select a number from the list above or enter the number, name and enable below.";
$text['label-add-note']['es-cl'] = "Bloquea llamadas desde un número. Puede elegir un número de la lista de arriba o ingresar el n&uacute, nombre y activarlo abajo.";
$text['label-add-note']['pt-pt'] = "Bloquear chamadas a partir de um número. Seleccione um número a partir da lista indicada ou introduza um número, nome e active.";
$text['label-add-note']['fr-fr'] = "Bloquer les appels à partir d'un numéro. Choisissez un numéro dans liste ou entrez un numéro, nom et activer le.";
$text['label-add-note']['nl-nl'] = "";
$text['label-add-note']['pt-br'] = "Bloquear chamadas a partir de um número. Selecione um número a partir da lista indicada ou insira um número e um nome em seguida ative";
$text['label-add-note']['pl'] = "Blokowanie połączeń z danego numeru. Wybierz numer z powyższej listy j lub wpisz numer, nazwę i załącz poniżej.";
$text['label-add-note']['sv-se'] = "Blockera samtal från ett nummer. Välj antingen ett nummer från listan ovan eller fyll i nummer, namn och aktivera nedan.";
$text['label-add-note']['uk'] = "Блокувати дзвінки з номера. Або вибрати номер зі списку вище або введіть номер, ім'я і включити нижче.";
$text['label-add-note']['ro'] = "";
$text['label-add-note']['de-at'] = "Blockiert Anrufe von einer Nummer. Wählen Sie eine Nummer von der Liste oder geben Sie eine Nummer und einen Name ein. Aktivieren Sie die Sperrliste unten.";
$text['label-add-note']['ar-eg'] = "";
$text['label-add-note']['he'] = "";
$text['label-add-note']['de-at'] = "Anrufe einer Rufnummer sperren. Wählen Sie eine Nummer von der Liste oder geben Sie eine Nummer und einen Name ein. Aktivieren Sie die Sperrliste unten."; //copied from de-de
$text['label-add-note']['de-ch'] = "Anrufe einer Rufnummer sperren. Wählen Sie eine Nummer von der Liste oder geben Sie eine Nummer und einen Name ein. Aktivieren Sie die Sperrliste unten."; //copied from de-de
$text['label-add-note']['de-de'] = "Anrufe einer Rufnummer sperren. Wählen Sie eine Nummer von der Liste oder geben Sie eine Nummer und einen Name ein. Aktivieren Sie die Sperrliste unten.";
$text['label-add-note']['es-cl'] = "Bloquea llamadas desde un número. Puede elegir un número de la lista de arriba o ingresar el n&uacute, nombre y activarlo abajo.";
$text['label-add-note']['es-mx'] = "Bloquea llamadas desde un número. Puede elegir un número de la lista de arriba o ingresar el n&uacute, nombre y activarlo abajo."; //copied from es-cl
$text['label-add-note']['fr-ca'] = "Bloquer les appels à partir d'un numéro. Choisissez un numéro dans liste ou entrez un numéro, nom et activer le."; //copied from fr-fr
$text['label-add-note']['fr-fr'] = "Bloquer les appels à partir d'un numéro. Choisissez un numéro dans liste ou entrez un numéro, nom et activer le.";
$text['label-add-note']['he-il'] = "";
$text['label-add-note']['it-it'] = "Blocca le chiamate da un numero. Seleziona un numero dalla lista sovrastante o inserisci il numero, il nome e l'abilitazione qui sotto.";
$text['label-add-note']['nl-nl'] = "";
$text['label-add-note']['pl-pl'] = "Blokowanie połączeń z danego numeru. Wybierz numer z powyższej listy j lub wpisz numer, nazwę i załącz poniżej.";
$text['label-add-note']['pt-br'] = "Bloquear chamadas a partir de um número. Selecione um número a partir da lista indicada ou insira um número e um nome em seguida ative";
$text['label-add-note']['pt-pt'] = "Bloquear chamadas a partir de um número. Seleccione um número a partir da lista indicada ou introduza um número, nome e active.";
$text['label-add-note']['ro-ro'] = "";
$text['label-add-note']['ru-ru'] = "Блокировка вызовов от номера. Выберите номер из списка выше либо введите его самостоятельно, имя и включите ниже.";
$text['label-add-note']['sv-se'] = "Blockera samtal från ett nummer. Välj antingen ett nummer från listan ovan eller fyll i nummer, namn och aktivera nedan.";
$text['label-add-note']['uk-ua'] = "Блокувати дзвінки з номера. Або вибрати номер зі списку вище або введіть номер, ім'я і включити нижче.";
$text['label-add-complete']['en-us'] = "Add Complete";
$text['label-add-complete']['es-cl'] = "Agregar Completo";
$text['label-add-complete']['pt-pt'] = "Adição Efectuada";
$text['label-add-complete']['fr-fr'] = "Ajouté";
$text['label-add-complete']['nl-nl'] = "";
$text['label-add-complete']['pt-br'] = "Criação efetuada ";
$text['label-add-complete']['pl'] = "Dodano poprawnie";
$text['label-add-complete']['sv-se'] = "Tillagd";
$text['label-add-complete']['uk'] = "Додано";
$text['label-add-complete']['ro'] = "Adăugare completă";
$text['label-add-complete']['de-at'] = "Erfolgreich hinzugefügt";
$text['label-add-complete']['ar-eg'] = "تمت الأضافة";
$text['label-add-complete']['he'] = "הוספה הושלמה";
$text['label-add-complete']['de-at'] = "Erfolgreich hinzugefügt"; //copied from de-de
$text['label-add-complete']['de-ch'] = "Erfolgreich hinzugefügt"; //copied from de-de
$text['label-add-complete']['de-de'] = "Erfolgreich hinzugefügt";
$text['label-add-complete']['es-cl'] = "Agregar Completo";
$text['label-add-complete']['es-mx'] = "Agregar Completo"; //copied from es-cl
$text['label-add-complete']['fr-ca'] = "Ajouté"; //copied from fr-fr
$text['label-add-complete']['fr-fr'] = "Ajouté";
$text['label-add-complete']['he-il'] = "הוספה הושלמה";
$text['label-add-complete']['it-it'] = "Inserimento Completato";
$text['label-add-complete']['nl-nl'] = "";
$text['label-add-complete']['pl-pl'] = "Dodano poprawnie";
$text['label-add-complete']['pt-br'] = "Criação efetuada ";
$text['label-add-complete']['pt-pt'] = "Adição Efectuada";
$text['label-add-complete']['ro-ro'] = "Adăugare completă";
$text['label-add-complete']['ru-ru'] = "Добавление завершено";
$text['label-add-complete']['sv-se'] = "Tillagd";
$text['label-add-complete']['uk-ua'] = "Додано";
$text['label-action']['en-us'] = "Action";
$text['label-action']['es-cl'] = "Acción";
$text['label-action']['pt-pt'] = "Acção";
$text['label-action']['fr-fr'] = "Action";
$text['label-action']['nl-nl'] = "";
$text['label-action']['pt-br'] = "Ação";
$text['label-action']['pl'] = "Operacja";
$text['label-action']['sv-se'] = "Åtgärd";
$text['label-action']['uk'] = "Дія";
$text['label-action']['ro'] = "Acțiune";
$text['label-action']['de-at'] = "Aktion";
$text['label-action']['ar-eg'] = "";
$text['label-action']['he'] = "פעולה";
$text['label-action']['de-at'] = "Aktion"; //copied from de-de
$text['label-action']['de-ch'] = "Aktion"; //copied from de-de
$text['label-action']['de-de'] = "Aktion";
$text['label-action']['es-cl'] = "Acción";
$text['label-action']['es-mx'] = "Acción"; //copied from es-cl
$text['label-action']['fr-ca'] = "Action"; //copied from fr-fr
$text['label-action']['fr-fr'] = "Action";
$text['label-action']['he-il'] = "פעולה";
$text['label-action']['it-it'] = "Azione";
$text['label-action']['nl-nl'] = "";
$text['label-action']['pl-pl'] = "Operacja";
$text['label-action']['pt-br'] = "Ação";
$text['label-action']['pt-pt'] = "Acção";
$text['label-action']['ro-ro'] = "Acțiune";
$text['label-action']['ru-ru'] = "Действие";
$text['label-action']['sv-se'] = "Åtgärd";
$text['label-action']['uk-ua'] = "Дія";
$text['description-number']['en-us'] = "Enter the exact number.";
$text['description-number']['es-cl'] = "Ingrese el nú exacto.";
$text['description-number']['pt-pt'] = "Introduza o número exacto.";
$text['description-number']['fr-fr'] = "Entrer le numéro exact.";
$text['description-number']['nl-nl'] = "";
$text['description-number']['pt-br'] = "Insira o número exato.";
$text['description-number']['pl'] = "Wprowadź dokładny numer.";
$text['description-number']['sv-se'] = "Ange det exakta numret";
$text['description-number']['uk'] = "Введіть точний номер";
$text['description-number']['ro'] = "Introduceți numărul exact";
$text['description-number']['de-at'] = "Geben Sie die genaue Nummer an.";
$text['description-number']['ar-eg'] = "";
$text['description-number']['he'] = "הכנס את המספר המבוקש";
$text['description-number']['de-at'] = "Geben Sie die genaue Nummer an."; //copied from de-de
$text['description-number']['de-ch'] = "Geben Sie die genaue Nummer an."; //copied from de-de
$text['description-number']['de-de'] = "Geben Sie die genaue Nummer an.";
$text['description-number']['es-cl'] = "Ingrese el nú exacto.";
$text['description-number']['es-mx'] = "Ingrese el nú exacto."; //copied from es-cl
$text['description-number']['fr-ca'] = "Entrer le numéro exact."; //copied from fr-fr
$text['description-number']['fr-fr'] = "Entrer le numéro exact.";
$text['description-number']['he-il'] = "הכנס את המספר המבוקש";
$text['description-number']['it-it'] = "Inserisci il numero esatto.";
$text['description-number']['nl-nl'] = "";
$text['description-number']['pl-pl'] = "Wprowadź dokładny numer.";
$text['description-number']['pt-br'] = "Insira o número exato.";
$text['description-number']['pt-pt'] = "Introduza o número exacto.";
$text['description-number']['ro-ro'] = "Introduceți numărul exact";
$text['description-number']['ru-ru'] = "Введите точный номер.";
$text['description-number']['sv-se'] = "Ange det exakta numret";
$text['description-number']['uk-ua'] = "Введіть точний номер";
$text['description-name']['en-us'] = "Enter the name.";
$text['description-name']['es-cl'] = "Introduzca el nombre.";
$text['description-name']['pt-pt'] = "Digite o nome.";
$text['description-name']['fr-fr'] = "Entrez le nom.";
$text['description-name']['nl-nl'] = "";
$text['description-name']['pt-br'] = "Insira o nome.";
$text['description-name']['pl'] = "Wprowadź nazwę";
$text['description-name']['sv-se'] = "Skriv in namnet.";
$text['description-name']['uk'] = "Введіть назву меню";
$text['description-name']['ro'] = "Introduceți numele";
$text['description-name']['de-at'] = "Geben Sie den Namen an";
$text['description-name']['ar-eg'] = "أدخل الأسم";
$text['description-name']['he'] = "הכנס את השם";
$text['description-name']['de-at'] = "Geben Sie den Namen an"; //copied from de-de
$text['description-name']['de-ch'] = "Geben Sie den Namen an"; //copied from de-de
$text['description-name']['de-de'] = "Geben Sie den Namen an";
$text['description-name']['es-cl'] = "Introduzca el nombre.";
$text['description-name']['es-mx'] = "Introduzca el nombre."; //copied from es-cl
$text['description-name']['fr-ca'] = "Entrez le nom."; //copied from fr-fr
$text['description-name']['fr-fr'] = "Entrez le nom.";
$text['description-name']['he-il'] = "הכנס את השם";
$text['description-name']['it-it'] = "Inserisci il nome.";
$text['description-name']['nl-nl'] = "";
$text['description-name']['pl-pl'] = "Wprowadź nazwę";
$text['description-name']['pt-br'] = "Insira o nome.";
$text['description-name']['pt-pt'] = "Digite o nome.";
$text['description-name']['ro-ro'] = "Introduceți numele";
$text['description-name']['ru-ru'] = "Введите имя.";
$text['description-name']['sv-se'] = "Skriv in namnet.";
$text['description-name']['uk-ua'] = "Введіть назву меню";
$text['description-enable']['en-us'] = "Set to true to enable call blocking for this number.";
$text['description-enable']['es-cl'] = "Seleccione verdadero para activar el bloqueo de llamadas desde este número.";
$text['description-enable']['pt-pt'] = "Escolha 'sim' para activar o bloqueio de chamadas para este número.";
$text['description-enable']['fr-fr'] = "Choisir Oui pour activer le bloquage d'appel.";
$text['description-enable']['nl-nl'] = "";
$text['description-enable']['pt-br'] = "Escolha 'sim' para ativar o bloqueio de chamadas para este número.";
$text['description-enable']['pl'] = "Ustaw wartość na TAK, aby umożliwić blokowanie tego numeru ";
$text['description-enable']['sv-se'] = "Välj Sann för att blockera detta nummer.";
$text['description-enable']['uk'] = "Виберіть 'Так', щоб блокувати дзвінки з даного номера.";
$text['description-enable']['ro'] = "";
$text['description-enable']['de-at'] = "Setzen Sie auf An um den Blocker für diese Nummer zu aktivieren.";
$text['description-enable']['ar-eg'] = "";
$text['description-enable']['he'] = "";
$text['description-enable']['de-at'] = "Setzen Sie auf An, um die Sperrung für diese Nummer zu aktivieren."; //copied from de-de
$text['description-enable']['de-ch'] = "Setzen Sie auf An, um die Sperrung für diese Nummer zu aktivieren."; //copied from de-de
$text['description-enable']['de-de'] = "Setzen Sie auf An, um die Sperrung für diese Nummer zu aktivieren.";
$text['description-enable']['es-cl'] = "Seleccione verdadero para activar el bloqueo de llamadas desde este número.";
$text['description-enable']['es-mx'] = "Seleccione verdadero para activar el bloqueo de llamadas desde este número."; //copied from es-cl
$text['description-enable']['fr-ca'] = "Choisir Oui pour activer le bloquage d'appel."; //copied from fr-fr
$text['description-enable']['fr-fr'] = "Choisir Oui pour activer le bloquage d'appel.";
$text['description-enable']['he-il'] = "";
$text['description-enable']['it-it'] = "Selezionare 'true' per abilitare il blocco chiamate da questo numero.";
$text['description-enable']['nl-nl'] = "";
$text['description-enable']['pl-pl'] = "Ustaw wartość na TAK, aby umożliwić blokowanie tego numeru ";
$text['description-enable']['pt-br'] = "Escolha 'sim' para ativar o bloqueio de chamadas para este número.";
$text['description-enable']['pt-pt'] = "Escolha 'sim' para activar o bloqueio de chamadas para este número.";
$text['description-enable']['ro-ro'] = "";
$text['description-enable']['ru-ru'] = "Выберите 'Да', чтобы блокировать вызовы с данного номера.";
$text['description-enable']['sv-se'] = "Välj Sann för att blockera detta nummer.";
$text['description-enable']['uk-ua'] = "Виберіть 'Так', щоб блокувати дзвінки з даного номера.";
$text['description-call-block']['en-us'] = "A list of numbers from which to block calls.";
$text['description-call-block']['es-cl'] = "Un listado de números desde los cuales se bloquean las llamadas";
$text['description-call-block']['pt-pt'] = "Uma lista de números que deseje bloquear as chamadas";
$text['description-call-block']['fr-fr'] = "Une liste de numéro dont on veut bloquer les appels";
$text['description-call-block']['nl-nl'] = "";
$text['description-call-block']['pt-br'] = "Uma lista de números que deseja bloquear as chamadas";
$text['description-call-block']['pl'] = "Lista numerów, z których rozmowy są blokowane.";
$text['description-call-block']['sv-se'] = "En lista med nummer för blockering av samtal.";
$text['description-call-block']['uk'] = "Список номерів, з яких блокуються дзвінки.";
$text['description-call-block']['ro'] = "";
$text['description-call-block']['de-at'] = "Eine Liste von Nummern die blockiert werden sollen.";
$text['description-call-block']['ar-eg'] = "";
$text['description-call-block']['he'] = "";
$text['description-call-block']['de-at'] = "Eine Liste von Nummern die gesperrt werden sollen."; //copied from de-de
$text['description-call-block']['de-ch'] = "Eine Liste von Nummern die gesperrt werden sollen."; //copied from de-de
$text['description-call-block']['de-de'] = "Eine Liste von Nummern die gesperrt werden sollen.";
$text['description-call-block']['es-cl'] = "Un listado de números desde los cuales se bloquean las llamadas";
$text['description-call-block']['es-mx'] = "Un listado de números desde los cuales se bloquean las llamadas"; //copied from es-cl
$text['description-call-block']['fr-ca'] = "Une liste de numéro dont on veut bloquer les appels"; //copied from fr-fr
$text['description-call-block']['fr-fr'] = "Une liste de numéro dont on veut bloquer les appels";
$text['description-call-block']['he-il'] = "";
$text['description-call-block']['it-it'] = "Una lista di numeri per cui è possibile bloccare le chiamate.";
$text['description-call-block']['nl-nl'] = "";
$text['description-call-block']['pl-pl'] = "Lista numerów, z których rozmowy są blokowane.";
$text['description-call-block']['pt-br'] = "Uma lista de números que deseja bloquear as chamadas";
$text['description-call-block']['pt-pt'] = "Uma lista de números que deseje bloquear as chamadas";
$text['description-call-block']['ro-ro'] = "";
$text['description-call-block']['ru-ru'] = "Список номеров, с которых блокируются вызовы.";
$text['description-call-block']['sv-se'] = "En lista med nummer för blockering av samtal.";
$text['description-call-block']['uk-ua'] = "Список номерів, з яких блокуються дзвінки.";
$text['description-action']['en-us'] = "Set an action for calls from this number.";
$text['description-action']['es-cl'] = "Configurar una acción para llamadas desde este número.";
$text['description-action']['pt-pt'] = "Escolha uma acção para chamadas com origem neste número.";
$text['description-action']['fr-fr'] = "Choisir une action pour les appels venant de ce numéro.";
$text['description-action']['nl-nl'] = "";
$text['description-action']['pt-br'] = "Escolha uma ação para chamadas reailzadas por este número.";
$text['description-action']['pl'] = "Ustaw co zrobić w przypadku polaczeń z tego numeru.";
$text['description-action']['sv-se'] = "Välj en aktion för samtal från detta nummer.";
$text['description-action']['uk'] = "Встановіть дію для дзвінків з цього номера.";
$text['description-action']['ro'] = "";
$text['description-action']['de-at'] = "Setzen Sie eine Aktion für Anrufe von dieser Nummer.";
$text['description-action']['ar-eg'] = "";
$text['description-action']['he'] = "";
$text['description-action']['de-at'] = "Wählen Sie eine Aktion für Anrufe von dieser Nummer."; //copied from de-de
$text['description-action']['de-ch'] = "Wählen Sie eine Aktion für Anrufe von dieser Nummer."; //copied from de-de
$text['description-action']['de-de'] = "Wählen Sie eine Aktion für Anrufe von dieser Nummer.";
$text['description-action']['es-cl'] = "Configurar una acción para llamadas desde este número.";
$text['description-action']['es-mx'] = "Configurar una acción para llamadas desde este número."; //copied from es-cl
$text['description-action']['fr-ca'] = "Choisir une action pour les appels venant de ce numéro."; //copied from fr-fr
$text['description-action']['fr-fr'] = "Choisir une action pour les appels venant de ce numéro.";
$text['description-action']['he-il'] = "";
$text['description-action']['it-it'] = "Seleziona un'azione per le chiamate da questo numero.";
$text['description-action']['nl-nl'] = "";
$text['description-action']['pl-pl'] = "Ustaw co zrobić w przypadku polaczeń z tego numeru.";
$text['description-action']['pt-br'] = "Escolha uma ação para chamadas reailzadas por este número.";
$text['description-action']['pt-pt'] = "Escolha uma acção para chamadas com origem neste número.";
$text['description-action']['ro-ro'] = "";
$text['description-action']['ru-ru'] = "Установите действие для вызовов с данного номера.";
$text['description-action']['sv-se'] = "Välj en aktion för samtal från detta nummer.";
$text['description-action']['uk-ua'] = "Встановіть дію для дзвінків з цього номера.";
?>
?>
+26 -18
View File
@@ -1,22 +1,30 @@
<?php
$apps[$x]['menu'][0]['title']['en-us'] = "Call Block";
$apps[$x]['menu'][0]['title']['es-cl'] = "Bloqueo de llamadas";
$apps[$x]['menu'][0]['title']['fr-fr'] = "Liste Noire";
$apps[$x]['menu'][0]['title']['pt-pt'] = "Bloqueio de Chamadas";
$apps[$x]['menu'][0]['title']['pt-br'] = "Bloqueio de chamadas";
$apps[$x]['menu'][0]['title']['pl'] = "Blokowanie rozmów";
$apps[$x]['menu'][0]['title']['sv-se'] = "Blockera Samtal";
$apps[$x]['menu'][0]['title']['uk'] = "Блокування дзвінків";
$apps[$x]['menu'][0]['title']['ro'] = "Blocare apel";
$apps[$x]['menu'][0]['title']['de-at'] = "Sperrlisten";
$apps[$x]['menu'][0]['title']['ar-eg'] = "حظر المكالمات";
$apps[$x]['menu'][0]['title']['he'] = "חסימת מספר";
$apps[$x]['menu'][0]['uuid'] = "29295c90-b1b9-440b-9c7E-c8363c6e8975";
$apps[$x]['menu'][0]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
$apps[$x]['menu'][0]['category'] = "internal";
$apps[$x]['menu'][0]['path'] = "/app/call_block/call_block.php";
$apps[$x]['menu'][0]['groups'][] = "superadmin";
$apps[$x]['menu'][0]['groups'][] = "admin";
$y=0;
$apps[$x]['menu'][$y]['title']['en-us'] = "Call Block";
$apps[$x]['menu'][$y]['title']['ar-eg'] = "حظر المكالمات";
$apps[$x]['menu'][$y]['title']['de-at'] = "Sperrlisten";
$apps[$x]['menu'][$y]['title']['de-ch'] = "";
$apps[$x]['menu'][$y]['title']['de-de'] = "Sperrlisten";
$apps[$x]['menu'][$y]['title']['es-cl'] = "Bloqueo de llamadas";
$apps[$x]['menu'][$y]['title']['es-mx'] = "";
$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
$apps[$x]['menu'][$y]['title']['fr-fr'] = "Liste Noire";
$apps[$x]['menu'][$y]['title']['he-il'] = "חסימת מספר";
$apps[$x]['menu'][$y]['title']['it-it'] = "Blocco Chiamate";
$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
$apps[$x]['menu'][$y]['title']['pl-pl'] = "Blokowanie rozmów";
$apps[$x]['menu'][$y]['title']['pt-br'] = "Bloqueio de chamadas";
$apps[$x]['menu'][$y]['title']['pt-pt'] = "Bloqueio de Chamadas";
$apps[$x]['menu'][$y]['title']['ro-ro'] = "Blocare apel";
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Черный список";
$apps[$x]['menu'][$y]['title']['sv-se'] = "Blockera Samtal";
$apps[$x]['menu'][$y]['title']['uk-ua'] = "Блокування дзвінків";
$apps[$x]['menu'][$y]['uuid'] = "29295c90-b1b9-440b-9c7E-c8363c6e8975";
$apps[$x]['menu'][$y]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
$apps[$x]['menu'][$y]['category'] = "internal";
$apps[$x]['menu'][$y]['path'] = "/app/call_block/call_block.php";
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
$apps[$x]['menu'][$y]['groups'][] = "admin";
?>
+1 -1
View File
@@ -102,7 +102,7 @@ else {
$db->exec(check_sql($sql));
unset($sql);
$_SESSION["message"] = $text['label-add-complete'];
messages::add($text['label-add-complete']);
}
+1 -1
View File
@@ -76,7 +76,7 @@ else {
}
//redirect the browser
$_SESSION["message"] = $text['label-delete-complete'];
messages::add($text['label-delete-complete']);
header("Location: call_block.php");
return;
+2 -2
View File
@@ -151,7 +151,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$db->exec(check_sql($sql));
unset($sql);
$_SESSION["message"] = $text['label-add-complete'];
messages::add($text['label-add-complete']);
header("Location: call_block.php");
return;
} //if ($action == "add")
@@ -186,7 +186,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$db->exec(check_sql($sql));
unset($sql);
$_SESSION["message"] = $text['label-update-complete'];
messages::add($text['label-update-complete']);
header("Location: call_block.php");
return;
} //if ($action == "update")
+41 -30
View File
@@ -5,46 +5,57 @@
$apps[$x]['uuid'] = "efc11f6b-ed73-9955-4d4d-3a1bed75a056";
$apps[$x]['category'] = "Switch";;
$apps[$x]['subcategory'] = "";
$apps[$x]['version'] = "";
$apps[$x]['version'] = "1.0";
$apps[$x]['license'] = "Mozilla Public License 1.1";
$apps[$x]['url'] = "http://www.fusionpbx.com";
$apps[$x]['description']['en-us'] = "Schedule to immediately make multiple calls to the extension, an IVR Menu, Conference Room, or any other number.";
$apps[$x]['description']['es-cl'] = "Realiza llamadas inmediatamente a extensiones, IVR, conferencias o cualquier otro número";
$apps[$x]['description']['de-de'] = "";
$apps[$x]['description']['ar-eg'] = "";
$apps[$x]['description']['de-at'] = "Methode um sofort mehrere parallele Anrufe an Nebenstellen, Automatische Zentralen, Conferenzräume oder andere Rufnummern zu leiten.";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-at'] = "";
$apps[$x]['description']['fr-fr'] = "Programmation de campagnes d'appels vers des extensions, IVR, salles de conferences ou tout autre numéro.";
$apps[$x]['description']['de-de'] = "Methode um sofort mehrere parallele Anrufe an Nebenstellen, Automatische Zentralen, Conferenzräume oder andere Rufnummern zu leiten.";
$apps[$x]['description']['es-cl'] = "Realiza llamadas inmediatamente a extensiones, IVR, conferencias o cualquier otro número";
$apps[$x]['description']['es-mx'] = "";
$apps[$x]['description']['fr-ca'] = "Il fait d' massive appels vers des extensions, IVR, salles de conferences ou quelqu'autre nom.";
$apps[$x]['description']['fr-ch'] = "";
$apps[$x]['description']['pt-pt'] = "Programação para imediatamente fazer várias chamadas para uma extensão, um IVR, Sala de Conferência, ou qualquer outro número.";
$apps[$x]['description']['fr-fr'] = "Programmation de campagnes d'appels vers des extensions, IVR, salles de conferences ou tout autre numéro.";
$apps[$x]['description']['he-il'] = "";
$apps[$x]['description']['it-it'] = "";
$apps[$x]['description']['nl-nl'] = "";
$apps[$x]['description']['pl-pl'] = "";
$apps[$x]['description']['pt-br'] = "Programação para imediatamente realizar várias chamadas para uma extensão, um menu IVR, Sala de Conferência ou qualquer outro número.";
$apps[$x]['description']['pt-pt'] = "Programação para imediatamente fazer várias chamadas para uma extensão, um IVR, Sala de Conferência, ou qualquer outro número.";
$apps[$x]['description']['ro-ro'] = "";
$apps[$x]['description']['ru-ru'] = "";
$apps[$x]['description']['sv-se'] = "";
$apps[$x]['description']['uk-ua'] = "";
//permission details
$apps[$x]['permissions'][0]['name'] = "call_broadcast_view";
$apps[$x]['permissions'][0]['menu']['uuid'] = "50153bbf-78c5-b49e-7bd9-4b3e4b1134e6";
$apps[$x]['permissions'][0]['groups'][] = "admin";
$apps[$x]['permissions'][0]['groups'][] = "superadmin";
$apps[$x]['permissions'][1]['name'] = "call_broadcast_add";
$apps[$x]['permissions'][1]['groups'][] = "admin";
$apps[$x]['permissions'][1]['groups'][] = "superadmin";
$apps[$x]['permissions'][2]['name'] = "call_broadcast_edit";
$apps[$x]['permissions'][2]['groups'][] = "admin";
$apps[$x]['permissions'][2]['groups'][] = "superadmin";
$apps[$x]['permissions'][3]['name'] = "call_broadcast_delete";
$apps[$x]['permissions'][3]['groups'][] = "admin";
$apps[$x]['permissions'][3]['groups'][] = "superadmin";
$apps[$x]['permissions'][4]['name'] = "call_broadcast_send";
$apps[$x]['permissions'][4]['groups'][] = "admin";
$apps[$x]['permissions'][4]['groups'][] = "superadmin";
$y=0;
$apps[$x]['permissions'][$y]['name'] = "call_broadcast_view";
$apps[$x]['permissions'][$y]['menu']['uuid'] = "50153bbf-78c5-b49e-7bd9-4b3e4b1134e6";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "call_broadcast_add";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "call_broadcast_edit";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "call_broadcast_delete";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "call_broadcast_send";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//schema details
$y = 0; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = "v_call_broadcasts";
$y=0;
$apps[$x]['db'][$y]['table']['name'] = "v_call_broadcasts";
$apps[$x]['db'][$y]['table']['parent'] = "";
$z=0;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "call_broadcast_id";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
+447 -166
View File
@@ -1,343 +1,624 @@
<?php
#This file was last reorganized on 19th of September 2017 08:54:24 AM UTC
$text['title']['en-us'] = "Call Broadcasts";
$text['title']['ar-eg'] = "";
$text['title']['de-at'] = "Rundrufe"; //copied from de-de
$text['title']['de-ch'] = "Rundrufe"; //copied from de-de
$text['title']['de-de'] = "Rundrufe";
$text['title']['es-cl'] = "Llamada Masiva (Broadcast)";
$text['title']['pt-pt'] = "Chamadas de Broadcast";
$text['title']['es-mx'] = "Llamada Masiva (Broadcast)"; //copied from es-cl
$text['title']['fr-ca'] = "Campagne d'appels"; //copied from fr-fr
$text['title']['fr-fr'] = "Campagne d'appels";
$text['title']['he-il'] = "הגדרת חשבון";
$text['title']['it-it'] = "Chiamate Multiple";
$text['title']['nl-nl'] = "";
$text['title']['pl-pl'] = "Rozsyłanie rozmów";
$text['title']['pt-br'] = "Configurações da Conta";
$text['title']['pl'] = "Rozsyłanie rozmów";
$text['title']['pt-pt'] = "Chamadas de Broadcast";
$text['title']['ro-ro'] = "";
$text['title']['ru-ru'] = "Массовые вызовы";
$text['title']['sv-se'] = "Samtalsdistributioner";
$text['title']['uk'] = "Трансляція дзвінків";
$text['title']['de-at'] = "Automatische Anrufe";
$text['title']['he'] = "הגדרת חשבון";
$text['title']['uk-ua'] = "Трансляція дзвінків";
$text['option-true']['en-us'] = "True";
$text['option-true']['ar-eg'] = "";
$text['option-true']['de-at'] = "Ein"; //copied from de-de
$text['option-true']['de-ch'] = "Ein"; //copied from de-de
$text['option-true']['de-de'] = "Ein";
$text['option-true']['es-cl'] = "Verdadero";
$text['option-true']['pt-pt'] = "Sim";
$text['option-true']['es-mx'] = "Verdadero"; //copied from es-cl
$text['option-true']['fr-ca'] = "Oui"; //copied from fr-fr
$text['option-true']['fr-fr'] = "Oui";
$text['option-true']['pt-br'] = "Sim";
$text['option-true']['pl'] = "Tak";
$text['option-true']['he-il'] = "חוקי";
$text['option-true']['it-it'] = "";
$text['option-true']['nl-nl'] = "";
$text['option-true']['pl-pl'] = "Tak";
$text['option-true']['pt-br'] = "Sim"; //copied from pt-pt
$text['option-true']['pt-pt'] = "Sim";
$text['option-true']['ro-ro'] = "";
$text['option-true']['ru-ru'] = "Да";
$text['option-true']['sv-se'] = "Sann";
$text['option-true']['uk'] = "Так";
$text['option-true']['de-at'] = "Ein";
$text['option-true']['he'] = "חוקי";
$text['option-true']['uk-ua'] = "Так";
$text['option-false']['en-us'] = "False";
$text['option-false']['ar-eg'] = "";
$text['option-false']['de-at'] = "Aus"; //copied from de-de
$text['option-false']['de-ch'] = "Aus"; //copied from de-de
$text['option-false']['de-de'] = "Aus";
$text['option-false']['es-cl'] = "Falso";
$text['option-false']['pt-pt'] = "Não";
$text['option-false']['es-mx'] = "Falso"; //copied from es-cl
$text['option-false']['fr-ca'] = "Non"; //copied from fr-fr
$text['option-false']['fr-fr'] = "Non";
$text['option-false']['pt-br'] = "Não";
$text['option-false']['pl'] = "Nie";
$text['option-false']['he-il'] = "לא חוקי";
$text['option-false']['it-it'] = "";
$text['option-false']['nl-nl'] = "";
$text['option-false']['pl-pl'] = "Nie";
$text['option-false']['pt-br'] = "Não"; //copied from pt-pt
$text['option-false']['pt-pt'] = "Não";
$text['option-false']['ro-ro'] = "";
$text['option-false']['ru-ru'] = "Нет";
$text['option-false']['sv-se'] = "Falsk";
$text['option-false']['uk'] = "Ні";
$text['option-false']['de-at'] = "Aus";
$text['option-false']['he'] = "לא חוקי";
$text['option-false']['uk-ua'] = "Ні";
$text['label-view-calls']['en-us'] = "View Calls";
$text['label-view-calls']['ar-eg'] = "";
$text['label-view-calls']['de-at'] = "Anrufe ansehen"; //copied from de-de
$text['label-view-calls']['de-ch'] = "Anrufe ansehen"; //copied from de-de
$text['label-view-calls']['de-de'] = "Anrufe ansehen";
$text['label-view-calls']['es-cl'] = "Ver llamadas";
$text['label-view-calls']['pt-pt'] = "Ver Chamadas";
$text['label-view-calls']['es-mx'] = "Ver llamadas"; //copied from es-cl
$text['label-view-calls']['fr-ca'] = "Voir les appels"; //copied from fr-fr
$text['label-view-calls']['fr-fr'] = "Voir les appels";
$text['label-view-calls']['he-il'] = "";
$text['label-view-calls']['it-it'] = "Visualizza Chiamate";
$text['label-view-calls']['nl-nl'] = "";
$text['label-view-calls']['pl-pl'] = "Podgląd rozmów";
$text['label-view-calls']['pt-br'] = "Ver chamadas";
$text['label-view-calls']['pl'] = "Podgląd rozmów";
$text['label-view-calls']['pt-pt'] = "Ver Chamadas";
$text['label-view-calls']['ro-ro'] = "";
$text['label-view-calls']['ru-ru'] = "Показать вызовы";
$text['label-view-calls']['sv-se'] = "Granska Samtal";
$text['label-view-calls']['uk'] = "Перегляд дзвінків";
$text['label-view-calls']['de-at'] = "Anrufe ansehen";
$text['label-view-calls']['he'] = "";
$text['label-view-calls']['uk-ua'] = "Перегляд дзвінків";
$text['label-timeout']['en-us'] = "Timeout";
$text['label-timeout']['ar-eg'] = "";
$text['label-timeout']['de-at'] = "Zeitüberschreitung"; //copied from de-de
$text['label-timeout']['de-ch'] = "Zeitüberschreitung"; //copied from de-de
$text['label-timeout']['de-de'] = "Zeitüberschreitung";
$text['label-timeout']['es-cl'] = "Tiempo Líimite";
$text['label-timeout']['pt-pt'] = "Timeout";
$text['label-timeout']['es-mx'] = "Tiempo Líimite"; //copied from es-cl
$text['label-timeout']['fr-ca'] = "Timeout"; //copied from fr-fr
$text['label-timeout']['fr-fr'] = "Timeout";
$text['label-timeout']['he-il'] = "";
$text['label-timeout']['it-it'] = "";
$text['label-timeout']['nl-nl'] = "";
$text['label-timeout']['pl-pl'] = "Przekroczenie czasu oczekiwania (timeout)";
$text['label-timeout']['pt-br'] = "Tempo limite";
$text['label-timeout']['pl'] = "Przekroczenie czasu oczekiwania (timeout)";
$text['label-timeout']['pt-pt'] = "Timeout";
$text['label-timeout']['ro-ro'] = "";
$text['label-timeout']['ru-ru'] = "Тайм-аут";
$text['label-timeout']['sv-se'] = "Tidsgräns";
$text['label-timeout']['uk'] = "Таймаут";
$text['label-timeout']['de-at'] = "Abwurfzeit";
$text['label-timeout']['he'] = "";
$text['label-timeout']['uk-ua'] = "Таймаут";
$text['label-phone']['en-us'] = "Phone Number List";
$text['label-phone']['ar-eg'] = "";
$text['label-phone']['de-at'] = "Liste der Telefonnummern"; //copied from de-de
$text['label-phone']['de-ch'] = "Liste der Telefonnummern"; //copied from de-de
$text['label-phone']['de-de'] = "Liste der Telefonnummern";
$text['label-phone']['es-cl'] = "Lista de Números de Telefono";
$text['label-phone']['pt-pt'] = "Lista de Números de Telefone";
$text['label-phone']['es-mx'] = "Lista de Números de Telefono"; //copied from es-cl
$text['label-phone']['fr-ca'] = "Liste de Numéros de téléphone"; //copied from fr-fr
$text['label-phone']['fr-fr'] = "Liste de Numéros de téléphone";
$text['label-phone']['he-il'] = "רשימת מספרי טלפון";
$text['label-phone']['it-it'] = "Lista Numeri di Telefono";
$text['label-phone']['nl-nl'] = "";
$text['label-phone']['pl-pl'] = "Lista numerów telefonu";
$text['label-phone']['pt-br'] = "Lista de números de telefone";
$text['label-phone']['pl'] = "Lista numerów telefonu";
$text['label-phone']['pt-pt'] = "Lista de Números de Telefone";
$text['label-phone']['ro-ro'] = "";
$text['label-phone']['ru-ru'] = "Список телефонних номеров";
$text['label-phone']['sv-se'] = "Lista Med Telefonnummer";
$text['label-phone']['uk'] = "Список телефонних номерів";
$text['label-phone']['de-at'] = "Liste der Telefonnummern";
$text['label-phone']['he'] = "רשימת מספרי טלפון";
$text['label-phone']['uk-ua'] = "Список телефонних номерів";
$text['label-message']['en-us'] = "Message";
$text['label-message']['ar-eg'] = "";
$text['label-message']['de-at'] = "Nachricht"; //copied from de-de
$text['label-message']['de-ch'] = "Nachricht"; //copied from de-de
$text['label-message']['de-de'] = "Nachricht";
$text['label-message']['es-cl'] = "Mensaje";
$text['label-message']['pt-pt'] = "Mensagem";
$text['label-message']['es-mx'] = "Mensaje"; //copied from es-cl
$text['label-message']['fr-ca'] = "Message"; //copied from fr-fr
$text['label-message']['fr-fr'] = "Message";
$text['label-message']['pt-br'] = "Mensagem";
$text['label-message']['pl'] = "Wiadomość";
$text['label-message']['he-il'] = "הודעה";
$text['label-message']['it-it'] = "Messaggio";
$text['label-message']['nl-nl'] = "";
$text['label-message']['pl-pl'] = "Wiadomość";
$text['label-message']['pt-br'] = "Mensagem"; //copied from pt-pt
$text['label-message']['pt-pt'] = "Mensagem";
$text['label-message']['ro-ro'] = "";
$text['label-message']['ru-ru'] = "Сообщение";
$text['label-message']['sv-se'] = "Meddelande";
$text['label-message']['uk'] = "Повідомлення";
$text['label-message']['de-at'] = "Nachricht";
$text['label-message']['he'] = "הודעה";
$text['label-message']['uk-ua'] = "Повідомлення";
$text['label-has-been']['en-us'] = "has been started";
$text['label-has-been']['ar-eg'] = "";
$text['label-has-been']['de-at'] = "wurde gestartet"; //copied from de-de
$text['label-has-been']['de-ch'] = "wurde gestartet"; //copied from de-de
$text['label-has-been']['de-de'] = "wurde gestartet";
$text['label-has-been']['es-cl'] = "iniciada";
$text['label-has-been']['pt-pt'] = "foi inicializada";
$text['label-has-been']['es-mx'] = "iniciada"; //copied from es-cl
$text['label-has-been']['fr-ca'] = "a commencé"; //copied from fr-fr
$text['label-has-been']['fr-fr'] = "a commencé";
$text['label-has-been']['pt-br'] = "foi inicializada";
$text['label-has-been']['pl'] = "rozpoczęto";
$text['label-has-been']['he-il'] = "";
$text['label-has-been']['it-it'] = "è iniziato.";
$text['label-has-been']['nl-nl'] = "";
$text['label-has-been']['pl-pl'] = "rozpoczęto";
$text['label-has-been']['pt-br'] = "foi inicializada"; //copied from pt-pt
$text['label-has-been']['pt-pt'] = "foi inicializada";
$text['label-has-been']['ro-ro'] = "";
$text['label-has-been']['ru-ru'] = "было запущено";
$text['label-has-been']['sv-se'] = "har startat";
$text['label-has-been']['uk'] = "було запущено";
$text['label-has-been']['de-at'] = "bereits gestartet";
$text['label-has-been']['he'] = "";
$text['label-has-been']['uk-ua'] = "було запущено";
$text['label-destination']['en-us'] = "Destination Number";
$text['label-destination']['ar-eg'] = "";
$text['label-destination']['de-at'] = "Zielnummer"; //copied from de-de
$text['label-destination']['de-ch'] = "Zielnummer"; //copied from de-de
$text['label-destination']['de-de'] = "Zielnummer";
$text['label-destination']['es-cl'] = "Número de Destino";
$text['label-destination']['pt-pt'] = "Número de Destino";
$text['label-destination']['es-mx'] = "Número de Destino"; //copied from es-cl
$text['label-destination']['fr-ca'] = "Numéro de Destination"; //copied from fr-fr
$text['label-destination']['fr-fr'] = "Numéro de Destination";
$text['label-destination']['he-il'] = "יעד";
$text['label-destination']['it-it'] = "Numero di Destinazione";
$text['label-destination']['nl-nl'] = "";
$text['label-destination']['pl-pl'] = "Destynacja";
$text['label-destination']['pt-br'] = "Número de destino";
$text['label-destination']['pl'] = "Destynacja";
$text['label-destination']['pt-pt'] = "Número de Destino";
$text['label-destination']['ro-ro'] = "";
$text['label-destination']['ru-ru'] = "Номер назначения";
$text['label-destination']['sv-se'] = "Destinationsnummer";
$text['label-destination']['uk'] = "Номер";
$text['label-destination']['de-at'] = "Zielnummer";
$text['label-destination']['he'] = "יעד";
$text['label-destination']['uk-ua'] = "Номер";
$text['label-concurrent-limit']['en-us'] = "Concurrent Limit";
$text['label-concurrent-limit']['ar-eg'] = "";
$text['label-concurrent-limit']['de-at'] = "Gleichzeitige Anrufe"; //copied from de-de
$text['label-concurrent-limit']['de-ch'] = "Gleichzeitige Anrufe"; //copied from de-de
$text['label-concurrent-limit']['de-de'] = "Gleichzeitige Anrufe";
$text['label-concurrent-limit']['es-cl'] = "Límite de concurrencia";
$text['label-concurrent-limit']['pt-pt'] = "Limite de chamadas concorrentes";
$text['label-concurrent-limit']['es-mx'] = "Límite de concurrencia"; //copied from es-cl
$text['label-concurrent-limit']['fr-ca'] = "Appels Simultanés"; //copied from fr-fr
$text['label-concurrent-limit']['fr-fr'] = "Appels Simultanés";
$text['label-concurrent-limit']['he-il'] = "";
$text['label-concurrent-limit']['it-it'] = "Limite Chiamate Contemporanee";
$text['label-concurrent-limit']['nl-nl'] = "";
$text['label-concurrent-limit']['pl-pl'] = "Limit jednoczesnych rozmów";
$text['label-concurrent-limit']['pt-br'] = "Limite de chamadas simultâneas";
$text['label-concurrent-limit']['pl'] = "Limit jednoczesnych rozmów";
$text['label-concurrent-limit']['pt-pt'] = "Limite de chamadas concorrentes";
$text['label-concurrent-limit']['ro-ro'] = "";
$text['label-concurrent-limit']['ru-ru'] = "Ограничение параллельных вызовов";
$text['label-concurrent-limit']['sv-se'] = "Samtidig Gräns";
$text['label-concurrent-limit']['uk'] = "Обмеження одночасної кількості";
$text['label-concurrent-limit']['de-at'] = "Gleichzeitige Anrufe";
$text['label-concurrent-limit']['he'] = "";
$text['label-concurrent-limit']['uk-ua'] = "Обмеження одночасної кількості";
$text['label-callerid-number']['en-us'] = "Caller ID Number";
$text['label-callerid-number']['ar-eg'] = "";
$text['label-callerid-number']['de-at'] = "Anruferkennung (Nummer)"; //copied from de-de
$text['label-callerid-number']['de-ch'] = "Anruferkennung (Nummer)"; //copied from de-de
$text['label-callerid-number']['de-de'] = "Anruferkennung (Nummer)";
$text['label-callerid-number']['es-cl'] = "Número de Origen";
$text['label-callerid-number']['pt-pt'] = "Número do Chamador";
$text['label-callerid-number']['es-mx'] = "Número de Origen"; //copied from es-cl
$text['label-callerid-number']['fr-ca'] = "Numéro d'appelant"; //copied from fr-fr
$text['label-callerid-number']['fr-fr'] = "Numéro d'appelant";
$text['label-callerid-number']['he-il'] = "";
$text['label-callerid-number']['it-it'] = "Numero Chiamante";
$text['label-callerid-number']['nl-nl'] = "";
$text['label-callerid-number']['pl-pl'] = "Prezentacja numeru dzwoniącego";
$text['label-callerid-number']['pt-br'] = "Número do discador";
$text['label-callerid-number']['pl'] = "Prezentacja numeru dzwoniącego";
$text['label-callerid-number']['pt-pt'] = "Número do Chamador";
$text['label-callerid-number']['ro-ro'] = "";
$text['label-callerid-number']['ru-ru'] = "Caller ID Номер";
$text['label-callerid-number']['sv-se'] = "Caller ID Nummer";
$text['label-callerid-number']['uk'] = "Caller ID Номер";
$text['label-callerid-number']['de-at'] = "Anruferkennung (Nummer)";
$text['label-callerid-number']['he'] = "";
$text['label-callerid-number']['uk-ua'] = "Caller ID Номер";
$text['label-caller-id-name']['en-us'] = "Caller ID Name";
$text['label-caller-id-name']['ar-eg'] = "";
$text['label-caller-id-name']['de-at'] = "Anruferkennung (Name)"; //copied from de-de
$text['label-caller-id-name']['de-ch'] = "Anruferkennung (Name)"; //copied from de-de
$text['label-caller-id-name']['de-de'] = "Anruferkennung (Name)";
$text['label-caller-id-name']['es-cl'] = "Nombre de origen";
$text['label-caller-id-name']['pt-pt'] = "Nome do Chamador";
$text['label-caller-id-name']['es-mx'] = "Nombre de origen"; //copied from es-cl
$text['label-caller-id-name']['fr-ca'] = "Nom d'appelant"; //copied from fr-fr
$text['label-caller-id-name']['fr-fr'] = "Nom d'appelant";
$text['label-caller-id-name']['he-il'] = "";
$text['label-caller-id-name']['it-it'] = "Nome Chiamante";
$text['label-caller-id-name']['nl-nl'] = "";
$text['label-caller-id-name']['pl-pl'] = "Prezentacja nazwy dzwoniącego";
$text['label-caller-id-name']['pt-br'] = "Nome do discador";
$text['label-caller-id-name']['pl'] = "Prezentacja nazwy dzwoniącego";
$text['label-caller-id-name']['pt-pt'] = "Nome do Chamador";
$text['label-caller-id-name']['ro-ro'] = "";
$text['label-caller-id-name']['ru-ru'] = "Caller ID Имя";
$text['label-caller-id-name']['sv-se'] = "Caller ID Namn";
$text['label-caller-id-name']['uk'] = "Caller ID Ім’я";
$text['label-caller-id-name']['de-at'] = "Anruferkennung (Name)";
$text['label-caller-id-name']['he'] = "";
$text['label-caller-id-name']['uk-ua'] = "Caller ID Ім’я";
$text['label-call-broadcasts']['en-us'] = "Call Broadcasts";
$text['label-call-broadcasts']['ar-eg'] = "";
$text['label-call-broadcasts']['de-at'] = "Rundrufe"; //copied from de-de
$text['label-call-broadcasts']['de-ch'] = "Rundrufe"; //copied from de-de
$text['label-call-broadcasts']['de-de'] = "Rundrufe";
$text['label-call-broadcasts']['es-cl'] = "Llamadas Masivas (Broadcast)";
$text['label-call-broadcasts']['pt-pt'] = "Chamadas de Broadcast";
$text['label-call-broadcasts']['es-mx'] = "Llamadas Masivas (Broadcast)"; //copied from es-cl
$text['label-call-broadcasts']['fr-ca'] = "Diffusions d'appels"; //copied from fr-fr
$text['label-call-broadcasts']['fr-fr'] = "Diffusions d'appels";
$text['label-call-broadcasts']['he-il'] = "";
$text['label-call-broadcasts']['it-it'] = "Chiamate Multiple";
$text['label-call-broadcasts']['nl-nl'] = "";
$text['label-call-broadcasts']['pl-pl'] = "Rozsyłanie rozmów";
$text['label-call-broadcasts']['pt-br'] = "Chamadas broadcast";
$text['label-call-broadcasts']['pl'] = "Rozsyłanie rozmów";
$text['label-call-broadcasts']['pt-pt'] = "Chamadas de Broadcast";
$text['label-call-broadcasts']['ro-ro'] = "";
$text['label-call-broadcasts']['ru-ru'] = "Массовые вызовы";
$text['label-call-broadcasts']['sv-se'] = "Samtalsdistributioner";
$text['label-call-broadcasts']['uk'] = "Трансляція дзвінків";
$text['label-call-broadcasts']['de-at'] = "Automatische Anrufe";
$text['label-call-broadcasts']['he'] = "";
$text['label-call-broadcasts']['uk-ua'] = "Трансляція дзвінків";
$text['label-call-broadcast']['en-us'] = "Call Broadcast";
$text['label-call-broadcast']['ar-eg'] = "";
$text['label-call-broadcast']['de-at'] = "Rundrufe"; //copied from de-de
$text['label-call-broadcast']['de-ch'] = "Rundrufe"; //copied from de-de
$text['label-call-broadcast']['de-de'] = "Rundrufe";
$text['label-call-broadcast']['es-cl'] = "Llamada Masiva (Broadcast)";
$text['label-call-broadcast']['pt-pt'] = "Chamada de Broadcast";
$text['label-call-broadcast']['es-mx'] = "Llamada Masiva (Broadcast)"; //copied from es-cl
$text['label-call-broadcast']['fr-ca'] = "Diffusion d'appels"; //copied from fr-fr
$text['label-call-broadcast']['fr-fr'] = "Diffusion d'appels";
$text['label-call-broadcast']['he-il'] = "";
$text['label-call-broadcast']['it-it'] = "Chiamata Multipla";
$text['label-call-broadcast']['nl-nl'] = "";
$text['label-call-broadcast']['pl-pl'] = "Rozsyłanie rozmów";
$text['label-call-broadcast']['pt-br'] = "Chamada de broadcast";
$text['label-call-broadcast']['pl'] = "Rozsyłanie rozmów";
$text['label-call-broadcast']['pt-pt'] = "Chamada de Broadcast";
$text['label-call-broadcast']['ro-ro'] = "";
$text['label-call-broadcast']['ru-ru'] = "Массовый вызов";
$text['label-call-broadcast']['sv-se'] = "Samtalsdistribution";
$text['label-call-broadcast']['uk'] = "Трансляція дзвінка";
$text['label-call-broadcast']['de-at'] = "Automatische Anrufe";
$text['label-call-broadcast']['he'] = "";
$text['label-call-broadcast']['uk-ua'] = "Трансляція дзвінка";
$text['label-avmd']['en-us'] = "Voicemail Detection";
$text['label-avmd']['ar-eg'] = "";
$text['label-avmd']['de-at'] = "Erkennung von Sprachnachrichten"; //copied from de-de
$text['label-avmd']['de-ch'] = "Erkennung von Sprachnachrichten"; //copied from de-de
$text['label-avmd']['de-de'] = "Erkennung von Sprachnachrichten";
$text['label-avmd']['es-cl'] = "Detección de correo de voz";
$text['label-avmd']['pt-pt'] = "Voicemail Detecção";
$text['label-avmd']['es-mx'] = "Detección de correo de voz"; //copied from es-cl
$text['label-avmd']['fr-ca'] = "Détection de la messagerie vocale"; //copied from fr-fr
$text['label-avmd']['fr-fr'] = "Détection de la messagerie vocale";
$text['label-avmd']['he-il'] = "";
$text['label-avmd']['it-it'] = "Rilevamento Segreteria";
$text['label-avmd']['nl-nl'] = "";
$text['label-avmd']['pl-pl'] = "Wykrywanie poczty głosowej";
$text['label-avmd']['pt-br'] = "Detecção Voicemail";
$text['label-avmd']['pl'] = "Wykrywanie poczty głosowej";
$text['label-avmd']['pt-pt'] = "Voicemail Detecção";
$text['label-avmd']['ro-ro'] = "";
$text['label-avmd']['ru-ru'] = "Определение голосовой почты";
$text['label-avmd']['sv-se'] = "Känn Av Röstbrevlåda";
$text['label-avmd']['uk'] = "Виявлення голосової пошти";
$text['label-avmd']['de-at'] = "Mailboxerkennung";
$text['label-avmd']['he'] = "";
$text['label-avmd']['uk-ua'] = "Виявлення голосової пошти";
$text['label-accountcode']['en-us'] = "Accountcode";
$text['label-accountcode']['ar-eg'] = "";
$text['label-accountcode']['de-at'] = "Kontoschlüssel"; //copied from de-de
$text['label-accountcode']['de-ch'] = "Kontoschlüssel"; //copied from de-de
$text['label-accountcode']['de-de'] = "Kontoschlüssel";
$text['label-accountcode']['es-cl'] = "Código de cuenta";
$text['label-accountcode']['pt-pt'] = "Accountcode";
$text['label-accountcode']['es-mx'] = "Código de cuenta"; //copied from es-cl
$text['label-accountcode']['fr-ca'] = "Code de l'account"; //copied from fr-fr
$text['label-accountcode']['fr-fr'] = "Code de l'account";
$text['label-accountcode']['he-il'] = "קוד חשבון";
$text['label-accountcode']['it-it'] = "";
$text['label-accountcode']['nl-nl'] = "";
$text['label-accountcode']['pl-pl'] = "Numer konta billingowego";
$text['label-accountcode']['pt-br'] = "Código da conta";
$text['label-accountcode']['pl'] = "Numer konta billingowego";
$text['label-accountcode']['pt-pt'] = "Accountcode";
$text['label-accountcode']['ro-ro'] = "";
$text['label-accountcode']['ru-ru'] = "Код Авторизации";
$text['label-accountcode']['sv-se'] = "Accountcode";
$text['label-accountcode']['uk'] = "Код облікового запису";
$text['label-accountcode']['de-at'] = "Account Code";
$text['label-accountcode']['he'] = "קוד חשבון";
$text['label-accountcode']['uk-ua'] = "Код облікового запису";
$text['description-timeout']['en-us'] = "";
$text['description-timeout']['en-us'] = "Specify the absolute timeout in seconds.";
$text['description-timeout']['ar-eg'] = "";
$text['description-timeout']['de-at'] = "Geben Sie die absolute Zeitüberschreitung in Sekunden an."; //copied from de-de
$text['description-timeout']['de-ch'] = "Geben Sie die absolute Zeitüberschreitung in Sekunden an."; //copied from de-de
$text['description-timeout']['de-de'] = "Geben Sie die absolute Zeitüberschreitung in Sekunden an.";
$text['description-timeout']['es-cl'] = "";
$text['description-timeout']['pt-pt'] = "Limite de tempo (em milissegundos) de espera após reproduzir gravações ou confirmar a macro.";
$text['description-timeout']['es-mx'] = "";
$text['description-timeout']['fr-ca'] = "";
$text['description-timeout']['fr-fr'] = "";
$text['description-timeout']['pt-br'] = "";
$text['description-timeout']['pl'] = "Ilość milisekund oczekiwania po odtworzeniu nagrania lub potwierdzenia makro.";
$text['description-timeout']['sv-se'] = "";
$text['description-timeout']['uk'] = "";
$text['description-timeout']['de-at'] = "Geben Sie das absolute Time-Out in Sekunden an.";
$text['description-timeout']['he'] = "";
$text['description-timeout']['he-il'] = "";
$text['description-timeout']['it-it'] = "";
$text['description-timeout']['nl-nl'] = "";
$text['description-timeout']['pl-pl'] = "Ilość milisekund oczekiwania po odtworzeniu nagrania lub potwierdzenia makro.";
$text['description-timeout']['pt-br'] = "Limite de tempo (em milissegundos) de espera após reproduzir gravações ou confirmar a macro."; //copied from pt-pt
$text['description-timeout']['pt-pt'] = "Limite de tempo (em milissegundos) de espera após reproduzir gravações ou confirmar a macro.";
$text['description-timeout']['ro-ro'] = "";
$text['description-timeout']['ru-ru'] = "Время ожидания (в миллисекундах) после воспроизведения записи или подтверждения макроса.";
$text['description-timeout']['sv-se'] = "Specificera den absoluta timeout:en i sekunder.";
$text['description-timeout']['uk-ua'] = "";
$text['description-phone']['en-us'] = "Optional, set a list of phone numbers one per row in the following format: 123-123-1234|Last Name, First Name";
$text['description-phone']['ar-eg'] = "";
$text['description-phone']['de-at'] = "Optional: Ergänzen Sie eine Liste von Telefonnummern, eine Nummer pro Zeile im folgenden Format: 123-123-1234|Nachname, Vorname"; //copied from de-de
$text['description-phone']['de-ch'] = "Optional: Ergänzen Sie eine Liste von Telefonnummern, eine Nummer pro Zeile im folgenden Format: 123-123-1234|Nachname, Vorname"; //copied from de-de
$text['description-phone']['de-de'] = "Optional: Ergänzen Sie eine Liste von Telefonnummern, eine Nummer pro Zeile im folgenden Format: 123-123-1234|Nachname, Vorname";
$text['description-phone']['es-cl'] = "Opcional, definir una lista de números de telefono, uno por línea en el siguiente formato:  123-123-1234 | Apellido, Nombre";
$text['description-phone']['pt-pt'] = "Opcional, definir uma lista de números de telefone, um por linha, no seguinte formato: 210000000 | Apelido, Primeiro Nome";
$text['description-phone']['es-mx'] = "Opcional, definir una lista de números de telefono, uno por línea en el siguiente formato:  123-123-1234 | Apellido, Nombre"; //copied from es-cl
$text['description-phone']['fr-ca'] = "Optionnel, Insérer une liste de numéros de téléphone, un par ligne, dans le format suivant ; 0123456789 | Nom, Prénom"; //copied from fr-fr
$text['description-phone']['fr-fr'] = "Optionnel, Insérer une liste de numéros de téléphone, un par ligne, dans le format suivant ; 0123456789 | Nom, Prénom";
$text['description-phone']['he-il'] = "";
$text['description-phone']['it-it'] = "Opzionale, inserire una lista di numeri di telefono, uno per riga, nel formato 123-123-1234|Cognome, Nome";
$text['description-phone']['nl-nl'] = "";
$text['description-phone']['pl-pl'] = "Opcjonalne - ułóż listę numerów (jeden pod drugim) w formacie: 123-123-1234|Nazwisko, Imię";
$text['description-phone']['pt-br'] = "Opcional, definir uma lista de números de telefone, um por linha, no seguinte formato: 210000000 | Apelido, Primeiro Nome.";
$text['description-phone']['pl'] = "Opcjonalne - ułóż listę numerów (jeden pod drugim) w formacie: 123-123-1234|Nazwisko, Imię";
$text['description-phone']['pt-pt'] = "Opcional, definir uma lista de números de telefone, um por linha, no seguinte formato: 210000000 | Apelido, Primeiro Nome";
$text['description-phone']['ro-ro'] = "";
$text['description-phone']['ru-ru'] = "Дополнительно, задайте список телефонных номеров, по одному в ряд, в формате: 123-123-1234 | Фамилия, Имя";
$text['description-phone']['sv-se'] = "Frivillig, fyll i en lista med nummer (ett per rad) i följande format: 123-123-1234|Efternamn, Förnamn";
$text['description-phone']['uk'] = "Додатково, задайте список телефонних номерів по одному на рядок в наступному форматі: 123-123-1234 | Прізвище, ім'я";
$text['description-phone']['de-at'] = "Optional. Setzen Sie eine Liste von Telefonnummern, eine Nummer pro Zeile im folgenden Format: 123-123-1234|Nachname, Vorname";
$text['description-phone']['he'] = "";
$text['description-phone']['uk-ua'] = "Додатково, задайте список телефонних номерів по одному на рядок в наступному форматі: 123-123-1234 | Прізвище, ім'я";
$text['description-name']['en-us'] = "Enter the name here.";
$text['description-name']['ar-eg'] = "";
$text['description-name']['de-at'] = "Geben Sie den Namen an."; //copied from de-de
$text['description-name']['de-ch'] = "Geben Sie den Namen an."; //copied from de-de
$text['description-name']['de-de'] = "Geben Sie den Namen an.";
$text['description-name']['es-cl'] = "Ingrese el nombre aquí.";
$text['description-name']['pt-pt'] = "Introduza o nome aqui.";
$text['description-name']['es-mx'] = "Ingrese el nombre aquí."; //copied from es-cl
$text['description-name']['fr-ca'] = "Insérer le Nom."; //copied from fr-fr
$text['description-name']['fr-fr'] = "Insérer le Nom.";
$text['description-name']['he-il'] = "הכנס את השם";
$text['description-name']['it-it'] = "Inserire il nome qui.";
$text['description-name']['nl-nl'] = "";
$text['description-name']['pl-pl'] = "Wprowadź nazwę";
$text['description-name']['pt-br'] = "Insira o nome do broadcast.";
$text['description-name']['pl'] = "Wprowadź nazwę";
$text['description-name']['pt-pt'] = "Introduza o nome aqui.";
$text['description-name']['ro-ro'] = "";
$text['description-name']['ru-ru'] = "Введите имя";
$text['description-name']['sv-se'] = "Skriv in namnet här.";
$text['description-name']['uk'] = "Введіть назву";
$text['description-name']['de-at'] = "Geben Sie den Namen an.";
$text['description-name']['he'] = "הכנס את השם";
$text['description-name']['uk-ua'] = "Введіть назву";
$text['description-info']['en-us'] = "Enter the description here.";
$text['description-info']['ar-eg'] = "";
$text['description-info']['de-at'] = "Geben Sie eine Beschreibung an."; //copied from de-de
$text['description-info']['de-ch'] = "Geben Sie eine Beschreibung an."; //copied from de-de
$text['description-info']['de-de'] = "Geben Sie eine Beschreibung an.";
$text['description-info']['es-cl'] = "Ingrese descripción aquí.";
$text['description-info']['pt-pt'] = "Insira a descrição aqui.";
$text['description-info']['es-mx'] = "Ingrese descripción aquí."; //copied from es-cl
$text['description-info']['fr-ca'] = "";
$text['description-info']['fr-fr'] = "";
$text['description-info']['he-il'] = "הכנס תאור";
$text['description-info']['it-it'] = "Inserire la descrizione qui.";
$text['description-info']['nl-nl'] = "";
$text['description-info']['pl-pl'] = "Wprowadź opis";
$text['description-info']['pt-br'] = "Inisra uma descrição";
$text['description-info']['pl'] = "Wprowadź opis";
$text['description-info']['pt-pt'] = "Insira a descrição aqui.";
$text['description-info']['ro-ro'] = "";
$text['description-info']['ru-ru'] = "Введите описание";
$text['description-info']['sv-se'] = "Ange beskrivning här.";
$text['description-info']['uk'] = "Введіть опис";
$text['description-info']['de-at'] = "Geben Sie eine Beschreibung an.";
$text['description-info']['he'] = "הכנס תאור";
$text['description-info']['uk-ua'] = "Введіть опис";
$text['description-destination']['en-us'] = "Send the call to the extension an IVR Menu, Conference Room, or any other number.";
$text['description-destination']['ar-eg'] = "";
$text['description-destination']['de-at'] = "Der Anruf wird an eine Nebenstelle, eine Automatische Vermittlung, ein Konferenzraum oder jede andere Nummer weitergeleitet."; //copied from de-de
$text['description-destination']['de-ch'] = "Der Anruf wird an eine Nebenstelle, eine Automatische Vermittlung, ein Konferenzraum oder jede andere Nummer weitergeleitet."; //copied from de-de
$text['description-destination']['de-de'] = "Der Anruf wird an eine Nebenstelle, eine Automatische Vermittlung, ein Konferenzraum oder jede andere Nummer weitergeleitet.";
$text['description-destination']['es-cl'] = "Enviar la llamada a extension a IVR, conferencias o cualquier otro número.";
$text['description-destination']['pt-pt'] = "Enviar a chamada para a extensão de um menu de IVR, Sala de Conferência ou qualquer outro número.";
$text['description-destination']['es-mx'] = "Enviar la llamada a extension a IVR, conferencias o cualquier otro número."; //copied from es-cl
$text['description-destination']['fr-ca'] = "Emettre l'appel vers un SVI, salle de conférence, ou tout autre numéro."; //copied from fr-fr
$text['description-destination']['fr-fr'] = "Emettre l'appel vers un SVI, salle de conférence, ou tout autre numéro.";
$text['description-destination']['he-il'] = "";
$text['description-destination']['it-it'] = "Connetti la chiamata con un interno, un IVR, un'audioconferenza, o qualsiasi altro servizio.";
$text['description-destination']['nl-nl'] = "";
$text['description-destination']['pl-pl'] = "Wybierz numer docelowy.";
$text['description-destination']['pt-br'] = "Enviar a chamada para a extensão de um menu de IVR, Sala de Conferência ou qualquer outro número. ";
$text['description-destination']['pl'] = "Wybierz numer docelowy.";
$text['description-destination']['pt-pt'] = "Enviar a chamada para a extensão de um menu de IVR, Sala de Conferência ou qualquer outro número.";
$text['description-destination']['ro-ro'] = "";
$text['description-destination']['ru-ru'] = "Отправить вызов на внутренний номер, IVR, конференцию или любой другой номер.";
$text['description-destination']['sv-se'] = "Skicka samtalet till en anknytning, IVR Meny, Konferens Rum eller något annat nummer.";
$text['description-destination']['uk'] = "Відправити дзвінок на розширення, меню IVR, конференцію, або будь-який інший номер.";
$text['description-destination']['de-at'] = "Der Anruf wird auf diese Nebenstelle, eine Automatische Vermittlung, ein Konferenzraum oder jede andere Nummer weitergeleitet.";
$text['description-destination']['he'] = "";
$text['description-destination']['uk-ua'] = "Відправити дзвінок на розширення, меню IVR, конференцію, або будь-який інший номер.";
$text['description-concurrent-limit']['en-us'] = "Limit the approximate number of concurrent calls. Leave this empty for no limit.";
$text['description-concurrent-limit']['ar-eg'] = "";
$text['description-concurrent-limit']['de-at'] = "Begrenzt die Anzahl gleichzeitiger Anrufe. Kein Limit wenn leer gelassen."; //copied from de-de
$text['description-concurrent-limit']['de-ch'] = "Begrenzt die Anzahl gleichzeitiger Anrufe. Kein Limit wenn leer gelassen."; //copied from de-de
$text['description-concurrent-limit']['de-de'] = "Begrenzt die Anzahl gleichzeitiger Anrufe. Kein Limit wenn leer gelassen.";
$text['description-concurrent-limit']['es-cl'] = "Limitar el número de llamadas simultaneas. Deje en blanco para no establecer un límite.";
$text['description-concurrent-limit']['pt-pt'] = "Limitar o número de chamadas concurrentes. Deixe este campo em branco para não ter limite.";
$text['description-concurrent-limit']['es-mx'] = "Limitar el número de llamadas simultaneas. Deje en blanco para no establecer un límite."; //copied from es-cl
$text['description-concurrent-limit']['fr-ca'] = "Limite le nombre d'appels concurrents. Laisser vide pour illimité."; //copied from fr-fr
$text['description-concurrent-limit']['fr-fr'] = "Limite le nombre d'appels concurrents. Laisser vide pour illimité.";
$text['description-concurrent-limit']['he-il'] = "";
$text['description-concurrent-limit']['it-it'] = "Limita approssimativamente il numero di chiamate contemporanee. Lasciare vuoto per nessun limite.";
$text['description-concurrent-limit']['nl-nl'] = "";
$text['description-concurrent-limit']['pl-pl'] = "Ogranicz liczbę równoczesnych połączeń. Aby nie było limitu zostaw to pole puste.";
$text['description-concurrent-limit']['pt-br'] = "Limitar o número de chamadas simultâneas. Deixe este campo em branco para não ter limite.";
$text['description-concurrent-limit']['pl'] = "Ogranicz liczbę równoczesnych połączeń. Aby nie było limitu zostaw to pole puste.";
$text['description-concurrent-limit']['pt-pt'] = "Limitar o número de chamadas concurrentes. Deixe este campo em branco para não ter limite.";
$text['description-concurrent-limit']['ro-ro'] = "";
$text['description-concurrent-limit']['ru-ru'] = "Ограничение примерного количества параллельных вызовов. Оставьте пустым для его отсутствия.";
$text['description-concurrent-limit']['sv-se'] = "Begränsa ungefärliga antalet samtidiga samtal. Lämna det här tomt för ingen gräns.";
$text['description-concurrent-limit']['uk'] = "Обмеження приблизної кількості одночасних дзвінків. Якщо пусто - без обмежень";
$text['description-concurrent-limit']['de-at'] = "Limitiert die gleichzeitigen Anrufe. Kein Limit wenn leer gelassen.";
$text['description-concurrent-limit']['he'] = "";
$text['description-concurrent-limit']['uk-ua'] = "Обмеження приблизної кількості одночасних дзвінків. Якщо пусто - без обмежень";
$text['description-caller-id-number']['en-us'] = "Applicable if the provider that allow the Caller ID number to be sent. default: 0000000000";
$text['description-caller-id-number']['pt-pt'] = "Aplicável se o provedor permitir o envio do número do originador das chamadas. Omissão: 0000000000";
$text['description-caller-id-number']['ar-eg'] = "";
$text['description-caller-id-number']['de-at'] = "Geben Sie die Anruferkennung (Nummer) hier ein."; //copied from de-de
$text['description-caller-id-number']['de-ch'] = "Geben Sie die Anruferkennung (Nummer) hier ein."; //copied from de-de
$text['description-caller-id-number']['de-de'] = "Geben Sie die Anruferkennung (Nummer) hier ein.";
$text['description-caller-id-number']['es-cl'] = "";
$text['description-caller-id-number']['es-mx'] = "";
$text['description-caller-id-number']['fr-ca'] = "Applicable uniquement si le fournisseur d'accès authorise l'acheminement du numéro d'appelant. Par défaut: 0000000000"; //copied from fr-fr
$text['description-caller-id-number']['fr-fr'] = "Applicable uniquement si le fournisseur d'accès authorise l'acheminement du numéro d'appelant. Par défaut: 0000000000";
$text['description-caller-id-number']['he-il'] = "";
$text['description-caller-id-number']['it-it'] = "Si usa se il provider permette la modifica del numero chiamante. Default: 0000000000";
$text['description-caller-id-number']['nl-nl'] = "";
$text['description-caller-id-number']['pl-pl'] = "Zastosowane w przypadku jeżeli operator zezwala na prezentację numeru. Standardowo prezentacja jest w formacie: 0000000000";
$text['description-caller-id-number']['pt-br'] = "Aplicável se o provedor permitir o envio do número do originador das chamadas. Omissão: 0000000000.";
$text['description-caller-id-number']['pl'] = "Zastosowane w przypadku jeżeli operator zezwala na prezentację numeru. Standardowo prezentacja jest w formacie: 0000000000";
$text['description-caller-id-number']['pt-pt'] = "Aplicável se o provedor permitir o envio do número do originador das chamadas. Omissão: 0000000000";
$text['description-caller-id-number']['ro-ro'] = "";
$text['description-caller-id-number']['ru-ru'] = "Используется, если провайдер поддерживает передачу CallerID(number). По умолчанию: 0000000000";
$text['description-caller-id-number']['sv-se'] = "Gäller om leverantör tillåter att Caller ID nummer skickas. Standard: 0000000000";
$text['description-caller-id-number']['uk'] = "Стосується, якщо постачальник, дозволяє надсилати номер абонента (Caller ID номер). За замовчуванням: 0000000000";
$text['description-caller-id-number']['de-at'] = "Geben Sie die Anruferkennung (Nummer) hier ein.";
$text['description-caller-id-number']['he'] = "";
$text['description-caller-id-number']['uk-ua'] = "Стосується, якщо постачальник, дозволяє надсилати номер абонента (Caller ID номер). За замовчуванням: 0000000000";
$text['description-caller-id-name']['en-us'] = "Applicable if the provider allow the Caller ID Name to be set. default: anonymous";
$text['description-caller-id-name']['ar-eg'] = "";
$text['description-caller-id-name']['de-at'] = "Geben Sie die Anruferkennung (Name) hier ein, sofern der Provider dieses unterstützt. Default: anonym."; //copied from de-de
$text['description-caller-id-name']['de-ch'] = "Geben Sie die Anruferkennung (Name) hier ein, sofern der Provider dieses unterstützt. Default: anonym."; //copied from de-de
$text['description-caller-id-name']['de-de'] = "Geben Sie die Anruferkennung (Name) hier ein, sofern der Provider dieses unterstützt. Default: anonym.";
$text['description-caller-id-name']['es-cl'] = "Applicable si el proveedor permite enviar el número de origen. Por defecto: 0000000000";
$text['description-caller-id-name']['pt-pt'] = "Aplicável se o provedor permitir o envio do nome do originador das chamadas. Omissão: anonymous";
$text['description-caller-id-name']['es-mx'] = "Applicable si el proveedor permite enviar el número de origen. Por defecto: 0000000000"; //copied from es-cl
$text['description-caller-id-name']['fr-ca'] = "Applicable uniquement si le fournisseur d'accès authorise l'acheminement du nom d'appelant. Par défaut: anonymous"; //copied from fr-fr
$text['description-caller-id-name']['fr-fr'] = "Applicable uniquement si le fournisseur d'accès authorise l'acheminement du nom d'appelant. Par défaut: anonymous";
$text['description-caller-id-name']['he-il'] = "";
$text['description-caller-id-name']['it-it'] = "Si usa se il provider permette la modifica del nome chiamante. Default: anonymous";
$text['description-caller-id-name']['nl-nl'] = "";
$text['description-caller-id-name']['pl-pl'] = "Zastosowane w przypadku jeżeli operator zezwala na prezentację nazwy. Standardowo prezentacja jest w formacie: 0000000000";
$text['description-caller-id-name']['pt-br'] = "Aplicável se o provedor de telefônia liberar o nome de quem está discando. Por padrão: anonymous (anônimo).";
$text['description-caller-id-name']['pl'] = "Zastosowane w przypadku jeżeli operator zezwala na prezentację nazwy. Standardowo prezentacja jest w formacie: 0000000000";
$text['description-caller-id-name']['pt-pt'] = "Aplicável se o provedor permitir o envio do nome do originador das chamadas. Omissão: anonymous";
$text['description-caller-id-name']['ro-ro'] = "";
$text['description-caller-id-name']['ru-ru'] = "Используется, если провайдер поддерживает передачу CallerID(name). По умолчанию: anonymous";
$text['description-caller-id-name']['sv-se'] = "Gäller om leverantör tillåter att Caller ID namn skickas. Standard: anonymous";
$text['description-caller-id-name']['uk'] = "Стосується, якщо постачальник, дозволяє надсилати ім’я абонента (Caller ID Ім’я). За замовчуванням: anonymous";
$text['description-caller-id-name']['de-at'] = "Geben Sie die Anruferkennung (Name) hier ein.";
$text['description-caller-id-name']['he'] = "";
$text['description-caller-id-name']['uk-ua'] = "Стосується, якщо постачальник, дозволяє надсилати ім’я абонента (Caller ID Ім’я). За замовчуванням: anonymous";
$text['description-avmd']['en-us'] = "Select whether to enable or disable the detection of voicemail messaging and answering machine systems.";
$text['description-avmd']['ar-eg'] = "";
$text['description-avmd']['de-at'] = "Wählen Sie ob die Erkennung von Sprach-Mailboxen und automatischen Anrufbeantwortern Ein- oder Ausgeschaltet werden soll."; //copied from de-de
$text['description-avmd']['de-ch'] = "Wählen Sie ob die Erkennung von Sprach-Mailboxen und automatischen Anrufbeantwortern Ein- oder Ausgeschaltet werden soll."; //copied from de-de
$text['description-avmd']['de-de'] = "Wählen Sie ob die Erkennung von Sprach-Mailboxen und automatischen Anrufbeantwortern Ein- oder Ausgeschaltet werden soll.";
$text['description-avmd']['es-cl'] = "Seleccione si desea activar o desactivar la detección de sistemas de contestador automático de mensajes de correo de voz y.";
$text['description-avmd']['pt-pt'] = "Selecione se deseja ativar ou desativar a detecção de mensagens de correio de voz e sistemas de secretária eletrônica.";
$text['description-avmd']['es-mx'] = "Seleccione si desea activar o desactivar la detección de sistemas de contestador automático de mensajes de correo de voz y."; //copied from es-cl
$text['description-avmd']['fr-ca'] = "Indiquez si vous souhaitez activer ou désactiver la détection de la messagerie vocale et les systèmes de machines de répondeur."; //copied from fr-fr
$text['description-avmd']['fr-fr'] = "Indiquez si vous souhaitez activer ou désactiver la détection de la messagerie vocale et les systèmes de machines de répondeur.";
$text['description-avmd']['pt-br'] = "Selecione se deseja ativar ou desativar a detecção de mensagens de correio de voz e sistemas de secretária eletrônica.";
$text['description-avmd']['pl'] = "Wybierz, czy chcesz włączyć lub wyłączyć wykrywanie wiadomości poczty głosowej lub innych systemów automatycznego odbierania rozmów.";
$text['description-avmd']['he-il'] = "";
$text['description-avmd']['it-it'] = "Selezionare se si vuole abilitare o disabilitare il rilevamento delle segreterie telefoniche e dei messaggi registrati.";
$text['description-avmd']['nl-nl'] = "";
$text['description-avmd']['pl-pl'] = "Wybierz, czy chcesz włączyć lub wyłączyć wykrywanie wiadomości poczty głosowej lub innych systemów automatycznego odbierania rozmów.";
$text['description-avmd']['pt-br'] = "Selecione se deseja ativar ou desativar a detecção de mensagens de correio de voz e sistemas de secretária eletrônica."; //copied from pt-pt
$text['description-avmd']['pt-pt'] = "Selecione se deseja ativar ou desativar a detecção de mensagens de correio de voz e sistemas de secretária eletrônica.";
$text['description-avmd']['ro-ro'] = "";
$text['description-avmd']['ru-ru'] = "Выберите, стоит ли использовать систему определения голосовой почты или автоответчика.";
$text['description-avmd']['sv-se'] = "Välj om deteketering av röstbrevlåda skall användas.";
$text['description-avmd']['uk'] = "Виберіть, чи слід включити або відключити виявлення повідомлень голосової пошти і систему автовідповідача.";
$text['description-avmd']['de-at'] = "Wählen Sie ob die Erkennung von Mailboxen und automatischen Anrufbeantwortern Ein- oder Ausgeschaltet werden soll.";
$text['description-avmd']['he'] = "";
$text['description-avmd']['uk-ua'] = "Виберіть, чи слід включити або відключити виявлення повідомлень голосової пошти і систему автовідповідача.";
$text['confirm-update']['en-us'] = "Update Complete";
$text['confirm-update']['ar-eg'] = "";
$text['confirm-update']['de-at'] = "Aktualisierung durchgeführt"; //copied from de-de
$text['confirm-update']['de-ch'] = "Aktualisierung durchgeführt"; //copied from de-de
$text['confirm-update']['de-de'] = "Aktualisierung durchgeführt";
$text['confirm-update']['es-cl'] = "Actualización Completa";
$text['confirm-update']['pt-pt'] = "Actualização Efectuada";
$text['confirm-update']['es-mx'] = "Actualización Completa"; //copied from es-cl
$text['confirm-update']['fr-ca'] = "Mis à jour"; //copied from fr-fr
$text['confirm-update']['fr-fr'] = "Mis à jour";
$text['confirm-update']['he-il'] = "עידכון הושלם";
$text['confirm-update']['it-it'] = "Aggiornamento Completato.";
$text['confirm-update']['nl-nl'] = "";
$text['confirm-update']['pl-pl'] = "Aktualizacja zakonczona";
$text['confirm-update']['pt-br'] = "Atualização Efetuada";
$text['confirm-update']['pl'] = "Aktualizacja zakonczona";
$text['confirm-update']['pt-pt'] = "Actualização Efectuada";
$text['confirm-update']['ro-ro'] = "";
$text['confirm-update']['ru-ru'] = "Обновление завершено";
$text['confirm-update']['sv-se'] = "Uppdatering Klar";
$text['confirm-update']['uk'] = "Оновлення завершено";
$text['confirm-update']['de-at'] = "Aktualisierung durchgeführt";
$text['confirm-update']['he'] = "עידכון הושלם";
$text['confirm-update']['uk-ua'] = "Оновлення завершено";
$text['confirm-name']['en-us'] = "Please provide: Name";
$text['confirm-name']['ar-eg'] = "";
$text['confirm-name']['de-at'] = "Bitte geben Sie den Namen an"; //copied from de-de
$text['confirm-name']['de-ch'] = "Bitte geben Sie den Namen an"; //copied from de-de
$text['confirm-name']['de-de'] = "Bitte geben Sie den Namen an";
$text['confirm-name']['es-cl'] = "Por favor agregue: Nombre";
$text['confirm-name']['pt-pt'] = "Por favor indique: Nome";
$text['confirm-name']['es-mx'] = "Por favor agregue: Nombre"; //copied from es-cl
$text['confirm-name']['fr-ca'] = "Merci d'indiquer: Nom"; //copied from fr-fr
$text['confirm-name']['fr-fr'] = "Merci d'indiquer: Nom";
$text['confirm-name']['he-il'] = "";
$text['confirm-name']['it-it'] = "Prego fornire: Nome";
$text['confirm-name']['nl-nl'] = "";
$text['confirm-name']['pl-pl'] = "Wprowadź: Nazwę";
$text['confirm-name']['pt-br'] = "Por favor insira: Nome";
$text['confirm-name']['pl'] = "Wprowadź: Nazwę";
$text['confirm-name']['pt-pt'] = "Por favor indique: Nome";
$text['confirm-name']['ro-ro'] = "";
$text['confirm-name']['ru-ru'] = "Пожалуйста, укажите: Имя";
$text['confirm-name']['sv-se'] = "Ange: Namn";
$text['confirm-name']['uk'] = "Введіть назву";
$text['confirm-name']['de-at'] = "Bitte geben Sie den Namen an";
$text['confirm-name']['he'] = "";
$text['confirm-name']['uk-ua'] = "Введіть назву";
$text['confirm-delete-info']['en-us'] = "Do you really want to delete this?";
$text['confirm-delete-info']['ar-eg'] = "";
$text['confirm-delete-info']['de-at'] = "Wollen Sie das wirklich löschen?"; //copied from de-de
$text['confirm-delete-info']['de-ch'] = "Wollen Sie das wirklich löschen?"; //copied from de-de
$text['confirm-delete-info']['de-de'] = "Wollen Sie das wirklich löschen?";
$text['confirm-delete-info']['es-cl'] = "¿Desea realmente eliminar esto?";
$text['confirm-delete-info']['pt-pt'] = "Deseja realmente remover isto?";
$text['confirm-delete-info']['es-mx'] = "¿Desea realmente eliminar esto?"; //copied from es-cl
$text['confirm-delete-info']['fr-ca'] = "Voulez-vous vraiment supprimer cela?"; //copied from fr-fr
$text['confirm-delete-info']['fr-fr'] = "Voulez-vous vraiment supprimer cela?";
$text['confirm-delete-info']['pt-br'] = "Deseja realmente remover isto?";
$text['confirm-delete-info']['pl'] = "Czy na pewno chcesz to usunąć?";
$text['confirm-delete-info']['he-il'] = "";
$text['confirm-delete-info']['it-it'] = "Vuoi veramente cancellarlo?";
$text['confirm-delete-info']['nl-nl'] = "";
$text['confirm-delete-info']['pl-pl'] = "Czy na pewno chcesz to usunąć?";
$text['confirm-delete-info']['pt-br'] = "Deseja realmente remover isto?"; //copied from pt-pt
$text['confirm-delete-info']['pt-pt'] = "Deseja realmente remover isto?";
$text['confirm-delete-info']['ro-ro'] = "";
$text['confirm-delete-info']['ru-ru'] = "Вы действительно хотите это удалить?";
$text['confirm-delete-info']['sv-se'] = "Vill du verkligen ta bort detta?";
$text['confirm-delete-info']['uk'] = "Ви дійсно бажаєте це видалити?";
$text['confirm-delete-info']['de-at'] = "Wollen Sie das wirklich löschen?";
$text['confirm-delete-info']['he'] = "";
$text['confirm-delete-info']['uk-ua'] = "Ви дійсно бажаєте це видалити?";
$text['confirm-add']['en-us'] = "Add Complete";
$text['confirm-add']['ar-eg'] = "";
$text['confirm-add']['de-at'] = "Erfolgreich hinzugefügt"; //copied from de-de
$text['confirm-add']['de-ch'] = "Erfolgreich hinzugefügt"; //copied from de-de
$text['confirm-add']['de-de'] = "Erfolgreich hinzugefügt";
$text['confirm-add']['es-cl'] = "Ingreso Completo";
$text['confirm-add']['pt-pt'] = "Adição Efectuada";
$text['confirm-add']['es-mx'] = "Ingreso Completo"; //copied from es-cl
$text['confirm-add']['fr-ca'] = "Ajouté"; //copied from fr-fr
$text['confirm-add']['fr-fr'] = "Ajouté";
$text['confirm-add']['he-il'] = "הוספה הושלמה";
$text['confirm-add']['it-it'] = "Inserimento Completato";
$text['confirm-add']['nl-nl'] = "";
$text['confirm-add']['pl-pl'] = "Dodano poprawnie";
$text['confirm-add']['pt-br'] = "Criação efetuada";
$text['confirm-add']['pl'] = "Dodano poprawnie";
$text['confirm-add']['pt-pt'] = "Adição Efectuada";
$text['confirm-add']['ro-ro'] = "";
$text['confirm-add']['ru-ru'] = "Добавление завершено";
$text['confirm-add']['sv-se'] = "Tillagd";
$text['confirm-add']['uk'] = "Додано";
$text['confirm-add']['de-at'] = "Erfolgreich hinzugefügt";
$text['confirm-add']['he'] = "הוספה הושלמה";
$text['confirm-add']['uk-ua'] = "Додано";
$text['button-stop']['en-us'] = "Stop Broadcast";
$text['button-stop']['ar-eg'] = "";
$text['button-stop']['de-at'] = "Rundruf beenden"; //copied from de-de
$text['button-stop']['de-ch'] = "Rundruf beenden"; //copied from de-de
$text['button-stop']['de-de'] = "Rundruf beenden";
$text['button-stop']['es-cl'] = "Detener Broadcast";
$text['button-stop']['pt-pt'] = "Parar Broadcast";
$text['button-stop']['es-mx'] = "Detener Broadcast"; //copied from es-cl
$text['button-stop']['fr-ca'] = "Arrêter la diffusion"; //copied from fr-fr
$text['button-stop']['fr-fr'] = "Arrêter la diffusion";
$text['button-stop']['he-il'] = "";
$text['button-stop']['it-it'] = "Interrompi Chiamate";
$text['button-stop']['nl-nl'] = "";
$text['button-stop']['pl-pl'] = "Zatrzymaj rozsylanie rozmów";
$text['button-stop']['pt-br'] = "Pausar Broadcast";
$text['button-stop']['pl'] = "Zatrzymaj rozsylanie rozmów";
$text['button-stop']['pt-pt'] = "Parar Broadcast";
$text['button-stop']['ro-ro'] = "";
$text['button-stop']['ru-ru'] = "Остановить";
$text['button-stop']['sv-se'] = "Stoppa Samtalsdistribution";
$text['button-stop']['uk'] = "Зупинити трансляцію";
$text['button-stop']['de-at'] = "Stopp";
$text['button-stop']['he'] = "";
$text['button-stop']['uk-ua'] = "Зупинити трансляцію";
$text['button-send']['en-us'] = "Send Broadcast";
$text['button-send']['ar-eg'] = "";
$text['button-send']['de-at'] = "Rundruf senden"; //copied from de-de
$text['button-send']['de-ch'] = "Rundruf senden"; //copied from de-de
$text['button-send']['de-de'] = "Rundruf senden";
$text['button-send']['es-cl'] = "Enviar Llamada Masiva";
$text['button-send']['pt-pt'] = "Enviar Broadcast";
$text['button-send']['es-mx'] = "Enviar Llamada Masiva"; //copied from es-cl
$text['button-send']['fr-ca'] = "Lancer les appels"; //copied from fr-fr
$text['button-send']['fr-fr'] = "Lancer les appels";
$text['button-send']['pt-br'] = "Enviar Broadcast";
$text['button-send']['pl'] = "Wysłane";
$text['button-send']['he-il'] = "נשלח";
$text['button-send']['it-it'] = "Invia Chiamate";
$text['button-send']['nl-nl'] = "";
$text['button-send']['pl-pl'] = "Wysłane";
$text['button-send']['pt-br'] = "Enviar Broadcast"; //copied from pt-pt
$text['button-send']['pt-pt'] = "Enviar Broadcast";
$text['button-send']['ro-ro'] = "";
$text['button-send']['ru-ru'] = "Запустить";
$text['button-send']['sv-se'] = "Skicka Samtalsdistribution";
$text['button-send']['uk'] = "Транслювати";
$text['button-send']['de-at'] = "Senden";
$text['button-send']['he'] = "נשלח";
$text['button-send']['uk-ua'] = "Транслювати";
?>
?>
+27 -16
View File
@@ -1,19 +1,30 @@
<?php
$apps[$x]['menu'][0]['title']['en-us'] = "Call Broadcast";
$apps[$x]['menu'][0]['title']['es-cl'] = "Llamada Broadcast";
$apps[$x]['menu'][0]['title']['fr-fr'] = "Campagne d'Appels";
$apps[$x]['menu'][0]['title']['pt-pt'] = "Chamada em Broadcast";
$apps[$x]['menu'][0]['title']['pt-br'] = "Chamada em broadcast";
$apps[$x]['menu'][0]['title']['pl'] = "Rozsyłanie rozmów";
$apps[$x]['menu'][0]['title']['sv-se'] = "Samtalsdistribution";
$apps[$x]['menu'][0]['title']['uk'] = "Трансляція дзвінка";
$apps[$x]['menu'][0]['title']['de-at'] = "Automatische Anrufe";
$apps[$x]['menu'][0]['uuid'] = "50153bbf-78c5-b49e-7bd9-4b3e4b1134e6";
$apps[$x]['menu'][0]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
$apps[$x]['menu'][0]['category'] = "internal";
$apps[$x]['menu'][0]['groups'][] = "admin";
$apps[$x]['menu'][0]['groups'][] = "superadmin";
$apps[$x]['menu'][0]['path'] = "/app/call_broadcast/call_broadcast.php";
$y=0;
$apps[$x]['menu'][$y]['title']['en-us'] = "Call Broadcast";
$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
$apps[$x]['menu'][$y]['title']['de-at'] = "Rundrufe";
$apps[$x]['menu'][$y]['title']['de-ch'] = "";
$apps[$x]['menu'][$y]['title']['de-de'] = "Rundrufe";
$apps[$x]['menu'][$y]['title']['es-cl'] = "Llamada Broadcast";
$apps[$x]['menu'][$y]['title']['es-mx'] = "";
$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
$apps[$x]['menu'][$y]['title']['fr-fr'] = "Campagne d'Appels";
$apps[$x]['menu'][$y]['title']['he-il'] = "";
$apps[$x]['menu'][$y]['title']['it-it'] = "Chiamate Multiple";
$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
$apps[$x]['menu'][$y]['title']['pl-pl'] = "Rozsyłanie rozmów";
$apps[$x]['menu'][$y]['title']['pt-br'] = "Chamada em broadcast";
$apps[$x]['menu'][$y]['title']['pt-pt'] = "Chamada em Broadcast";
$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Массовые вызовы";
$apps[$x]['menu'][$y]['title']['sv-se'] = "Samtalsdistribution";
$apps[$x]['menu'][$y]['title']['uk-ua'] = "Трансляція дзвінка";
$apps[$x]['menu'][$y]['uuid'] = "50153bbf-78c5-b49e-7bd9-4b3e4b1134e6";
$apps[$x]['menu'][$y]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
$apps[$x]['menu'][$y]['category'] = "internal";
$apps[$x]['menu'][$y]['groups'][] = "admin";
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
$apps[$x]['menu'][$y]['path'] = "/app/call_broadcast/call_broadcast.php";
?>
?>
+1 -1
View File
@@ -54,7 +54,7 @@ else {
}
$_SESSION["message"] = $text['confirm-delete'];
messages::add($text['confirm-delete']);
header("Location: call_broadcast.php");
return;
+2 -2
View File
@@ -166,7 +166,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$db->exec(check_sql($sql));
unset($sql);
$_SESSION["message"] = $text['confirm-add'];
messages::add($text['confirm-add']);
header("Location: call_broadcast.php");
return;
} //if ($action == "add")
@@ -201,7 +201,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$db->exec(check_sql($sql));
unset($sql);
$_SESSION["message"] = $text['confirm-update'];
messages::add($text['confirm-update']);
header("Location: call_broadcast.php");
return;
} //if ($action == "update")
+1 -1
View File
@@ -52,7 +52,7 @@ else {
if ($fp) {
$cmd = "sched_del ".$uuid;
$result = event_socket_request($fp, 'api '.$cmd);
$_SESSION['message'] = htmlentities($result);
messages::add(htmlentities($result));
}
}
+26 -16
View File
@@ -5,29 +5,39 @@
$apps[$x]['uuid'] = "3f159f62-ca2d-41b8-b3f0-c5519cebbc5a";
$apps[$x]['category'] = "Switch";;
$apps[$x]['subcategory'] = "";
$apps[$x]['version'] = "";
$apps[$x]['version'] = "1.0";
$apps[$x]['license'] = "Mozilla Public License 1.1";
$apps[$x]['url'] = "http://www.fusionpbx.com";
$apps[$x]['description']['en-us'] = "Shows active calls, and agents in the call center queue.";
$apps[$x]['description']['es-cl'] = "Muestra las llamadas activas y los agentes en la cola del centro de llamadas.";
$apps[$x]['description']['de-de'] = "";
$apps[$x]['description']['ar-eg'] = "";
$apps[$x]['description']['de-at'] = "Zeigt aktive Anrufe und Agenten in der Callcenter Warteschlange.";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-at'] = "";
$apps[$x]['description']['fr-fr'] = "Affiche les appels actifs et les agents en queue sur le centre d'appel.";
$apps[$x]['description']['de-de'] = "Zeigt aktive Anrufe und Agenten in der Callcenter Warteschlange.";
$apps[$x]['description']['es-cl'] = "Muestra las llamadas activas y los agentes en la cola del centro de llamadas.";
$apps[$x]['description']['es-mx'] = "";
$apps[$x]['description']['fr-ca'] = "Il montre les appels actives et des agents en queue du centre d'appels.";
$apps[$x]['description']['fr-ch'] = "";
$apps[$x]['description']['pt-pt'] = "Mostra as chamadas ativas e agentes na fila do centro de chamadas.";
$apps[$x]['description']['fr-fr'] = "Affiche les appels actifs et les agents en queue sur le centre d'appel.";
$apps[$x]['description']['he-il'] = "";
$apps[$x]['description']['it-it'] = "";
$apps[$x]['description']['nl-nl'] = "";
$apps[$x]['description']['pl-pl'] = "";
$apps[$x]['description']['pt-br'] = "Mostra as chamadas ativas, e os agentes na fila do Call Center.";
$apps[$x]['description']['pt-pt'] = "Mostra as chamadas ativas e agentes na fila do centro de chamadas.";
$apps[$x]['description']['ro-ro'] = "";
$apps[$x]['description']['ru-ru'] = "";
$apps[$x]['description']['sv-se'] = "";
$apps[$x]['description']['uk-ua'] = "";
//permission details
$apps[$x]['permissions'][0]['name'] = "call_center_active_view";
$apps[$x]['permissions'][0]['menu']['uuid'] = "7fb0dd87-e984-9980-c512-2c76b887aeb2";
$apps[$x]['permissions'][0]['groups'][] = "admin";
$apps[$x]['permissions'][0]['groups'][] = "superadmin";
$apps[$x]['permissions'][1]['name'] = "call_center_active_options";
$apps[$x]['permissions'][1]['menu']['uuid'] = "7fb0dd87-e984-9980-c512-2c76b887aeb2";
$apps[$x]['permissions'][1]['groups'][] = "admin";
$apps[$x]['permissions'][1]['groups'][] = "superadmin";
$y=0;
$apps[$x]['permissions'][$y]['name'] = "call_center_active_view";
$apps[$x]['permissions'][$y]['menu']['uuid'] = "7fb0dd87-e984-9980-c512-2c76b887aeb2";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "call_center_active_options";
$apps[$x]['permissions'][$y]['menu']['uuid'] = "7fb0dd87-e984-9980-c512-2c76b887aeb2";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
?>
File diff suppressed because it is too large Load Diff
+26 -15
View File
@@ -1,19 +1,30 @@
<?php
$apps[$x]['menu'][0]['title']['en-us'] = "Active Call Center";
$apps[$x]['menu'][0]['title']['es-cl'] = "Centro de Llamada Activo";
$apps[$x]['menu'][0]['title']['fr-fr'] = "Centre d'Appel Actif";
$apps[$x]['menu'][0]['title']['fr-ca'] = "Centre d'Appels Active";
$apps[$x]['menu'][0]['title']['pt-pt'] = "Centro de Chamadas Activo";
$apps[$x]['menu'][0]['title']['pt-br'] = "Call Center ativos";
$apps[$x]['menu'][0]['title']['pl'] = "Aktywność w Call Center ";
$apps[$x]['menu'][0]['title']['sv-se'] = "Aktivt Call Center";
$apps[$x]['menu'][0]['title']['de-at'] = "Aktive Callcenter";
$apps[$x]['menu'][0]['uuid'] = "7fb0dd87-e984-9980-c512-2c76b887aeb2";
$apps[$x]['menu'][0]['parent_uuid'] = "0438b504-8613-7887-c420-c837ffb20cb1";
$apps[$x]['menu'][0]['category'] = "internal";
$apps[$x]['menu'][0]['path'] = "/app/call_center_active/call_center_queue.php";
$apps[$x]['menu'][0]['groups'][] = "admin";
$apps[$x]['menu'][0]['groups'][] = "superadmin";
$y=0;
$apps[$x]['menu'][$y]['title']['en-us'] = "Active Call Center";
$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
$apps[$x]['menu'][$y]['title']['de-at'] = "Aktive Callcenter";
$apps[$x]['menu'][$y]['title']['de-ch'] = "";
$apps[$x]['menu'][$y]['title']['de-de'] = "Aktive Callcenter";
$apps[$x]['menu'][$y]['title']['es-cl'] = "Centro de Llamada Activo";
$apps[$x]['menu'][$y]['title']['es-mx'] = "";
$apps[$x]['menu'][$y]['title']['fr-ca'] = "Centre d'Appels Active";
$apps[$x]['menu'][$y]['title']['fr-fr'] = "Centre d'Appel Actif";
$apps[$x]['menu'][$y]['title']['he-il'] = "";
$apps[$x]['menu'][$y]['title']['it-it'] = "Call Center Attivi";
$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
$apps[$x]['menu'][$y]['title']['pl-pl'] = "Aktywność w Call Center ";
$apps[$x]['menu'][$y]['title']['pt-br'] = "Call Center ativos";
$apps[$x]['menu'][$y]['title']['pt-pt'] = "Centro de Chamadas Activo";
$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Активные Колл-центры";
$apps[$x]['menu'][$y]['title']['sv-se'] = "Aktivt Call Center";
$apps[$x]['menu'][$y]['title']['uk-ua'] = "";
$apps[$x]['menu'][$y]['uuid'] = "7fb0dd87-e984-9980-c512-2c76b887aeb2";
$apps[$x]['menu'][$y]['parent_uuid'] = "0438b504-8613-7887-c420-c837ffb20cb1";
$apps[$x]['menu'][$y]['category'] = "internal";
$apps[$x]['menu'][$y]['path'] = "/app/call_center_active/call_center_queue.php";
$apps[$x]['menu'][$y]['groups'][] = "admin";
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
?>
+83 -73
View File
@@ -1,4 +1,4 @@
<?php
<?php
/*
FusionPBX
Version: MPL 1.1
@@ -17,102 +17,112 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2012
Portions created by the Initial Developer are Copyright (C) 2008-2017
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
include "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('call_center_active_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
include "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('call_center_active_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
$text = $language->get();
//get the queue_name and set it as a variable
$queue_name = $_GET[queue_name];
$queue_name = $_GET['queue_name'];
$name = $_GET['name'];
//get the header
require_once "resources/header.php";
$document['title'] = $text['title-call_center_queue_activity'];
?><script type="text/javascript">
function loadXmlHttp(url, id) {
var f = this;
f.xmlHttp = null;
/*@cc_on @*/ // used here and below, limits try/catch to those IE browsers that both benefit from and support it
/*@if(@_jscript_version >= 5) // prevents errors in old browsers that barf on try/catch & problems in IE if Active X disabled
try {f.ie = window.ActiveXObject}catch(e){f.ie = false;}
@end @*/
if (window.XMLHttpRequest&&!f.ie||/^http/.test(window.location.href))
f.xmlHttp = new XMLHttpRequest(); // Firefox, Opera 8.0+, Safari, others, IE 7+ when live - this is the standard method
else if (/(object)|(function)/.test(typeof createRequest))
f.xmlHttp = createRequest(); // ICEBrowser, perhaps others
else {
//add the ajax
?><script type="text/javascript">
function loadXmlHttp(url, id) {
var f = this;
f.xmlHttp = null;
// Internet Explorer 5 to 6, includes IE 7+ when local //
/*@cc_on @*/
/*@if(@_jscript_version >= 5)
try{f.xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");}
catch (e){try{f.xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");}catch(e){f.xmlHttp=null;}}
/*@cc_on @*/ // used here and below, limits try/catch to those IE browsers that both benefit from and support it
/*@if(@_jscript_version >= 5) // prevents errors in old browsers that barf on try/catch & problems in IE if Active X disabled
try {f.ie = window.ActiveXObject}catch(e){f.ie = false;}
@end @*/
if (window.XMLHttpRequest&&!f.ie||/^http/.test(window.location.href))
f.xmlHttp = new XMLHttpRequest(); // Firefox, Opera 8.0+, Safari, others, IE 7+ when live - this is the standard method
else if (/(object)|(function)/.test(typeof createRequest))
f.xmlHttp = createRequest(); // ICEBrowser, perhaps others
else {
f.xmlHttp = null;
// Internet Explorer 5 to 6, includes IE 7+ when local //
/*@cc_on @*/
/*@if(@_jscript_version >= 5)
try{f.xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");}
catch (e){try{f.xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");}catch(e){f.xmlHttp=null;}}
@end @*/
}
if(f.xmlHttp != null) {
f.el = document.getElementById(id);
f.xmlHttp.open("GET",url,true);
f.xmlHttp.onreadystatechange = function(){f.stateChanged();};
f.xmlHttp.send(null);
}
}
if(f.xmlHttp != null){
f.el = document.getElementById(id);
f.xmlHttp.open("GET",url,true);
f.xmlHttp.onreadystatechange = function(){f.stateChanged();};
f.xmlHttp.send(null);
loadXmlHttp.prototype.stateChanged=function () {
if (this.xmlHttp.readyState == 4 && (this.xmlHttp.status == 200 || !/^http/.test(window.location.href)))
//this.el.innerHTML = this.xmlHttp.responseText;
document.getElementById('ajax_response').innerHTML = this.xmlHttp.responseText;
}
}
loadXmlHttp.prototype.stateChanged=function () {
if (this.xmlHttp.readyState == 4 && (this.xmlHttp.status == 200 || !/^http/.test(window.location.href)))
//this.el.innerHTML = this.xmlHttp.responseText;
document.getElementById('ajax_response').innerHTML = this.xmlHttp.responseText;
}
var requestTime = function() {
var url = 'call_center_active_inc.php?queue_name=<?php echo $queue_name; ?>';
new loadXmlHttp(url, 'ajax_response');
<?php
if (strlen($_SESSION["ajax_refresh_rate"]) == 0) { $_SESSION["ajax_refresh_rate"] = "1777"; }
echo "setInterval(function(){new loadXmlHttp(url, 'ajax_reponse');}, ".$_SESSION["ajax_refresh_rate"].");";
?>
}
if (window.addEventListener) {
window.addEventListener('load', requestTime, false);
}
else if (window.attachEvent) {
window.attachEvent('onload', requestTime);
}
function send_cmd(url) {
if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
var requestTime = function() {
var url = 'call_center_active_inc.php?queue_name=<?php echo $queue_name; ?>&name=<?php echo urlencode($name); ?>';
new loadXmlHttp(url, 'ajax_response');
<?php
if (strlen($_SESSION["ajax_refresh_rate"]) == 0) { $_SESSION["ajax_refresh_rate"] = "1777"; }
echo "setInterval(function(){new loadXmlHttp(url, 'ajax_reponse');}, ".$_SESSION["ajax_refresh_rate"].");";
?>
}
else {// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.open("GET",url,false);
xmlhttp.send(null);
//document.getElementById('cmd_response').innerHTML=xmlhttp.responseText;
}
</script>
if (window.addEventListener) {
window.addEventListener('load', requestTime, false);
}
else if (window.attachEvent) {
window.attachEvent('onload', requestTime);
}
function send_cmd(url) {
if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else {// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.open("GET",url,false);
xmlhttp.send(null);
//document.getElementById('cmd_response').innerHTML=xmlhttp.responseText;
}
</script>
<?php
echo " <div id='ajax_response'></div>\n";
echo "<br><br>";
require_once "resources/footer.php";
//show the response
echo " <div id='ajax_response'></div>\n";
echo "<br><br>";
//include the footer
require_once "resources/footer.php";
?>
@@ -17,35 +17,39 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2016
Portions created by the Initial Developer are Copyright (C) 2008-2018
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
James Rose <james.o.rose@gmail.com>
*/
include "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('call_center_active_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
include "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('call_center_active_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
$text = $language->get();
//get the queue_name and set it as a variable
$queue_name = $_GET[queue_name].'@'. $_SESSION['domains'][$domain_uuid]['domain_name'];
$queue_name = $_GET['queue_name'];
//convert the string to a named array
function str_to_named_array($tmp_str, $tmp_delimiter) {
$tmp_array = explode ("\n", $tmp_str);
$result = '';
$result = array();
if (trim(strtoupper($tmp_array[0])) != "+OK") {
$tmp_field_name_array = explode ($tmp_delimiter, $tmp_array[0]);
$x = 0;
@@ -106,13 +110,15 @@ else {
//prepare the result for array_multisort
$x = 0;
if (isset($result)) foreach ($result as $row) {
$tier_result[$x]['level'] = $row['level'];
$tier_result[$x]['position'] = $row['position'];
$tier_result[$x]['agent'] = $row['agent'];
$tier_result[$x]['state'] = trim($row['state']);
$tier_result[$x]['queue'] = $row['queue'];
$x++;
if (is_array($result)) {
foreach ($result as $row) {
$tier_result[$x]['level'] = $row['level'];
$tier_result[$x]['position'] = $row['position'];
$tier_result[$x]['agent'] = $row['agent'];
$tier_result[$x]['state'] = trim($row['state']);
$tier_result[$x]['queue'] = $row['queue'];
$x++;
}
}
//sort the array //SORT_ASC, SORT_DESC, SORT_REGULAR, SORT_NUMERIC, SORT_STRING
@@ -124,6 +130,16 @@ else {
$event_socket_str = trim(event_socket_request($fp, 'api '.$switch_cmd));
$agent_result = str_to_named_array($event_socket_str, '|');
//get the agents from the database
if (!is_array($_SESSION['agents'])) {
$sql = "select * from v_call_center_agents ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "order by agent_name ASC ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$_SESSION['agents'] = $prep_statement->fetchAll(PDO::FETCH_NAMED);
}
//list the agents
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
@@ -152,15 +168,23 @@ else {
if (isset($agent_result)) foreach ($agent_result as $agent_row) {
if ($tier_row['agent'] == $agent_row['name']) {
$name = $agent_row['name'];
$name = str_replace('@'.$_SESSION['domain_name'], '', $name);
$agent_uuid = $agent_row['name'];
//get the agent name
$agent_name = '';
if (is_array($_SESSION['agents'])) foreach ($_SESSION['agents'] as $agent) {
if ($agent['call_center_agent_uuid'] = $agent_uuid) {
$agent_name = $agent['agent_name'];
}
}
//$system = $agent_row['system'];
$a_uuid = $agent_row['uuid'];
$agent_uuid = $agent_row['uuid'];
//$type = $agent_row['type'];
$contact = $agent_row['contact'];
$a_exten = preg_replace("/user\//", "", $contact);
$a_exten = preg_replace("/@.*/", "", $a_exten);
$a_exten = preg_replace("/{.*}/", "", $a_exten);
$agent_extension = preg_replace("/user\//", "", $contact);
$agent_extension = preg_replace("/@.*/", "", $agent_extension);
$agent_extension = preg_replace("/{.*}/", "", $agent_extension);
$status = $agent_row['status'];
$state = $agent_row['state'];
$max_no_answer = $agent_row['max_no_answer'];
@@ -193,8 +217,8 @@ else {
$last_status_change_length = $last_status_change_length_hour.':'.$last_status_change_length_min.':'.$last_status_change_length_sec;
echo "<tr>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$name."</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$a_exten."</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$agent_name."</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$agent_extension."</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$status."</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$state."</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$last_status_change_length."</td>\n";
@@ -210,20 +234,20 @@ else {
//need to check state to so only waiting gets call, and trying/answer gets eavesdrop
if ($tier_state == "Offering" || $tier_state == "Active Inbound") {
$orig_command="{origination_caller_id_name=eavesdrop,origination_caller_id_number=".$a_exten."}user/".$_SESSION['user']['extension'][0]['user']."@".$_SESSION['domain_name']." %26eavesdrop(".$a_uuid.")";
$orig_command="{origination_caller_id_name=eavesdrop,origination_caller_id_number=".$agent_extension."}user/".$_SESSION['user']['extension'][0]['user']."@".$_SESSION['domain_name']." %26eavesdrop(".$agent_uuid.")";
//debug
//echo $orig_command;
//echo " <a href='javascript:void(0);' style='color: #444444;' onclick=\"confirm_response = confirm('".$text['message-confirm']."');if (confirm_response){send_cmd('call_center_exec.php?cmd=log+".$orig_command.")');}\">log_cmd</a>&nbsp;\n";
echo " <a href='javascript:void(0);' style='color: #444444;' onclick=\"confirm_response = confirm('".$text['message-confirm']."');if (confirm_response){send_cmd('call_center_exec.php?cmd=originate+".$orig_command.")');}\">".$text['label-eavesdrop']."</a>&nbsp;\n";
$xfer_command = $a_uuid." -bleg ".$_SESSION['user']['extension'][0]['user']." XML ".$_SESSION['domain_name'];
//$xfer_command = $a_uuid." ".$_SESSION['user']['extension'][0]['user']." XML default";
$xfer_command = $agent_uuid." -bleg ".$_SESSION['user']['extension'][0]['user']." XML ".$_SESSION['domain_name'];
//$xfer_command = $agent_uuid." ".$_SESSION['user']['extension'][0]['user']." XML default";
$xfer_command = urlencode($xfer_command);
echo " <a href='javascript:void(0);' style='color: #444444;' onclick=\"confirm_response = confirm('".$text['message-confirm']."');if (confirm_response){send_cmd('call_center_exec.php?cmd=uuid_transfer+".$xfer_command."');}\">".$text['label-transfer']."</a>&nbsp;\n";
}
else {
$orig_call="{origination_caller_id_name=c2c-".urlencode($name).",origination_caller_id_number=".$a_exten."}user/".$_SESSION['user']['extension'][0]['user']."@".$_SESSION['domain_name']." %26bridge(user/".$a_exten."@".$_SESSION['domain_name'].")";
$orig_call="{origination_caller_id_name=c2c-".urlencode($name).",origination_caller_id_number=".$agent_extension."}user/".$_SESSION['user']['extension'][0]['user']."@".$_SESSION['domain_name']." %26bridge(user/".$agent_extension."@".$_SESSION['domain_name'].")";
echo " <a href='javascript:void(0);' style='color: #444444;' onclick=\"confirm_response = confirm('".$text['message-confirm']."');if (confirm_response){send_cmd('call_center_exec.php?cmd=originate+".$orig_call.")');}\">".$text['label-call']."</a>&nbsp;\n";
}
echo "</td>";
@@ -257,7 +281,7 @@ else {
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td align='left'><b>".$text['label-queue'].": ".ucfirst($_GET[queue_name])."</b><br />\n";
echo " <td align='left'><b>".$text['label-queue'].": ".ucfirst($_GET['name'])."</b><br />\n";
echo " ".$text['description-queue']."<br />\n";
echo " </td>\n";
echo " <td align='right' valign='top'>";
@@ -313,13 +337,13 @@ else {
$joined_length_sec = sprintf("%02d", $joined_length_sec);
$joined_length = $joined_length_hour.':'.$joined_length_min.':'.$joined_length_sec;
//$system_seconds = time() - $system_epoch;
//$system_length_hour = floor($system_seconds/3600);
//$system_length_min = floor($system_seconds/60 - ($system_length_hour * 60));
//$system_length_sec = $system_seconds - (($system_length_hour * 3600) + ($system_length_min * 60));
//$system_length_min = sprintf("%02d", $system_length_min);
//$system_length_sec = sprintf("%02d", $system_length_sec);
//$system_length = $system_length_hour.':'.$system_length_min.':'.$system_length_sec;
//get the serving agent name
$serving_agent_name = '';
if (is_array($_SESSION['agents'])) foreach ($_SESSION['agents'] as $agent) {
if ($agent['call_center_agent_uuid'] = $serving_agent) {
$serving_agent_name = $agent['agent_name'];
}
}
echo "<tr>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$joined_length."</td>\n";
@@ -344,7 +368,7 @@ else {
}
echo "</td>";
}
echo "<td valign='top' class='".$row_style[$c]."'>".$serving_agent."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$serving_agent_name."&nbsp;</td>\n";
echo "</tr>\n";
if ($c==0) { $c=1; } else { $c=0; }
}
@@ -356,4 +380,4 @@ else {
echo "<br />\n";
}
?>
?>
+26 -23
View File
@@ -17,22 +17,25 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2012
Portions created by the Initial Developer are Copyright (C) 2008-2018
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('call_center_active_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('call_center_active_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
@@ -61,6 +64,7 @@ else {
echo "</tr>\n";
echo "</tr></table>\n";
//get the call center queue count
$sql = "select * from v_call_center_queues ";
$sql .= "where domain_uuid = '$domain_uuid' ";
if (strlen($order_by)> 0) { $sql .= "order by $order_by $order "; }
@@ -76,14 +80,15 @@ else {
list($paging_controls, $rows_per_page, $var_3) = paging($num_rows, $param, $rows_per_page);
$offset = $rows_per_page * $page;
//get the call center queues
$sql = "select * from v_call_center_queues ";
$sql .= "where domain_uuid = '$domain_uuid' ";
if (strlen($order_by)> 0) { $sql .= "order by $order_by $order "; }
$sql .= " limit $rows_per_page offset $offset ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
$result_count = count($result);
$call_center_queues = $prep_statement->fetchAll(PDO::FETCH_NAMED);
$num_rows = count($call_center_queues);
unset ($prep_statement, $sql);
$c = 0;
@@ -113,15 +118,13 @@ else {
echo "</td>\n";
echo "</tr>\n";
if ($result_count == 0) { //no results
}
else { //received results
foreach($result as $row) {
$tr_link = "href='".PROJECT_PATH."/app/call_center_active/call_center_active.php?queue_name=".$row[queue_name]."'";
if (is_array($call_center_queues)) {
foreach($call_center_queues as $row) {
$tr_link = "href='".PROJECT_PATH."/app/call_center_active/call_center_active.php?queue_name=".$row['call_center_queue_uuid']."&name=".urlencode($row['queue_name'])."'";
echo "<tr ".$tr_link.">\n";
echo " <td valign='top' class='".$row_style[$c]."'><a href='".PROJECT_PATH."/app/call_center_active/call_center_active.php?queue_name=".$row[queue_name]."'>".$row[queue_name]."</a></td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_extension]."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_strategy]."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'><a href='".PROJECT_PATH."/app/call_center_active/call_center_active.php?queue_name=".$row['call_center_queue_uuid']."&name=".urlencode($row['queue_name'])."'>".$row['queue_name']."</a></td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['queue_extension']."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['queue_strategy']."</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_moh_sound]."</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_record_template]."</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_time_base_score]."</td>\n";
@@ -133,9 +136,9 @@ else {
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_discard_abandoned_after]."</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_abandoned_resume_allowed]."</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_tier_rule_wait_multiply_level]."</td>\n";
echo " <td valign='top' class='row_stylebg'>".$row[queue_description]."&nbsp;</td>\n";
echo " <td valign='top' class='row_stylebg'>".$row['queue_description']."&nbsp;</td>\n";
echo " <td class='list_control_icon'>\n";
echo " <a href='".PROJECT_PATH."/app/call_center_active/call_center_active.php?queue_name=".$row[queue_name]."' alt='".$text['button-view']."'>$v_link_label_view</a>\n";
echo " <a href='".PROJECT_PATH."/app/call_center_active/call_center_active.php?queue_name=".$row['call_center_queue_uuid']."&name=".urlencode($row['queue_name'])."' alt='".$text['button-view']."'>$v_link_label_view</a>\n";
//echo " <a href='call_center_queue_delete.php?id=".$row[call_center_queue_uuid]."' alt='delete' onclick=\"return confirm('Do you really want to delete this?')\">$v_link_label_delete</a>\n";
//echo " <input type='button' class='btn' name='' alt='edit' onclick=\"window.location='call_center_queue_edit.php?id=".$row[call_center_queue_uuid]."'\" value='e'>\n";
//echo " <input type='button' class='btn' name='' alt='delete' onclick=\"if (confirm('Are you sure you want to delete this?')) { window.location='call_center_queue_delete.php?id=".$row[call_center_queue_uuid]."' }\" value='x'>\n";
+92 -19
View File
@@ -5,22 +5,31 @@
$apps[$x]['uuid'] = "95788e50-9500-079e-2807-fd530b0ea370";
$apps[$x]['category'] = "Switch";
$apps[$x]['subcategory'] = "";
$apps[$x]['version'] = "";
$apps[$x]['version'] = "1.0";
$apps[$x]['license'] = "Mozilla Public License 1.1";
$apps[$x]['url'] = "http://www.fusionpbx.com";
$apps[$x]['description']['en-us'] = "Queues for managing inbound calls and routing those calls to available agents.";
$apps[$x]['description']['es-cl'] = "Colas pra administar las llamadas entrantes y enviarlas a los agentes disponibles";
$apps[$x]['description']['de-de'] = "";
$apps[$x]['description']['ar-eg'] = "";
$apps[$x]['description']['de-at'] = "Warteschlangen um eingehende Anrufe zu verwalten und diese an verfügbare Agenten weiterzuleiten.";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-at'] = "";
$apps[$x]['description']['fr-fr'] = "Files d'attente d'appels entrants distribu%uFFFDs aux agents disponibles.";
$apps[$x]['description']['de-de'] = "Warteschlangen um eingehende Anrufe zu verwalten und diese an verfügbare Agenten weiterzuleiten.";
$apps[$x]['description']['es-cl'] = "Colas pra administar las llamadas entrantes y enviarlas a los agentes disponibles";
$apps[$x]['description']['es-mx'] = "";
$apps[$x]['description']['fr-ca'] = "Queues pour envoyer les appels entrants vers les agents disponibles.";
$apps[$x]['description']['fr-ch'] = "";
$apps[$x]['description']['pt-pt'] = "As filas servem para gerenciamento de chamadas de entrada e encaminhamento das mesmas para os agentes dispon%uFFFDveis.";
$apps[$x]['description']['fr-fr'] = "Files d'attente d'appels entrants distribu%uFFFDs aux agents disponibles.";
$apps[$x]['description']['he-il'] = "";
$apps[$x]['description']['it-it'] = "";
$apps[$x]['description']['nl-nl'] = "";
$apps[$x]['description']['pl-pl'] = "";
$apps[$x]['description']['pt-br'] = "As filas servem para gerenciar as chamadas que entram e encaminhar as mesmas para os agentes disponíveis.";
$apps[$x]['description']['pt-pt'] = "As filas servem para gerenciamento de chamadas de entrada e encaminhamento das mesmas para os agentes dispon%uFFFDveis.";
$apps[$x]['description']['ro-ro'] = "";
$apps[$x]['description']['ru-ru'] = "";
$apps[$x]['description']['sv-se'] = "";
$apps[$x]['description']['uk-ua'] = "";
//destination details
$y = 0;
$y=0;
$apps[$x]['destinations'][$y]['type'] = "sql";
$apps[$x]['destinations'][$y]['label'] = "call_centers";
$apps[$x]['destinations'][$y]['name'] = "call_centers";
@@ -35,7 +44,7 @@
$apps[$x]['destinations'][$y]['select_label'] = "\${destination} \${name} \${description}";
//permission details
$y = 0;
$y=0;
$apps[$x]['permissions'][$y]['name'] = "call_center_queue_view";
$apps[$x]['permissions'][$y]['menu']['uuid'] = "6c072b29-5b6c-49fc-008e-95e24c77de99";
$apps[$x]['permissions'][$y]['groups'][] = "agent";
@@ -106,11 +115,41 @@
$apps[$x]['permissions'][$y]['name'] = "call_center_log_delete";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "call_center_wallboard";
//$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//default settings
$y = 0;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "8ebeb864-f03e-406c-b82f-6eb47cb1bd39";
$apps[$x]['default_settings'][$y]['default_setting_category'] = "limit";
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "call_center_queues";
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
$apps[$x]['default_settings'][$y]['default_setting_value'] = "3";
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "";
$y++;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "b32179ad-96a4-4d83-8677-1fd8fc5ef6df";
$apps[$x]['default_settings'][$y]['default_setting_category'] = "call_center";
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "agent_add_rows";
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
$apps[$x]['default_settings'][$y]['default_setting_value'] = "5";
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "";
$y++;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "533eac69-887f-47aa-bf27-0751797555f5";
$apps[$x]['default_settings'][$y]['default_setting_category'] = "call_center";
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "agent_edit_rows";
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
$apps[$x]['default_settings'][$y]['default_setting_value'] = "1";
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "";
//schema details
$y = 0; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = "v_call_center_agents";
$y=0;
$apps[$x]['db'][$y]['table']['name'] = "v_call_center_agents";
$apps[$x]['db'][$y]['table']['parent'] = "";
$z=0;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "call_center_agent_id";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
@@ -135,6 +174,15 @@
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "user_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_users";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
@@ -192,9 +240,10 @@
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$y = 1; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = "v_call_center_queues";
$y++;
$apps[$x]['db'][$y]['table']['name'] = "v_call_center_queues";
$apps[$x]['db'][$y]['table']['parent'] = "";
$z=0;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "call_center_queue_id";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
@@ -309,13 +358,18 @@
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "queue_cc_exit_keys";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "queue_description";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$y = 2; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = "v_call_center_tiers";
$y++;
$apps[$x]['db'][$y]['table']['name'] = "v_call_center_tiers";
$apps[$x]['db'][$y]['table']['parent'] = "";
$z=0;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "call_center_tier_id";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
@@ -340,6 +394,25 @@
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_center_queue_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_call_center_queues";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "call_center_queue_uuid";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_center_agent_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_call_center_agents";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "call_center_agent_uuid";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
@@ -361,4 +434,4 @@
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
?>
?>
+32 -2
View File
@@ -17,11 +17,41 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2015
Portions created by the Initial Developer are Copyright (C) 2018
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
?>
if ($domains_processed == 1) {
//list the missing call center queue and agent uuids
$sql = "select t.call_center_tier_uuid, t.call_center_queue_uuid, t.call_center_agent_uuid, t.queue_name, t.agent_name, d.domain_name, ";
$sql .= "(select call_center_queue_uuid from v_call_center_queues where replace(queue_name, ' ', '-') = t.queue_name and domain_uuid = t.domain_uuid) as queue_uuid, ";
$sql .= "(select call_center_agent_uuid from v_call_center_agents where agent_name = t.agent_name and domain_uuid = t.domain_uuid) as agent_uuid ";
$sql .= "from v_call_center_tiers as t, v_domains as d ";
$sql .= "where t.domain_uuid = d.domain_uuid ";
$sql .= "and (t.call_center_queue_uuid is null or t.call_center_agent_uuid is null) ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$tiers = $prep_statement->fetchAll(PDO::FETCH_NAMED);
foreach ($tiers as &$row) {
if ($row['call_center_queue_uuid'] == null && $row['queue_uuid'] != null) {
$sql = "update v_call_center_tiers set call_center_queue_uuid = '".$row['queue_uuid']."' ";
$sql .= "where call_center_tier_uuid = '".$row['call_center_tier_uuid']."' ";
$db->exec(check_sql($sql));
unset($sql);
}
if ($row['call_center_agent_uuid'] == null && $row['agent_uuid'] != null) {
$sql = "update v_call_center_tiers set call_center_agent_uuid = '".$row['agent_uuid']."' ";
$sql .= "where call_center_tier_uuid = '".$row['call_center_tier_uuid']."' ";
$db->exec(check_sql($sql));
unset($sql);
}
}
}
?>
File diff suppressed because it is too large Load Diff
+54 -34
View File
@@ -1,37 +1,57 @@
<?php
$apps[$x]['menu'][0]['title']['en-us'] = "Call Center";
$apps[$x]['menu'][0]['title']['es-cl'] = "Centro de Llamadas";
$apps[$x]['menu'][0]['title']['fr-fr'] = "Centre d'appel";
$apps[$x]['menu'][0]['title']['fr-ca'] = "Centre d' appels";
$apps[$x]['menu'][0]['title']['pt-pt'] = "Centro de Chamadas";
$apps[$x]['menu'][0]['title']['pt-br'] = "Call Center";
$apps[$x]['menu'][0]['title']['pl'] = "Call Center ";
$apps[$x]['menu'][0]['title']['sv-se'] = "Call Center";
$apps[$x]['menu'][0]['title']['uk'] = "Кол-центр";
$apps[$x]['menu'][0]['title']['de-at'] = "Callcenter";
$apps[$x]['menu'][0]['uuid'] = "6c072b29-5b6c-49fc-008e-95e24c77de99";
$apps[$x]['menu'][0]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
$apps[$x]['menu'][0]['category'] = "internal";
$apps[$x]['menu'][0]['path'] = "/app/call_centers/call_center_queues.php";
$apps[$x]['menu'][0]['groups'][] = "agent";
$apps[$x]['menu'][0]['groups'][] = "admin";
$apps[$x]['menu'][0]['groups'][] = "superadmin";
$y=0;
$apps[$x]['menu'][$y]['title']['en-us'] = "Call Centers";
$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
$apps[$x]['menu'][$y]['title']['de-at'] = "Callcenter";
$apps[$x]['menu'][$y]['title']['de-ch'] = "";
$apps[$x]['menu'][$y]['title']['de-de'] = "Callcenter";
$apps[$x]['menu'][$y]['title']['es-cl'] = "Centro de Llamadas";
$apps[$x]['menu'][$y]['title']['es-mx'] = "";
$apps[$x]['menu'][$y]['title']['fr-ca'] = "Centre d' appels";
$apps[$x]['menu'][$y]['title']['fr-fr'] = "Centre d'appel";
$apps[$x]['menu'][$y]['title']['he-il'] = "";
$apps[$x]['menu'][$y]['title']['it-it'] = "Stato Agenti";
$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
$apps[$x]['menu'][$y]['title']['pl-pl'] = "Call Center ";
$apps[$x]['menu'][$y]['title']['pt-br'] = "Call Center";
$apps[$x]['menu'][$y]['title']['pt-pt'] = "Centro de Chamadas";
$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Колл-центр";
$apps[$x]['menu'][$y]['title']['sv-se'] = "Call Center";
$apps[$x]['menu'][$y]['title']['uk-ua'] = "Кол-центр";
$apps[$x]['menu'][$y]['uuid'] = "6c072b29-5b6c-49fc-008e-95e24c77de99";
$apps[$x]['menu'][$y]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
$apps[$x]['menu'][$y]['category'] = "internal";
$apps[$x]['menu'][$y]['path'] = "/app/call_centers/call_center_queues.php";
$apps[$x]['menu'][$y]['groups'][] = "agent";
$apps[$x]['menu'][$y]['groups'][] = "admin";
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['menu'][$y]['title']['en-us'] = "Agent Status";
$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
$apps[$x]['menu'][$y]['title']['de-at'] = "Agenten Status";
$apps[$x]['menu'][$y]['title']['de-ch'] = "";
$apps[$x]['menu'][$y]['title']['de-de'] = "Agenten Status";
$apps[$x]['menu'][$y]['title']['es-cl'] = "Estado de Agente";
$apps[$x]['menu'][$y]['title']['es-mx'] = "";
$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
$apps[$x]['menu'][$y]['title']['fr-fr'] = "État de l'agent";
$apps[$x]['menu'][$y]['title']['he-il'] = "";
$apps[$x]['menu'][$y]['title']['it-it'] = "";
$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
$apps[$x]['menu'][$y]['title']['pl-pl'] = "Status agenta";
$apps[$x]['menu'][$y]['title']['pt-br'] = "Estado do agente";
$apps[$x]['menu'][$y]['title']['pt-pt'] = "Estado do Agente";
$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Статус агента";
$apps[$x]['menu'][$y]['title']['sv-se'] = "Agent Status";
$apps[$x]['menu'][$y]['title']['uk-ua'] = "Статус оператора";
$apps[$x]['menu'][$y]['uuid'] = "597c483a-51a9-f95a-8d54-ea7d87ada2b8";
$apps[$x]['menu'][$y]['parent_uuid'] = "0438b504-8613-7887-c420-c837ffb20cb1";
$apps[$x]['menu'][$y]['category'] = "internal";
$apps[$x]['menu'][$y]['path'] = "/app/call_centers/call_center_agent_status.php";
$apps[$x]['menu'][$y]['groups'][] = "admin";
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
$apps[$x]['menu'][1]['title']['en-us'] = "Agent Status";
$apps[$x]['menu'][1]['title']['es-cl'] = "Estado de Agente";
$apps[$x]['menu'][1]['title']['fr-fr'] = "État de l'agent";
$apps[$x]['menu'][1]['title']['pt-pt'] = "Estado do Agente";
$apps[$x]['menu'][1]['title']['pt-br'] = "Estado do agente";
$apps[$x]['menu'][1]['title']['pl'] = "Status agenta";
$apps[$x]['menu'][1]['title']['sv-se'] = "Agent Status";
$apps[$x]['menu'][1]['title']['uk'] = "Статус оператора";
$apps[$x]['menu'][1]['title']['de-at'] = "Agenten Status";
$apps[$x]['menu'][1]['uuid'] = "597c483a-51a9-f95a-8d54-ea7d87ada2b8";
$apps[$x]['menu'][1]['parent_uuid'] = "0438b504-8613-7887-c420-c837ffb20cb1";
$apps[$x]['menu'][1]['category'] = "internal";
$apps[$x]['menu'][1]['path'] = "/app/call_centers/call_center_agent_status.php";
$apps[$x]['menu'][1]['groups'][] = "admin";
$apps[$x]['menu'][1]['groups'][] = "superadmin";
?>
?>
@@ -0,0 +1,228 @@
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2017
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('call_center_queue_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
$text = $language->get($_SESSION['domain']['language']['code'], 'app/call_centers');
//includes and title
require_once "resources/header.php";
$document['title'] = $text['title-call_center_queues'];
require_once "resources/paging.php";
//get http variables and set as php variables
$order_by = $_GET["order_by"];
$order = $_GET["order"];
//setup the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
//get the http post values and set them as php variables
if (count($_POST) > 0) {
foreach($_POST['agents'] as $row) {
if (strlen($row['agent_status']) > 0) {
//echo "<pre>\n";
//print_r($row);
//echo "</pre>\n";
//agent set status
if ($fp) {
//set the user_status
$sql = "update v_users set ";
$sql .= "user_status = '".$row['agent_status']."' ";
$sql .= "where domain_uuid = '".$domain_uuid."' ";
$sql .= "and username = '".$row['agent_name']."' ";
//echo $sql."\n";
//$prep_statement = $db->prepare(check_sql($sql));
//$prep_statement->execute();
//set the agent status to available and assign the agent to the queue with the tier
if ($row['agent_status'] == 'Available') {
//set the call center status
//$cmd = "api callcenter_config agent set status ".$row['agent_name']."@".$_SESSION['domain_name']." '".$row['agent_status']."'";
//$response = event_socket_request($fp, $cmd);
//assign the agent to the queue
$cmd = "api callcenter_config tier add ".$row['queue_name']."@".$_SESSION['domain_name']." ".$row['agent_name']."@".$_SESSION['domain_name']." 1 1";
$response = event_socket_request($fp, $cmd);
}
//un-assign the agent from the queue
if ($row['agent_status'] == 'Logged Out') {
$cmd = "api callcenter_config tier del ".$row['queue_name']."@".$_SESSION['domain_name']." ".$row['agent_name']."@".$_SESSION['domain_name'];
$response = event_socket_request($fp, $cmd);
}
//echo $cmd."\n";
usleep(200);
}
}
}
}
//get the agent list from event socket
$switch_cmd = 'callcenter_config tier list';
$event_socket_str = trim(event_socket_request($fp, 'api '.$switch_cmd));
$call_center_tiers = csv_to_named_array($event_socket_str, '|');
//echo "<pre>\n";
//print_r($call_center_tiers);
//echo "</pre>\n";
//get the call center queues from the database
$sql = "select * from v_call_center_queues ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "order by queue_name asc ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$call_center_queues = $prep_statement->fetchAll(PDO::FETCH_NAMED);
unset ($prep_statement, $sql);
//get the agents from the database
$sql = "select * from v_call_center_agents ";
$sql .= "where user_uuid = '".$_SESSION['user_uuid']."' ";
$sql .= "and domain_uuid = '$domain_uuid' ";
//$sql .= "ORDER BY agent_name ASC ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$agent = $prep_statement->fetch(PDO::FETCH_NAMED);
//echo "<pre>\n";
//print_r($agent);
//echo "</pre>\n";
//update the queue status
$x = 0;
foreach ($call_center_queues as $queue) {
$call_center_queues[$x]['queue_status'] = 'Logged Out';
foreach ($call_center_tiers as $tier) {
if ($queue['queue_name'] .'@'. $_SESSION['domain_name'] == $tier['queue']
&& $agent['agent_name'] .'@'. $_SESSION['domain_name'] == $tier['agent']) {
$call_center_queues[$x]['queue_status'] = 'Available';
}
}
$x++;
}
//echo "<pre>\n";
//print_r($call_center_queues);
//echo "</pre>\n";
//set the row styles
$c = 0;
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
//show the content
echo "<form method='post' name='frm' action=''>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'>\n";
echo "<tr>\n";
echo " <td width='50%' align='left' nowrap='nowrap'><b>".$text['header-call_center_queues']."</b></td>\n";
echo " <td width='50%' align='right'>\n";
echo " <h3>".$text['label-agent']."</h3> <b>".$agent['agent_name']."</b>\n";
echo " </td>\n";
echo "</tr>\n";
//echo "<tr>\n";
//echo " <td align='left' colspan='2'>\n";
//echo $text['description-call_center_queues']."<br /><br />\n";
//echo " </td>\n";
//echo "</tr>\n";
echo "</table>\n";
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo " <th>".$text['label-queue_name']."</th>\n";
echo " <th>".$text['label-status']."</th>\n";
echo " <th>".$text['label-options']."</th>\n";
echo "</tr>\n";
if (count($call_center_queues) > 0) {
$x = 0;
foreach($call_center_queues as $row) {
echo "<tr>\n";
echo " <td valign='top' class='".$row_style[$c]."'>\n";
echo " ".$row['queue_name']."\n";
echo " </td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>\n";
if ($row['queue_status'] == "Available") {
echo $text['option-available'];
}
if ($row['queue_status'] == "Logged Out") {
echo $text['option-logged_out'];
}
echo " </td>\n";
echo " <td valign='middle' class='".$row_style[$c]."' nowrap='nowrap'>";
echo " <input type='hidden' name='agents[".$x."][queue_name]' id='agent_".$x."_name' value='".$row['queue_name']."'>\n";
echo " <input type='hidden' name='agents[".$x."][agent_name]' id='agent_".$x."_name' value='".$agent['agent_name']."'>\n";
echo " <input type='hidden' name='agents[".$x."][id]' id='agent_".$x."_name' value='".$agent['call_center_agent_uuid']."'>\n";
//echo " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_no_change' value='' checked='checked'>&nbsp;<label for='agent_".$x."_status_no_change'>".$text['option-no_change']."</label>&nbsp;\n";
echo " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_available' value='Available'>&nbsp;<label for='agent_".$x."_status_available'>".$text['option-available']."</label>&nbsp;\n";
echo " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_logged_out' value='Logged Out'>&nbsp;<label for='agent_".$x."_status_logged_out'>".$text['option-logged_out']."</label>&nbsp;\n";
//echo " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_on_break' value='On Break'>&nbsp;<label for='agent_".$x."_status_on_break'>".$text['option-on_break']."</label>&nbsp;\n";
//echo " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_dnd' value='Do Not Disturb'><label for='agent_".$x."_status_dnd'>&nbsp;".$text['option-do_not_disturb']."</label>\n";
echo " </td>\n";
//echo " <td valign='top' class='row_stylebg'>".$row[queue_description]."&nbsp;</td>\n";
echo "</tr>\n";
$x++;
if ($c==0) { $c=1; } else { $c=0; }
} //end foreach
unset($sql, $result, $row_count);
} //end if results
echo "<tr>\n";
echo "<td colspan='11' align='left'>\n";
echo " <table width='100%' cellpadding='0' cellspacing='0'>\n";
echo " <tr>\n";
echo " <td width='33.3%' nowrap>&nbsp;</td>\n";
echo " <td width='33.3%' align='center' nowrap></td>\n";
echo " <td width='33.3%' align='right'>\n";
echo " <br />\n";
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
echo " </td>\n";
echo " </tr>\n";
echo " </table>\n";
echo "</td>\n";
echo "</tr>\n";
echo "</table>";
echo "<br><br>";
echo "</form>\n";
?>
+32 -28
View File
@@ -23,24 +23,29 @@
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('call_center_agent_delete')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check the permissions
if (permission_exists('call_center_agent_delete')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
$text = $language->get();
if (count($_GET)>0) {
$id = check_str($_GET["id"]);
}
//get the primary key
if (count($_GET)>0) {
$id = check_str($_GET["id"]);
}
//get the agent details
$sql = "select * from v_call_center_agents ";
@@ -64,24 +69,23 @@ if (count($_GET)>0) {
$response = event_socket_request($fp, $cmd);
}
//delete the agent from db
if (strlen($id)>0) {
//tiers table
$sql = "delete from v_call_center_tiers ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and agent_name = '$agent_name' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
unset($sql);
$sql = "delete from v_call_center_tiers ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and agent_name = '$agent_name' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
unset($sql);
//agents table
$sql = "delete from v_call_center_agents ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and call_center_agent_uuid = '$id' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
unset($sql);
$sql = "delete from v_call_center_agents ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and call_center_agent_uuid = '$id' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
unset($sql);
}
//synchronize configuration
@@ -89,7 +93,7 @@ if (count($_GET)>0) {
remove_config_from_cache('configuration:callcenter.conf');
//redirect the browser
$_SESSION["message"] = $text['message-delete'];
messages::add($text['message-delete']);
header("Location: call_center_agents.php");
return;
+152 -156
View File
@@ -17,23 +17,27 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2015
Portions created by the Initial Developer are Copyright (C) 2008-2016
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
*/
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('call_center_agent_add') || permission_exists('call_center_agent_edit')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('call_center_agent_add') || permission_exists('call_center_agent_edit')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
@@ -77,55 +81,62 @@ else {
}
//get http post variables and set them to php variables
if (count($_POST) > 0) {
if (is_array($_POST)) {
$call_center_agent_uuid = check_str($_POST["call_center_agent_uuid"]);
$user_uuid = check_str($_POST["user_uuid"]);
$agent_name = check_str($_POST["agent_name"]);
$agent_type = check_str($_POST["agent_type"]);
$agent_call_timeout = check_str($_POST["agent_call_timeout"]);
$agent_id = check_str($_POST["agent_id"]);
$agent_password = check_str($_POST["agent_password"]);
$agent_contact = check_str($_POST["agent_contact"]);
$agent_status = check_str($_POST["agent_status"]);
//$agent_logout = check_str($_POST["agent_logout"]);
$agent_contact = check_str($_POST["agent_contact"]);
$agent_no_answer_delay_time = check_str($_POST["agent_no_answer_delay_time"]);
$agent_max_no_answer = check_str($_POST["agent_max_no_answer"]);
$agent_wrap_up_time = check_str($_POST["agent_wrap_up_time"]);
$agent_reject_delay_time = check_str($_POST["agent_reject_delay_time"]);
$agent_busy_delay_time = check_str($_POST["agent_busy_delay_time"]);
//$agent_logout = check_str($_POST["agent_logout"]);
}
if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//process the user data and save it to the database
if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
$msg = '';
//get the uuid from the POST
if ($action == "update") {
$call_center_agent_uuid = check_str($_POST["call_center_agent_uuid"]);
}
if ($action == "update") {
$call_center_agent_uuid = check_str($_POST["call_center_agent_uuid"]);
}
//check for all required data
//if (strlen($domain_uuid) == 0) { $msg .= $text['message-required']."domain_uuid<br>\n"; }
//if (strlen($agent_name) == 0) { $msg .= $text['message-required'].$text['label-agent_name']."<br>\n"; }
//if (strlen($agent_type) == 0) { $msg .= $text['message-required'].$text['label-type']."<br>\n"; }
//if (strlen($agent_call_timeout) == 0) { $msg .= $text['message-required'].$text['label-call_timeout']."<br>\n"; }
//if (strlen($agent_contact) == 0) { $msg .= $text['message-required'].$text['label-contact']."<br>\n"; }
//if (strlen($agent_status) == 0) { $msg .= $text['message-required'].$text['label-status']."<br>\n"; }
//if (strlen($agent_logout) == 0) { $msg .= $text['message-required'].$text['label-agent_logout']."<br>\n"; }
//if (strlen($agent_no_answer_delay_time) == 0) { $msg .= $text['message-required'].$text['label-no_answer_delay_time']."<br>\n"; }
//if (strlen($agent_max_no_answer) == 0) { $msg .= $text['message-required'].$text['label-max_no_answer']."<br>\n"; }
//if (strlen($agent_wrap_up_time) == 0) { $msg .= $text['message-required'].$text['label-wrap_up_time']."<br>\n"; }
//if (strlen($agent_reject_delay_time) == 0) { $msg .= $text['message-required'].$text['label-reject_delay_time']."<br>\n"; }
//if (strlen($agent_busy_delay_time) == 0) { $msg .= $text['message-required'].$text['label-busy_delay_time']."<br>\n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
require_once "resources/header.php";
require_once "resources/persist_form_var.php";
echo "<div align='center'>\n";
echo "<table><tr><td>\n";
echo $msg."<br />";
echo "</td></tr></table>\n";
persistformvar($_POST);
echo "</div>\n";
require_once "resources/footer.php";
return;
}
//check for all required data
$msg = '';
//if (strlen($call_center_agent_uuid) == 0) { $msg .= $text['message-required']." ".$text['label-call_center_agent_uuid']."<br>\n"; }
//if (strlen($domain_uuid) == 0) { $msg .= $text['message-required']." ".$text['label-domain_uuid']."<br>\n"; }
if (strlen($user_uuid) == 0) { $msg .= $text['message-required']." ".$text['label-user_uuid']."<br>\n"; }
if (strlen($agent_name) == 0) { $msg .= $text['message-required']." ".$text['label-agent_name']."<br>\n"; }
if (strlen($agent_type) == 0) { $msg .= $text['message-required']." ".$text['label-agent_type']."<br>\n"; }
if (strlen($agent_call_timeout) == 0) { $msg .= $text['message-required']." ".$text['label-agent_call_timeout']."<br>\n"; }
//if (strlen($agent_id) == 0) { $msg .= $text['message-required']." ".$text['label-agent_id']."<br>\n"; }
//if (strlen($agent_password) == 0) { $msg .= $text['message-required']." ".$text['label-agent_password']."<br>\n"; }
if (strlen($agent_status) == 0) { $msg .= $text['message-required']." ".$text['label-agent_status']."<br>\n"; }
if (strlen($agent_contact) == 0) { $msg .= $text['message-required']." ".$text['label-agent_contact']."<br>\n"; }
if (strlen($agent_no_answer_delay_time) == 0) { $msg .= $text['message-required']." ".$text['label-agent_no_answer_delay_time']."<br>\n"; }
if (strlen($agent_max_no_answer) == 0) { $msg .= $text['message-required']." ".$text['label-agent_max_no_answer']."<br>\n"; }
if (strlen($agent_wrap_up_time) == 0) { $msg .= $text['message-required']." ".$text['label-agent_wrap_up_time']."<br>\n"; }
if (strlen($agent_reject_delay_time) == 0) { $msg .= $text['message-required']." ".$text['label-agent_reject_delay_time']."<br>\n"; }
if (strlen($agent_busy_delay_time) == 0) { $msg .= $text['message-required']." ".$text['label-agent_busy_delay_time']."<br>\n"; }
//if (strlen($agent_logout) == 0) { $msg .= $text['message-required']." ".$text['label-agent_logout']."<br>\n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
require_once "resources/header.php";
require_once "resources/persist_form_var.php";
echo "<div align='center'>\n";
echo "<table><tr><td>\n";
echo $msg."<br />";
echo "</td></tr></table>\n";
persistformvar($_POST);
echo "</div>\n";
require_once "resources/footer.php";
return;
}
//get and then set the complete agent_contact with the call_timeout and when necessary confirm
//if you change this variable, also change resources/switch.php
@@ -158,14 +169,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
}
}
//set the user_status
$sql = "update v_users set ";
$sql .= "user_status = '".$agent_status."' ";
$sql .= "where domain_uuid = '".$domain_uuid."' ";
$sql .= "and username = '".$agent_name."' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
//add the agent
//setup the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
@@ -201,96 +204,65 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$response = event_socket_request($fp, $cmd);
}
//add or update the database
if ($_POST["persistformvar"] != "true") {
if ($action == "add") {
//add the agent to the database
//set the domain_uuid
$_POST["domain_uuid"] = $_SESSION["domain_uuid"];
//add the call_center_agent_uuid
if (strlen($_POST["call_center_agent_uuid"]) == 0) {
$call_center_agent_uuid = uuid();
$sql = "insert into v_call_center_agents ";
$sql .= "(";
$sql .= "domain_uuid, ";
$sql .= "call_center_agent_uuid, ";
$sql .= "agent_name, ";
$sql .= "agent_type, ";
$sql .= "agent_call_timeout, ";
$sql .= "agent_id, ";
$sql .= "agent_password, ";
$sql .= "agent_contact, ";
$sql .= "agent_status, ";
//$sql .= "agent_logout, ";
$sql .= "agent_no_answer_delay_time, ";
$sql .= "agent_max_no_answer, ";
$sql .= "agent_wrap_up_time, ";
$sql .= "agent_reject_delay_time, ";
$sql .= "agent_busy_delay_time ";
$sql .= ")";
$sql .= "values ";
$sql .= "(";
$sql .= "'$domain_uuid', ";
$sql .= "'$call_center_agent_uuid', ";
$sql .= "'$agent_name', ";
$sql .= "'$agent_type', ";
$sql .= "'$agent_call_timeout', ";
$sql .= "'$agent_id', ";
$sql .= "'$agent_password', ";
$sql .= "'$agent_contact', ";
$sql .= "'$agent_status', ";
//$sql .= "'$agent_logout', ";
$sql .= "'$agent_no_answer_delay_time', ";
$sql .= "'$agent_max_no_answer', ";
$sql .= "'$agent_wrap_up_time', ";
$sql .= "'$agent_reject_delay_time', ";
$sql .= "'$agent_busy_delay_time' ";
$sql .= ")";
$db->exec(check_sql($sql));
unset($sql);
$_POST["call_center_agent_uuid"] = $call_center_agent_uuid;
}
//syncrhonize configuration
save_call_center_xml();
remove_config_from_cache('configuration:callcenter.conf');
//get the users array
$sql = "SELECT * FROM v_users ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "order by username asc ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$users = $prep_statement->fetchAll(PDO::FETCH_NAMED);
unset($prep_statement, $sql);
$_SESSION["message"] = $text['message-add'];
header("Location: call_center_agents.php");
return;
} //if ($action == "add")
//prepare the array
$array['call_center_agents'][] = $_POST;
$array['users'][0]['domain_uuid'] = $_SESSION['domain_uuid'];
$array['users'][0]['user_uuid'] = $user_uuid;
$array['users'][0]['user_status'] = $agent_status;
if ($action == "update") {
$sql = "update v_call_center_agents set ";
$sql .= "agent_name = '$agent_name', ";
$sql .= "agent_type = '$agent_type', ";
$sql .= "agent_call_timeout = '$agent_call_timeout', ";
$sql .= "agent_id = '$agent_id', ";
$sql .= "agent_password = '$agent_password', ";
$sql .= "agent_contact = '$agent_contact', ";
$sql .= "agent_status = '$agent_status', ";
//$sql .= "agent_logout = '$agent_logout', ";
$sql .= "agent_no_answer_delay_time = '$agent_no_answer_delay_time', ";
$sql .= "agent_max_no_answer = '$agent_max_no_answer', ";
$sql .= "agent_wrap_up_time = '$agent_wrap_up_time', ";
$sql .= "agent_reject_delay_time = '$agent_reject_delay_time', ";
$sql .= "agent_busy_delay_time = '$agent_busy_delay_time' ";
$sql .= "where domain_uuid = '$domain_uuid'";
$sql .= "and call_center_agent_uuid = '$call_center_agent_uuid'";
$db->exec(check_sql($sql));
unset($sql);
//save to the data
$database = new database;
$database->app_name = 'call_center';
$database->app_uuid = '95788e50-9500-079e-2807-fd530b0ea370';
if (strlen($call_center_agent_uuid) > 0) {
$database->uuid($call_center_agent_uuid);
}
$database->save($array);
$message = $database->message;
//syncrhonize configuration
save_call_center_xml();
remove_config_from_cache('configuration:callcenter.conf');
//syncrhonize configuration
save_call_center_xml();
$_SESSION["message"] = $text['message-update'];
header("Location: call_center_agents.php");
return;
} //if ($action == "update")
} //if ($_POST["persistformvar"] != "true")
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
//clear the cache
remove_config_from_cache('configuration:callcenter.conf');
//redirect the user
if (isset($action)) {
if ($action == "add") {
messages::add($text['message-add']);
}
if ($action == "update") {
messages::add($text['message-update']);
}
header("Location: call_center_agents.php");
return;
}
} //(is_array($_POST) && strlen($_POST["persistformvar"]) == 0)
//initialize the destinations object
$destination = new destinations;
//pre-populate the form
if (count($_GET)>0 && $_POST["persistformvar"] != "true") {
$call_center_agent_uuid = $_GET["id"];
if (is_array($_GET) && $_POST["persistformvar"] != "true") {
$call_center_agent_uuid = check_str($_GET["id"]);
$sql = "select * from v_call_center_agents ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and call_center_agent_uuid = '$call_center_agent_uuid' ";
@@ -298,20 +270,21 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
foreach ($result as &$row) {
$call_center_agent_uuid = $row["call_center_agent_uuid"];
$user_uuid = $row["user_uuid"];
$agent_name = $row["agent_name"];
$agent_type = $row["agent_type"];
$agent_call_timeout = $row["agent_call_timeout"];
$agent_id = $row["agent_id"];
$agent_password = $row["agent_password"];
$agent_contact = $row["agent_contact"];
$agent_status = $row["agent_status"];
//$agent_logout = $row["agent_logout"];
$agent_contact = $row["agent_contact"];
$agent_no_answer_delay_time = $row["agent_no_answer_delay_time"];
$agent_max_no_answer = $row["agent_max_no_answer"];
$agent_wrap_up_time = $row["agent_wrap_up_time"];
$agent_reject_delay_time = $row["agent_reject_delay_time"];
$agent_busy_delay_time = $row["agent_busy_delay_time"];
break; //limit to 1 row
//$agent_logout = $row["agent_logout"];
}
unset ($prep_statement);
}
@@ -334,6 +307,16 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$document['title'] = $text['title-call_center_agent_edit'];
}
//get the list of users for this domain
$sql = "SELECT * FROM v_users ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "and user_enabled = 'true' ";
$sql .= "order by username asc ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$users = $prep_statement->fetchAll(PDO::FETCH_NAMED);
unset($sql);
//javascript to check for duplicates
?>
<script language="javascript">
@@ -385,29 +368,22 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " ".$text['label-agent_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
//---- Begin Select List --------------------
$sql = "SELECT * FROM v_users ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and user_enabled = 'true' ";
$sql .= "order by username asc ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
echo " <input class='formfld' type='text' name='agent_name' maxlength='255' value=\"$agent_name\" />\n";
/*
echo "<select id=\"agent_name\" name=\"agent_name\" class='formfld'>\n";
echo "<option value=\"\"></option>\n";
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
//$catcount = count($result);
foreach($result as $field) {
if ($field[username] == $agent_name) {
echo "<option value='".$field[username]."' selected='selected'>".$field[username]."</option>\n";
}
else {
echo "<option value='".$field[username]."'>".$field[username]."</option>\n";
if (is_array($users)) {
foreach($users as $field) {
if ($field[username] == $agent_name) {
echo "<option value='".$field[username]."' selected='selected'>".$field[username]."</option>\n";
}
else {
echo "<option value='".$field[username]."'>".$field[username]."</option>\n";
}
}
}
echo "</select>";
unset($sql, $result);
//---- End Select List --------------------
*/
echo "<br />\n";
echo $text['description-agent_name']."\n";
echo "</td>\n";
@@ -435,6 +411,26 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "</td>\n";
echo "</tr>\n";
echo " <tr>";
echo " <td class='vncellreq' valign='top'>".$text['label-username']."</td>";
echo " <td class='vtable' align='left'>";
echo " <select name=\"user_uuid\" class='formfld' style='width: auto;'>\n";
echo " <option value=\"\"></option>\n";
foreach($users as $field) {
if ($user_uuid == $field['user_uuid']) {
echo " <option value='".$field['user_uuid']."' selected='selected'>".$field['username']."</option>\n";
}
else {
echo " <option value='".$field['user_uuid']."' $selected>".$field['username']."</option>\n";
}
}
echo " </select>";
unset($users);
echo " <br>\n";
echo " ".$text['description-users']."\n";
echo " </td>";
echo " </tr>";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-agent_id']."\n";
@@ -583,10 +579,10 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " </td>\n";
echo " </tr>";
echo "</table>";
echo "<br><br>";
echo "</form>";
echo "<br /><br />";
//footer
//include the footer
require_once "resources/footer.php";
?>
?>
+192 -105
View File
@@ -17,22 +17,26 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2012
Portions created by the Initial Developer are Copyright (C) 2008-2018
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('call_center_agent_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('call_center_agent_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
@@ -43,66 +47,89 @@ else {
$document['title'] = $text['title-call_center_agent_status'];
require_once "resources/paging.php";
//get the agents from the database
$sql = "select * from v_call_center_tiers ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$tiers = $prep_statement->fetchAll(PDO::FETCH_NAMED);
if (count($tiers) == 0) {
$per_queue_login = true;
}
else {
$per_queue_login = false;
}
unset($prep_statement, $sql);
//setup the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
//get the http post values and set them as php variables
if (count($_POST) > 0) {
//include the dnd php class
include PROJECT_PATH."/app/calls/resources/classes/do_not_disturb.php";
//debug info
//echo "<pre>\n";
//print_r($_POST);
//echo "</pre>\n";
foreach($_POST['agents'] as $row) {
if (strlen($row['agent_status']) > 0) {
//agent set status
if ($fp) {
//set the user_status
$sql = "update v_users set ";
$sql .= "user_status = '".$row['agent_status']."' ";
$sql .= "where domain_uuid = '".$domain_uuid."' ";
$sql .= "and username = '".$row['agent_name']."' ";
//echo $sql."\n";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
if (!isset($row['queue_name'])) {
$sql = "update v_users set ";
$sql .= "user_status = '".$row['agent_status']."' ";
$sql .= "where domain_uuid = '".$domain_uuid."' ";
$sql .= "and user_uuid = '".$row['user_uuid']."' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
}
//set the call center status
if ($row['agent_status'] == "Do Not Disturb") {
//set the default dnd action
$dnd_action = "add";
//set the call center status to Logged Out
$cmd = "api callcenter_config agent set status ".$row['agent_name']."@".$_SESSION['domains'][$domain_uuid]['domain_name']." 'Logged Out'";
if (!isset($row['queue_name'])) {
if ($row['agent_status'] == "Do Not Disturb") {
//set the default dnd action
$dnd_action = "add";
//set the call center status to Logged Out
$cmd = "api callcenter_config agent set status ".$row['agent_uuid']." 'Logged Out'";
}
else {
$cmd = "api callcenter_config agent set status ".$row['agent_uuid']." '".$row['agent_status']."'";
}
$response = event_socket_request($fp, $cmd);
}
else {
$cmd = "api callcenter_config agent set status ".$row['agent_name']."@".$_SESSION['domains'][$domain_uuid]['domain_name']." '".$row['agent_status']."'";
}
$response = event_socket_request($fp, $cmd);
//echo $cmd."\n";
//set the agent status to available and assign the agent to the queue with the tier
if (isset($row['queue_uuid']) && $row['agent_status'] == 'Available') {
//set the call center status
//$cmd = "api callcenter_config agent set status ".$row['agent_name']."@".$_SESSION['domain_name']." '".$row['agent_status']."'";
//$response = event_socket_request($fp, $cmd);
//assign the agent to the queue
$cmd = "api callcenter_config tier add ".$row['queue_uuid']." ".$row['agent_uuid']." 1 1";
//echo $cmd."<br />\n";
$response = event_socket_request($fp, $cmd);
}
//un-assign the agent from the queue
if (isset($row['queue_uuid']) && $row['agent_status'] == 'Logged Out') {
$cmd = "api callcenter_config tier del ".$row['queue_uuid']." ".$row['agent_uuid'];
//echo $cmd."<br />\n";
$response = event_socket_request($fp, $cmd);
}
usleep(200);
}
//loop through the list of assigned extensions
//foreach ($_SESSION['user']['extension'] as &$sub_row) {
// //update dnd
// $dnd = new do_not_disturb;
// //$dnd->debug = false;
// $dnd->domain_uuid = $domain_uuid;
// $dnd->domain_name = $_SESSION['domain_name'];
// $dnd->extension = $sub_row["user"];
// if ($row['status'] == "Do Not Disturb") {
// $dnd->enabled = "true";
// }
// else {
// $dnd->enabled = "false";
// }
// $dnd->set();
// unset($dnd);
//}
//unset ($prep_statement);
}
}
}
//get the agents from the database
$sql = "select * from v_call_center_agents ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "order by agent_name ASC ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$agents = $prep_statement->fetchAll(PDO::FETCH_NAMED);
@@ -110,10 +137,32 @@ else {
//get the agent list from event socket
$switch_cmd = 'callcenter_config agent list';
$event_socket_str = trim(event_socket_request($fp, 'api '.$switch_cmd));
$call_center_agents = csv_to_named_array($event_socket_str, '|');
//echo "<pre>\n";
//print_r($call_center_agents);
//echo "</pre>\n";
$agent_list = csv_to_named_array($event_socket_str, '|');
//get the agent list from event socket
$switch_cmd = 'callcenter_config tier list';
$event_socket_str = trim(event_socket_request($fp, 'api '.$switch_cmd));
$call_center_tiers = csv_to_named_array($event_socket_str, '|');
//get the call center queues from the database
$sql = "select * from v_call_center_queues ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "order by queue_name asc ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$call_center_queues = $prep_statement->fetchAll(PDO::FETCH_NAMED);
unset ($prep_statement, $sql);
//add the status to the call_center_queues array
$x = 0;
foreach ($call_center_queues as $queue) {
//get the queue list from event socket
$switch_cmd = "callcenter_config queue list agents ".$queue['call_center_queue_uuid'];
$event_socket_str = trim(event_socket_request($fp, 'api '.$switch_cmd));
$queue_list = csv_to_named_array($event_socket_str, '|');
$call_center_queues[$x]['queue_list'] = $queue_list;
$x++;
}
//get the agent status from mod_callcenter and update the agent status in the agents array
$x = 0;
@@ -121,43 +170,42 @@ else {
//add the domain name
$domain_name = $_SESSION['domains'][$row['domain_uuid']]['domain_name'];
$agents[$x]['domain_name'] = $domain_name;
//update the queue status
$i = 0;
foreach ($call_center_queues as $queue) {
$agents[$x]['queues'][$i]['agent_name'] = $row['agent_name'];
$agents[$x]['queues'][$i]['queue_name'] = $queue['queue_name'];
$agents[$x]['queues'][$i]['call_center_agent_uuid'] = $row['call_center_agent_uuid'];
$agents[$x]['queues'][$i]['call_center_queue_uuid'] = $queue['call_center_queue_uuid'];
$agents[$x]['queues'][$i]['queue_status'] = 'Logged Out';
foreach ($queue['queue_list'] as $queue_list) {
if ($row['call_center_agent_uuid'] == $queue_list['name']) {
$agents[$x]['queues'][$i]['queue_status'] = 'Available';
}
}
$i++;
}
//update the agent status
foreach ($call_center_agents as $r) {
if ($r['name'] == $row[agent_name].'@'.$domain_name) {
foreach ($agent_list as $r) {
if ($r['name'] == $row['call_center_agent_uuid']) {
$agents[$x]['agent_status'] = $r['status'];
}
}
//increment x
$x++;
}
//debug info
//echo "<pre>\n";
//print_r($agents);
//echo "</pre>\n";
//set the status on the user_array by using the extension as the key
//foreach ($call_center_agents as $row) {
// if (count($_SESSION['domains']) == 1) {
// //get the extension status from the call center agent list
// preg_match('/user\/(\d{2,7})/', $row['contact'], $matches);
// $extension = $matches[1];
// $user_array[$extension]['username'] = $tmp[0];
// if ($user_array[$extension]['user_status'] != "Do Not Disturb") {
// $user_array[$extension]['user_status'] = $row['status'];
// }
// } else {
// $tmp = explode('@',$row["name"]);
// if ($tmp[1] == $_SESSION['domain_name']) {
// //get the extension status from the call center agent list
// preg_match('/user\/(\d{2,7})/', $row['contact'], $matches);
// $extension = $matches[1];
// $user_array[$extension]['username'] = $tmp[0];
// if ($user_array[$extension]['user_status'] != "Do Not Disturb") {
// $user_array[$extension]['user_status'] = $row['status'];
// }
// }
// }
//}
//set the row style
$c = 0;
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
//show the content
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'>\n";
@@ -175,46 +223,85 @@ else {
echo "</tr>\n";
echo "</table>\n";
$c = 0;
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
echo "<form method='post' name='frm' action=''>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<table width='100%' border='0' cellpadding='2' cellspacing='2'>\n";
echo "<tr>\n";
echo "<th>".$text['label-agent']."</th>\n";
echo "<th>".$text['label-status']."</th>\n";
echo "<th>".$text['label-options']."</th>\n";
echo " <th>".$text['label-agent']."</th>\n";
echo " <th>".$text['label-status']."</th>\n";
echo " <th>".$text['label-options']."</th>\n";
echo " <th>".$text['label-queues']."</th>\n";
echo "</tr>\n";
$x = 0;
foreach($agents as $row) {
$str = '';
$str .= "<tr>\n";
$str .= " <td valign='middle' class='".$row_style[$c]."'>".$row['agent_name']."&nbsp;</td>\n";
$str .= " <td valign='middle' class='".$row_style[$c]."'>".$row['agent_status']."&nbsp;</td>\n";
$str .= " <td valign='middle' class='".$row_style[$c]."'>";
$str .= " <input type='hidden' name='agents[".$x."][agent_name]' id='agent_".$x."_name' value='".$row['agent_name']."'>\n";
$str .= " <input type='hidden' name='agents[".$x."][id]' id='agent_".$x."_name' value='".$row['call_center_agent_uuid']."'>\n";
$str .= " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_no_change' value='' checked='checked'><label for='agent_".$x."_status_no_change'>".$text['option-no_change']."</label>\n";
$str .= " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_available' value='Available'><label for='agent_".$x."_status_available'>".$text['option-available']."</label>\n";
$str .= " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_logged_out' value='Logged Out'><label for='agent_".$x."_status_logged_out'>".$text['option-logged_out']."</label>\n";
$str .= " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_on_break' value='On Break'><label for='agent_".$x."_status_on_break'>".$text['option-on_break']."</label>\n";
//$str .= " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_dnd' value='Do Not Disturb'><label for='agent_".$x."_status_dnd'>".$text['option-do_not_disturb']."</label>\n";
$str .= " </td>\n";
$str .= "</tr>\n";
$html = "<tr>\n";
$html .= " <td valign='top' class='".$row_style[$c]."'>".$row['agent_name']."&nbsp;</td>\n";
//$html .= " <td valign='top' class='".$row_style[$c]."'>".$row['agent_name']."&nbsp;</td>\n";
$html .= " <td valign='top' class='".$row_style[$c]."'>".$row['agent_status']."&nbsp;</td>\n";
$html .= " <td valign='top' class='".$row_style[$c]."' nowrap='nowrap'>";
$html .= " <input type='hidden' name='agents[".$x."][agent_name]' id='agent_".$x."_name' value='".$row['agent_name']."'>\n";
$html .= " <input type='hidden' name='agents[".$x."][agent_uuid]' id='agent_".$x."_uuid' value='".$row['call_center_agent_uuid']."'>\n";
//$html .= " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_no_change' value='' checked='checked'>&nbsp;<label for='agent_".$x."_status_no_change'>".$text['option-no_change']."</label>&nbsp;\n";
$html .= " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_available' value='Available'>&nbsp;<label for='agent_".$x."_status_available'>".$text['option-available']."</label>&nbsp;\n";
$html .= " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_logged_out' value='Logged Out'>&nbsp;<label for='agent_".$x."_status_logged_out'>".$text['option-logged_out']."</label>&nbsp;\n";
$html .= " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_on_break' value='On Break'>&nbsp;<label for='agent_".$x."_status_on_break'>".$text['option-on_break']."</label>&nbsp;\n";
//$html .= " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_dnd' value='Do Not Disturb'><label for='agent_".$x."_status_dnd'>&nbsp;".$text['option-do_not_disturb']."</label>\n";
$html .= " </td>\n";
$html .= " <td valign='top' class='".$row_style[$c]."' nowrap='nowrap'>";
if (is_array($row['queues']) && $per_queue_login) {
$html .= " <table width='100%' border='0' cellpadding='2' cellspacing='2'>\n";
$html .= " <tr>\n";
$html .= " <th>".$text['label-agent']."</th>\n";
$html .= " <th width='100'>".$text['label-status']."</th>\n";
$html .= " <th>".$text['label-options']."</th>\n";
$html .= " </tr>\n";
foreach ($row['queues'] as $queue) {
$x++;
$html .= " <tr>\n";
$html .= " <td valign='top' class='".$row_style[$c]."'>\n";
$html .= " ".$queue['queue_name']."\n";
$html .= " </td>\n";
$html .= " <td valign='top' class='".$row_style[$c]."'>\n";
//.$row[queue_status]."&nbsp;
if ($queue['queue_status'] == "Available") {
$html .= " ".$text['option-available']."\n";
}
if ($queue['queue_status'] == "Logged Out") {
$html .= " ".$text['option-logged_out']."\n";
}
$html .= " </td>\n";
$html .= " <td valign='middle' class='".$row_style[$c]."' nowrap='nowrap'>";
//$html .= " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_no_change' value='' checked='checked'>&nbsp;<label for='agent_".$x."_status_no_change'>".$text['option-no_change']."</label>&nbsp;\n";
$html .= " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_available' value='Available'>&nbsp;<label for='agent_".$x."_status_available'>".$text['option-available']."</label>&nbsp;\n";
$html .= " <input type='radio' name='agents[".$x."][agent_status]' id='agent_".$x."_status_logged_out' value='Logged Out'>&nbsp;<label for='agent_".$x."_status_logged_out'>".$text['option-logged_out']."</label>&nbsp;\n";
$html .= " <input type='hidden' name='agents[".$x."][queue_name]' id='queue_".$x."_name' value='".$queue['queue_name']."'>\n";
$html .= " <input type='hidden' name='agents[".$x."][agent_name]' id='agent_".$x."_name' value='".$row['agent_name']."'>\n";
$html .= " <input type='hidden' name='agents[".$x."][user_uuid]' id='agent_".$x."_name' value='".$row['user_uuid']."'>\n";
$html .= " <input type='hidden' name='agents[".$x."][queue_uuid]' id='queue_".$x."_uuid' value='".$queue['call_center_queue_uuid']."'>\n";
$html .= " <input type='hidden' name='agents[".$x."][agent_uuid]' id='agent_".$x."_uuid' value='".$row['call_center_agent_uuid']."'>\n";
$html .= " </td>\n";
$html .= " </tr>\n";
}
$html .= " </table>\n";
}
$html .= " </td>\n";
$html .= "</tr>\n";
if (count($_SESSION['domains']) > 1) {
if ($row['domain_name'] == $_SESSION['domain_name']) {
echo $str;
echo $html;
if ($c==0) { $c=1; } else { $c=0; }
}
}
else {
echo $str;
echo $html;
if ($c==0) { $c=1; } else { $c=0; }
}
$x++;
} //end foreach
unset($sql, $result, $row_count);
unset($sql, $agents);
echo "<tr>\n";
echo "<td colspan='11' align='left'>\n";
@@ -224,7 +311,7 @@ else {
echo " <td width='33.3%' align='center' nowrap>$paging_controls</td>\n";
echo " <td width='33.3%' align='right'>\n";
echo " <br />\n";
echo " <input type='submit' name='submit' class='btn' value='".$text['button-update_status']."'>\n";
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
echo " </td>\n";
echo " </tr>\n";
echo " </table>\n";
@@ -238,4 +325,4 @@ else {
//show the footer
require_once "resources/footer.php";
?>
?>
+19 -14
View File
@@ -17,22 +17,26 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2012
Portions created by the Initial Developer are Copyright (C) 2008-2016
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('call_center_queue_delete')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('call_center_queue_delete')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
@@ -60,7 +64,7 @@ else {
//delete the tier from the database
$sql = "delete from v_call_center_tiers ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and queue_name = '$queue_name' ";
$sql .= "and (call_center_queue_uuid = '$id' or queue_name = '".$queue_name."@".$_SESSION['domain_name']."') ";
$db->query($sql);
unset($sql);
@@ -99,7 +103,8 @@ else {
}
//redirect the browser
$_SESSION["message"] = $text['message-delete'];
messages::add($text['message-delete']);
header("Location: call_center_queues.php");
return;
?>
?>
+340 -371
View File
@@ -17,23 +17,27 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2015
Portions created by the Initial Developer are Copyright (C) 2008-2018
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
*/
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('call_center_queue_add') || permission_exists('call_center_queue_edit')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('call_center_queue_add') || permission_exists('call_center_queue_edit')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
@@ -51,7 +55,8 @@ else {
//get total call center queues count from the database, check limit, if defined
if ($action == 'add') {
if ($_SESSION['limit']['call_center_queues']['numeric'] != '') {
$sql = "select count(*) as num_rows from v_call_center_queues where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql = "select count(*) as num_rows from v_call_center_queues ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$prep_statement = $db->prepare($sql);
if ($prep_statement) {
$prep_statement->execute();
@@ -60,8 +65,7 @@ else {
}
unset($prep_statement, $row);
if ($total_call_center_queues >= $_SESSION['limit']['call_center_queues']['numeric']) {
$_SESSION['message_mood'] = 'negative';
$_SESSION['message'] = $text['message-maximum_queues'].' '.$_SESSION['limit']['call_center_queues']['numeric'];
messages::add($text['message-maximum_queues'].' '.$_SESSION['limit']['call_center_queues']['numeric'], 'negative');
header('Location: call_center_queues.php');
return;
}
@@ -69,9 +73,10 @@ else {
}
//get http post variables and set them to php variables
if (count($_POST) > 0) {
if (is_array($_POST)) {
//get the post variables a run a security chack on them
//$domain_uuid = check_str($_POST["domain_uuid"]);
$dialplan_uuid = check_str($_POST["dialplan_uuid"]);
$queue_name = check_str($_POST["queue_name"]);
$queue_extension = check_str($_POST["queue_extension"]);
$queue_strategy = check_str($_POST["queue_strategy"]);
@@ -91,11 +96,9 @@ else {
$queue_cid_prefix = check_str($_POST["queue_cid_prefix"]);
$queue_announce_sound = check_str($_POST["queue_announce_sound"]);
$queue_announce_frequency = check_str($_POST["queue_announce_frequency"]);
$queue_cc_exit_keys = check_str($_POST["queue_cc_exit_keys"]);
$queue_description = check_str($_POST["queue_description"]);
//replace the space in the queue name with a dash
$queue_name = str_replace(" ", "-", $queue_name);
//remove invalid characters
$queue_cid_prefix = str_replace(":", "-", $queue_cid_prefix);
$queue_cid_prefix = str_replace("\"", "", $queue_cid_prefix);
@@ -105,252 +108,209 @@ else {
}
//delete the tier (agent from the queue)
if ($_REQUEST["delete_type"] == "tier" && strlen($_REQUEST["delete_uuid"]) > 0 && permission_exists("call_center_tier_delete")) {
if ($_REQUEST["a"] == "delete" && strlen($_REQUEST["id"]) > 0 && permission_exists("call_center_tier_delete")) {
//set the variables
$call_center_queue_uuid = check_str($_REQUEST["id"]);
$tier_uuid = check_str($_REQUEST["delete_uuid"]);
$call_center_tier_uuid = check_str($_REQUEST["call_center_tier_uuid"]);
//get the agent details
$sql = "
select
agent_name,
queue_name
from
v_call_center_tiers
where
domain_uuid = '".$_SESSION['domain_uuid']."' and
call_center_tier_uuid = '".$tier_uuid."'
";
$sql = "select agent_name, queue_name, call_center_agent_uuid, call_center_queue_uuid ";
$sql .= "from v_call_center_tiers ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "and call_center_tier_uuid = '".$call_center_tier_uuid."' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
foreach ($result as &$row) {
$agent_name = $row["agent_name"];
$queue_name = $row["queue_name"];
break; //limit to 1 row
$tiers = $prep_statement->fetchAll(PDO::FETCH_NAMED);
if (is_array($tiers)) {
foreach ($tiers as &$row) {
$call_center_agent_uuid = $row["call_center_agent_uuid"];
$call_center_queue_uuid = $row["call_center_queue_uuid"];
}
}
unset ($prep_statement);
//delete the agent from freeswitch
//get the domain using the $_SESSION['domain_uuid']
$tmp_domain = $_SESSION['domains'][$_SESSION['domain_uuid']]['domain_name'];
//setup the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
//delete the agent over event socket
if ($fp) {
//callcenter_config tier del [queue_name] [agent_name]
$cmd = "api callcenter_config tier del ".$queue_name."@".$tmp_domain." ".$agent_name."@".$_SESSION['domains'][$_SESSION['domain_uuid']]['domain_name'];
$cmd = "api callcenter_config tier del ".$call_center_queue_uuid." ".$call_center_agent_uuid;
$response = event_socket_request($fp, $cmd);
}
//delete the tier from the database
if (strlen($tier_uuid)>0) {
$sql = "delete from v_call_center_tiers where domain_uuid = '".$_SESSION['domain_uuid']."' and call_center_tier_uuid = '".$tier_uuid."'";
if (strlen($call_center_tier_uuid) > 0) {
$sql = "delete from v_call_center_tiers where domain_uuid = '".$_SESSION['domain_uuid']."' and call_center_tier_uuid = '".$call_center_tier_uuid."'";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
unset($sql);
}
}
if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//process the user data and save it to the database
if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
$msg = '';
if ($action == "update") {
$call_center_queue_uuid = check_str($_POST["call_center_queue_uuid"]);
}
//get the uuid from the POST
if ($action == "update") {
$call_center_queue_uuid = check_str($_POST["call_center_queue_uuid"]);
}
//check for all required data
$msg = '';
//if (strlen($domain_uuid) == 0) { $msg .= $text['message-required']."domain_uuid<br>\n"; }
if (strlen($queue_name) == 0) { $msg .= $text['message-required'].$text['label-queue_name']."<br>\n"; }
if (strlen($queue_extension) == 0) { $msg .= $text['message-required'].$text['label-extension']."<br>\n"; }
if (strlen($queue_strategy) == 0) { $msg .= $text['message-required'].$text['label-strategy']."<br>\n"; }
//if (strlen($queue_moh_sound) == 0) { $msg .= $text['message-required'].$text['label-music_on_hold']."<br>\n"; }
//if (strlen($queue_record_template) == 0) { $msg .= $text['message-required'].$text['label-record_template']."<br>\n"; }
//if (strlen($queue_time_base_score) == 0) { $msg .= $text['message-required'].$text['label-time_base_score']."<br>\n"; }
//if (strlen($queue_max_wait_time) == 0) { $msg .= $text['message-required'].$text['label-max_wait_time']."<br>\n"; }
//if (strlen($queue_max_wait_time_with_no_agent) == 0) { $msg .= $text['message-required'].$text['label-max_wait_time_with_no_agent']."<br>\n"; }
//if (strlen($queue_max_wait_time_with_no_agent_time_reached) == 0) { $msg .= $text['message-required'].$text['label-max_wait_time_with_no_agent_time_reached']."<br>\n"; }
//if (strlen($queue_tier_rules_apply) == 0) { $msg .= $text['message-required'].$text['label-tier_rules_apply']."<br>\n"; }
//if (strlen($queue_tier_rule_wait_second) == 0) { $msg .= $text['message-required'].$text['label-tier_rule_wait_second']."<br>\n"; }
//if (strlen($queue_tier_rule_wait_multiply_level) == 0) { $msg .= $text['message-required'].$text['label-tier_rule_wait_multiply_level']."<br>\n"; }
//if (strlen($queue_tier_rule_no_agent_no_wait) == 0) { $msg .= $text['message-required'].$text['label-tier_rule_no_agent_no_wait']."<br>\n"; }
//if (strlen($queue_timeout_action) == 0) { $msg .= $text['message-required'].$text['label-timeout_action']."<br>\n"; }
//if (strlen($queue_discard_abandoned_after) == 0) { $msg .= $text['message-required'].$text['label-discard_abandoned_after']."<br>\n"; }
//if (strlen($queue_abandoned_resume_allowed) == 0) { $msg .= $text['message-required'].$text['label-abandoned_resume_allowed']."<br>\n"; }
//if (strlen($queue_cid_prefix) == 0) { $msg .= $text['message-required'].$text['label-caller_id_name_prefix']."<br>\n"; }
//if (strlen($queue_description) == 0) { $msg .= $text['message-required'].$text['label-description']."<br>\n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
require_once "resources/header.php";
require_once "resources/persist_form_var.php";
echo "<div align='center'>\n";
echo "<table><tr><td>\n";
echo $msg."<br />";
echo "</td></tr></table>\n";
persistformvar($_POST);
echo "</div>\n";
require_once "resources/footer.php";
return;
}
//check for all required data
//if (strlen($domain_uuid) == 0) { $msg .= $text['message-required']."domain_uuid<br>\n"; }
if (strlen($queue_name) == 0) { $msg .= $text['message-required'].$text['label-queue_name']."<br>\n"; }
if (strlen($queue_extension) == 0) { $msg .= $text['message-required'].$text['label-extension']."<br>\n"; }
if (strlen($queue_strategy) == 0) { $msg .= $text['message-required'].$text['label-strategy']."<br>\n"; }
//if (strlen($queue_moh_sound) == 0) { $msg .= $text['message-required'].$text['label-music_on_hold']."<br>\n"; }
//if (strlen($queue_record_template) == 0) { $msg .= $text['message-required'].$text['label-record_template']."<br>\n"; }
//if (strlen($queue_time_base_score) == 0) { $msg .= $text['message-required'].$text['label-time_base_score']."<br>\n"; }
//if (strlen($queue_max_wait_time) == 0) { $msg .= $text['message-required'].$text['label-max_wait_time']."<br>\n"; }
//if (strlen($queue_max_wait_time_with_no_agent) == 0) { $msg .= $text['message-required'].$text['label-max_wait_time_with_no_agent']."<br>\n"; }
//if (strlen($queue_max_wait_time_with_no_agent_time_reached) == 0) { $msg .= $text['message-required'].$text['label-max_wait_time_with_no_agent_time_reached']."<br>\n"; }
//if (strlen($queue_tier_rules_apply) == 0) { $msg .= $text['message-required'].$text['label-tier_rules_apply']."<br>\n"; }
//if (strlen($queue_tier_rule_wait_second) == 0) { $msg .= $text['message-required'].$text['label-tier_rule_wait_second']."<br>\n"; }
//if (strlen($queue_tier_rule_wait_multiply_level) == 0) { $msg .= $text['message-required'].$text['label-tier_rule_wait_multiply_level']."<br>\n"; }
//if (strlen($queue_tier_rule_no_agent_no_wait) == 0) { $msg .= $text['message-required'].$text['label-tier_rule_no_agent_no_wait']."<br>\n"; }
//if (strlen($queue_timeout_action) == 0) { $msg .= $text['message-required'].$text['label-timeout_action']."<br>\n"; }
//if (strlen($queue_discard_abandoned_after) == 0) { $msg .= $text['message-required'].$text['label-discard_abandoned_after']."<br>\n"; }
//if (strlen($queue_abandoned_resume_allowed) == 0) { $msg .= $text['message-required'].$text['label-abandoned_resume_allowed']."<br>\n"; }
//if (strlen($queue_cid_prefix) == 0) { $msg .= $text['message-required'].$text['label-caller_id_name_prefix']."<br>\n"; }
//if (strlen($queue_description) == 0) { $msg .= $text['message-required'].$text['label-description']."<br>\n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
require_once "resources/header.php";
require_once "resources/persist_form_var.php";
echo "<div align='center'>\n";
echo "<table><tr><td>\n";
echo $msg."<br />";
echo "</td></tr></table>\n";
persistformvar($_POST);
echo "</div>\n";
require_once "resources/footer.php";
return;
}
//set the domain_uuid
$_POST["domain_uuid"] = $_SESSION["domain_uuid"];
//add or update the database
if ($_POST["persistformvar"] != "true") {
if ($action == "add") {
//add the call center queue
//add the call_center_queue_uuid
if (strlen($_POST["call_center_queue_uuid"]) == 0) {
$call_center_queue_uuid = uuid();
$sql = "insert into v_call_center_queues ";
$sql .= "(";
$sql .= "domain_uuid, ";
$sql .= "call_center_queue_uuid, ";
$sql .= "queue_name, ";
$sql .= "queue_extension, ";
$sql .= "queue_strategy, ";
$sql .= "queue_moh_sound, ";
$sql .= "queue_record_template, ";
$sql .= "queue_time_base_score, ";
$sql .= "queue_max_wait_time, ";
$sql .= "queue_max_wait_time_with_no_agent, ";
$sql .= "queue_max_wait_time_with_no_agent_time_reached, ";
$sql .= "queue_tier_rules_apply, ";
$sql .= "queue_tier_rule_wait_second, ";
$sql .= "queue_tier_rule_wait_multiply_level, ";
$sql .= "queue_tier_rule_no_agent_no_wait, ";
$sql .= "queue_timeout_action, ";
$sql .= "queue_discard_abandoned_after, ";
$sql .= "queue_abandoned_resume_allowed, ";
$sql .= "queue_cid_prefix, ";
if (strlen($queue_announce_sound) > 0) {
$sql .= "queue_announce_sound, ";
$_POST["call_center_queue_uuid"] = $call_center_queue_uuid;
}
//add the dialplan_uuid
if (strlen($_POST["dialplan_uuid"]) == 0) {
$dialplan_uuid = uuid();
$_POST["dialplan_uuid"] = $dialplan_uuid;
}
//update the call centier tiers array
$x = 0;
foreach ($_POST["call_center_tiers"] as $row) {
//add the domain_uuid
if (strlen($row["domain_uuid"]) == 0) {
$_POST["call_center_tiers"][$x]["domain_uuid"] = $_SESSION['domain_uuid'];
}
//unset ring_group_destination_uuid if the field has no value
if (strlen($row["call_center_agent_uuid"]) == 0) {
unset($_POST["call_center_tiers"][$x]);
}
//increment the row
$x++;
}
//get the application and data
$action_array = explode(":",$queue_timeout_action);
$queue_timeout_application = $action_array[0];
$queue_timeout_data = substr($queue_timeout_action, strlen($action_array[0])+1, strlen($queue_timeout_application));
//build the xml dialplan
$dialplan_xml = "<extension name=\"".$queue_name."\" continue=\"\" uuid=\"".$dialplan_uuid."\">\n";
$dialplan_xml .= " <condition field=\"destination_number\" expression=\"^([^#]+#)(.*)\$\" break=\"never\">\n";
$dialplan_xml .= " <action application=\"set\" data=\"caller_id_name=\$2\"/>\n";
$dialplan_xml .= " </condition>\n";
$dialplan_xml .= " <condition field=\"destination_number\" expression=\"^".$queue_extension."$\">\n";
$dialplan_xml .= " <action application=\"answer\" data=\"\"/>\n";
$dialplan_xml .= " <action application=\"set\" data=\"hangup_after_bridge=true\"/>\n";
if (strlen($queue_cid_prefix) > 0) {
$dialplan_xml .= " <action application=\"set\" data=\"effective_caller_id_name=".$queue_cid_prefix."#\${caller_id_name}\"/>\n";
}
if (strlen($queue_cc_exit_keys) > 0) {
$dialplan_xml .= " <action application=\"set\" data=\"cc_exit_keys=".$queue_cc_exit_keys."\"/>\n";
}
$dialplan_xml .= " <action application=\"callcenter\" data=\"".$call_center_queue_uuid."\"/>\n";
$dialplan_xml .= " <action application=\"".$queue_timeout_application."\" data=\"".$queue_timeout_data."\"/>\n";
$dialplan_xml .= " </condition>\n";
$dialplan_xml .= "</extension>\n";
//build the dialplan array
$dialplan["domain_uuid"] = $_SESSION['domain_uuid'];
$dialplan["dialplan_uuid"] = $dialplan_uuid;
$dialplan["dialplan_name"] = $queue_name;
$dialplan["dialplan_number"] = $queue_extension;
$dialplan["dialplan_context"] = $_SESSION['context'];
$dialplan["dialplan_continue"] = "false";
$dialplan["dialplan_xml"] = $dialplan_xml;
$dialplan["dialplan_order"] = "230";
$dialplan["dialplan_enabled"] = "true";
$dialplan["dialplan_description"] = $queue_description;
$dialplan["app_uuid"] = "95788e50-9500-079e-2807-fd530b0ea370";
//prepare the array
$array['call_center_queues'][] = $_POST;
$array['dialplans'][] = $dialplan;
//add the dialplan permission
$p = new permissions;
$p->add("dialplan_add", "temp");
$p->add("dialplan_edit", "temp");
//save to the data
$database = new database;
$database->app_name = 'call_centers';
$database->app_uuid = '95788e50-9500-079e-2807-fd530b0ea370';
$database->save($array);
$message = $database->message;
//remove the temporary permission
$p->delete("dialplan_add", "temp");
$p->delete("dialplan_edit", "temp");
//debug info
//echo "<pre>". print_r($message, true) ."</pre>"; exit;
//save the xml
save_dialplan_xml();
//apply settings reminder
$_SESSION["reload_xml"] = true;
//clear the cache
$cache = new cache;
$cache->delete("dialplan:".$_SESSION["context"]);
//redirect the user
if (isset($action)) {
if ($action == "add") {
messages::add($text['message-add']);
}
if (strlen($queue_announce_frequency) > 0) {
$sql .= "queue_announce_frequency, ";
if ($action == "update") {
messages::add($text['message-update']);
}
$sql .= "queue_description ";
$sql .= ")";
$sql .= "values ";
$sql .= "(";
$sql .= "'".$_SESSION['domain_uuid']."', ";
$sql .= "'$call_center_queue_uuid', ";
$sql .= "'$queue_name', ";
$sql .= "'$queue_extension', ";
$sql .= "'$queue_strategy', ";
$sql .= "'$queue_moh_sound', ";
$sql .= "'$queue_record_template', ";
$sql .= "'$queue_time_base_score', ";
$sql .= "'$queue_max_wait_time', ";
$sql .= "'$queue_max_wait_time_with_no_agent', ";
$sql .= "'$queue_max_wait_time_with_no_agent_time_reached', ";
$sql .= "'$queue_tier_rules_apply', ";
$sql .= "'$queue_tier_rule_wait_second', ";
$sql .= "'$queue_tier_rule_wait_multiply_level', ";
$sql .= "'$queue_tier_rule_no_agent_no_wait', ";
$sql .= "'$queue_timeout_action', ";
$sql .= "'$queue_discard_abandoned_after', ";
$sql .= "'$queue_abandoned_resume_allowed', ";
$sql .= "'$queue_cid_prefix', ";
if (strlen($queue_announce_sound) > 0) {
$sql .= "'$queue_announce_sound', ";
}
if (strlen($queue_announce_frequency) > 0) {
$sql .= "'$queue_announce_frequency', ";
}
$sql .= "'$queue_description' ";
$sql .= ")";
$db->exec(check_sql($sql));
unset($sql);
}
//synchronize the configuration
save_call_center_xml();
remove_config_from_cache('configuration:callcenter.conf');
//synchronize the configuration
save_call_center_xml();
remove_config_from_cache('configuration:callcenter.conf');
//delete the dialplan context from memcache
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp) {
$switch_cmd = "memcache delete dialplan:".$_SESSION["context"]."@".$_SESSION['domain_name'];
$switch_result = event_socket_request($fp, 'api '.$switch_cmd);
}
//add agent/tier to queue
$agent_name = check_str($_POST["agent_name"]);
$tier_level = check_str($_POST["tier_level"]);
$tier_position = check_str($_POST["tier_position"]);
//set the message
$_SESSION["message"] = $text['message-add'];
} //if ($action == "add")
if ($action == "update") {
//update the call center queue
$sql = "update v_call_center_queues set ";
$sql .= "queue_name = '$queue_name', ";
$sql .= "queue_extension = '$queue_extension', ";
$sql .= "queue_strategy = '$queue_strategy', ";
$sql .= "queue_moh_sound = '$queue_moh_sound', ";
$sql .= "queue_record_template = '$queue_record_template', ";
$sql .= "queue_time_base_score = '$queue_time_base_score', ";
$sql .= "queue_max_wait_time = '$queue_max_wait_time', ";
$sql .= "queue_max_wait_time_with_no_agent = '$queue_max_wait_time_with_no_agent', ";
$sql .= "queue_max_wait_time_with_no_agent_time_reached = '$queue_max_wait_time_with_no_agent_time_reached', ";
$sql .= "queue_tier_rules_apply = '$queue_tier_rules_apply', ";
$sql .= "queue_tier_rule_wait_second = '$queue_tier_rule_wait_second', ";
$sql .= "queue_tier_rule_wait_multiply_level = '$queue_tier_rule_wait_multiply_level', ";
$sql .= "queue_tier_rule_no_agent_no_wait = '$queue_tier_rule_no_agent_no_wait', ";
$sql .= "queue_timeout_action = '$queue_timeout_action', ";
$sql .= "queue_discard_abandoned_after = '$queue_discard_abandoned_after', ";
$sql .= "queue_abandoned_resume_allowed = '$queue_abandoned_resume_allowed', ";
$sql .= "queue_cid_prefix = '$queue_cid_prefix', ";
$sql .= "queue_announce_sound = '$queue_announce_sound', ";
if (strlen($queue_announce_frequency) > 0) {
$sql .= "queue_announce_frequency = '$queue_announce_frequency', ";
}
$sql .= "queue_description = '$queue_description' ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "and call_center_queue_uuid = '$call_center_queue_uuid'";
$db->exec(check_sql($sql));
unset($sql);
//get the dialplan_uuid
$sql = "select * from v_call_center_queues ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "and call_center_queue_uuid = '$call_center_queue_uuid' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
foreach ($result as &$row) {
$dialplan_uuid = $row["dialplan_uuid"];
}
unset ($prep_statement);
//synchronize the configuration
save_call_center_xml();
remove_config_from_cache('configuration:callcenter.conf');
//clear the cache
$cache = new cache;
$cache->delete("dialplan:".$_SESSION["context"]);
//set the update message
$_SESSION["message"] = $text['message-update'];
} //if ($action == "update")
//dialplan add or update
$c = new call_center;
$c->db = $db;
$c->domain_uuid = $_SESSION['domain_uuid'];
$c->call_center_queue_uuid = $call_center_queue_uuid;
$c->dialplan_uuid = $dialplan_uuid;
$c->queue_name = $queue_name;
$c->queue_name = $queue_name;
$c->queue_cid_prefix = $queue_cid_prefix;
$c->queue_timeout_action = $queue_timeout_action;
$c->queue_description = $queue_description;
$c->destination_number = $queue_extension;
$a = $c->dialplan();
//add agent/tier to queue
$agent_name = check_str($_POST["agent_name"]);
$tier_level = check_str($_POST["tier_level"]);
$tier_position = check_str($_POST["tier_position"]);
if ($agent_name != '') {
//add the agent
if ($agent_name != '') {
//setup the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
//add the agent using event socket
if ($fp) {
//get the domain using the $domain_uuid
$tmp_domain = $_SESSION['domains'][$domain_uuid]['domain_name'];
/* syntax:
callcenter_config tier add [queue_name] [agent_name] [level] [position]
callcenter_config tier set state [queue_name] [agent_name] [state]
@@ -358,94 +318,111 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
callcenter_config tier set position [queue_name] [agent_name] [position]
*/
//add the agent
$cmd = "api callcenter_config tier add ".$queue_name."@".$tmp_domain." ".$agent_name."@".$tmp_domain." ".$tier_level." ".$tier_position;
$cmd = "api callcenter_config tier add ".$call_center_queue_uuid." ".$call_center_agent_uuid." ".$tier_level." ".$tier_position;
$response = event_socket_request($fp, $cmd);
usleep(200);
//agent set level
$cmd = "api callcenter_config tier set level ".$queue_name."@".$tmp_domain." ".$agent_name."@".$tmp_domain." ".$tier_level;
$cmd = "api callcenter_config tier set level ".$call_center_queue_uuid." ".$call_center_agent_uuid." ".$tier_level;
$response = event_socket_request($fp, $cmd);
usleep(200);
//agent set position
$cmd = "api callcenter_config tier set position ".$queue_name."@".$tmp_domain." ".$agent_name."@".$tmp_domain." ".$tier_position;
$cmd = "api callcenter_config tier set position ".$call_center_queue_uuid." ".$call_center_agent_uuid." ".$tier_position;
$response = event_socket_request($fp, $cmd);
usleep(200);
}
}
//add tier to database
$call_center_tier_uuid = uuid();
$sql = "insert into v_call_center_tiers ";
$sql .= "(";
$sql .= "domain_uuid, ";
$sql .= "call_center_tier_uuid, ";
$sql .= "agent_name, ";
$sql .= "queue_name, ";
$sql .= "tier_level, ";
$sql .= "tier_position ";
$sql .= ")";
$sql .= "values ";
$sql .= "(";
$sql .= "'".$_SESSION['domain_uuid']."', ";
$sql .= "'$call_center_tier_uuid', ";
$sql .= "'$agent_name', ";
$sql .= "'$queue_name', ";
$sql .= "'$tier_level', ";
$sql .= "'$tier_position' ";
$sql .= ")";
$db->exec(check_sql($sql));
unset($sql);
//syncrhonize configuration
save_call_center_xml();
//syncrhonize configuration
save_call_center_xml();
remove_config_from_cache('configuration:callcenter.conf');
}
//remove the cache
remove_config_from_cache('configuration:callcenter.conf');
//redirect
header("Location: call_center_queue_edit.php?id=".$call_center_queue_uuid);
return;
//redirect the user
header("Location: call_center_queue_edit.php?id=".$call_center_queue_uuid);
return;
} //if ($_POST["persistformvar"] != "true")
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
//initialize the destinations object
$destination = new destinations;
//pre-populate the form
if (count($_GET)>0 && $_POST["persistformvar"] != "true") {
if (is_array($_GET) && is_uuid($_GET["id"]) && $_POST["persistformvar"] != "true") {
$call_center_queue_uuid = $_GET["id"];
$sql = "select * from v_call_center_queues ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "and call_center_queue_uuid = '$call_center_queue_uuid' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
foreach ($result as &$row) {
$queue_name = $row["queue_name"];
$database_queue_name = $row["queue_name"];
$queue_extension = $row["queue_extension"];
$queue_strategy = $row["queue_strategy"];
$queue_moh_sound = $row["queue_moh_sound"];
$queue_record_template = $row["queue_record_template"];
$queue_time_base_score = $row["queue_time_base_score"];
$queue_max_wait_time = $row["queue_max_wait_time"];
$queue_max_wait_time_with_no_agent = $row["queue_max_wait_time_with_no_agent"];
$queue_max_wait_time_with_no_agent_time_reached = $row["queue_max_wait_time_with_no_agent_time_reached"];
$queue_timeout_action = $row["queue_timeout_action"];
$queue_tier_rules_apply = $row["queue_tier_rules_apply"];
$queue_tier_rule_wait_second = $row["queue_tier_rule_wait_second"];
$queue_tier_rule_wait_multiply_level = $row["queue_tier_rule_wait_multiply_level"];
$queue_tier_rule_no_agent_no_wait = $row["queue_tier_rule_no_agent_no_wait"];
$queue_discard_abandoned_after = $row["queue_discard_abandoned_after"];
$queue_abandoned_resume_allowed = $row["queue_abandoned_resume_allowed"];
$queue_cid_prefix = $row["queue_cid_prefix"];
$queue_announce_sound = $row["queue_announce_sound"];
$queue_announce_frequency = $row["queue_announce_frequency"];
$queue_description = $row["queue_description"];
$call_center_queues = $prep_statement->fetchAll(PDO::FETCH_NAMED);
if (is_array($call_center_queues)) {
foreach ($call_center_queues as &$row) {
$queue_name = $row["queue_name"];
$dialplan_uuid = $row["dialplan_uuid"];
$database_queue_name = $row["queue_name"];
$queue_extension = $row["queue_extension"];
$queue_strategy = $row["queue_strategy"];
$queue_moh_sound = $row["queue_moh_sound"];
$queue_record_template = $row["queue_record_template"];
$queue_time_base_score = $row["queue_time_base_score"];
$queue_max_wait_time = $row["queue_max_wait_time"];
$queue_max_wait_time_with_no_agent = $row["queue_max_wait_time_with_no_agent"];
$queue_max_wait_time_with_no_agent_time_reached = $row["queue_max_wait_time_with_no_agent_time_reached"];
$queue_timeout_action = $row["queue_timeout_action"];
$queue_tier_rules_apply = $row["queue_tier_rules_apply"];
$queue_tier_rule_wait_second = $row["queue_tier_rule_wait_second"];
$queue_tier_rule_wait_multiply_level = $row["queue_tier_rule_wait_multiply_level"];
$queue_tier_rule_no_agent_no_wait = $row["queue_tier_rule_no_agent_no_wait"];
$queue_discard_abandoned_after = $row["queue_discard_abandoned_after"];
$queue_abandoned_resume_allowed = $row["queue_abandoned_resume_allowed"];
$queue_cid_prefix = $row["queue_cid_prefix"];
$queue_announce_sound = $row["queue_announce_sound"];
$queue_announce_frequency = $row["queue_announce_frequency"];
$queue_cc_exit_keys = $row["queue_cc_exit_keys"];
$queue_description = $row["queue_description"];
}
}
unset ($prep_statement);
}
//replace the dash in the queue name with a space
$queue_name = str_replace("-", " ", $queue_name);
//get the tiers
$sql = "select t.call_center_tier_uuid, t.call_center_agent_uuid, t.call_center_queue_uuid, t.tier_level, t.tier_position, a.agent_name ";
$sql .= "from v_call_center_tiers as t, v_call_center_agents as a ";
$sql .= "where t.call_center_queue_uuid = '".$call_center_queue_uuid."' ";
$sql .= "and t.call_center_agent_uuid = a.call_center_agent_uuid ";
$sql .= "and t.domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "order by tier_level asc, tier_position asc, agent_name asc";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$tiers = $prep_statement->fetchAll(PDO::FETCH_NAMED);
//add an empty row to the tiers array
if (count($tiers) == 0) {
$rows = $_SESSION['call_center']['agent_add_rows']['numeric'];
$id = 0;
}
if (count($tiers) > 0) {
$rows = $_SESSION['call_center']['agent_edit_rows']['numeric'];
$id = count($tiers)+1;
}
for ($x = 0; $x < $rows; $x++) {
$tiers[$id]['call_center_tier_uuid'] = uuid();
$tiers[$id]['call_center_agent_uuid'] = '';
$tiers[$id]['call_center_queue_uuid'] = $call_center_queue_uuid;
$tiers[$id]['tier_level'] = '';
$tiers[$id]['tier_position'] = '';
$tiers[$id]['agent_name'] = '';
$id++;
}
//get the agents
$sql = "select call_center_agent_uuid, agent_name from v_call_center_agents ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "order by agent_name asc";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$agents = $prep_statement->fetchAll(PDO::FETCH_NAMED);
//set default values
if (strlen($queue_strategy) == 0) { $queue_strategy = "longest-idle-agent"; }
@@ -484,10 +461,13 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='call_center_queues.php'\" value='".$text['button-back']."'>\n";
if ($action == "update") {
echo " &nbsp;&nbsp;&nbsp;";
echo " <input type='button' class='btn' value='".$text['button-stop']."' onclick=\"document.location.href='cmd.php?cmd=api+callcenter_config+queue+unload+".$database_queue_name."@".$_SESSION['domain_name']."';\" />\n";
echo " <input type='button' class='btn' value='".$text['button-start']."' onclick=\"document.location.href='cmd.php?cmd=api+callcenter_config+queue+load+".$database_queue_name."@".$_SESSION['domain_name']."';\" />\n";
echo " <input type='button' class='btn' value='".$text['button-restart']."' onclick=\"document.location.href='cmd.php?cmd=api+callcenter_config+queue+reload+".$database_queue_name."@".$_SESSION['domain_name']."';\" />\n";
echo " <input type='button' class='btn' value='".$text['button-view']."' onclick=\"document.location.href='".PROJECT_PATH."/app/call_center_active/call_center_active.php?queue_name=".$database_queue_name."';\" />\n";
if (permission_exists('call_center_wallboard')) {
echo " <input type='button' class='btn' value='".$text['button-wallboard']."' onclick=\"document.location.href='call_center_wallboard.php?queue_name=".$database_queue_name."';\" />\n";
}
echo " <input type='button' class='btn' value='".$text['button-stop']."' onclick=\"document.location.href='cmd.php?cmd=api+callcenter_config+queue+unload+".$call_center_queue_uuid."';\" />\n";
echo " <input type='button' class='btn' value='".$text['button-start']."' onclick=\"document.location.href='cmd.php?cmd=api+callcenter_config+queue+load+".$call_center_queue_uuid."';\" />\n";
echo " <input type='button' class='btn' value='".$text['button-restart']."' onclick=\"document.location.href='cmd.php?cmd=api+callcenter_config+queue+reload+".$call_center_queue_uuid."';\" />\n";
echo " <input type='button' class='btn' value='".$text['button-view']."' onclick=\"document.location.href='".PROJECT_PATH."/app/call_center_active/call_center_active.php?queue_name=".$call_center_queue_uuid."';\" />\n";
echo " &nbsp;&nbsp;&nbsp;";
}
echo " <input type='submit' class='btn' value='".$text['button-save']."'>\n";
@@ -588,88 +568,67 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if (permission_exists('call_center_tier_view')) {
echo "<tr>";
echo " <td class='vncell' valign='top'>".$text['label-tiers']."</td>";
echo " <td class='vncell' valign='top'>".$text['label-agents']."</td>";
echo " <td class='vtable' align='left'>";
echo " <table width='45%' border='0' cellpadding='0' cellspacing='0'>\n";
echo " <table border='0' cellpadding='0' cellspacing='0'>\n";
echo " <tr>\n";
echo " <td class='vtable'>".$text['label-agent_name']."</td>\n";
echo " <td class='vtable' style='text-align: center;'>".$text['label-tier_level']."</td>\n";
echo " <td class='vtable' style='text-align: center;'>".$text['label-tier_position']."</td>\n";
echo " <td></td>\n";
echo " </tr>\n";
if ($call_center_queue_uuid != null) {
if (is_array($tiers)) {
$x = 0;
foreach($tiers as $field) {
echo " <tr>\n";
echo " <td class=''>";
echo " <input type=\"hidden\" name=\"call_center_tiers[$x][call_center_queue_uuid]\" value=\"".$field['call_center_queue_uuid']."\">\n";
echo " <input type=\"hidden\" name=\"call_center_tiers[$x][call_center_tier_uuid]\" value=\"".$field['call_center_tier_uuid']."\">\n";
echo " <select name=\"call_center_tiers[$x][call_center_agent_uuid]\" class=\"formfld\">\n";
echo " <option value=\"\"></option>\n";
foreach($agents as $row) {
$selected = '';
if ($row['call_center_agent_uuid'] == $field['call_center_agent_uuid']) {
$selected = "selected=\"selected\"";
}
echo " <option value=\"".$row['call_center_agent_uuid']."\" $selected>".$row['agent_name']."</option>\n";
}
echo " </select>";
echo " </td>\n";
echo " <td class='' style='text-align: center;'>";
echo " <select name=\"call_center_tiers[$x][tier_level]\" class=\"formfld\">\n";
$i=0;
while($i<=9) {
$selected = ($i == $field['tier_level']) ? "selected" : null;
echo " <option value=\"$i\" ".$selected.">$i</option>\n";
$i++;
}
echo " </select>\n";
echo " </td>\n";
if ($call_center_queue_uuid != '') {
//replace the space in the queue name with a dash
$db_queue_name = str_replace(" ", "-", $queue_name);
$sql = "select * from v_call_center_tiers ";
$sql .= "where queue_name = '".$db_queue_name."' ";
$sql .= "and domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "order by tier_level asc, tier_position asc, agent_name asc";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
foreach($result as $field) {
echo " <tr>\n";
echo " <td class='vtable'>".$field['agent_name']."</td>\n";
echo " <td class='vtable' style='text-align: center;'>".$field['tier_level']."&nbsp;</td>\n";
echo " <td class='vtable' style='text-align: center;'>".$field['tier_position']."&nbsp;</td>\n";
echo " <td class='list_control_icons'>";
if (permission_exists('call_center_tier_edit')) {
echo "<a href='call_center_tier_edit.php?id=".$field['call_center_tier_uuid']."' alt='".$text['button-edit']."'>".$v_link_label_edit."</a>";
echo " <td class='' style='text-align: center;'>\n";
echo " <select name=\"call_center_tiers[$x][tier_position]\" class=\"formfld\">\n";
$i=0;
while($i<=9) {
$selected = ($i == $field['tier_position']) ? "selected" : null;
echo " <option value=\"$i\" ".$selected.">$i</option>\n";
$i++;
}
echo " </select>\n";
echo " </td>\n";
echo " <td class=''>";
if (permission_exists('call_center_tier_delete')) {
echo " <a href=\"call_center_queue_edit.php?id=".$call_center_queue_uuid."&call_center_tier_uuid=".$field['call_center_tier_uuid']."&a=delete\" alt=\"".$text['button-delete']."\" onclick=\"return confirm('".$text['confirm-delete']."');\">$v_link_label_delete</a>";
}
echo " </td>\n";
echo " </tr>\n";
$assigned_agents[] = $field['agent_name'];
$x++;
}
if (permission_exists('call_center_tier_delete')) {
echo "<a href='#' onclick=\"if (confirm('".$text['confirm-delete']."')) { document.getElementById('delete_type').value = 'tier'; document.getElementById('delete_uuid').value = '".$field['call_center_tier_uuid']."'; document.forms.frm.submit(); }\" alt='".$text['button-delete']."'>".$v_link_label_delete."</a>";
}
echo " </td>\n";
echo " </tr>\n";
$assigned_agents[] = $field['agent_name'];
}
unset ($prep_statement, $sql, $result);
}
if (permission_exists('call_center_tier_add')) {
//get agents
$sql = "select agent_name from v_call_center_agents where domain_uuid = '".$_SESSION['domain_uuid']."' ";
foreach($assigned_agents as $assigned_agent) {
$sql .= "and agent_name <> '".$assigned_agent."' ";
}
$sql .= "order by agent_name asc";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
if (sizeof($result) > 0) {
echo " <tr>\n";
echo " <td class='vtable'>\n";
echo "<select id='agent_name' name='agent_name' class='formfld'>\n";
echo " <option value=''></option>\n";
foreach($result as $field) {
echo " <option value='".$field['agent_name']."'>".$field['agent_name']."</option>\n";
}
unset($sql,$prep_statement);
echo " </select>";
echo " </td>\n";
echo " <td class='vtable' style='text-align: center;'>\n";
echo " <select class='formfld' name='tier_level'>\n";
for ($t = 0; $t <= 9; $t++) {
echo " <option value='".$t."'>".$t."</option>\n";
}
echo " </select>\n";
echo " </td>\n";
echo " <td class='vtable' style='text-align: center;'>\n";
echo " <select class='formfld' name='tier_position'>\n";
for ($t = 1; $t <= 9; $t++) {
echo " <option value='".$t."'>".$t."</option>\n";
}
echo " </select>\n";
echo " </td>\n";
echo " <td>";
echo " <input type=\"submit\" class='btn' value=\"".$text['button-add']."\">\n";
echo " </td>\n";
echo " </tr>\n";
unset ($prep_statement, $sql, $tiers);
}
}
echo " </table>\n";
echo " <br>\n";
echo " ".$text['description-tiers']."\n";
@@ -697,8 +656,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " ".$text['label-record_template']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
$record_ext=($_SESSION['record_ext']=='mp3'?'mp3':'wav');
$record_template = $_SESSION['switch']['recordings']['dir']."/".$_SESSION['domain_name']."/archive/\${strftime(%Y)}/\${strftime(%b)}/\${strftime(%d)}/\${uuid}.".$record_ext;
$record_template = $_SESSION['switch']['recordings']['dir']."/".$_SESSION['domain_name']."/archive/\${strftime(%Y)}/\${strftime(%b)}/\${strftime(%d)}/\${uuid}.\${record_ext}";
echo " <select class='formfld' name='queue_record_template'>\n";
if (strlen($queue_record_template) > 0) {
echo " <option value='$record_template' selected='selected' >".$text['option-true']."</option>\n";
@@ -937,6 +895,17 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-exit_keys']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='queue_cc_exit_keys' value='$queue_cc_exit_keys'>\n";
echo "<br />\n";
echo $text['description-exit_keys']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$text['label-description']."\n";
@@ -947,13 +916,12 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo $text['description-description']."\n";
echo "</td>\n";
echo "</tr>\n";
echo " <tr>\n";
echo " <td colspan='2' align='right'>\n";
if ($action == "update") {
echo " <input type='hidden' name='call_center_queue_uuid' value='".$call_center_queue_uuid."'>\n";
echo " <input type='hidden' name='id' id='id' value='".$call_center_queue_uuid."'>";
echo " <input type='hidden' name='delete_type' id='delete_type' value=''>";
echo " <input type='hidden' name='delete_uuid' id='delete_uuid' value=''>";
echo " <input type='hidden' name='dialplan_uuid' value='".$dialplan_uuid."'>\n";
}
echo " <br />";
echo " <input type='submit' class='btn' value='".$text['button-save']."'>\n";
@@ -963,6 +931,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<br><br>";
echo "</form>";
require_once "resources/footer.php";
//include the footer
require_once "resources/footer.php";
?>
?>
+1 -1
View File
@@ -125,7 +125,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
}
unset($prep_statement);
$_SESSION["message"] = $text['message-update'];
messages::add($text['message-update']);
header("Location: call_center_queue_edit.php?id=".$queue_uuid);
return;
@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Copyright (C) 2015
Copyright (C) 2015 - 2016
All Rights Reserved.
Contributor(s):
@@ -41,6 +41,7 @@
public $queue_name;
public $queue_description;
public $destination_number;
public $queue_cc_exit_keys;
/**
* Called when the object is created
@@ -143,6 +144,17 @@
$dialplan["dialplan_details"][$y]["dialplan_detail_order"] = $y * 10;
$y++;
}
if (strlen($this->queue_cc_exit_keys) > 0) {
$dialplan["dialplan_details"][$y]["domain_uuid"] = $this->domain_uuid;
$dialplan["dialplan_details"][$y]["dialplan_detail_tag"] = "action";
$dialplan["dialplan_details"][$y]["dialplan_detail_type"] = "set";
$dialplan["dialplan_details"][$y]["dialplan_detail_data"] = "cc_exit_keys=".$this->queue_cc_exit_keys;
$dialplan["dialplan_details"][$y]["dialplan_detail_group"] = "2";
$dialplan["dialplan_details"][$y]["dialplan_detail_order"] = $y * 10;
$y++;
}
$dialplan["dialplan_details"][$y]["domain_uuid"] = $this->domain_uuid;
$dialplan["dialplan_details"][$y]["dialplan_detail_tag"] = "action";
$dialplan["dialplan_details"][$y]["dialplan_detail_type"] = "callcenter";
@@ -173,12 +185,16 @@
$p->add("dialplan_detail_add", 'temp');
$p->add("dialplan_edit", 'temp');
$p->add("dialplan_detail_edit", 'temp');
//prepare the array
$array["dialplans"][0] = $dialplan;
//save the dialplan
$orm = new orm;
$orm->name('dialplans');
$orm->save($dialplan);
$dialplan_response = $orm->message;
$database = new database;
$database->app_name = 'dialplans';
$database->app_uuid = '742714e5-8cdf-32fd-462c-cbe7e3d655db';
$database->save($array);
$dialplan_response = $database->message;
$this->dialplan_uuid = $dialplan_response['uuid'];
//if new dialplan uuid then update the call center queue
@@ -218,7 +234,8 @@ $c->queue_cid_prefix = "";
$c->queue_timeout_action = "";
$c->queue_description = "";
$c->destination_number = "";
$c->queue_cc_exit_keys = "";
$c->dialplan();
*/
?>
?>
+41 -44
View File
@@ -5,22 +5,31 @@
$apps[$x]['uuid'] = "b1b70f85-6b42-429b-8c5a-60c8b02b7d14";
$apps[$x]['category'] = "";
$apps[$x]['subcategory'] = "";
$apps[$x]['version'] = "";
$apps[$x]['version'] = "1.0";
$apps[$x]['license'] = "Mozilla Public License 1.1";
$apps[$x]['url'] = "http://www.fusionpbx.com";
$apps[$x]['description']['en-us'] = "";
$apps[$x]['description']['es-cl'] = "";
$apps[$x]['description']['de-de'] = "";
$apps[$x]['description']['en-us'] = "Direct calls between two destinations by calling a feature code.";
$apps[$x]['description']['ar-eg'] = "";
$apps[$x]['description']['de-at'] = "Anrufe zwischen zwei Ziele anhand eines Funktions-Codes steuern.";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-at'] = "";
$apps[$x]['description']['fr-fr'] = "";
$apps[$x]['description']['de-de'] = "Anrufe zwischen zwei Ziele anhand eines Funktions-Codes steuern.";
$apps[$x]['description']['es-cl'] = "";
$apps[$x]['description']['es-mx'] = "";
$apps[$x]['description']['fr-ca'] = "";
$apps[$x]['description']['fr-ch'] = "";
$apps[$x]['description']['pt-pt'] = "";
$apps[$x]['description']['fr-fr'] = "";
$apps[$x]['description']['he-il'] = "";
$apps[$x]['description']['it-it'] = "";
$apps[$x]['description']['nl-nl'] = "";
$apps[$x]['description']['pl-pl'] = "";
$apps[$x]['description']['pt-br'] = "";
$apps[$x]['description']['pt-pt'] = "";
$apps[$x]['description']['ro-ro'] = "";
$apps[$x]['description']['ru-ru'] = "";
$apps[$x]['description']['sv-se'] = "";
$apps[$x]['description']['uk-ua'] = "";
//destination details
$y = 0;
$y=0;
$apps[$x]['destinations'][$y]['type'] = "sql";
$apps[$x]['destinations'][$y]['label'] = "call_flows";
$apps[$x]['destinations'][$y]['name'] = "call_flows";
@@ -34,7 +43,7 @@
$apps[$x]['destinations'][$y]['select_label'] = "\${destination} \${name}";
//permission details
$y = 0;
$y=0;
$apps[$x]['permissions'][$y]['name'] = "call_flow_view";
$apps[$x]['permissions'][$y]['menu']['uuid'] = "b0939384-7055-44e8-8b4c-9f72293e1878";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
@@ -52,11 +61,14 @@
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "call_flow_context";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//schema details
$y = 0; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = "v_call_flows";
$y=0;
$apps[$x]['db'][$y]['table']['name'] = "v_call_flows";
$apps[$x]['db'][$y]['table']['parent'] = "";
$z=0;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
@@ -75,87 +87,72 @@
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_dialplans";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "dialplan_uuid";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_name";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the name.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com o nome.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_extension";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the extension number.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com o ramal.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the extension number.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_feature_code";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the feature code.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com o código de recurso.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the feature code.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_context";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the context.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com o contexto.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the context.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_status";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Select the status.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Selecione o estado.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select the status.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_pin_number";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the PIN number.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com o número PIN.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the PIN number.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_label";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the label.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com uma etiqueta.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the label.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_sound";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Select the sound.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Selecione o som.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select the sound.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_app";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the application.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com a aplicação.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the application.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_data";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the application data.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com os dados da aplicação.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the application data.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "call_flow_alternate_label";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "call_flow_anti_label";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the alternate label.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com uma etiqueta alternativa.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the alternate label.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_alternate_sound";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Select the alternate sound.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Selecione um som alternativo.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select the alternate sound.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "call_flow_alternate_app";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "call_flow_anti_app";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the alternate application.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com uma aplicação alternativa.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the alternate application.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "call_flow_alternate_data";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "call_flow_anti_data";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the alernate application data.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com os dados da aplicação alternativa.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the alernate application data.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow_description";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = "Enter the description.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com a descrição.";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
?>
+600 -269
View File
@@ -1,333 +1,664 @@
<?php
#This file was last reorganized on 19th of September 2017 08:54:24 AM UTC
$text['title-call_flows']['en-us'] = "Call Flows";
$text['title-call_flows']['ar-eg'] = "";
$text['title-call_flows']['de-at'] = "Anruf Steuerung"; //copied from de-de
$text['title-call_flows']['de-ch'] = "Anruf Steuerung"; //copied from de-de
$text['title-call_flows']['de-de'] = "Anruf Steuerung";
$text['title-call_flows']['es-cl'] = "Flujo de Llamada";
$text['title-call_flows']['pt-pt'] = "Fluxo de Chamadas";
$text['title-call_flows']['es-mx'] = "Flujo de Llamada"; //copied from es-cl
$text['title-call_flows']['fr-ca'] = "Flux d'appel"; //copied from fr-fr
$text['title-call_flows']['fr-fr'] = "Flux d'appel";
$text['title-call_flows']['he-il'] = "";
$text['title-call_flows']['it-it'] = "Deviatori di Chiamata";
$text['title-call_flows']['nl-nl'] = "";
$text['title-call_flows']['pl-pl'] = "Przepływ rozmów";
$text['title-call_flows']['pt-br'] = "Fluxo de chamadas";
$text['title-call_flows']['pl'] = "Przepływ rozmów";
$text['title-call_flows']['pt-pt'] = "Fluxo de Chamadas";
$text['title-call_flows']['ro-ro'] = "";
$text['title-call_flows']['ru-ru'] = "Переключатели вызовов";
$text['title-call_flows']['sv-se'] = "Samtalsflöden";
$text['title-call_flows']['uk'] = "Потоки дзвінків";
$text['title-call_flows']['de-at'] = "Anruf Steuerung";
$text['title-call_flows']['uk-ua'] = "Потоки дзвінків";
$text['title-call_flow-edit']['en-us'] = "Call Flow";
$text['title-call_flow-edit']['es-cl'] = "Flujo de Llamada";
$text['title-call_flow-edit']['pt-pt'] = "Fluxo de Chamada";
$text['title-call_flow-edit']['fr-fr'] = "Editer le flux";
$text['title-call_flow-edit']['pt-br'] = "Fluxo de chamada";
$text['title-call_flow-edit']['pl'] = "Przepływ rozmów";
$text['title-call_flow-edit']['sv-se'] = "Samtalsflöde";
$text['title-call_flow-edit']['uk'] = "Потік дзвінків";
$text['title-call_flow-edit']['de-at'] = "Anruf Steuerung";
$text['title-call_flow']['en-us'] = "Call Flow";
$text['title-call_flow']['ar-eg'] = "";
$text['title-call_flow']['de-at'] = "Anruf Steuerung"; //copied from de-de
$text['title-call_flow']['de-ch'] = "Anruf Steuerung"; //copied from de-de
$text['title-call_flow']['de-de'] = "Anruf Steuerung";
$text['title-call_flow']['es-cl'] = "Flujo de Llamada";
$text['title-call_flow']['es-mx'] = "Flujo de Llamada"; //copied from es-cl
$text['title-call_flow']['fr-ca'] = "Editer le flux"; //copied from fr-fr
$text['title-call_flow']['fr-fr'] = "Editer le flux";
$text['title-call_flow']['he-il'] = "";
$text['title-call_flow']['it-it'] = "";
$text['title-call_flow']['nl-nl'] = "";
$text['title-call_flow']['pl-pl'] = "Przepływ rozmów";
$text['title-call_flow']['pt-br'] = "Fluxo de chamada";
$text['title-call_flow']['pt-pt'] = "Fluxo de Chamada";
$text['title-call_flow']['ro-ro'] = "";
$text['title-call_flow']['ru-ru'] = "Переключатель вызовов";
$text['title-call_flow']['sv-se'] = "Samtalsflöde";
$text['title-call_flow']['uk-ua'] = "Потік дзвінків";
$text['title-call_flow-add']['en-us'] = "Call Flow Add";
$text['title-call_flow-add']['es-cl'] = "Agregar Flujo de Llamada";
$text['title-call_flow-add']['pt-pt'] = "Adicionar Fluxo de Chamada";
$text['title-call_flow-add']['fr-fr'] = "Ajouter un flux";
$text['title-call_flow-add']['pt-br'] = "Adicionar fluxo de chamada";
$text['title-call_flow-add']['pl'] = "Dodaj przepływ rozmów";
$text['title-call_flow-add']['sv-se'] = "Lägg Till Samtalsflöde";
$text['title-call_flow-add']['uk'] = "Виклик Flow Додати";
$text['title-call_flow-add']['de-at'] = "Anruf Steuerung hinzufügen";
$text['label-call_flow_name']['en-us'] = "Name";
$text['label-call_flow_name']['ar-eg'] = "";
$text['label-call_flow_name']['de-at'] = "Name"; //copied from de-de
$text['label-call_flow_name']['de-ch'] = "Name"; //copied from de-de
$text['label-call_flow_name']['de-de'] = "Name";
$text['label-call_flow_name']['es-cl'] = "Nombre";
$text['label-call_flow_name']['es-mx'] = "Nombre"; //copied from es-cl
$text['label-call_flow_name']['fr-ca'] = "Nom"; //copied from fr-fr
$text['label-call_flow_name']['fr-fr'] = "Nom";
$text['label-call_flow_name']['he-il'] = "";
$text['label-call_flow_name']['it-it'] = "";
$text['label-call_flow_name']['nl-nl'] = "";
$text['label-call_flow_name']['pl-pl'] = "Nazwa";
$text['label-call_flow_name']['pt-br'] = "Nome"; //copied from pt-pt
$text['label-call_flow_name']['pt-pt'] = "Nome";
$text['label-call_flow_name']['ro-ro'] = "";
$text['label-call_flow_name']['ru-ru'] = "Имя";
$text['label-call_flow_name']['sv-se'] = "Namn";
$text['label-call_flow_name']['uk-ua'] = "Назва";
$text['label-status']['en-us'] = "Status";
$text['label-status']['es-cl'] = "Estado";
$text['label-status']['pt-pt'] = "Estado";
$text['label-status']['fr-fr'] = "Etat";
$text['label-status']['pt-br'] = "Estado";
$text['label-status']['pl'] = "Status";
$text['label-status']['sv-se'] = "Status";
$text['label-status']['uk'] = "Статус";
$text['label-status']['de-at'] = "Status";
$text['label-call_flow_status']['en-us'] = "Status";
$text['label-call_flow_status']['ar-eg'] = "";
$text['label-call_flow_status']['de-at'] = "Aktiviert"; //copied from de-de
$text['label-call_flow_status']['de-ch'] = "Aktiviert"; //copied from de-de
$text['label-call_flow_status']['de-de'] = "Aktiviert";
$text['label-call_flow_status']['es-cl'] = "Estado";
$text['label-call_flow_status']['es-mx'] = "Estado"; //copied from es-cl
$text['label-call_flow_status']['fr-ca'] = "Etat"; //copied from fr-fr
$text['label-call_flow_status']['fr-fr'] = "Etat";
$text['label-call_flow_status']['he-il'] = "";
$text['label-call_flow_status']['it-it'] = "";
$text['label-call_flow_status']['nl-nl'] = "";
$text['label-call_flow_status']['pl-pl'] = "Status";
$text['label-call_flow_status']['pt-br'] = "Estado"; //copied from pt-pt
$text['label-call_flow_status']['pt-pt'] = "Estado";
$text['label-call_flow_status']['ro-ro'] = "";
$text['label-call_flow_status']['ru-ru'] = "Статус";
$text['label-call_flow_status']['sv-se'] = "Status";
$text['label-call_flow_status']['uk-ua'] = "Статус";
$text['label-pin_number']['en-us'] = "PIN Number";
$text['label-pin_number']['es-cl'] = "Número PIN";
$text['label-pin_number']['pt-pt'] = "Código PIN";
$text['label-pin_number']['fr-fr'] = "Code PIN";
$text['label-pin_number']['pt-br'] = "Código PIN";
$text['label-pin_number']['pl'] = "Numer PIN";
$text['label-pin_number']['sv-se'] = "PIN Kod";
$text['label-pin_number']['uk'] = "PIN-код";
$text['label-pin_number']['de-at'] = "PIN Nummer";
$text['label-call_flow_pin_number']['en-us'] = "PIN Number";
$text['label-call_flow_pin_number']['ar-eg'] = "";
$text['label-call_flow_pin_number']['de-at'] = "PIN Nummer"; //copied from de-de
$text['label-call_flow_pin_number']['de-ch'] = "PIN Nummer"; //copied from de-de
$text['label-call_flow_pin_number']['de-de'] = "PIN Nummer";
$text['label-call_flow_pin_number']['es-cl'] = "Número PIN";
$text['label-call_flow_pin_number']['es-mx'] = "Número PIN"; //copied from es-cl
$text['label-call_flow_pin_number']['fr-ca'] = "Code PIN"; //copied from fr-fr
$text['label-call_flow_pin_number']['fr-fr'] = "Code PIN";
$text['label-call_flow_pin_number']['he-il'] = "";
$text['label-call_flow_pin_number']['it-it'] = "";
$text['label-call_flow_pin_number']['nl-nl'] = "";
$text['label-call_flow_pin_number']['pl-pl'] = "Numer PIN";
$text['label-call_flow_pin_number']['pt-br'] = "Código PIN"; //copied from pt-pt
$text['label-call_flow_pin_number']['pt-pt'] = "Código PIN";
$text['label-call_flow_pin_number']['ro-ro'] = "";
$text['label-call_flow_pin_number']['ru-ru'] = "PIN код";
$text['label-call_flow_pin_number']['sv-se'] = "PIN Kod";
$text['label-call_flow_pin_number']['uk-ua'] = "PIN-код";
$text['label-feature_code']['en-us'] = "Feature Code";
$text['label-feature_code']['es-cl'] = "Código distintivo";
$text['label-feature_code']['pt-pt'] = "Código de Função";
$text['label-feature_code']['fr-fr'] = "Code Fonction";
$text['label-feature_code']['pt-br'] = "Código de função";
$text['label-feature_code']['pl'] = "";
$text['label-feature_code']['sv-se'] = "Funktionskod";
$text['label-feature_code']['uk'] = "";
$text['label-feature_code']['de-at'] = "Stern-Code";
$text['label-call_flow_feature_code']['en-us'] = "Feature Code";
$text['label-call_flow_feature_code']['ar-eg'] = "";
$text['label-call_flow_feature_code']['de-at'] = "Funktions-Code"; //copied from de-de
$text['label-call_flow_feature_code']['de-ch'] = "Funktions-Code"; //copied from de-de
$text['label-call_flow_feature_code']['de-de'] = "Funktions-Code";
$text['label-call_flow_feature_code']['es-cl'] = "Código distintivo";
$text['label-call_flow_feature_code']['es-mx'] = "Código distintivo"; //copied from es-cl
$text['label-call_flow_feature_code']['fr-ca'] = "Code Fonction"; //copied from fr-fr
$text['label-call_flow_feature_code']['fr-fr'] = "Code Fonction";
$text['label-call_flow_feature_code']['he-il'] = "";
$text['label-call_flow_feature_code']['it-it'] = "";
$text['label-call_flow_feature_code']['nl-nl'] = "";
$text['label-call_flow_feature_code']['pl-pl'] = "";
$text['label-call_flow_feature_code']['pt-br'] = "Código de função";
$text['label-call_flow_feature_code']['pt-pt'] = "Código de Função";
$text['label-call_flow_feature_code']['ro-ro'] = "";
$text['label-call_flow_feature_code']['ru-ru'] = "Код функции";
$text['label-call_flow_feature_code']['sv-se'] = "Funktionskod";
$text['label-call_flow_feature_code']['uk-ua'] = "";
$text['label-extension']['en-us'] = "Extension";
$text['label-extension']['es-cl'] = "Extensión";
$text['label-extension']['pt-pt'] = "Extensão";
$text['label-extension']['fr-fr'] = "Extension";
$text['label-extension']['pt-br'] = "Ramal";
$text['label-extension']['pl'] = "Numer wewnętrzny";
$text['label-extension']['sv-se'] = "Anknytning";
$text['label-extension']['uk'] = "Розширення (Extention)";
$text['label-extension']['de-at'] = "Nebenstelle";
$text['label-call_flow_extension']['en-us'] = "Extension";
$text['label-call_flow_extension']['ar-eg'] = "";
$text['label-call_flow_extension']['de-at'] = "Nebenstelle"; //copied from de-de
$text['label-call_flow_extension']['de-ch'] = "Nebenstelle"; //copied from de-de
$text['label-call_flow_extension']['de-de'] = "Nebenstelle";
$text['label-call_flow_extension']['es-cl'] = "Extensión";
$text['label-call_flow_extension']['es-mx'] = "Extensión"; //copied from es-cl
$text['label-call_flow_extension']['fr-ca'] = "Extension"; //copied from fr-fr
$text['label-call_flow_extension']['fr-fr'] = "Extension";
$text['label-call_flow_extension']['he-il'] = "";
$text['label-call_flow_extension']['it-it'] = "";
$text['label-call_flow_extension']['nl-nl'] = "";
$text['label-call_flow_extension']['pl-pl'] = "Numer wewnętrzny";
$text['label-call_flow_extension']['pt-br'] = "Ramal";
$text['label-call_flow_extension']['pt-pt'] = "Extensão";
$text['label-call_flow_extension']['ro-ro'] = "";
$text['label-call_flow_extension']['ru-ru'] = "Внутренний номер";
$text['label-call_flow_extension']['sv-se'] = "Anknytning";
$text['label-call_flow_extension']['uk-ua'] = "Розширення (Extention)";
$text['label-destination_label']['en-us'] = "Destination Label";
$text['label-destination_label']['es-cl'] = "Etiqueta de Destino";
$text['label-destination_label']['pt-pt'] = "Destino";
$text['label-destination_label']['fr-fr'] = "Label de la destination";
$text['label-destination_label']['pt-br'] = "Etiqueta de destino";
$text['label-destination_label']['pl'] = "Etykieta destynacji";
$text['label-destination_label']['sv-se'] = "Destination Etikett";
$text['label-destination_label']['uk'] = "призначення етикетки";
$text['label-destination_label']['de-at'] = "Ziel Kennzeichnung";
$text['label-call_flow_label']['en-us'] = "Destination Label";
$text['label-call_flow_label']['ar-eg'] = "";
$text['label-call_flow_label']['de-at'] = "Ziel Kennzeichnung"; //copied from de-de
$text['label-call_flow_label']['de-ch'] = "Ziel Kennzeichnung"; //copied from de-de
$text['label-call_flow_label']['de-de'] = "Ziel Kennzeichnung";
$text['label-call_flow_label']['es-cl'] = "Etiqueta de Destino";
$text['label-call_flow_label']['es-mx'] = "Etiqueta de Destino"; //copied from es-cl
$text['label-call_flow_label']['fr-ca'] = "Label de la destination"; //copied from fr-fr
$text['label-call_flow_label']['fr-fr'] = "Label de la destination";
$text['label-call_flow_label']['he-il'] = "";
$text['label-call_flow_label']['it-it'] = "";
$text['label-call_flow_label']['nl-nl'] = "";
$text['label-call_flow_label']['pl-pl'] = "Etykieta destynacji";
$text['label-call_flow_label']['pt-br'] = "Etiqueta de destino";
$text['label-call_flow_label']['pt-pt'] = "Destino";
$text['label-call_flow_label']['ro-ro'] = "";
$text['label-call_flow_label']['ru-ru'] = "Название направления";
$text['label-call_flow_label']['sv-se'] = "Destination Etikett";
$text['label-call_flow_label']['uk-ua'] = "призначення етикетки";
$text['label-destination']['en-us'] = "Destination";
$text['label-destination']['es-cl'] = "Destino";
$text['label-destination']['pt-pt'] = "Destino";
$text['label-destination']['fr-fr'] = "Destination";
$text['label-destination']['pt-br'] = "Número de destino";
$text['label-destination']['pl'] = "Destynacja";
$text['label-destination']['sv-se'] = "Destination";
$text['label-destination']['uk'] = "Номер";
$text['label-destination']['de-at'] = "Ziel";
$text['label-call_flow_destination']['en-us'] = "Destination";
$text['label-call_flow_destination']['ar-eg'] = "";
$text['label-call_flow_destination']['de-at'] = "Ziel"; //copied from de-de
$text['label-call_flow_destination']['de-ch'] = "Ziel"; //copied from de-de
$text['label-call_flow_destination']['de-de'] = "Ziel";
$text['label-call_flow_destination']['es-cl'] = "Destino";
$text['label-call_flow_destination']['es-mx'] = "Destino"; //copied from es-cl
$text['label-call_flow_destination']['fr-ca'] = "Destination"; //copied from fr-fr
$text['label-call_flow_destination']['fr-fr'] = "Destination";
$text['label-call_flow_destination']['he-il'] = "";
$text['label-call_flow_destination']['it-it'] = "";
$text['label-call_flow_destination']['nl-nl'] = "";
$text['label-call_flow_destination']['pl-pl'] = "Destynacja";
$text['label-call_flow_destination']['pt-br'] = "Número de destino";
$text['label-call_flow_destination']['pt-pt'] = "Destino";
$text['label-call_flow_destination']['ro-ro'] = "";
$text['label-call_flow_destination']['ru-ru'] = "Направление";
$text['label-call_flow_destination']['sv-se'] = "Destination";
$text['label-call_flow_destination']['uk-ua'] = "Номер";
$text['label-context']['en-us'] = "Context";
$text['label-context']['es-cl'] = "Contexto";
$text['label-context']['pt-pt'] = "Contexto";
$text['label-context']['fr-fr'] = "Contexte";
$text['label-context']['pt-br'] = "Contexto";
$text['label-context']['pl'] = "Kontekst";
$text['label-context']['sv-se'] = "Context";
$text['label-context']['uk'] = "Контекст";
$text['label-context']['de-at'] = "Kontext";
$text['label-call_flow_context']['en-us'] = "Context";
$text['label-call_flow_context']['ar-eg'] = "";
$text['label-call_flow_context']['de-at'] = "Kontext"; //copied from de-de
$text['label-call_flow_context']['de-ch'] = "Kontext"; //copied from de-de
$text['label-call_flow_context']['de-de'] = "Kontext";
$text['label-call_flow_context']['es-cl'] = "Contexto";
$text['label-call_flow_context']['es-mx'] = "Contexto"; //copied from es-cl
$text['label-call_flow_context']['fr-ca'] = "Contexte"; //copied from fr-fr
$text['label-call_flow_context']['fr-fr'] = "Contexte";
$text['label-call_flow_context']['he-il'] = "";
$text['label-call_flow_context']['it-it'] = "";
$text['label-call_flow_context']['nl-nl'] = "";
$text['label-call_flow_context']['pl-pl'] = "Kontekst";
$text['label-call_flow_context']['pt-br'] = "Contexto"; //copied from pt-pt
$text['label-call_flow_context']['pt-pt'] = "Contexto";
$text['label-call_flow_context']['ro-ro'] = "";
$text['label-call_flow_context']['ru-ru'] = "Контекст";
$text['label-call_flow_context']['sv-se'] = "Context";
$text['label-call_flow_context']['uk-ua'] = "Контекст";
$text['label-alternate_label']['en-us'] = "Alternate Label";
$text['label-alternate_label']['es-cl'] = "Etiqueta alternativa";
$text['label-alternate_label']['pt-pt'] = "Etiqueta Alternativa";
$text['label-alternate_label']['fr-fr'] = "Label alternatif";
$text['label-alternate_label']['pt-br'] = "Etqueta alternativa";
$text['label-alternate_label']['pl'] = "Alternatywna etykieta";
$text['label-alternate_label']['sv-se'] = "Alternativ Etikett";
$text['label-alternate_label']['uk'] = "альтернативні етикетки";
$text['label-alternate_label']['de-at'] = "Alternatives Ziel Beschreibung";
$text['label-call_flow_alternate_label']['en-us'] = "Alternate Label";
$text['label-call_flow_alternate_label']['ar-eg'] = "";
$text['label-call_flow_alternate_label']['de-at'] = "Alternative Bezeichnung"; //copied from de-de
$text['label-call_flow_alternate_label']['de-ch'] = "Alternative Bezeichnung"; //copied from de-de
$text['label-call_flow_alternate_label']['de-de'] = "Alternative Bezeichnung";
$text['label-call_flow_alternate_label']['es-cl'] = "Etiqueta alternativa";
$text['label-call_flow_alternate_label']['es-mx'] = "Etiqueta alternativa"; //copied from es-cl
$text['label-call_flow_alternate_label']['fr-ca'] = "Label alternatif"; //copied from fr-fr
$text['label-call_flow_alternate_label']['fr-fr'] = "Label alternatif";
$text['label-call_flow_alternate_label']['he-il'] = "";
$text['label-call_flow_alternate_label']['it-it'] = "";
$text['label-call_flow_alternate_label']['nl-nl'] = "";
$text['label-call_flow_alternate_label']['pl-pl'] = "Alternatywna etykieta";
$text['label-call_flow_alternate_label']['pt-br'] = "Etqueta alternativa";
$text['label-call_flow_alternate_label']['pt-pt'] = "Etiqueta Alternativa";
$text['label-call_flow_alternate_label']['ro-ro'] = "";
$text['label-call_flow_alternate_label']['ru-ru'] = "Название альтернативного направления";
$text['label-call_flow_alternate_label']['sv-se'] = "Alternativ Etikett";
$text['label-call_flow_alternate_label']['uk-ua'] = "альтернативні етикетки";
$text['label-alternate_destination']['en-us'] = "Alternate Destination";
$text['label-alternate_destination']['es-cl'] = "Destino Alternativo";
$text['label-alternate_destination']['pt-pt'] = "Destino Alternativo";
$text['label-alternate_destination']['fr-fr'] = "Destination alternative";
$text['label-alternate_destination']['pt-br'] = "Destino alternativo";
$text['label-alternate_destination']['pl'] = "Alternatywna destynacja";
$text['label-alternate_destination']['sv-se'] = "Alternativ Destination";
$text['label-alternate_destination']['uk'] = "альтернативні варіанти призначення";
$text['label-alternate_destination']['de-at'] = "Alternatives Ziel";
$text['label-call_flow_alternate_destination']['en-us'] = "Alternate Destination";
$text['label-call_flow_alternate_destination']['ar-eg'] = "";
$text['label-call_flow_alternate_destination']['de-at'] = "Alternatives Ziel"; //copied from de-de
$text['label-call_flow_alternate_destination']['de-ch'] = "Alternatives Ziel"; //copied from de-de
$text['label-call_flow_alternate_destination']['de-de'] = "Alternatives Ziel";
$text['label-call_flow_alternate_destination']['es-cl'] = "Destino Alternativo";
$text['label-call_flow_alternate_destination']['es-mx'] = "Destino Alternativo"; //copied from es-cl
$text['label-call_flow_alternate_destination']['fr-ca'] = "Destination alternative"; //copied from fr-fr
$text['label-call_flow_alternate_destination']['fr-fr'] = "Destination alternative";
$text['label-call_flow_alternate_destination']['he-il'] = "";
$text['label-call_flow_alternate_destination']['it-it'] = "";
$text['label-call_flow_alternate_destination']['nl-nl'] = "";
$text['label-call_flow_alternate_destination']['pl-pl'] = "Alternatywna destynacja";
$text['label-call_flow_alternate_destination']['pt-br'] = "Destino alternativo";
$text['label-call_flow_alternate_destination']['pt-pt'] = "Destino Alternativo";
$text['label-call_flow_alternate_destination']['ro-ro'] = "";
$text['label-call_flow_alternate_destination']['ru-ru'] = "Альтернативное направление";
$text['label-call_flow_alternate_destination']['sv-se'] = "Alternativ Destination";
$text['label-call_flow_alternate_destination']['uk-ua'] = "альтернативні варіанти призначення";
$text['label-sound']['en-us'] = "Sound";
$text['label-sound']['es-cl'] = "Sonar";
$text['label-sound']['pt-pt'] = "Som";
$text['label-sound']['fr-fr'] = "Sonner";
$text['label-sound']['pt-br'] = "Som";
$text['label-sound']['pl'] = "Dźwięk";
$text['label-sound']['sv-se'] = "Ljud";
$text['label-sound']['uk'] = "звук";
$text['label-sound']['de-at'] = "Klingen";
$text['label-call_flow_sound']['en-us'] = "Sound";
$text['label-call_flow_sound']['ar-eg'] = "";
$text['label-call_flow_sound']['de-at'] = "Rufton"; //copied from de-de
$text['label-call_flow_sound']['de-ch'] = "Rufton"; //copied from de-de
$text['label-call_flow_sound']['de-de'] = "Rufton";
$text['label-call_flow_sound']['es-cl'] = "Sonar";
$text['label-call_flow_sound']['es-mx'] = "Sonar"; //copied from es-cl
$text['label-call_flow_sound']['fr-ca'] = "Sonner"; //copied from fr-fr
$text['label-call_flow_sound']['fr-fr'] = "Sonner";
$text['label-call_flow_sound']['he-il'] = "";
$text['label-call_flow_sound']['it-it'] = "";
$text['label-call_flow_sound']['nl-nl'] = "";
$text['label-call_flow_sound']['pl-pl'] = "Dźwięk";
$text['label-call_flow_sound']['pt-br'] = "Som"; //copied from pt-pt
$text['label-call_flow_sound']['pt-pt'] = "Som";
$text['label-call_flow_sound']['ro-ro'] = "";
$text['label-call_flow_sound']['ru-ru'] = "Звук";
$text['label-call_flow_sound']['sv-se'] = "Ljud";
$text['label-call_flow_sound']['uk-ua'] = "звук";
$text['label-alternate_sound']['en-us'] = "Alternate Sound";
$text['label-alternate_sound']['es-cl'] = "sonido alternativo";
$text['label-alternate_sound']['pt-pt'] = "som alternativo";
$text['label-alternate_sound']['fr-fr'] = "son suppléant";
$text['label-alternate_sound']['pt-br'] = "Som alternativo";
$text['label-alternate_sound']['pl'] = "Alternatywny dźwięk";
$text['label-alternate_sound']['sv-se'] = "alternativt ljud";
$text['label-alternate_sound']['uk'] = "альтернативний звук";
$text['label-alternate_sound']['de-at'] = "wechseln Klingen";
$text['label-call_flow_alternate_sound']['en-us'] = "Alternate Sound";
$text['label-call_flow_alternate_sound']['ar-eg'] = "";
$text['label-call_flow_alternate_sound']['de-at'] = "Alternativer Rufton"; //copied from de-de
$text['label-call_flow_alternate_sound']['de-ch'] = "Alternativer Rufton"; //copied from de-de
$text['label-call_flow_alternate_sound']['de-de'] = "Alternativer Rufton";
$text['label-call_flow_alternate_sound']['es-cl'] = "sonido alternativo";
$text['label-call_flow_alternate_sound']['es-mx'] = "sonido alternativo"; //copied from es-cl
$text['label-call_flow_alternate_sound']['fr-ca'] = "son suppléant"; //copied from fr-fr
$text['label-call_flow_alternate_sound']['fr-fr'] = "son suppléant";
$text['label-call_flow_alternate_sound']['he-il'] = "";
$text['label-call_flow_alternate_sound']['it-it'] = "";
$text['label-call_flow_alternate_sound']['nl-nl'] = "";
$text['label-call_flow_alternate_sound']['pl-pl'] = "Alternatywny dźwięk";
$text['label-call_flow_alternate_sound']['pt-br'] = "Som alternativo";
$text['label-call_flow_alternate_sound']['pt-pt'] = "som alternativo";
$text['label-call_flow_alternate_sound']['ro-ro'] = "";
$text['label-call_flow_alternate_sound']['ru-ru'] = "Альтернативный звук";
$text['label-call_flow_alternate_sound']['sv-se'] = "alternativt ljud";
$text['label-call_flow_alternate_sound']['uk-ua'] = "альтернативний звук";
$text['label-call_flow_description']['en-us'] = "Description";
$text['label-call_flow_description']['ar-eg'] = "";
$text['label-call_flow_description']['de-at'] = "Beschreibung"; //copied from de-de
$text['label-call_flow_description']['de-ch'] = "Beschreibung"; //copied from de-de
$text['label-call_flow_description']['de-de'] = "Beschreibung";
$text['label-call_flow_description']['es-cl'] = "Descripción";
$text['label-call_flow_description']['es-mx'] = "Descripción"; //copied from es-cl
$text['label-call_flow_description']['fr-ca'] = "Description"; //copied from fr-fr
$text['label-call_flow_description']['fr-fr'] = "Description";
$text['label-call_flow_description']['he-il'] = "";
$text['label-call_flow_description']['it-it'] = "";
$text['label-call_flow_description']['nl-nl'] = "";
$text['label-call_flow_description']['pl-pl'] = "Opis";
$text['label-call_flow_description']['pt-br'] = "Descrição";
$text['label-call_flow_description']['pt-pt'] = "Descripção";
$text['label-call_flow_description']['ro-ro'] = "";
$text['label-call_flow_description']['ru-ru'] = "Описание";
$text['label-call_flow_description']['sv-se'] = "Beskrivning";
$text['label-call_flow_description']['uk-ua'] = "Опис";
$text['header-call_flows']['en-us'] = "Call Flows";
$text['header-call_flows']['ar-eg'] = "";
$text['header-call_flows']['de-at'] = "Anruf Steuerung"; //copied from de-de
$text['header-call_flows']['de-ch'] = "Anruf Steuerung"; //copied from de-de
$text['header-call_flows']['de-de'] = "Anruf Steuerung";
$text['header-call_flows']['es-cl'] = "flujo de Llamada";
$text['header-call_flows']['pt-pt'] = "Fluxo de Chamadas";
$text['header-call_flows']['es-mx'] = "flujo de Llamada"; //copied from es-cl
$text['header-call_flows']['fr-ca'] = "Flux d'appel"; //copied from fr-fr
$text['header-call_flows']['fr-fr'] = "Flux d'appel";
$text['header-call_flows']['he-il'] = "";
$text['header-call_flows']['it-it'] = "Deviatori di Chiamata";
$text['header-call_flows']['nl-nl'] = "";
$text['header-call_flows']['pl-pl'] = "Przepływ rozmów";
$text['header-call_flows']['pt-br'] = "Fluxo de chamadas";
$text['header-call_flows']['pl'] = "Przepływ rozmów";
$text['header-call_flows']['pt-pt'] = "Fluxo de Chamadas";
$text['header-call_flows']['ro-ro'] = "";
$text['header-call_flows']['ru-ru'] = "Переключатель вызовов";
$text['header-call_flows']['sv-se'] = "Samtalsflöden";
$text['header-call_flows']['uk'] = "Потоки дзвінків";
$text['header-call_flows']['de-at'] = "Anruf Steuerung";
$text['header-call_flows']['uk-ua'] = "Потоки дзвінків";
$text['header-call_flow-edit']['en-us'] = "Call Flow";
$text['header-call_flow-edit']['es-cl'] = "Flujo de Llamada";
$text['header-call_flow-edit']['pt-pt'] = "Fluxo de Chamada";
$text['header-call_flow-edit']['fr-fr'] = "Editer le flux";
$text['header-call_flow-edit']['pt-br'] = "Fluxo de chamada";
$text['header-call_flow-edit']['pl'] = "Przepływ rozmów";
$text['header-call_flow-edit']['sv-se'] = "Samtalsflöde";
$text['header-call_flow-edit']['uk'] = "Потік дзвінка";
$text['header-call_flow-edit']['de-at'] = "Anruf Steuerung";
$text['header-call_flow']['en-us'] = "Call Flow";
$text['header-call_flow']['ar-eg'] = "";
$text['header-call_flow']['de-at'] = "Anruf Steuerung"; //copied from de-de
$text['header-call_flow']['de-ch'] = "Anruf Steuerung"; //copied from de-de
$text['header-call_flow']['de-de'] = "Anruf Steuerung";
$text['header-call_flow']['es-cl'] = "Flujo de Llamada";
$text['header-call_flow']['es-mx'] = "Flujo de Llamada"; //copied from es-cl
$text['header-call_flow']['fr-ca'] = "Editer le flux"; //copied from fr-fr
$text['header-call_flow']['fr-fr'] = "Editer le flux";
$text['header-call_flow']['he-il'] = "";
$text['header-call_flow']['it-it'] = "";
$text['header-call_flow']['nl-nl'] = "";
$text['header-call_flow']['pl-pl'] = "Przepływ rozmów";
$text['header-call_flow']['pt-br'] = "Fluxo de chamada";
$text['header-call_flow']['pt-pt'] = "Fluxo de Chamada";
$text['header-call_flow']['ro-ro'] = "";
$text['header-call_flow']['ru-ru'] = "Переключатель вызовов";
$text['header-call_flow']['sv-se'] = "Samtalsflöde";
$text['header-call_flow']['uk-ua'] = "Потік дзвінка";
$text['header-call_flow-add']['en-us'] = "Call Flow Add";
$text['header-call_flow-add']['es-cl'] = "Agregar Flujo de Llamada";
$text['header-call_flow-add']['pt-pt'] = "Adicionar Fluxo de Chamada";
$text['header-call_flow-add']['fr-fr'] = "Ajouter un flux";
$text['header-call_flow-add']['pt-br'] = "Adicionar fluxo de chamada";
$text['header-call_flow-add']['pl'] = "Dodaj przepływ rozmów";
$text['header-call_flow-add']['sv-se'] = "Lägg Till Samtalsflöde";
$text['header-call_flow-add']['uk'] = "Потоки дзвінків";
$text['header-call_flow-add']['de-at'] = "Anruf Steuerung hinzufügen";
$text['description-call_flow_status']['en-us'] = "Select the status.";
$text['description-call_flow_status']['ar-eg'] = "";
$text['description-call_flow_status']['de-at'] = "Status festlegen."; //copied from de-de
$text['description-call_flow_status']['de-ch'] = "Status festlegen."; //copied from de-de
$text['description-call_flow_status']['de-de'] = "Status festlegen.";
$text['description-call_flow_status']['es-cl'] = "Seleccione el estado.";
$text['description-call_flow_status']['es-mx'] = "Seleccione el estado."; //copied from es-cl
$text['description-call_flow_status']['fr-ca'] = "Choisir le statut."; //copied from fr-fr
$text['description-call_flow_status']['fr-fr'] = "Choisir le statut.";
$text['description-call_flow_status']['he-il'] = "";
$text['description-call_flow_status']['it-it'] = "";
$text['description-call_flow_status']['nl-nl'] = "";
$text['description-call_flow_status']['pl-pl'] = "Wybierz status użytkownika";
$text['description-call_flow_status']['pt-br'] = "Escolha o estado.";
$text['description-call_flow_status']['pt-pt'] = "Seleccione o estado.";
$text['description-call_flow_status']['ro-ro'] = "";
$text['description-call_flow_status']['ru-ru'] = "Виберите состояние.";
$text['description-call_flow_status']['sv-se'] = "Välj Status";
$text['description-call_flow_status']['uk-ua'] = "Виберіть статус користувача";
$text['description-status']['en-us'] = "Select the status.";
$text['description-status']['es-cl'] = "Seleccione el estado.";
$text['description-status']['pt-pt'] = "Seleccione o estado.";
$text['description-status']['fr-fr'] = "Choisir le statut.";
$text['description-status']['pt-br'] = "Escolha o estado.";
$text['description-status']['pl'] = "Wybierz status użytkownika";
$text['description-status']['sv-se'] = "Välj Status";
$text['description-status']['uk'] = "Виберіть статус користувача";
$text['description-status']['de-at'] = "Benutzerstatus auswählen";
$text['description-call_flow_pin_number']['en-us'] = "Enter the pin number.";
$text['description-call_flow_pin_number']['ar-eg'] = "";
$text['description-call_flow_pin_number']['de-at'] = "Geben Sie eine PIN ein."; //copied from de-de
$text['description-call_flow_pin_number']['de-ch'] = "Geben Sie eine PIN ein."; //copied from de-de
$text['description-call_flow_pin_number']['de-de'] = "Geben Sie eine PIN ein.";
$text['description-call_flow_pin_number']['es-cl'] = "Ingrese el número PIN.";
$text['description-call_flow_pin_number']['es-mx'] = "Ingrese el número PIN."; //copied from es-cl
$text['description-call_flow_pin_number']['fr-ca'] = "Choisir le code PIN."; //copied from fr-fr
$text['description-call_flow_pin_number']['fr-fr'] = "Choisir le code PIN.";
$text['description-call_flow_pin_number']['he-il'] = "";
$text['description-call_flow_pin_number']['it-it'] = "";
$text['description-call_flow_pin_number']['nl-nl'] = "";
$text['description-call_flow_pin_number']['pl-pl'] = "Wprowadź numer PIN";
$text['description-call_flow_pin_number']['pt-br'] = "Insira o código PIN.";
$text['description-call_flow_pin_number']['pt-pt'] = "Introduza o código PIN";
$text['description-call_flow_pin_number']['ro-ro'] = "";
$text['description-call_flow_pin_number']['ru-ru'] = "Введите пин-код.";
$text['description-call_flow_pin_number']['sv-se'] = "Ange PIN Kod.";
$text['description-call_flow_pin_number']['uk-ua'] = "Введіть пін - код.";
$text['description-pin_number']['en-us'] = "Enter the pin number.";
$text['description-pin_number']['es-cl'] = "Ingrese el número PIN.";
$text['description-pin_number']['pt-pt'] = "Introduza o código PIN";
$text['description-pin_number']['fr-fr'] = "Choisir le code PIN.";
$text['description-pin_number']['pt-br'] = "Insira o código PIN.";
$text['description-pin_number']['pl'] = "Wprowadź numer PIN";
$text['description-pin_number']['sv-se'] = "Ange PIN Kod.";
$text['description-pin_number']['uk'] = "Введіть пін - код.";
$text['description-pin_number']['de-at'] = "Geben Sie einen PIN ein.";
$text['description-call_flow_name']['en-us'] = "Enter the name.";
$text['description-call_flow_name']['ar-eg'] = "";
$text['description-call_flow_name']['de-at'] = "Geben Sie den Namen an"; //copied from de-de
$text['description-call_flow_name']['de-ch'] = "Geben Sie den Namen an"; //copied from de-de
$text['description-call_flow_name']['de-de'] = "Geben Sie den Namen an";
$text['description-call_flow_name']['es-cl'] = "Ingrese el nombre.";
$text['description-call_flow_name']['es-mx'] = "Ingrese el nombre."; //copied from es-cl
$text['description-call_flow_name']['fr-ca'] = "Choisr le nom."; //copied from fr-fr
$text['description-call_flow_name']['fr-fr'] = "Choisr le nom.";
$text['description-call_flow_name']['he-il'] = "";
$text['description-call_flow_name']['it-it'] = "";
$text['description-call_flow_name']['nl-nl'] = "";
$text['description-call_flow_name']['pl-pl'] = "Wprowadź nazwę";
$text['description-call_flow_name']['pt-br'] = "Insira o nome.";
$text['description-call_flow_name']['pt-pt'] = "Introduza o nome.";
$text['description-call_flow_name']['ro-ro'] = "";
$text['description-call_flow_name']['ru-ru'] = "Введите имя.";
$text['description-call_flow_name']['sv-se'] = "Ange Namn.";
$text['description-call_flow_name']['uk-ua'] = "Введіть назву меню";
$text['description-name']['en-us'] = "Enter the name.";
$text['description-name']['es-cl'] = "Ingrese el nombre.";
$text['description-name']['pt-pt'] = "Introduza o nome.";
$text['description-name']['fr-fr'] = "Choisr le nom.";
$text['description-name']['pt-br'] = "Insira o nome.";
$text['description-name']['pl'] = "Wprowadź nazwę";
$text['description-name']['sv-se'] = "Ange Namn.";
$text['description-name']['uk'] = "Введіть назву меню";
$text['description-name']['de-at'] = "Geben Sie den Namen des Menüs an";
$text['description-call_flow_feature_code']['en-us'] = "Enter the feature code.";
$text['description-call_flow_feature_code']['ar-eg'] = "";
$text['description-call_flow_feature_code']['de-at'] = "Geben Sie den Funktions-Code an."; //copied from de-de
$text['description-call_flow_feature_code']['de-ch'] = "Geben Sie den Funktions-Code an."; //copied from de-de
$text['description-call_flow_feature_code']['de-de'] = "Geben Sie den Funktions-Code an.";
$text['description-call_flow_feature_code']['es-cl'] = "Ingrese el código distintivo.";
$text['description-call_flow_feature_code']['es-mx'] = "Ingrese el código distintivo."; //copied from es-cl
$text['description-call_flow_feature_code']['fr-ca'] = "Choisir le code la fonction"; //copied from fr-fr
$text['description-call_flow_feature_code']['fr-fr'] = "Choisir le code la fonction";
$text['description-call_flow_feature_code']['he-il'] = "";
$text['description-call_flow_feature_code']['it-it'] = "";
$text['description-call_flow_feature_code']['nl-nl'] = "";
$text['description-call_flow_feature_code']['pl-pl'] = "Dodaj specjalny kod";
$text['description-call_flow_feature_code']['pt-br'] = "Insira o código de função.";
$text['description-call_flow_feature_code']['pt-pt'] = "Introduza o código de função.";
$text['description-call_flow_feature_code']['ro-ro'] = "";
$text['description-call_flow_feature_code']['ru-ru'] = "Введите код функции.";
$text['description-call_flow_feature_code']['sv-se'] = "Ange Funktionskoden.";
$text['description-call_flow_feature_code']['uk-ua'] = "Введіть код об'єкта.";
$text['description-feature_code']['en-us'] = "Enter the feature code.";
$text['description-feature_code']['es-cl'] = "Ingrese el código distintivo.";
$text['description-feature_code']['pt-pt'] = "Introduza o código de função.";
$text['description-feature_code']['fr-fr'] = "Choisir le code la fonction";
$text['description-feature_code']['pt-br'] = "Insira o código de função.";
$text['description-feature_code']['pl'] = "Dodaj specjalny kod";
$text['description-feature_code']['sv-se'] = "Ange Funktionskoden.";
$text['description-feature_code']['uk'] = "Введіть код об'єкта.";
$text['description-feature_code']['de-at'] = "Geben Sie den Stern-Code an.";
$text['description-call_flow_extension']['en-us'] = "Enter the extension number.";
$text['description-call_flow_extension']['ar-eg'] = "";
$text['description-call_flow_extension']['de-at'] = "Weisen Sie die Nebenstelle aus."; //copied from de-de
$text['description-call_flow_extension']['de-ch'] = "Weisen Sie die Nebenstelle aus."; //copied from de-de
$text['description-call_flow_extension']['de-de'] = "Weisen Sie die Nebenstelle aus.";
$text['description-call_flow_extension']['es-cl'] = "Ingrese el número de extensión.";
$text['description-call_flow_extension']['es-mx'] = "Ingrese el número de extensión."; //copied from es-cl
$text['description-call_flow_extension']['fr-ca'] = "Choisir le numéro d'extension."; //copied from fr-fr
$text['description-call_flow_extension']['fr-fr'] = "Choisir le numéro d'extension.";
$text['description-call_flow_extension']['he-il'] = "";
$text['description-call_flow_extension']['it-it'] = "";
$text['description-call_flow_extension']['nl-nl'] = "";
$text['description-call_flow_extension']['pl-pl'] = "Wprowadź alfanumeryczny numer wewnętrzny. Domyślna konfiguracja pozwala na 2-7 cyfrowe numery wewnętrzne";
$text['description-call_flow_extension']['pt-br'] = "Atribua o número de ramal.";
$text['description-call_flow_extension']['pt-pt'] = "Introduza o número da extensão.";
$text['description-call_flow_extension']['ro-ro'] = "";
$text['description-call_flow_extension']['ru-ru'] = "Введите внутренний номер.";
$text['description-call_flow_extension']['sv-se'] = "Ange anknytningsnumret.";
$text['description-call_flow_extension']['uk-ua'] = "Введіть номер розширення.";
$text['description-extension']['en-us'] = "Enter the extension number.";
$text['description-extension']['es-cl'] = "Ingrese el número de extensión.";
$text['description-extension']['pt-pt'] = "Introduza o número da extensão.";
$text['description-extension']['fr-fr'] = "Choisir le numéro d'extension.";
$text['description-extension']['pt-br'] = "Atribua o número de ramal.";
$text['description-extension']['pl'] = "Wprowadź alfanumeryczny numer wewnętrzny. Domyślna konfiguracja pozwala na 2-7 cyfrowe numery wewnętrzne";
$text['description-extension']['sv-se'] = "Ange anknytningsnumret.";
$text['description-extension']['uk'] = "Введіть номер розширення.";
$text['description-extension']['de-at'] = "Weisen Sie die Nebenstellen und Linien einem Gerät zu.";
$text['description-call_flow_destination_label']['en-us'] = "Enter the destination label.";
$text['description-call_flow_destination_label']['ar-eg'] = "";
$text['description-call_flow_destination_label']['de-at'] = "Geben Sie eine Beschreibung für das Ziel an."; //copied from de-de
$text['description-call_flow_destination_label']['de-ch'] = "Geben Sie eine Beschreibung für das Ziel an."; //copied from de-de
$text['description-call_flow_destination_label']['de-de'] = "Geben Sie eine Beschreibung für das Ziel an.";
$text['description-call_flow_destination_label']['es-cl'] = "Ingrese la etiqueta de destino.";
$text['description-call_flow_destination_label']['es-mx'] = "Ingrese la etiqueta de destino."; //copied from es-cl
$text['description-call_flow_destination_label']['fr-ca'] = "Choisir le label de la destination."; //copied from fr-fr
$text['description-call_flow_destination_label']['fr-fr'] = "Choisir le label de la destination.";
$text['description-call_flow_destination_label']['he-il'] = "";
$text['description-call_flow_destination_label']['it-it'] = "";
$text['description-call_flow_destination_label']['nl-nl'] = "";
$text['description-call_flow_destination_label']['pl-pl'] = "Wprowadź opis destynacji";
$text['description-call_flow_destination_label']['pt-br'] = "Insira o destino.";
$text['description-call_flow_destination_label']['pt-pt'] = "Introduza o destino.";
$text['description-call_flow_destination_label']['ro-ro'] = "";
$text['description-call_flow_destination_label']['ru-ru'] = "Введите название направления.";
$text['description-call_flow_destination_label']['sv-se'] = "Ange Destinations Etiketten.";
$text['description-call_flow_destination_label']['uk-ua'] = "Введіть мітку призначення.";
$text['description-destination_label']['en-us'] = "Enter the destination label.";
$text['description-destination_label']['es-cl'] = "Ingrese la etiqueta de destino.";
$text['description-destination_label']['pt-pt'] = "Introduza o destino.";
$text['description-destination_label']['fr-fr'] = "Choisir le label de la destination.";
$text['description-destination_label']['pt-br'] = "Insira o destino.";
$text['description-destination_label']['pl'] = "Wprowadź opis destynacji";
$text['description-destination_label']['sv-se'] = "Ange Destinations Etiketten.";
$text['description-destination_label']['uk'] = "Введіть мітку призначення.";
$text['description-destination_label']['de-at'] = "Geben Sie eine Beschreibung für das Ziel an.";
$text['description-call_flow_destination']['en-us'] = "Select the destination.";
$text['description-call_flow_destination']['ar-eg'] = "";
$text['description-call_flow_destination']['de-at'] = "Wählen Sie das Ziel."; //copied from de-de
$text['description-call_flow_destination']['de-ch'] = "Wählen Sie das Ziel."; //copied from de-de
$text['description-call_flow_destination']['de-de'] = "Wählen Sie das Ziel.";
$text['description-call_flow_destination']['es-cl'] = "Seleccione el destino.";
$text['description-call_flow_destination']['es-mx'] = "Seleccione el destino."; //copied from es-cl
$text['description-call_flow_destination']['fr-ca'] = "Choisir la destination."; //copied from fr-fr
$text['description-call_flow_destination']['fr-fr'] = "Choisir la destination.";
$text['description-call_flow_destination']['he-il'] = "";
$text['description-call_flow_destination']['it-it'] = "";
$text['description-call_flow_destination']['nl-nl'] = "";
$text['description-call_flow_destination']['pl-pl'] = "Wybierz numer docelowy.";
$text['description-call_flow_destination']['pt-br'] = "Selecionar o destino da chamada.";
$text['description-call_flow_destination']['pt-pt'] = "Seleccione o destino.";
$text['description-call_flow_destination']['ro-ro'] = "";
$text['description-call_flow_destination']['ru-ru'] = "Выберите назначение.";
$text['description-call_flow_destination']['sv-se'] = "Välj destinationen.";
$text['description-call_flow_destination']['uk-ua'] = "Відправити дзвінок на розширення, меню IVR, конференцію, або будь-який інший номер.";
$text['description-destination']['en-us'] = "Select the destination.";
$text['description-destination']['es-cl'] = "Seleccione el destino.";
$text['description-destination']['pt-pt'] = "Seleccione o destino.";
$text['description-destination']['fr-fr'] = "Choisir la destination.";
$text['description-destination']['pt-br'] = "Selecionar o destino da chamada.";
$text['description-destination']['pl'] = "Wybierz numer docelowy.";
$text['description-destination']['sv-se'] = "Välj destinationen.";
$text['description-destination']['uk'] = "Відправити дзвінок на розширення, меню IVR, конференцію, або будь-який інший номер.";
$text['description-destination']['de-at'] = "Wählen Sie das Ziel.";
$text['description-context']['en-us'] = "Enter the context.";
$text['description-context']['es-cl'] = "Ingrese el contexto.";
$text['description-context']['pt-pt'] = "Introduza o contexto";
$text['description-context']['fr-fr'] = "Choisir le contexte.";
$text['description-context']['pt-br'] = "Insira o contexto.";
$text['description-context']['pl'] = "Wprowadź kontekst";
$text['description-context']['sv-se'] = "Ange Context.";
$text['description-context']['uk'] = "Введіть контекст.";
$text['description-context']['de-at'] = "Geben Sie den Kontext hier an.";
$text['description-call_flow_context']['en-us'] = "Enter the context.";
$text['description-call_flow_context']['ar-eg'] = "";
$text['description-call_flow_context']['de-at'] = "Geben Sie den Kontext hier an."; //copied from de-de
$text['description-call_flow_context']['de-ch'] = "Geben Sie den Kontext hier an."; //copied from de-de
$text['description-call_flow_context']['de-de'] = "Geben Sie den Kontext hier an.";
$text['description-call_flow_context']['es-cl'] = "Ingrese el contexto.";
$text['description-call_flow_context']['es-mx'] = "Ingrese el contexto."; //copied from es-cl
$text['description-call_flow_context']['fr-ca'] = "Choisir le contexte."; //copied from fr-fr
$text['description-call_flow_context']['fr-fr'] = "Choisir le contexte.";
$text['description-call_flow_context']['he-il'] = "";
$text['description-call_flow_context']['it-it'] = "";
$text['description-call_flow_context']['nl-nl'] = "";
$text['description-call_flow_context']['pl-pl'] = "Wprowadź kontekst";
$text['description-call_flow_context']['pt-br'] = "Insira o contexto.";
$text['description-call_flow_context']['pt-pt'] = "Introduza o contexto";
$text['description-call_flow_context']['ro-ro'] = "";
$text['description-call_flow_context']['ru-ru'] = "Введите контекст.";
$text['description-call_flow_context']['sv-se'] = "Ange Context.";
$text['description-call_flow_context']['uk-ua'] = "Введіть контекст.";
$text['description-call_flows']['en-us'] = "Direct calls between two destinations by calling a feature code.";
$text['description-call_flows']['ar-eg'] = "";
$text['description-call_flows']['de-at'] = "Leiten Sie Anrufe zwischen zwei Zielen um indem Sie einen Funktions-Code wählen."; //copied from de-de
$text['description-call_flows']['de-ch'] = "Leiten Sie Anrufe zwischen zwei Zielen um indem Sie einen Funktions-Code wählen."; //copied from de-de
$text['description-call_flows']['de-de'] = "Leiten Sie Anrufe zwischen zwei Zielen um indem Sie einen Funktions-Code wählen.";
$text['description-call_flows']['es-cl'] = "Llamadas directas entre dos destinatarios llamando a un código distintivo.";
$text['description-call_flows']['pt-pt'] = "Chamadas directas entre dois destinos recorrendo a um código de função.";
$text['description-call_flows']['es-mx'] = "Llamadas directas entre dos destinatarios llamando a un código distintivo."; //copied from es-cl
$text['description-call_flows']['fr-ca'] = "Appels directs entre deux destinations en appelant une fonction."; //copied from fr-fr
$text['description-call_flows']['fr-fr'] = "Appels directs entre deux destinations en appelant une fonction.";
$text['description-call_flows']['he-il'] = "";
$text['description-call_flows']['it-it'] = "Devia le chiamate tra due destinazioni chiamando un codice di attivazione.";
$text['description-call_flows']['nl-nl'] = "";
$text['description-call_flows']['pl-pl'] = "Kieruj rozmowy bezpośrednio pomiędzy dwoma destynacjami poprzez prowadzenie specjalnego kodu.";
$text['description-call_flows']['pt-br'] = "Chamadas diretas para dois dispositivos utilizando o código de função.";
$text['description-call_flows']['pl'] = "Kieruj rozmowy bezpośrednio pomiędzy dwoma destynacjami poprzez prowadzenie specjalnego kodu.";
$text['description-call_flows']['pt-pt'] = "Chamadas directas entre dois destinos recorrendo a um código de função.";
$text['description-call_flows']['ro-ro'] = "";
$text['description-call_flows']['ru-ru'] = "Переключите вызовы между двумя направлениями с помощью кода дополнительного вида обслуживания.";
$text['description-call_flows']['sv-se'] = "Samtal mellan två destinationer genom att ringa en funktionskod.";
$text['description-call_flows']['uk'] = "Прямі виклики між двома пунктами шляхом виклику коду функції.";
$text['description-call_flows']['de-at'] = "Leiten Sie Anrufe zwischen zwei Zielen um indem Sie einen Stern-Code wählen.";
$text['description-call_flows']['uk-ua'] = "Прямі виклики між двома пунктами шляхом виклику коду функції.";
$text['description-alternate_label']['en-us'] = "Enter the alternate destination label.";
$text['description-alternate_label']['es-cl'] = "Ingrese la etiqueta de destino alternativo.";
$text['description-alternate_label']['pt-pt'] = "Introduza um destino alternativo.";
$text['description-alternate_label']['fr-fr'] = "Choisir le label de la destination alternative.";
$text['description-alternate_label']['pt-br'] = "Insira um destino alternativo.";
$text['description-alternate_label']['pl'] = "Wprowadź alternatywny opis destynacji";
$text['description-alternate_label']['sv-se'] = "Ange den alternativa destinations etiketten.";
$text['description-alternate_label']['uk'] = "Введіть альтернативний ярлик призначення.";
$text['description-alternate_label']['de-at'] = "Geben Sie eine Beschreibung für das alternative Ziel ein.";
$text['description-call_flow_alternate_label']['en-us'] = "Enter the alternate destination label.";
$text['description-call_flow_alternate_label']['ar-eg'] = "";
$text['description-call_flow_alternate_label']['de-at'] = "Geben Sie eine Beschreibung für das alternative Ziel ein."; //copied from de-de
$text['description-call_flow_alternate_label']['de-ch'] = "Geben Sie eine Beschreibung für das alternative Ziel ein."; //copied from de-de
$text['description-call_flow_alternate_label']['de-de'] = "Geben Sie eine Beschreibung für das alternative Ziel ein.";
$text['description-call_flow_alternate_label']['es-cl'] = "Ingrese la etiqueta de destino alternativo.";
$text['description-call_flow_alternate_label']['es-mx'] = "Ingrese la etiqueta de destino alternativo."; //copied from es-cl
$text['description-call_flow_alternate_label']['fr-ca'] = "Choisir le label de la destination alternative."; //copied from fr-fr
$text['description-call_flow_alternate_label']['fr-fr'] = "Choisir le label de la destination alternative.";
$text['description-call_flow_alternate_label']['he-il'] = "";
$text['description-call_flow_alternate_label']['it-it'] = "";
$text['description-call_flow_alternate_label']['nl-nl'] = "";
$text['description-call_flow_alternate_label']['pl-pl'] = "Wprowadź alternatywny opis destynacji";
$text['description-call_flow_alternate_label']['pt-br'] = "Insira um destino alternativo.";
$text['description-call_flow_alternate_label']['pt-pt'] = "Introduza um destino alternativo.";
$text['description-call_flow_alternate_label']['ro-ro'] = "";
$text['description-call_flow_alternate_label']['ru-ru'] = "Введите название альтернативного направления.";
$text['description-call_flow_alternate_label']['sv-se'] = "Ange den alternativa destinations etiketten.";
$text['description-call_flow_alternate_label']['uk-ua'] = "Введіть альтернативний ярлик призначення.";
$text['description-alternate_destination']['en-us'] = "Select the alternate destination.";
$text['description-alternate_destination']['es-cl'] = "Seleccione el destino alternativo.";
$text['description-alternate_destination']['pt-pt'] = "Seleccione um destino alternativo.";
$text['description-alternate_destination']['fr-fr'] = "Choisir la destination alternative.";
$text['description-alternate_destination']['pt-br'] = "Selecione um destino alternativo.";
$text['description-alternate_destination']['pl'] = "Wybierz alternatywną destynację";
$text['description-alternate_destination']['sv-se'] = "Välj den alternativa destinationen.";
$text['description-alternate_destination']['uk'] = "Виберіть інше розташування.";
$text['description-alternate_destination']['de-at'] = "Wählen Sie ein alternatives Ziel.";
$text['description-call_flow_alternate_destination']['en-us'] = "Select the alternate destination.";
$text['description-call_flow_alternate_destination']['ar-eg'] = "";
$text['description-call_flow_alternate_destination']['de-at'] = "Wählen Sie ein alternatives Ziel."; //copied from de-de
$text['description-call_flow_alternate_destination']['de-ch'] = "Wählen Sie ein alternatives Ziel."; //copied from de-de
$text['description-call_flow_alternate_destination']['de-de'] = "Wählen Sie ein alternatives Ziel.";
$text['description-call_flow_alternate_destination']['es-cl'] = "Seleccione el destino alternativo.";
$text['description-call_flow_alternate_destination']['es-mx'] = "Seleccione el destino alternativo."; //copied from es-cl
$text['description-call_flow_alternate_destination']['fr-ca'] = "Choisir la destination alternative."; //copied from fr-fr
$text['description-call_flow_alternate_destination']['fr-fr'] = "Choisir la destination alternative.";
$text['description-call_flow_alternate_destination']['he-il'] = "";
$text['description-call_flow_alternate_destination']['it-it'] = "";
$text['description-call_flow_alternate_destination']['nl-nl'] = "";
$text['description-call_flow_alternate_destination']['pl-pl'] = "Wybierz alternatywną destynację";
$text['description-call_flow_alternate_destination']['pt-br'] = "Selecione um destino alternativo.";
$text['description-call_flow_alternate_destination']['pt-pt'] = "Seleccione um destino alternativo.";
$text['description-call_flow_alternate_destination']['ro-ro'] = "";
$text['description-call_flow_alternate_destination']['ru-ru'] = "Выберите альтернативное направление.";
$text['description-call_flow_alternate_destination']['sv-se'] = "Välj den alternativa destinationen.";
$text['description-call_flow_alternate_destination']['uk-ua'] = "Виберіть інше розташування.";
$text['description-sound']['en-us'] = "Select the sound to play when the status is set to the destinations.";
$text['description-sound']['es-cl'] = "Seleccione el sonido a reproducir cuando el estado se establece en el destino.";
$text['description-sound']['pt-pt'] = "Selecione o som para tocar quando o status é definido como o destino.";
$text['description-sound']['fr-fr'] = "Sélectionnez le son à jouer lorsque l'état est réglé sur la destination.";
$text['description-sound']['pt-br'] = "Selecione o som para tocar quando o status é definido para o destino.";
$text['description-sound']['pl'] = "Wybierz dźwięk do odtworzenia, gdy status jest ustawiony do miejsca przeznaczenia.";
$text['description-sound']['sv-se'] = "Välj ljud att spela när status är inställd på destinationen.";
$text['description-sound']['uk'] = "Виберіть звук для відтворення , коли статус встановлений в пункти призначення.";
$text['description-sound']['de-at'] = "Wählen Sie den Ton zu spielen, wenn der Status auf das Ziel festgelegt ist.";
$text['description-call_flow_sound']['en-us'] = "Select the sound to play when the status is set to the destinations.";
$text['description-call_flow_sound']['ar-eg'] = "";
$text['description-call_flow_sound']['de-at'] = "Wählen Sie den zu spielenden Rufton aus, wenn das primäre Ziel ausgewählt ist."; //copied from de-de
$text['description-call_flow_sound']['de-ch'] = "Wählen Sie den zu spielenden Rufton aus, wenn das primäre Ziel ausgewählt ist."; //copied from de-de
$text['description-call_flow_sound']['de-de'] = "Wählen Sie den zu spielenden Rufton aus, wenn das primäre Ziel ausgewählt ist.";
$text['description-call_flow_sound']['es-cl'] = "Seleccione el sonido a reproducir cuando el estado se establece en el destino.";
$text['description-call_flow_sound']['es-mx'] = "Seleccione el sonido a reproducir cuando el estado se establece en el destino."; //copied from es-cl
$text['description-call_flow_sound']['fr-ca'] = "Sélectionnez le son à jouer lorsque l'état est réglé sur la destination."; //copied from fr-fr
$text['description-call_flow_sound']['fr-fr'] = "Sélectionnez le son à jouer lorsque l'état est réglé sur la destination.";
$text['description-call_flow_sound']['he-il'] = "";
$text['description-call_flow_sound']['it-it'] = "";
$text['description-call_flow_sound']['nl-nl'] = "";
$text['description-call_flow_sound']['pl-pl'] = "Wybierz dźwięk do odtworzenia, gdy status jest ustawiony do miejsca przeznaczenia.";
$text['description-call_flow_sound']['pt-br'] = "Selecione o som para tocar quando o status é definido para o destino.";
$text['description-call_flow_sound']['pt-pt'] = "Selecione o som para tocar quando o status é definido como o destino.";
$text['description-call_flow_sound']['ro-ro'] = "";
$text['description-call_flow_sound']['ru-ru'] = "Выберите звук для воспроизведения, когда состояние устанавливается в пункты назначения.";
$text['description-call_flow_sound']['sv-se'] = "Välj ljud att spela när status är inställd på destinationen.";
$text['description-call_flow_sound']['uk-ua'] = "Виберіть звук для відтворення , коли статус встановлений в пункти призначення.";
$text['description-alternate_sound']['en-us'] = "Select the sound to play when status is set to the alternate destination.";
$text['description-alternate_sound']['es-cl'] = "Seleccione el sonido a reproducir cuando el estado se establece en el destino alternativo.";
$text['description-alternate_sound']['pt-pt'] = "Selecione o som para tocar quando o status é definido como o destino alternativo.";
$text['description-alternate_sound']['fr-fr'] = "Sélectionnez le son à jouer lorsque l'état est réglé sur la destination alternative.";
$text['description-alternate_sound']['pt-br'] = "Selecione o som para tocar quando o status é definido para o destino alternativo.";
$text['description-alternate_sound']['pl'] = "Wybierz dźwięk do odtworzenia, gdy status jest ustawiony na alternatywnego przeznaczenia.";
$text['description-alternate_sound']['sv-se'] = "Välj ljud att spela när status är inställd på den alternativa destinationen.";
$text['description-alternate_sound']['uk'] = "Виберіть звук для відтворення , коли встановлено стан альтернативного призначення.";
$text['description-alternate_sound']['de-at'] = "Wählen Sie den Ton zu spielen, wenn der Status auf den alternativen Ziel gesetzt.";
$text['description-call_flow_alternate_sound']['en-us'] = "Select the sound to play when status is set to the alternate destination.";
$text['description-call_flow_alternate_sound']['ar-eg'] = "";
$text['description-call_flow_alternate_sound']['de-at'] = "Wählen Sie den zu spielenden Rufton aus, wenn das alternative Ziel ausgewählt ist."; //copied from de-de
$text['description-call_flow_alternate_sound']['de-ch'] = "Wählen Sie den zu spielenden Rufton aus, wenn das alternative Ziel ausgewählt ist."; //copied from de-de
$text['description-call_flow_alternate_sound']['de-de'] = "Wählen Sie den zu spielenden Rufton aus, wenn das alternative Ziel ausgewählt ist.";
$text['description-call_flow_alternate_sound']['es-cl'] = "Seleccione el sonido a reproducir cuando el estado se establece en el destino alternativo.";
$text['description-call_flow_alternate_sound']['es-mx'] = "Seleccione el sonido a reproducir cuando el estado se establece en el destino alternativo."; //copied from es-cl
$text['description-call_flow_alternate_sound']['fr-ca'] = "Sélectionnez le son à jouer lorsque l'état est réglé sur la destination alternative."; //copied from fr-fr
$text['description-call_flow_alternate_sound']['fr-fr'] = "Sélectionnez le son à jouer lorsque l'état est réglé sur la destination alternative.";
$text['description-call_flow_alternate_sound']['he-il'] = "";
$text['description-call_flow_alternate_sound']['it-it'] = "";
$text['description-call_flow_alternate_sound']['nl-nl'] = "";
$text['description-call_flow_alternate_sound']['pl-pl'] = "Wybierz dźwięk do odtworzenia, gdy status jest ustawiony na alternatywnego przeznaczenia.";
$text['description-call_flow_alternate_sound']['pt-br'] = "Selecione o som para tocar quando o status é definido para o destino alternativo.";
$text['description-call_flow_alternate_sound']['pt-pt'] = "Selecione o som para tocar quando o status é definido como o destino alternativo.";
$text['description-call_flow_alternate_sound']['ro-ro'] = "";
$text['description-call_flow_alternate_sound']['ru-ru'] = "Выберите звук, который воспроизводится когда статус устанавливается в альтернативное направление.";
$text['description-call_flow_alternate_sound']['sv-se'] = "Välj ljud att spela när status är inställd på den alternativa destinationen.";
$text['description-call_flow_alternate_sound']['uk-ua'] = "Виберіть звук для відтворення , коли встановлено стан альтернативного призначення.";
$text['recordings']['en-us'] = "Recordings";
$text['recordings']['ar-eg'] = "";
$text['recordings']['de-at'] = "Aufnahmen"; //copied from de-de
$text['recordings']['de-ch'] = "Aufnahmen"; //copied from de-de
$text['recordings']['de-de'] = "Aufnahmen";
$text['recordings']['es-cl'] = "grabaciones";
$text['recordings']['pt-pt'] = "gravações";
$text['recordings']['es-mx'] = "grabaciones"; //copied from es-cl
$text['recordings']['fr-ca'] = "Recordings"; //copied from fr-fr
$text['recordings']['fr-fr'] = "Recordings";
$text['recordings']['he-il'] = "";
$text['recordings']['it-it'] = "Registrazioni";
$text['recordings']['nl-nl'] = "";
$text['recordings']['pl-pl'] = "nagrania";
$text['recordings']['pt-br'] = "Gravações";
$text['recordings']['pl'] = "nagrania";
$text['recordings']['pt-pt'] = "gravações";
$text['recordings']['ro-ro'] = "";
$text['recordings']['ru-ru'] = "Записи";
$text['recordings']['sv-se'] = "inspelningar";
$text['recordings']['uk'] = "записи";
$text['recordings']['de-at'] = "Aufnahmen";
$text['recordings']['uk-ua'] = "записи";
$text['miscellaneous']['en-us'] = "Miscellaneous";
$text['miscellaneous']['ar-eg'] = "";
$text['miscellaneous']['de-at'] = "Sonstiges"; //copied from de-de
$text['miscellaneous']['de-ch'] = "Sonstiges"; //copied from de-de
$text['miscellaneous']['de-de'] = "Sonstiges";
$text['miscellaneous']['es-cl'] = "Diverso";
$text['miscellaneous']['pt-pt'] = "Variado";
$text['miscellaneous']['es-mx'] = "Diverso"; //copied from es-cl
$text['miscellaneous']['fr-ca'] = "Divers"; //copied from fr-fr
$text['miscellaneous']['fr-fr'] = "Divers";
$text['miscellaneous']['he-il'] = "";
$text['miscellaneous']['it-it'] = "Varie";
$text['miscellaneous']['nl-nl'] = "";
$text['miscellaneous']['pl-pl'] = "Różne";
$text['miscellaneous']['pt-br'] = "Diversos";
$text['miscellaneous']['pl'] = "Różne";
$text['miscellaneous']['pt-pt'] = "Variado";
$text['miscellaneous']['ro-ro'] = "";
$text['miscellaneous']['ru-ru'] = "Разное";
$text['miscellaneous']['sv-se'] = "Diverse";
$text['miscellaneous']['uk'] = "Різне";
$text['miscellaneous']['de-at'] = "Sonstiges";
$text['miscellaneous']['uk-ua'] = "Різне";
$text['sounds']['en-us'] = "Sounds";
$text['sounds']['ar-eg'] = "";
$text['sounds']['de-at'] = "Ruftöne"; //copied from de-de
$text['sounds']['de-ch'] = "Ruftöne"; //copied from de-de
$text['sounds']['de-de'] = "Ruftöne";
$text['sounds']['es-cl'] = "Sonidos";
$text['sounds']['pt-pt'] = "Sons";
$text['sounds']['es-mx'] = "Sonidos"; //copied from es-cl
$text['sounds']['fr-ca'] = "des sons"; //copied from fr-fr
$text['sounds']['fr-fr'] = "des sons";
$text['sounds']['pt-br'] = "Sons";
$text['sounds']['pl'] = "Dźwięki";
$text['sounds']['he-il'] = "";
$text['sounds']['it-it'] = "Audio";
$text['sounds']['nl-nl'] = "";
$text['sounds']['pl-pl'] = "Dźwięki";
$text['sounds']['pt-br'] = "Sons"; //copied from pt-pt
$text['sounds']['pt-pt'] = "Sons";
$text['sounds']['ro-ro'] = "";
$text['sounds']['ru-ru'] = "Звуки";
$text['sounds']['sv-se'] = "Ljud";
$text['sounds']['uk'] = "звуки";
$text['sounds']['de-at'] = "Geräusche";
$text['sounds']['uk-ua'] = "звуки";
?>
+26 -15
View File
@@ -1,19 +1,30 @@
<?php
$apps[$x]['menu'][0]['title']['en-us'] = "Call Flows";
$apps[$x]['menu'][0]['title']['pt-br'] = "Fluxo de chamadas";
$apps[$x]['menu'][0]['title']['es-cl'] = "Flujo de Llamada";
$apps[$x]['menu'][0]['title']['fr-fr'] = "cinématiques d'Appel";
$apps[$x]['menu'][0]['title']['fr-ca'] = "Circulation d'Appel";
$apps[$x]['menu'][0]['title']['pl'] = "Przepływ rozmów";
$apps[$x]['menu'][0]['title']['sv-se'] = "Samtalsflöden";
$apps[$x]['menu'][0]['title']['uk'] = "Потоки дзвінків";
$apps[$x]['menu'][0]['title']['de-at'] = "Anruf Steuerung";
$apps[$x]['menu'][0]['uuid'] = "b0939384-7055-44e8-8b4c-9f72293e1878";
$apps[$x]['menu'][0]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
$apps[$x]['menu'][0]['category'] = "internal";
$apps[$x]['menu'][0]['path'] = "/app/call_flows/call_flows.php";
$apps[$x]['menu'][0]['groups'][] = "superadmin";
$apps[$x]['menu'][0]['groups'][] = "admin";
$y=0;
$apps[$x]['menu'][$y]['title']['en-us'] = "Call Flows";
$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
$apps[$x]['menu'][$y]['title']['de-at'] = "Anruf Steuerung";
$apps[$x]['menu'][$y]['title']['de-ch'] = "";
$apps[$x]['menu'][$y]['title']['de-de'] = "Anruf Steuerung";
$apps[$x]['menu'][$y]['title']['es-cl'] = "Flujo de Llamada";
$apps[$x]['menu'][$y]['title']['es-mx'] = "";
$apps[$x]['menu'][$y]['title']['fr-ca'] = "Circulation d'Appel";
$apps[$x]['menu'][$y]['title']['fr-fr'] = "cinématiques d'Appel";
$apps[$x]['menu'][$y]['title']['he-il'] = "";
$apps[$x]['menu'][$y]['title']['it-it'] = "Deviatori di Chiamata";
$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
$apps[$x]['menu'][$y]['title']['pl-pl'] = "Przepływ rozmów";
$apps[$x]['menu'][$y]['title']['pt-br'] = "Fluxo de chamadas";
$apps[$x]['menu'][$y]['title']['pt-pt'] = "";
$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Переключатель вызовов";
$apps[$x]['menu'][$y]['title']['sv-se'] = "Samtalsflöden";
$apps[$x]['menu'][$y]['title']['uk-ua'] = "Потоки дзвінків";
$apps[$x]['menu'][$y]['uuid'] = "b0939384-7055-44e8-8b4c-9f72293e1878";
$apps[$x]['menu'][$y]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
$apps[$x]['menu'][$y]['category'] = "internal";
$apps[$x]['menu'][$y]['path'] = "/app/call_flows/call_flows.php";
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
$apps[$x]['menu'][$y]['groups'][] = "admin";
?>
+1 -1
View File
@@ -91,7 +91,7 @@ if (strlen($id)>0) {
}
$_SESSION["message"] = $text['message-delete'];
messages::add($text['message-delete']);
header("Location: call_flows.php");
return;
+258 -357
View File
@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2016
Portions created by the Initial Developer are Copyright (C) 2008-2018
the Initial Developer. All Rights Reserved.
Contributor(s):
@@ -28,9 +28,9 @@
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
require_once "resources/check_auth.php";
if (permission_exists('call_flow_add') || permission_exists('call_flow_edit')) {
//access granted
}
@@ -53,12 +53,14 @@
}
//get http post variables and set them to php variables
if (count($_POST) > 0) {
if (is_array($_POST)) {
//set the variables from the http values
$call_flow_uuid = check_str($_POST["call_flow_uuid"]);
$dialplan_uuid = check_str($_POST["dialplan_uuid"]);
$call_flow_name = check_str($_POST["call_flow_name"]);
$call_flow_extension = check_str($_POST["call_flow_extension"]);
$call_flow_feature_code = check_str($_POST["call_flow_feature_code"]);
$call_flow_context = check_str($_POST["call_flow_context"]);
$call_flow_status = check_str($_POST["call_flow_status"]);
$call_flow_pin_number = check_str($_POST["call_flow_pin_number"]);
$call_flow_label = check_str($_POST["call_flow_label"]);
@@ -67,8 +69,8 @@
$call_flow_alternate_label = check_str($_POST["call_flow_alternate_label"]);
$call_flow_alternate_sound = check_str($_POST["call_flow_alternate_sound"]);
$call_flow_alternate_destination = check_str($_POST["call_flow_alternate_destination"]);
$call_flow_context = check_str($_POST["call_flow_context"]);
$call_flow_description = check_str($_POST["call_flow_description"]);
$dialplan_uuid = check_str($_POST["dialplan_uuid"]);
//seperate the action and the param
$destination_array = explode(":", $call_flow_destination);
@@ -79,324 +81,208 @@
$alternate_destination_array = explode(":", $call_flow_alternate_destination);
$call_flow_alternate_app = array_shift($alternate_destination_array);
$call_flow_alternate_data = join(':', $alternate_destination_array);
}
//set the context for users that are not in the superadmin group
if (!if_group("superadmin")) {
//process the user data and save it to the database
if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//get the uuid from the POST
if ($action == "update") {
$call_flow_uuid = check_str($_POST["call_flow_uuid"]);
}
//check for all required data
$msg = '';
//if (strlen($domain_uuid) == 0) { $msg .= $text['message-required']." ".$text['label-domain_uuid']."<br>\n"; }
//if (strlen($call_flow_uuid) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_uuid']."<br>\n"; }
//if (strlen($dialplan_uuid) == 0) { $msg .= $text['message-required']." ".$text['label-dialplan_uuid']."<br>\n"; }
//if (strlen($call_flow_name) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_name']."<br>\n"; }
if (strlen($call_flow_extension) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_extension']."<br>\n"; }
if (strlen($call_flow_feature_code) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_feature_code']."<br>\n"; }
//if (strlen($call_flow_context) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_context']."<br>\n"; }
//if (strlen($call_flow_status) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_status']."<br>\n"; }
//if (strlen($call_flow_pin_number) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_pin_number']."<br>\n"; }
//if (strlen($call_flow_label) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_label']."<br>\n"; }
//if (strlen($call_flow_sound) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_sound']."<br>\n"; }
if (strlen($call_flow_app) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_app']."<br>\n"; }
if (strlen($call_flow_data) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_data']."<br>\n"; }
//if (strlen($call_flow_alternate_label) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_alternate_label']."<br>\n"; }
//if (strlen($call_flow_alternate_sound) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_alternate_sound']."<br>\n"; }
//if (strlen($call_flow_alternate_app) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_alternate_app']."<br>\n"; }
//if (strlen($call_flow_alternate_data) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_alternate_data']."<br>\n"; }
//if (strlen($call_flow_description) == 0) { $msg .= $text['message-required']." ".$text['label-call_flow_description']."<br>\n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
require_once "resources/header.php";
require_once "resources/persist_form_var.php";
echo "<div align='center'>\n";
echo "<table><tr><td>\n";
echo $msg."<br />";
echo "</td></tr></table>\n";
persistformvar($_POST);
echo "</div>\n";
require_once "resources/footer.php";
return;
}
//add the call_flow_uuid
if (strlen($call_flow_uuid) == 0) {
$call_flow_uuid = uuid();
}
//add the dialplan_uuid
if (strlen($dialplan_uuid) == 0) {
$dialplan_uuid = uuid();
}
//set the default context
if (permission_exists("call_flow_context")) {
//allow a user assigned to super admin to change the call_flow_context
}
else {
//if the call_flow_context was not set then set the default value
$call_flow_context = $_SESSION['domain_name'];
}
}
//escape special characters
$destination_extension = $call_flow_extension;
$destination_extension = str_replace("*", "\*", $destination_extension);
$destination_extension = str_replace("+", "\+", $destination_extension);
if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
$msg = '';
if ($action == "update") {
$call_flow_uuid = check_str($_POST["call_flow_uuid"]);
}
//check for all required data
if (strlen($call_flow_name) == 0) { $msg .= $text['message-required'].$text['label-name']."<br>\n"; }
if (strlen($call_flow_extension) == 0) { $msg .= $text['message-required'].$text['label-extension']."<br>\n"; }
//if (strlen($call_flow_feature_code) == 0) { $msg .= $text['message-required'].$text['label-feature_code']."<br>\n"; }
if (strlen($call_flow_context) == 0) { $msg .= $text['message-required'].$text['label-context']."<br>\n"; }
//if (strlen($call_flow_status) == 0) { $msg .= $text['message-required'].$text['label-status']."<br>\n"; }
//if (strlen($call_flow_pin_number) == 0) { $msg .= $text['message-required'].$text['label-pin_number']."<br>\n"; }
//if (strlen($call_flow_status) == 0) { $msg .= $text['message-required'].$text['label-status']."<br>\n"; }
//if (strlen($call_flow_label) == 0) { $msg .= $text['message-required'].$text['label-destination_label']."<br>\n"; }
//if (strlen($call_flow_app) == 0) { $msg .= $text['message-required'].$text['label-destination']."<br>\n"; }
//if (strlen($call_flow_data) == 0) { $msg .= $text['message-required'].$text['label-destination']."<br>\n"; }
//if (strlen($call_flow_alternate_label) == 0) { $msg .= $text['message-required'].$text['label-alternate_label']."<br>\n"; }
//if (strlen($call_flow_alternate_app) == 0) { $msg .= $text['message-required'].$text['label-alternate_destination']."<br>\n"; }
//if (strlen($call_flow_alternate_data) == 0) { $msg .= $text['message-required'].$text['label-alternate_destination']."<br>\n"; }
//if (strlen($call_flow_description) == 0) { $msg .= $text['message-required'].$text['label-description']."<br>\n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
require_once "resources/header.php";
require_once "resources/persist_form_var.php";
echo "<div align='center'>\n";
echo "<table><tr><td>\n";
echo $msg."<br />";
echo "</td></tr></table>\n";
persistformvar($_POST);
echo "</div>\n";
require_once "resources/footer.php";
return;
}
//add or update the database
if ($_POST["persistformvar"] != "true") {
if ($action == "add" && permission_exists('call_flow_add')) {
//prepare the uuids
$call_flow_uuid = uuid();
$dialplan_uuid = uuid();
//add the call flow
$sql = "insert into v_call_flows ";
$sql .= "(";
$sql .= "domain_uuid, ";
$sql .= "call_flow_uuid, ";
$sql .= "dialplan_uuid, ";
$sql .= "call_flow_name, ";
$sql .= "call_flow_extension, ";
$sql .= "call_flow_feature_code, ";
$sql .= "call_flow_context, ";
$sql .= "call_flow_status, ";
$sql .= "call_flow_pin_number, ";
$sql .= "call_flow_label, ";
$sql .= "call_flow_sound, ";
$sql .= "call_flow_app, ";
$sql .= "call_flow_data, ";
$sql .= "call_flow_alternate_label, ";
$sql .= "call_flow_alternate_sound, ";
$sql .= "call_flow_alternate_app, ";
$sql .= "call_flow_alternate_data, ";
$sql .= "call_flow_description ";
$sql .= ")";
$sql .= "values ";
$sql .= "(";
$sql .= "'$domain_uuid', ";
$sql .= "'".$call_flow_uuid."', ";
$sql .= "'".$dialplan_uuid."', ";
$sql .= "'$call_flow_name', ";
$sql .= "'$call_flow_extension', ";
$sql .= "'$call_flow_feature_code', ";
$sql .= "'$call_flow_context', ";
$sql .= "'$call_flow_status', ";
$sql .= "'$call_flow_pin_number', ";
$sql .= "'$call_flow_label', ";
$sql .= "'$call_flow_sound', ";
$sql .= "'$call_flow_app', ";
$sql .= "'$call_flow_data', ";
$sql .= "'$call_flow_alternate_label', ";
$sql .= "'$call_flow_alternate_sound', ";
$sql .= "'$call_flow_alternate_app', ";
$sql .= "'$call_flow_alternate_data', ";
$sql .= "'$call_flow_description' ";
$sql .= ")";
$db->exec(check_sql($sql));
unset($sql);
} //if ($action == "add")
if ($action == "update" && permission_exists('call_flow_edit')) {
//prepare the uuids
if (strlen($dialplan_uuid) == 0) {
$dialplan_uuid = uuid();
}
//add the call flow
$sql = "update v_call_flows set ";
$sql .= "dialplan_uuid = '$dialplan_uuid', ";
$sql .= "call_flow_name = '$call_flow_name', ";
$sql .= "call_flow_extension = '$call_flow_extension', ";
$sql .= "call_flow_feature_code = '$call_flow_feature_code', ";
$sql .= "call_flow_context = '$call_flow_context', ";
$sql .= "call_flow_status = '$call_flow_status', ";
$sql .= "call_flow_pin_number = '$call_flow_pin_number', ";
$sql .= "call_flow_label = '$call_flow_label', ";
$sql .= "call_flow_sound = '$call_flow_sound', ";
$sql .= "call_flow_app = '$call_flow_app', ";
$sql .= "call_flow_data = '$call_flow_data', ";
$sql .= "call_flow_alternate_label = '$call_flow_alternate_label', ";
$sql .= "call_flow_alternate_sound = '$call_flow_alternate_sound', ";
$sql .= "call_flow_alternate_app = '$call_flow_alternate_app', ";
$sql .= "call_flow_alternate_data = '$call_flow_alternate_data', ";
$sql .= "call_flow_description = '$call_flow_description' ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and call_flow_uuid = '$call_flow_uuid'";
$db->exec(check_sql($sql));
unset($sql);
} //if ($action == "update")
if ($action == "add" || $action == "update") {
//delete the dialplan
$sql = "delete from v_dialplans ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "and dialplan_uuid = '".$dialplan_uuid."' ";
$db->query(check_sql($sql));
//delete the dialplan details
$sql = "delete from v_dialplan_details ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and dialplan_uuid = '$dialplan_uuid' ";
$db->query($sql);
unset($sql);
//add the dialplan entry
$dialplan_name = $call_flow_name;
$dialplan_order ='333';
$dialplan_context = $call_flow_context;
$dialplan_enabled = 'true';
$dialplan_description = $call_flow_description;
$app_uuid = 'b1b70f85-6b42-429b-8c5a-60c8b02b7d14';
dialplan_add($_SESSION['domain_uuid'], $dialplan_uuid, $dialplan_name, $dialplan_order, $dialplan_context, $dialplan_enabled, $dialplan_description, $app_uuid);
//<condition destination_number="300" break="on-true"/>
$dialplan = new dialplan;
$dialplan->domain_uuid = $domain_uuid;
$dialplan->dialplan_uuid = $dialplan_uuid;
$dialplan->dialplan_detail_tag = 'condition'; //condition, action, antiaction
$dialplan->dialplan_detail_type = 'destination_number';
$dialplan->dialplan_detail_data = '^'.str_replace('+', '\+', str_replace('*', '\*', $call_flow_feature_code)).'$';
$dialplan->dialplan_detail_break = 'on-true';
//$dialplan->dialplan_detail_inline = '';
$dialplan->dialplan_detail_group = '1';
$dialplan->dialplan_detail_order = '000';
$dialplan->dialplan_detail_add();
unset($dialplan);
//<action application="set" data="call_flow_uuid="/>
$dialplan = new dialplan;
$dialplan->domain_uuid = $domain_uuid;
$dialplan->dialplan_uuid = $dialplan_uuid;
$dialplan->dialplan_detail_tag = 'action'; //condition, action, antiaction
$dialplan->dialplan_detail_type = 'set';
$dialplan->dialplan_detail_data = 'call_flow_uuid='.$call_flow_uuid;
//$dialplan->dialplan_detail_break = '';
//$dialplan->dialplan_detail_inline = '';
$dialplan->dialplan_detail_group = '1';
$dialplan->dialplan_detail_order = '010';
$dialplan->dialplan_detail_add();
unset($dialplan);
//<action application="set" data="feature_code=true"/>
$dialplan = new dialplan;
$dialplan->domain_uuid = $domain_uuid;
$dialplan->dialplan_uuid = $dialplan_uuid;
$dialplan->dialplan_detail_tag = 'action'; //condition, action, antiaction
$dialplan->dialplan_detail_type = 'set';
$dialplan->dialplan_detail_data = 'feature_code=true';
//$dialplan->dialplan_detail_break = '';
//$dialplan->dialplan_detail_inline = '';
$dialplan->dialplan_detail_group = '1';
$dialplan->dialplan_detail_order = '020';
$dialplan->dialplan_detail_add();
unset($dialplan);
//<action application="lua" data="call_flow.lua"/>
$dialplan = new dialplan;
$dialplan->domain_uuid = $domain_uuid;
$dialplan->dialplan_uuid = $dialplan_uuid;
$dialplan->dialplan_detail_tag = 'action'; //condition, action, antiaction
$dialplan->dialplan_detail_type = 'lua';
$dialplan->dialplan_detail_data = 'call_flow.lua';
//$dialplan->dialplan_detail_break = '';
//$dialplan->dialplan_detail_inline = '';
$dialplan->dialplan_detail_group = '1';
$dialplan->dialplan_detail_order = '030';
$dialplan->dialplan_detail_add();
unset($dialplan);
//dialplan group 2
//<condition destination_number="301"/>
$dialplan = new dialplan;
$dialplan->domain_uuid = $domain_uuid;
$dialplan->dialplan_uuid = $dialplan_uuid;
$dialplan->dialplan_detail_tag = 'condition'; //condition, action, antiaction
$dialplan->dialplan_detail_type = 'destination_number';
$dialplan->dialplan_detail_data = '^'.str_replace('+', '\+', str_replace('*', '\*', $call_flow_extension)).'$';
//$dialplan->dialplan_detail_break = '';
//$dialplan->dialplan_detail_inline = '';
$dialplan->dialplan_detail_group = '2';
$dialplan->dialplan_detail_order = '000';
$dialplan->dialplan_detail_add();
unset($dialplan);
//<action application="set" data="call_flow_uuid="/>
$dialplan = new dialplan;
$dialplan->domain_uuid = $domain_uuid;
$dialplan->dialplan_uuid = $dialplan_uuid;
$dialplan->dialplan_detail_tag = 'action'; //condition, action, antiaction
$dialplan->dialplan_detail_type = 'set';
$dialplan->dialplan_detail_data = 'call_flow_uuid='.$call_flow_uuid;
//$dialplan->dialplan_detail_break = '';
//$dialplan->dialplan_detail_inline = '';
$dialplan->dialplan_detail_group = '2';
$dialplan->dialplan_detail_order = '010';
$dialplan->dialplan_detail_add();
unset($dialplan);
//<action application="set" data="ringback=${us-ring}"/>
//$dialplan = new dialplan;
//$dialplan->domain_uuid = $domain_uuid;
//$dialplan->dialplan_uuid = $dialplan_uuid;
//$dialplan->dialplan_detail_tag = 'action'; //condition, action, antiaction
//$dialplan->dialplan_detail_type = 'set';
//$dialplan->dialplan_detail_data = 'ringback=${us-ring}';
//$dialplan->dialplan_detail_break = '';
//$dialplan->dialplan_detail_inline = '';
//$dialplan->dialplan_detail_group = '2';
//$dialplan->dialplan_detail_order = '020';
//$dialplan->dialplan_detail_add();
//unset($dialplan);
//<action application="lua" data="call_flow.lua"/>
$dialplan = new dialplan;
$dialplan->domain_uuid = $domain_uuid;
$dialplan->dialplan_uuid = $dialplan_uuid;
$dialplan->dialplan_detail_tag = 'action'; //condition, action, antiaction
$dialplan->dialplan_detail_type = 'lua';
//$dialplan->dialplan_detail_data = $call_flow_extension . ' LUA call_flow.lua';
$dialplan->dialplan_detail_data = 'call_flow.lua';
//$dialplan->dialplan_detail_break = '';
//$dialplan->dialplan_detail_inline = '';
$dialplan->dialplan_detail_group = '2';
$dialplan->dialplan_detail_order = '030';
$dialplan->dialplan_detail_add();
unset($dialplan);
//save the xml
save_dialplan_xml();
//apply settings reminder
$_SESSION["reload_xml"] = true;
//clear the cache
$cache = new cache;
$cache->delete("dialplan:".$call_flow_context);
//set the message
if ($action == "add") {
$_SESSION["message"] = $text['message-add'];
}
if ($action == "update") {
$_SESSION["message"] = $text['message-update'];
}
//redirect the browser
header("Location: call_flows.php");
return;
$destination_feature = $call_flow_feature_code;
// Allows dial feature code as `flow+<feature_code>`
if (substr($destination_feature, 0, 5) != 'flow+') {
$destination_feature = '(?:flow+)?' . $destination_feature;
}
} //if ($_POST["persistformvar"] != "true")
} //(count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0)
$destination_feature = str_replace("*", "\*", $destination_feature);
$destination_feature = str_replace("+", "\+", $destination_feature);
//build the xml dialplan
$dialplan_xml = "<extension name=\"".$call_flow_name."\" continue=\"\" uuid=\"".$dialplan_uuid."\">\n";
$dialplan_xml .= " <condition field=\"destination_number\" expression=\"^".$destination_feature."$\" break=\"on-true\">\n";
$dialplan_xml .= " <action application=\"set\" data=\"feature_code=true\"/>\n";
$dialplan_xml .= " <action application=\"set\" data=\"call_flow_uuid=".$call_flow_uuid."\"/>\n";
$dialplan_xml .= " <action application=\"lua\" data=\"call_flow.lua\"/>\n";
$dialplan_xml .= " </condition>\n";
$dialplan_xml .= " <condition field=\"destination_number\" expression=\"^".$destination_extension."$\">\n";
$dialplan_xml .= " <action application=\"set\" data=\"call_flow_uuid=".$call_flow_uuid."\"/>\n";
$dialplan_xml .= " <action application=\"lua\" data=\"call_flow.lua\"/>\n";
$dialplan_xml .= " </condition>\n";
$dialplan_xml .= "</extension>\n";
//set the row id
$i = 0;
//build the dialplan array
$array["dialplans"][$i]["domain_uuid"] = $_SESSION['domain_uuid'];
$array["dialplans"][$i]["dialplan_uuid"] = $dialplan_uuid;
$array["dialplans"][$i]["dialplan_name"] = $call_flow_name;
$array["dialplans"][$i]["dialplan_number"] = $call_flow_extension;
$array["dialplans"][$i]["dialplan_context"] = $call_flow_context;
$array["dialplans"][$i]["dialplan_continue"] = "false";
$array["dialplans"][$i]["dialplan_xml"] = $dialplan_xml;
$array["dialplans"][$i]["dialplan_order"] = "333";
$array["dialplans"][$i]["dialplan_enabled"] = "true";
$array["dialplans"][$i]["dialplan_description"] = $call_flow_description;
$array["dialplans"][$i]["app_uuid"] = "b1b70f85-6b42-429b-8c5a-60c8b02b7d14";
$array["call_flows"][$i]["call_flow_uuid"] = $call_flow_uuid;
$array["call_flows"][$i]["domain_uuid"] = $_SESSION['domain_uuid'];
$array["call_flows"][$i]["dialplan_uuid"] = $dialplan_uuid;
$array["call_flows"][$i]["call_flow_name"] = $call_flow_name;
$array["call_flows"][$i]["call_flow_extension"] = $call_flow_extension;
$array["call_flows"][$i]["call_flow_feature_code"] = $call_flow_feature_code;
$array["call_flows"][$i]["call_flow_status"] = $call_flow_status;
$array["call_flows"][$i]["call_flow_pin_number"] = $call_flow_pin_number;
$array["call_flows"][$i]["call_flow_label"] = $call_flow_label;
$array["call_flows"][$i]["call_flow_sound"] = $call_flow_sound;
$array["call_flows"][$i]["call_flow_alternate_label"] = $call_flow_alternate_label;
$array["call_flows"][$i]["call_flow_alternate_sound"] = $call_flow_alternate_sound;
$array["call_flows"][$i]["call_flow_app"] = $call_flow_app;
$array["call_flows"][$i]["call_flow_data"] = $call_flow_data;
$array["call_flows"][$i]["call_flow_alternate_app"] = $call_flow_alternate_app;
$array["call_flows"][$i]["call_flow_alternate_data"] = $call_flow_alternate_data;
$array["call_flows"][$i]["call_flow_context"] = $call_flow_context;
$array["call_flows"][$i]["call_flow_description"] = $call_flow_description;
//add the dialplan permission
$p = new permissions;
$p->add("dialplan_add", "temp");
$p->add("dialplan_edit", "temp");
//save to the data
$database = new database;
$database->app_name = 'call_flows';
$database->app_uuid = 'b1b70f85-6b42-429b-8c5a-60c8b02b7d14';
if (strlen($call_flow_uuid) > 0) {
$database->uuid($call_flow_uuid);
}
$database->save($array);
$message = $database->message;
//remove the temporary permission
$p->delete("dialplan_add", "temp");
$p->delete("dialplan_edit", "temp");
//debug info
//echo "<pre>";
//print_r($message);
//echo "</pre>";
//exit;
//save the xml
save_dialplan_xml();
//apply settings reminder
$_SESSION["reload_xml"] = true;
//clear the cache
$cache = new cache;
$cache->delete("dialplan:".$call_flow_context);
//redirect the user
if (isset($action)) {
if ($action == "add") {
messages::add($text['message-add']);
}
if ($action == "update") {
messages::add($text['message-update']);
}
header("Location: call_flows.php");
return;
}
} //(is_array($_POST) && strlen($_POST["persistformvar"]) == 0)
//initialize the destinations object
$destination = new destinations;
//pre-populate the form
if (count($_GET) > 0 && $_POST["persistformvar"] != "true") {
if (is_array($_GET) && $_POST["persistformvar"] != "true") {
$call_flow_uuid = check_str($_GET["id"]);
$sql = "select * from v_call_flows ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "where domain_uuid = '".$_SESSION["domain_uuid"]."' ";
$sql .= "and call_flow_uuid = '$call_flow_uuid' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
foreach ($result as &$row) {
//set the php variables
$call_flow_uuid = $row["call_flow_uuid"];
$dialplan_uuid = $row["dialplan_uuid"];
$call_flow_name = $row["call_flow_name"];
$call_flow_extension = $row["call_flow_extension"];
$call_flow_feature_code = $row["call_flow_feature_code"];
$call_flow_context = $row["call_flow_context"];
$call_flow_status = $row["call_flow_status"];
$call_flow_pin_number = $row["call_flow_pin_number"];
$call_flow_label = $row["call_flow_label"];
$call_flow_sound = $row["call_flow_sound"];
$call_flow_app = $row["call_flow_app"];
$call_flow_pin_number = $row["call_flow_pin_number"];
$call_flow_data = $row["call_flow_data"];
$call_flow_alternate_label = $row["call_flow_alternate_label"];
$call_flow_alternate_sound = $row["call_flow_alternate_sound"];
$call_flow_alternate_app = $row["call_flow_alternate_app"];
$call_flow_alternate_data = $row["call_flow_alternate_data"];
$call_flow_description = $row["call_flow_description"];
$dialplan_uuid = $row["dialplan_uuid"];
//if superadmin show both the app and data
if (if_group("superadmin")) {
@@ -417,18 +303,9 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
unset ($prep_statement);
}
//set the context for users that are not in the superadmin group
if (strlen($call_flow_context) == 0) {
$call_flow_context = $_SESSION['domain_name'];
}
//show the header
require_once "resources/header.php";
if ($action == "update") {
$document['title'] = $text['title-call_flow-edit'];
}
if ($action == "add") {
$document['title'] = $text['title-call_flow-add'];
//set the context for users that are not in the superadmin group
if (strlen($call_flow_context) == 0) {
$call_flow_context = $_SESSION['domain_name'];
}
//get the recordings
@@ -440,6 +317,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
$recordings = $prep_statement->fetchAll(PDO::FETCH_ASSOC);
if (if_group("superadmin")) {
require_once "resources/header.php";
echo "<script>\n";
echo "var Objs;\n";
echo "\n";
@@ -576,71 +454,56 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "</tr>\n";
}
//show the header
require_once "resources/header.php";
//show the content
echo "<form method='post' name='frm' action=''>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<form name='frm' id='frm' method='post' action=''>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td align='left' width='30%' nowrap='nowrap'><b>";
if ($action == "update") {
echo $text['header-call_flow-edit'];
}
if ($action == "add") {
echo $text['header-call_flow-add'];
}
echo "</b></td>\n";
echo "<td width='70%' align='right'>";
echo "<td align='left' width='30%' nowrap='nowrap' valign='top'><b>".$text['title-call_flow']."</b><br><br></td>\n";
echo "<td width='70%' align='right' valign='top'>\n";
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='call_flows.php'\" value='".$text['button-back']."'>";
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
echo " <input type='submit' class='btn' value='".$text['button-save']."'>";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-name']."\n";
echo " ".$text['label-call_flow_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_name' maxlength='255' value=\"$call_flow_name\">\n";
echo "<br />\n";
echo $text['description-name']."\n";
echo $text['description-call_flow_name']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-extension']."\n";
echo " ".$text['label-call_flow_extension']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_extension' maxlength='255' value=\"$call_flow_extension\">\n";
echo "<br />\n";
echo $text['description-extension']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-feature_code']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_feature_code' maxlength='255' value=\"$call_flow_feature_code\">\n";
echo "<br />\n";
echo $text['description-feature_code']."\n";
echo $text['description-call_flow_extension']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-context']."\n";
echo " ".$text['label-call_flow_feature_code']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_context' maxlength='255' value=\"$call_flow_context\">\n";
echo " <input class='formfld' type='text' name='call_flow_feature_code' maxlength='255' value=\"$call_flow_feature_code\">\n";
echo "<br />\n";
echo $text['description-context']."\n";
echo $text['description-call_flow_feature_code']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-status']."\n";
echo " ".$text['label-call_flow_status']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='call_flow_status'>\n";
@@ -679,37 +542,50 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
}
echo " </select>\n";
echo "<br />\n";
echo $text['description-status']."\n";
echo $text['description-call_flow_status']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-pin_number']."\n";
echo " ".$text['label-call_flow_pin_number']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_pin_number' maxlength='255' value=\"$call_flow_pin_number\">\n";
echo "<br />\n";
echo $text['description-pin_number']."\n";
echo $text['description-call_flow_pin_number']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-destination_label']."\n";
echo " ".$text['label-call_flow_label']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_label' maxlength='255' value=\"$call_flow_label\">\n";
echo "<br />\n";
echo $text['description-destination_label']."\n";
echo $text['description-call_flow_label']."\n";
echo "</td>\n";
echo "</tr>\n";
sound_select_list($call_flow_sound, 'call_flow_sound', 'sound', true);
sound_select_list($call_flow_sound, 'call_flow_sound', 'call_flow_sound', true);
/*
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-call_flow_sound']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_sound' maxlength='255' value=\"$call_flow_sound\">\n";
echo "<br />\n";
echo $text['description-call_flow_sound']."\n";
echo "</td>\n";
echo "</tr>\n";
*/
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-destination']."\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-call_flow_destination']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
$select_value = '';
@@ -721,26 +597,39 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo $destination->select('dialplan', 'call_flow_destination', $select_value);
unset($select_value);
echo "<br />\n";
echo $text['description-destination']."\n";
echo $text['description-call_flow_destination']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-alternate_label']."\n";
echo " ".$text['label-call_flow_alternate_label']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_alternate_label' maxlength='255' value=\"$call_flow_alternate_label\">\n";
echo "<br />\n";
echo $text['description-alternate_label']."\n";
echo $text['description-call_flow_alternate_label']."\n";
echo "</td>\n";
echo "</tr>\n";
sound_select_list($call_flow_alternate_sound, 'call_flow_alternate_sound', 'alternate_sound', true);
sound_select_list($call_flow_alternate_sound, 'call_flow_alternate_sound', 'call_flow_alternate_sound', true);
/*
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-call_flow_alternate_sound']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_alternate_sound' maxlength='255' value=\"$call_flow_alternate_sound\">\n";
echo "<br />\n";
echo $text['description-call_flow_alternate_sound']."\n";
echo "</td>\n";
echo "</tr>\n";
*/
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$text['label-alternate_destination']."\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-call_flow_alternate_destination']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
$select_value = '';
@@ -750,35 +639,47 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo $destination->select('dialplan', 'call_flow_alternate_destination', $select_value);
unset($select_value);
echo "<br />\n";
echo $text['description-alternate_destination']."\n";
echo $text['description-call_flow_alternate_destination']."\n";
echo "</td>\n";
echo "</tr>\n";
if (permission_exists('call_flow_context')) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-call_flow_context']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_context' maxlength='255' value=\"$call_flow_context\">\n";
echo "<br />\n";
echo $text['description-call_flow_context']."\n";
echo "</td>\n";
echo "</tr>\n";
}
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-description']."\n";
echo " ".$text['label-call_flow_description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='call_flow_description' maxlength='255' value=\"$call_flow_description\">\n";
echo "<br />\n";
echo $text['description-description']."\n";
echo $text['description-call_flow_description']."\n";
echo "</td>\n";
echo "</tr>\n";
echo " <tr>\n";
echo " <td colspan='2' align='right'>\n";
if ($action == "update") {
echo " <input type='hidden' name='call_flow_uuid' value='$call_flow_uuid'>\n";
echo " <input type='hidden' name='dialplan_uuid' value='$dialplan_uuid'>\n";
echo " <input type='hidden' name='call_flow_uuid' value='$call_flow_uuid'>\n";
echo " <input type='hidden' name='dialplan_uuid' value='$dialplan_uuid'>\n";
}
echo " <br>";
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
echo " <input type='submit' class='btn' value='".$text['button-save']."'>\n";
echo " </td>\n";
echo " </tr>";
echo "</table>";
echo "<br><br>";
echo "</form>";
echo "<br /><br />";
//include the footer
require_once "resources/footer.php";
?>
+141 -77
View File
@@ -17,41 +17,115 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2016
Portions created by the Initial Developer are Copyright (C) 2008-2018
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('call_flow_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
require_once "root.php";
require_once "resources/require.php";
//check permissions
require_once "resources/check_auth.php";
if (permission_exists('call_flow_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
$text = $language->get();
require_once "resources/header.php";
//set the page title
$document['title'] = $text['title-call_flows'];
require_once "resources/paging.php";
//get variables used to control the order
$order_by = $_GET["order_by"];
$order = $_GET["order"];
$order_by = check_str($_GET["order_by"]);
$order = check_str($_GET["order"]);
//add the search term
$search = strtolower(check_str($_GET["search"]));
if (strlen($search) > 0) {
$sql_search = "and (";
$sql_search .= "lower(call_flow_name) like '%".$search."%' ";
$sql_search .= "or lower(call_flow_extension) like '%".$search."%' ";
$sql_search .= "or lower(call_flow_feature_code) like '%".$search."%' ";
$sql_search .= "or lower(call_flow_context) like '%".$search."%' ";
//$sql_search .= "or lower(call_flow_status) like '%".$search."%' ";
$sql_search .= "or lower(call_flow_pin_number) like '%".$search."%' ";
$sql_search .= "or lower(call_flow_label) like '%".$search."%' ";
//$sql_search .= "or lower(call_flow_sound) like '%".$search."%' ";
//$sql_search .= "or lower(call_flow_app) like '%".$search."%' ";
//$sql_search .= "or lower(call_flow_data) like '%".$search."%' ";
$sql_search .= "or lower(call_flow_alternate_label) like '%".$search."%' ";
//$sql_search .= "or lower(call_flow_alternate_sound) like '%".$search."%' ";
//$sql_search .= "or lower(call_flow_alternate_app) like '%".$search."%' ";
//$sql_search .= "or lower(call_flow_alternate_data) like '%".$search."%' ";
$sql_search .= "or lower(call_flow_description) like '%".$search."%' ";
$sql_search .= ") ";
}
//additional includes
require_once "resources/header.php";
require_once "resources/paging.php";
//prepare to page the results
$sql = "select count(call_flow_uuid) as num_rows from v_call_flows ";
$sql .= "where domain_uuid = '".$_SESSION["domain_uuid"]."' ";
$sql .= $sql_search;
if (strlen($order_by)> 0) { $sql .= "order by $order_by $order "; }
$prep_statement = $db->prepare($sql);
if ($prep_statement) {
$prep_statement->execute();
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
if ($row['num_rows'] > 0) {
$num_rows = $row['num_rows'];
}
else {
$num_rows = '0';
}
}
//prepare to page the results
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
$param = "";
$page = $_GET['page'];
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page);
$offset = $rows_per_page * $page;
//get the list
$sql = "select * from v_call_flows ";
$sql .= "where domain_uuid = '".$_SESSION["domain_uuid"]."' ";
$sql .= $sql_search;
if (strlen($order_by)> 0) { $sql .= "order by $order_by $order "; }
$sql .= "limit $rows_per_page offset $offset ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$call_flows = $prep_statement->fetchAll(PDO::FETCH_NAMED);
unset ($prep_statement, $sql);
//alternate the row style
$c = 0;
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
//show the content
echo "<table width='100%' cellpadding='0' cellspacing='0 border='0'>\n";
echo "<table width='100%' border='0'>\n";
echo " <tr>\n";
echo " <td width='50%' align='left' nowrap='nowrap'><b>".$text['header-call_flows']."</b></td>\n";
echo " <td width='50%' align='right'>&nbsp;</td>\n";
echo " <td width='50%' align='left' nowrap='nowrap'><b>".$text['title-call_flows']."</b></td>\n";
echo " <form method='get' action=''>\n";
echo " <td width='50%' style='vertical-align: top; text-align: right; white-space: nowrap;'>\n";
echo " <input type='text' class='txt' style='width: 150px' name='search' id='search' value='".$search."'>\n";
echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>\n";
echo " </td>\n";
echo " </form>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td align='left' colspan='2'>\n";
@@ -60,64 +134,41 @@ require_once "resources/paging.php";
echo " </tr>\n";
echo "</table>\n";
//prepare to page the results
$sql = "select count(*) as num_rows from v_call_flows ";
$sql .= "where domain_uuid = '$domain_uuid' ";
if (strlen($order_by)> 0) { $sql .= "order by $order_by $order "; }
$prep_statement = $db->prepare($sql);
if ($prep_statement) {
$prep_statement->execute();
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
if ($row['num_rows'] > 0) {
$num_rows = $row['num_rows'];
}
else {
$num_rows = '0';
}
}
//prepare to page the results
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
$param = "";
$page = $_GET['page'];
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page);
$offset = $rows_per_page * $page;
//get the list
$sql = "select * from v_call_flows ";
$sql .= "where domain_uuid = '$domain_uuid' ";
if (strlen($order_by)> 0) { $sql .= "order by $order_by $order "; }
$sql .= "limit $rows_per_page offset $offset ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll();
$result_count = count($result);
unset ($prep_statement, $sql);
$c = 0;
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo th_order_by('call_flow_status', $text['label-status'], $order_by, $order);
//echo th_order_by('call_flow_name', $text['label-name'], $order_by, $order);
echo th_order_by('call_flow_extension', $text['label-extension'], $order_by, $order);
echo th_order_by('call_flow_feature_code', $text['label-feature_code'], $order_by, $order);
//echo "<th>".$text['label-destination']."</th>\n";
//echo "<th>".$text['label-alternate_destination']."</th>\n";
echo th_order_by('call_flow_description', $text['label-description'], $order_by, $order);
echo th_order_by('call_flow_status', $text['label-call_flow_status'], $order_by, $order);
//echo th_order_by('call_flow_name', $text['label-call_flow_name'], $order_by, $order);
echo th_order_by('call_flow_extension', $text['label-call_flow_extension'], $order_by, $order);
echo th_order_by('call_flow_feature_code', $text['label-call_flow_feature_code'], $order_by, $order);
//echo th_order_by('call_flow_context', $text['label-call_flow_context'], $order_by, $order);
//echo th_order_by('call_flow_pin_number', $text['label-call_flow_pin_number'], $order_by, $order);
//echo th_order_by('call_flow_label', $text['label-call_flow_label'], $order_by, $order);
//echo th_order_by('call_flow_sound', $text['label-call_flow_sound'], $order_by, $order);
//echo th_order_by('call_flow_app', $text['label-call_flow_app'], $order_by, $order);
//echo th_order_by('call_flow_data', $text['label-call_flow_data'], $order_by, $order);
//echo th_order_by('call_flow_alternate_label', $text['label-call_flow_alternate_label'], $order_by, $order);
//echo th_order_by('call_flow_alternate_sound', $text['label-call_flow_alternate_sound'], $order_by, $order);
//echo th_order_by('call_flow_alternate_app', $text['label-call_flow_alternate_app'], $order_by, $order);
//echo th_order_by('call_flow_alternate_data', $text['label-call_flow_alternate_data'], $order_by, $order);
if (permission_exists('call_flow_context')) {
echo th_order_by('call_flow_context', $text['label-call_flow_context'], $order_by, $order);
}
echo th_order_by('call_flow_description', $text['label-call_flow_description'], $order_by, $order);
echo "<td class='list_control_icons'>";
if (permission_exists('call_flow_add')) {
echo "<a href='call_flow_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
}
else {
echo "&nbsp;\n";
}
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
if ($result_count > 0) {
foreach($result as $row) {
$tr_link = (permission_exists('call_flow_edit')) ? "href='call_flow_edit.php?id=".$row['call_flow_uuid']."'" : null;
if (is_array($call_flows)) {
foreach($call_flows as $row) {
if (permission_exists('call_flow_edit')) {
$tr_link = "href='call_flow_edit.php?id=".$row['call_flow_uuid']."'";
}
echo "<tr ".$tr_link.">\n";
echo " <td valign='top' class='".$row_style[$c]."'>";
if ($row['call_flow_status'] != "false") {
@@ -131,9 +182,19 @@ require_once "resources/paging.php";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_flow_name']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_flow_extension']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_flow_feature_code']."&nbsp;</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_flow_app']." ".$row['call_flow_data']."&nbsp;</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_flow_alternate_app']." ".$row['call_flow_alternate_data']."&nbsp;</td>\n";
echo " <td valign='top' class='row_stylebg' width='30%'>".$row['call_flow_description']."&nbsp;</td>\n";
if (permission_exists('call_flow_context')) {
echo " <td valign='top' class='row_stylebg'>".$row['call_flow_context']."&nbsp;</td>\n";
}
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_flow_pin_number']."&nbsp;</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_flow_label']."&nbsp;</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_flow_sound']."&nbsp;</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_flow_app']."&nbsp;</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_flow_data']."&nbsp;</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_flow_alternate_label']."&nbsp;</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_flow_alternate_sound']."&nbsp;</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_flow_alternate_app']."&nbsp;</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_flow_alternate_data']."&nbsp;</td>\n";
echo " <td valign='top' class='row_stylebg'>".$row['call_flow_description']."&nbsp;</td>\n";
echo " <td class='list_control_icons'>";
if (permission_exists('call_flow_edit')) {
echo "<a href='call_flow_edit.php?id=".$row['call_flow_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
@@ -145,28 +206,31 @@ require_once "resources/paging.php";
echo "</tr>\n";
if ($c==0) { $c=1; } else { $c=0; }
} //end foreach
unset($sql, $result, $row_count);
unset($sql, $call_flows, $row_count);
} //end if results
echo "<tr>\n";
echo "<td colspan='10' align='left'>\n";
echo "<td colspan='19' align='left'>\n";
echo " <table width='100%' cellpadding='0' cellspacing='0'>\n";
echo " <tr>\n";
echo " <td width='33.3%' nowrap>&nbsp;</td>\n";
echo " <td width='33.3%' align='center' nowrap>$paging_controls</td>\n";
echo " <td width='33.3%' nowrap='nowrap'>&nbsp;</td>\n";
echo " <td width='33.3%' align='center' nowrap='nowrap'>$paging_controls</td>\n";
echo " <td class='list_control_icons'>";
if (permission_exists('call_flow_add')) {
echo "<a href='call_flow_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
}
else {
echo "&nbsp;";
}
echo " </td>\n";
echo " </tr>\n";
echo " </table>\n";
echo "</td>\n";
echo "</tr>\n";
echo "</table>";
echo "<br /><br />";
//include the footer
require_once "resources/footer.php";
?>
+87
View File
@@ -0,0 +1,87 @@
<?php
//application details
$apps[$x]['name'] = 'Call Recordings';
$apps[$x]['uuid'] = '56165644-598d-4ed8-be01-d960bcb8ffed';
$apps[$x]['category'] = '';
$apps[$x]['subcategory'] = '';
$apps[$x]['version'] = '';
$apps[$x]['license'] = 'Mozilla Public License 1.1';
$apps[$x]['url'] = 'http://www.fusionpbx.com';
$apps[$x]['description']['en-us'] = '';
//permission details
$y = 0;
$apps[$x]['permissions'][$y]['name'] = 'call_recording_view';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'call_recording_add';
//$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'call_recording_edit';
//$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'call_recording_delete';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'call_recording_play';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'call_recording_download';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
//Call Recordings
$y = 2;
$apps[$x]['db'][$y]['table']['name'] = 'v_call_recordings';
$apps[$x]['db'][$y]['table']['parent'] = '';
$z = 0;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_recording_uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_recording_name';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_recording_path';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_recording_length';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_recording_date';
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamp';
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_direction';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_recording_description';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_recording_base64';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
$z++;
?>
+344
View File
@@ -0,0 +1,344 @@
<?php
#This file was last reorganized on 19th of September 2017 08:54:24 AM UTC
$text['title-call_recordings']['en-us'] = "Call Recordings";
$text['title-call_recordings']['ar-eg'] = "";
$text['title-call_recordings']['de-at'] = "";
$text['title-call_recordings']['de-ch'] = "";
$text['title-call_recordings']['de-de'] = "";
$text['title-call_recordings']['es-cl'] = "";
$text['title-call_recordings']['es-mx'] = "";
$text['title-call_recordings']['fr-ca'] = "";
$text['title-call_recordings']['fr-fr'] = "";
$text['title-call_recordings']['he-il'] = "";
$text['title-call_recordings']['it-it'] = "";
$text['title-call_recordings']['nl-nl'] = "";
$text['title-call_recordings']['pl-pl'] = "";
$text['title-call_recordings']['pt-br'] = "";
$text['title-call_recordings']['pt-pt'] = "";
$text['title-call_recordings']['ro-ro'] = "";
$text['title-call_recordings']['ru-ru'] = "Записи разговоров";
$text['title-call_recordings']['sv-se'] = "";
$text['title-call_recordings']['uk-ua'] = "";
$text['title-call_recording']['en-us'] = "Call Recording";
$text['title-call_recording']['ar-eg'] = "";
$text['title-call_recording']['de-at'] = "";
$text['title-call_recording']['de-ch'] = "";
$text['title-call_recording']['de-de'] = "";
$text['title-call_recording']['es-cl'] = "";
$text['title-call_recording']['es-mx'] = "";
$text['title-call_recording']['fr-ca'] = "";
$text['title-call_recording']['fr-fr'] = "";
$text['title-call_recording']['he-il'] = "";
$text['title-call_recording']['it-it'] = "";
$text['title-call_recording']['nl-nl'] = "";
$text['title-call_recording']['pl-pl'] = "";
$text['title-call_recording']['pt-br'] = "";
$text['title-call_recording']['pt-pt'] = "";
$text['title-call_recording']['ro-ro'] = "";
$text['title-call_recording']['ru-ru'] = "Запись разговора";
$text['title-call_recording']['sv-se'] = "";
$text['title-call_recording']['uk-ua'] = "";
$text['title_description-call_recording']['en-us'] = "Shows the call recordings with name, length, date and time, and call direction.";
$text['title_description-call_recording']['ar-eg'] = "";
$text['title_description-call_recording']['de-at'] = "";
$text['title_description-call_recording']['de-ch'] = "";
$text['title_description-call_recording']['de-de'] = "";
$text['title_description-call_recording']['es-cl'] = "";
$text['title_description-call_recording']['es-mx'] = "";
$text['title_description-call_recording']['fr-ca'] = "";
$text['title_description-call_recording']['fr-fr'] = "";
$text['title_description-call_recording']['he-il'] = "";
$text['title_description-call_recording']['it-it'] = "";
$text['title_description-call_recording']['nl-nl'] = "";
$text['title_description-call_recording']['pl-pl'] = "";
$text['title_description-call_recording']['pt-br'] = "";
$text['title_description-call_recording']['pt-pt'] = "";
$text['title_description-call_recording']['ro-ro'] = "";
$text['title_description-call_recording']['ru-ru'] = "Показывает доступные записи разговоров с именем, датой, временем и направлением вызова.";
$text['title_description-call_recording']['sv-se'] = "";
$text['title_description-call_recording']['uk-ua'] = "";
$text['label-call_recording_name']['en-us'] = "Name";
$text['label-call_recording_name']['ar-eg'] = "";
$text['label-call_recording_name']['de-at'] = "";
$text['label-call_recording_name']['de-ch'] = "";
$text['label-call_recording_name']['de-de'] = "";
$text['label-call_recording_name']['es-cl'] = "";
$text['label-call_recording_name']['es-mx'] = "";
$text['label-call_recording_name']['fr-ca'] = "";
$text['label-call_recording_name']['fr-fr'] = "";
$text['label-call_recording_name']['he-il'] = "";
$text['label-call_recording_name']['it-it'] = "";
$text['label-call_recording_name']['nl-nl'] = "";
$text['label-call_recording_name']['pl-pl'] = "";
$text['label-call_recording_name']['pt-br'] = "";
$text['label-call_recording_name']['pt-pt'] = "";
$text['label-call_recording_name']['ro-ro'] = "";
$text['label-call_recording_name']['ru-ru'] = "Имя";
$text['label-call_recording_name']['sv-se'] = "";
$text['label-call_recording_name']['uk-ua'] = "";
$text['description-call_recording_name']['en-us'] = "";
$text['description-call_recording_name']['ar-eg'] = "";
$text['description-call_recording_name']['de-at'] = "";
$text['description-call_recording_name']['de-ch'] = "";
$text['description-call_recording_name']['de-de'] = "";
$text['description-call_recording_name']['es-cl'] = "";
$text['description-call_recording_name']['es-mx'] = "";
$text['description-call_recording_name']['fr-ca'] = "";
$text['description-call_recording_name']['fr-fr'] = "";
$text['description-call_recording_name']['he-il'] = "";
$text['description-call_recording_name']['it-it'] = "";
$text['description-call_recording_name']['nl-nl'] = "";
$text['description-call_recording_name']['pl-pl'] = "";
$text['description-call_recording_name']['pt-br'] = "";
$text['description-call_recording_name']['pt-pt'] = "";
$text['description-call_recording_name']['ro-ro'] = "";
$text['description-call_recording_name']['ru-ru'] = "";
$text['description-call_recording_name']['sv-se'] = "";
$text['description-call_recording_name']['uk-ua'] = "";
$text['label-call_recording_path']['en-us'] = "Path";
$text['label-call_recording_path']['ar-eg'] = "";
$text['label-call_recording_path']['de-at'] = "";
$text['label-call_recording_path']['de-ch'] = "";
$text['label-call_recording_path']['de-de'] = "";
$text['label-call_recording_path']['es-cl'] = "";
$text['label-call_recording_path']['es-mx'] = "";
$text['label-call_recording_path']['fr-ca'] = "";
$text['label-call_recording_path']['fr-fr'] = "";
$text['label-call_recording_path']['he-il'] = "";
$text['label-call_recording_path']['it-it'] = "";
$text['label-call_recording_path']['nl-nl'] = "";
$text['label-call_recording_path']['pl-pl'] = "";
$text['label-call_recording_path']['pt-br'] = "";
$text['label-call_recording_path']['pt-pt'] = "";
$text['label-call_recording_path']['ro-ro'] = "";
$text['label-call_recording_path']['ru-ru'] = "Путь";
$text['label-call_recording_path']['sv-se'] = "";
$text['label-call_recording_path']['uk-ua'] = "";
$text['description-call_recording_path']['en-us'] = "";
$text['description-call_recording_path']['ar-eg'] = "";
$text['description-call_recording_path']['de-at'] = "";
$text['description-call_recording_path']['de-ch'] = "";
$text['description-call_recording_path']['de-de'] = "";
$text['description-call_recording_path']['es-cl'] = "";
$text['description-call_recording_path']['es-mx'] = "";
$text['description-call_recording_path']['fr-ca'] = "";
$text['description-call_recording_path']['fr-fr'] = "";
$text['description-call_recording_path']['he-il'] = "";
$text['description-call_recording_path']['it-it'] = "";
$text['description-call_recording_path']['nl-nl'] = "";
$text['description-call_recording_path']['pl-pl'] = "";
$text['description-call_recording_path']['pt-br'] = "";
$text['description-call_recording_path']['pt-pt'] = "";
$text['description-call_recording_path']['ro-ro'] = "";
$text['description-call_recording_path']['ru-ru'] = "";
$text['description-call_recording_path']['sv-se'] = "";
$text['description-call_recording_path']['uk-ua'] = "";
$text['label-call_recording_length']['en-us'] = "Length";
$text['label-call_recording_length']['ar-eg'] = "";
$text['label-call_recording_length']['de-at'] = "";
$text['label-call_recording_length']['de-ch'] = "";
$text['label-call_recording_length']['de-de'] = "";
$text['label-call_recording_length']['es-cl'] = "";
$text['label-call_recording_length']['es-mx'] = "";
$text['label-call_recording_length']['fr-ca'] = "";
$text['label-call_recording_length']['fr-fr'] = "";
$text['label-call_recording_length']['he-il'] = "";
$text['label-call_recording_length']['it-it'] = "";
$text['label-call_recording_length']['nl-nl'] = "";
$text['label-call_recording_length']['pl-pl'] = "";
$text['label-call_recording_length']['pt-br'] = "";
$text['label-call_recording_length']['pt-pt'] = "";
$text['label-call_recording_length']['ro-ro'] = "";
$text['label-call_recording_length']['ru-ru'] = "Длительность";
$text['label-call_recording_length']['sv-se'] = "";
$text['label-call_recording_length']['uk-ua'] = "";
$text['description-call_recording_length']['en-us'] = "";
$text['description-call_recording_length']['ar-eg'] = "";
$text['description-call_recording_length']['de-at'] = "";
$text['description-call_recording_length']['de-ch'] = "";
$text['description-call_recording_length']['de-de'] = "";
$text['description-call_recording_length']['es-cl'] = "";
$text['description-call_recording_length']['es-mx'] = "";
$text['description-call_recording_length']['fr-ca'] = "";
$text['description-call_recording_length']['fr-fr'] = "";
$text['description-call_recording_length']['he-il'] = "";
$text['description-call_recording_length']['it-it'] = "";
$text['description-call_recording_length']['nl-nl'] = "";
$text['description-call_recording_length']['pl-pl'] = "";
$text['description-call_recording_length']['pt-br'] = "";
$text['description-call_recording_length']['pt-pt'] = "";
$text['description-call_recording_length']['ro-ro'] = "";
$text['description-call_recording_length']['ru-ru'] = "";
$text['description-call_recording_length']['sv-se'] = "";
$text['description-call_recording_length']['uk-ua'] = "";
$text['label-call_recording_date']['en-us'] = "Date";
$text['label-call_recording_date']['ar-eg'] = "";
$text['label-call_recording_date']['de-at'] = "";
$text['label-call_recording_date']['de-ch'] = "";
$text['label-call_recording_date']['de-de'] = "";
$text['label-call_recording_date']['es-cl'] = "";
$text['label-call_recording_date']['es-mx'] = "";
$text['label-call_recording_date']['fr-ca'] = "";
$text['label-call_recording_date']['fr-fr'] = "";
$text['label-call_recording_date']['he-il'] = "";
$text['label-call_recording_date']['it-it'] = "";
$text['label-call_recording_date']['nl-nl'] = "";
$text['label-call_recording_date']['pl-pl'] = "";
$text['label-call_recording_date']['pt-br'] = "";
$text['label-call_recording_date']['pt-pt'] = "";
$text['label-call_recording_date']['ro-ro'] = "";
$text['label-call_recording_date']['ru-ru'] = "Дата";
$text['label-call_recording_date']['sv-se'] = "";
$text['label-call_recording_date']['uk-ua'] = "";
$text['description-call_recording_date']['en-us'] = "";
$text['description-call_recording_date']['ar-eg'] = "";
$text['description-call_recording_date']['de-at'] = "";
$text['description-call_recording_date']['de-ch'] = "";
$text['description-call_recording_date']['de-de'] = "";
$text['description-call_recording_date']['es-cl'] = "";
$text['description-call_recording_date']['es-mx'] = "";
$text['description-call_recording_date']['fr-ca'] = "";
$text['description-call_recording_date']['fr-fr'] = "";
$text['description-call_recording_date']['he-il'] = "";
$text['description-call_recording_date']['it-it'] = "";
$text['description-call_recording_date']['nl-nl'] = "";
$text['description-call_recording_date']['pl-pl'] = "";
$text['description-call_recording_date']['pt-br'] = "";
$text['description-call_recording_date']['pt-pt'] = "";
$text['description-call_recording_date']['ro-ro'] = "";
$text['description-call_recording_date']['ru-ru'] = "";
$text['description-call_recording_date']['sv-se'] = "";
$text['description-call_recording_date']['uk-ua'] = "";
$text['label-call_direction']['en-us'] = "Direction";
$text['label-call_direction']['ar-eg'] = "";
$text['label-call_direction']['de-at'] = "";
$text['label-call_direction']['de-ch'] = "";
$text['label-call_direction']['de-de'] = "";
$text['label-call_direction']['es-cl'] = "";
$text['label-call_direction']['es-mx'] = "";
$text['label-call_direction']['fr-ca'] = "";
$text['label-call_direction']['fr-fr'] = "";
$text['label-call_direction']['he-il'] = "";
$text['label-call_direction']['it-it'] = "";
$text['label-call_direction']['nl-nl'] = "";
$text['label-call_direction']['pl-pl'] = "";
$text['label-call_direction']['pt-br'] = "";
$text['label-call_direction']['pt-pt'] = "";
$text['label-call_direction']['ro-ro'] = "";
$text['label-call_direction']['ru-ru'] = "Направление";
$text['label-call_direction']['sv-se'] = "";
$text['label-call_direction']['uk-ua'] = "";
$text['description-call_direction']['en-us'] = "";
$text['description-call_direction']['ar-eg'] = "";
$text['description-call_direction']['de-at'] = "";
$text['description-call_direction']['de-ch'] = "";
$text['description-call_direction']['de-de'] = "";
$text['description-call_direction']['es-cl'] = "";
$text['description-call_direction']['es-mx'] = "";
$text['description-call_direction']['fr-ca'] = "";
$text['description-call_direction']['fr-fr'] = "";
$text['description-call_direction']['he-il'] = "";
$text['description-call_direction']['it-it'] = "";
$text['description-call_direction']['nl-nl'] = "";
$text['description-call_direction']['pl-pl'] = "";
$text['description-call_direction']['pt-br'] = "";
$text['description-call_direction']['pt-pt'] = "";
$text['description-call_direction']['ro-ro'] = "";
$text['description-call_direction']['ru-ru'] = "";
$text['description-call_direction']['sv-se'] = "";
$text['description-call_direction']['uk-ua'] = "";
$text['label-call_recording_description']['en-us'] = "Description";
$text['label-call_recording_description']['ar-eg'] = "";
$text['label-call_recording_description']['de-at'] = "";
$text['label-call_recording_description']['de-ch'] = "";
$text['label-call_recording_description']['de-de'] = "";
$text['label-call_recording_description']['es-cl'] = "";
$text['label-call_recording_description']['es-mx'] = "";
$text['label-call_recording_description']['fr-ca'] = "";
$text['label-call_recording_description']['fr-fr'] = "";
$text['label-call_recording_description']['he-il'] = "";
$text['label-call_recording_description']['it-it'] = "";
$text['label-call_recording_description']['nl-nl'] = "";
$text['label-call_recording_description']['pl-pl'] = "";
$text['label-call_recording_description']['pt-br'] = "";
$text['label-call_recording_description']['pt-pt'] = "";
$text['label-call_recording_description']['ro-ro'] = "";
$text['label-call_recording_description']['ru-ru'] = "Описание";
$text['label-call_recording_description']['sv-se'] = "";
$text['label-call_recording_description']['uk-ua'] = "";
$text['description-call_recording_description']['en-us'] = "";
$text['description-call_recording_description']['ar-eg'] = "";
$text['description-call_recording_description']['de-at'] = "";
$text['description-call_recording_description']['de-ch'] = "";
$text['description-call_recording_description']['de-de'] = "";
$text['description-call_recording_description']['es-cl'] = "";
$text['description-call_recording_description']['es-mx'] = "";
$text['description-call_recording_description']['fr-ca'] = "";
$text['description-call_recording_description']['fr-fr'] = "";
$text['description-call_recording_description']['he-il'] = "";
$text['description-call_recording_description']['it-it'] = "";
$text['description-call_recording_description']['nl-nl'] = "";
$text['description-call_recording_description']['pl-pl'] = "";
$text['description-call_recording_description']['pt-br'] = "";
$text['description-call_recording_description']['pt-pt'] = "";
$text['description-call_recording_description']['ro-ro'] = "";
$text['description-call_recording_description']['ru-ru'] = "";
$text['description-call_recording_description']['sv-se'] = "";
$text['description-call_recording_description']['uk-ua'] = "";
$text['label-call_recording_base64']['en-us'] = "Base64";
$text['label-call_recording_base64']['ar-eg'] = "";
$text['label-call_recording_base64']['de-at'] = "";
$text['label-call_recording_base64']['de-ch'] = "";
$text['label-call_recording_base64']['de-de'] = "";
$text['label-call_recording_base64']['es-cl'] = "";
$text['label-call_recording_base64']['es-mx'] = "";
$text['label-call_recording_base64']['fr-ca'] = "";
$text['label-call_recording_base64']['fr-fr'] = "";
$text['label-call_recording_base64']['he-il'] = "";
$text['label-call_recording_base64']['it-it'] = "";
$text['label-call_recording_base64']['nl-nl'] = "";
$text['label-call_recording_base64']['pl-pl'] = "";
$text['label-call_recording_base64']['pt-br'] = "";
$text['label-call_recording_base64']['pt-pt'] = "";
$text['label-call_recording_base64']['ro-ro'] = "";
$text['label-call_recording_base64']['ru-ru'] = "";
$text['label-call_recording_base64']['sv-se'] = "";
$text['label-call_recording_base64']['uk-ua'] = "";
$text['description-call_recording_base64']['en-us'] = "";
$text['description-call_recording_base64']['ar-eg'] = "";
$text['description-call_recording_base64']['de-at'] = "";
$text['description-call_recording_base64']['de-ch'] = "";
$text['description-call_recording_base64']['de-de'] = "";
$text['description-call_recording_base64']['es-cl'] = "";
$text['description-call_recording_base64']['es-mx'] = "";
$text['description-call_recording_base64']['fr-ca'] = "";
$text['description-call_recording_base64']['fr-fr'] = "";
$text['description-call_recording_base64']['he-il'] = "";
$text['description-call_recording_base64']['it-it'] = "";
$text['description-call_recording_base64']['nl-nl'] = "";
$text['description-call_recording_base64']['pl-pl'] = "";
$text['description-call_recording_base64']['pt-br'] = "";
$text['description-call_recording_base64']['pt-pt'] = "";
$text['description-call_recording_base64']['ro-ro'] = "";
$text['description-call_recording_base64']['ru-ru'] = "";
$text['description-call_recording_base64']['sv-se'] = "";
$text['description-call_recording_base64']['uk-ua'] = "";
?>
+19
View File
@@ -0,0 +1,19 @@
<?php
$apps[$x]['menu'][0]['title']['en-us'] = 'Call Recordings';
$apps[$x]['menu'][0]['title']['es-cl'] = '';
$apps[$x]['menu'][0]['title']['fr-fr'] = '';
$apps[$x]['menu'][0]['title']['fr-ca'] = '';
$apps[$x]['menu'][0]['title']['pl'] = '';
$apps[$x]['menu'][0]['title']['sv-se'] = '';
$apps[$x]['menu'][0]['title']['uk'] = '';
$apps[$x]['menu'][0]['title']['de-at'] = '';
$apps[$x]['menu'][0]['uuid'] = 'd5b7bd0e-5e56-4d87-b2d5-7d7b2f7307ef';
$apps[$x]['menu'][0]['parent_uuid'] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5';
$apps[$x]['menu'][0]['category'] = 'internal';
$apps[$x]['menu'][0]['path'] = '/app/call_recordings/call_recordings.php';
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
//$apps[$x]['menu'][0]['groups'][] = 'admin';
//$apps[$x]['menu'][0]['groups'][] = 'user';
?>
@@ -1,51 +1,55 @@
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2013
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
include "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('user_view') || if_group("superadmin")) {
//access allowed
}
else {
echo "access denied";
return;
}
//add multi-lingual support
$language = new text;
$text = $language->get();
//include the header
require_once "resources/header.php";
$document['title'] = $text['title-user_manager'];
//show the user list
require_once "users.php";
//include the footer
include "resources/footer.php";
?>
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2017
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
//includes
require_once "root.php";
require_once "resources/require.php";
//check permissions
require_once "resources/check_auth.php";
if (permission_exists('call_recording_delete')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
$text = $language->get();
//delete the recording
$obj = new call_recordings;
$obj->delete($_GET["id"]);
//delete message
messages::add($text['message-delete']);
//redirect the user
header('Location: call_recordings.php');
?>
+264
View File
@@ -0,0 +1,264 @@
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2017
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
//includes
require_once "root.php";
require_once "resources/require.php";
//check permissions
require_once "resources/check_auth.php";
if (permission_exists('call_recording_add') || permission_exists('call_recording_edit')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
$text = $language->get();
//action add or update
if (isset($_REQUEST["id"])) {
$action = "update";
$call_recording_uuid = check_str($_REQUEST["id"]);
}
else {
$action = "add";
}
//get http post variables and set them to php variables
if (is_array($_POST)) {
$call_recording_name = check_str($_POST["call_recording_name"]);
$call_recording_path = check_str($_POST["call_recording_path"]);
$call_recording_length = check_str($_POST["call_recording_length"]);
$call_recording_date = check_str($_POST["call_recording_date"]);
$call_direction = check_str($_POST["call_direction"]);
$call_recording_description = check_str($_POST["call_recording_description"]);
$call_recording_base64 = check_str($_POST["call_recording_base64"]);
}
//process the user data and save it to the database
if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//get the uuid from the POST
if ($action == "update") {
$call_recording_uuid = check_str($_POST["call_recording_uuid"]);
}
//check for all required data
$msg = '';
if (strlen($call_recording_name) == 0) { $msg .= $text['message-required']." ".$text['label-call_recording_name']."<br>\n"; }
//if (strlen($call_recording_path) == 0) { $msg .= $text['message-required']." ".$text['label-call_recording_path']."<br>\n"; }
if (strlen($call_recording_length) == 0) { $msg .= $text['message-required']." ".$text['label-call_recording_length']."<br>\n"; }
if (strlen($call_recording_date) == 0) { $msg .= $text['message-required']." ".$text['label-call_recording_date']."<br>\n"; }
if (strlen($call_direction) == 0) { $msg .= $text['message-required']." ".$text['label-call_direction']."<br>\n"; }
//if (strlen($call_recording_description) == 0) { $msg .= $text['message-required']." ".$text['label-call_recording_description']."<br>\n"; }
//if (strlen($call_recording_base64) == 0) { $msg .= $text['message-required']." ".$text['label-call_recording_base64']."<br>\n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
require_once "resources/header.php";
require_once "resources/persist_form_var.php";
echo "<div align='center'>\n";
echo "<table><tr><td>\n";
echo $msg."<br />";
echo "</td></tr></table>\n";
persistformvar($_POST);
echo "</div>\n";
require_once "resources/footer.php";
return;
}
//set the domain_uuid
$_POST["domain_uuid"] = $_SESSION["domain_uuid"];
//add the call_recording_uuid
if (strlen($_POST["call_recording_uuid"]) == 0) {
$call_recording_uuid = uuid();
$_POST["call_recording_uuid"] = $call_recording_uuid;
}
//prepare the array
$array['call_recordings'][0] = $_POST;
//save to the data
$database = new database;
$database->app_name = 'call_recordings';
$database->app_uuid = null;
if (strlen($call_recording_uuid) > 0) {
$database->uuid($call_recording_uuid);
}
$database->save($array);
$message = $database->message;
//debug info
//echo "<pre>";
//print_r($message);
//echo "</pre>";
//exit;
//redirect the user
if (isset($action)) {
if ($action == "add") {
$_SESSION["message"] = $text['message-add'];
}
if ($action == "update") {
$_SESSION["message"] = $text['message-update'];
}
header('Location: call_recording_edit.php?id='.$call_recording_uuid);
return;
}
} //(is_array($_POST) && strlen($_POST["persistformvar"]) == 0)
//pre-populate the form
if (is_array($_GET) && $_POST["persistformvar"] != "true") {
$call_recording_uuid = check_str($_GET["id"]);
$sql = "select * from v_call_recordings ";
$sql .= "where call_recording_uuid = '$call_recording_uuid' ";
//$sql .= "and domain_uuid = '$domain_uuid' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
foreach ($result as &$row) {
$call_recording_name = $row["call_recording_name"];
$call_recording_path = $row["call_recording_path"];
$call_recording_length = $row["call_recording_length"];
$call_recording_date = $row["call_recording_date"];
$call_direction = $row["call_direction"];
$call_recording_description = $row["call_recording_description"];
$call_recording_base64 = $row["call_recording_base64"];
}
unset ($prep_statement);
}
//show the header
require_once "resources/header.php";
//add the calendar
echo "<script language='JavaScript' type='text/javascript'>\n";
echo " $(document).ready(function() {\n";
echo " apply_datetimepicker();\n";
echo " });\n";
echo " function apply_datetimepicker() {\n";
echo " $('.datetimepicker').datetimepicker({ format: 'YYYY-MM-DD HH:mm', showTodayButton: true, showClear: true, showClose: true });\n";
echo " $('.datepicker').datetimepicker({ format: 'YYYY-MM-DD', showClear: true, showClose: true });\n";
echo " }\n";
echo "</script>\n";
//show the content
echo "<form name='frm' id='frm' method='post' action=''>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td align='left' width='30%' nowrap='nowrap' valign='top'><b>".$text['title-call_recording']."</b><br><br></td>\n";
echo "<td width='70%' align='right' valign='top'>\n";
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='call_recordings.php'\" value='".$text['button-back']."'>";
echo " <input type='submit' class='btn' value='".$text['button-save']."'>";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-call_recording_name']."\n";
echo "</td>\n";
echo "<td class='vtable' style='position: relative;' align='left'>\n";
echo " <input class='formfld' type='text' name='call_recording_name' maxlength='255' value=\"$call_recording_name\">\n";
echo "<br />\n";
echo $text['description-call_recording_name']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-call_recording_path']."\n";
echo "</td>\n";
echo "<td class='vtable' style='position: relative;' align='left'>\n";
echo " <input class='formfld' type='text' name='call_recording_path' maxlength='255' value=\"$call_recording_path\">\n";
echo "<br />\n";
echo $text['description-call_recording_path']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-call_recording_length']."\n";
echo "</td>\n";
echo "<td class='vtable' style='position: relative;' align='left'>\n";
echo " <input class='formfld' type='text' name='call_recording_length' maxlength='255' value='$call_recording_length'>\n";
echo "<br />\n";
echo $text['description-call_recording_length']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-call_recording_date']."\n";
echo "</td>\n";
echo "<td class='vtable' style='position: relative;' align='left'>\n";
echo " <input class='formfld datetimepicker' type='text' name='call_recording_date' maxlength='16' value=\"$call_recording_date\">\n";
echo "<br />\n";
echo $text['description-call_recording_date']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-call_direction']."\n";
echo "</td>\n";
echo "<td class='vtable' style='position: relative;' align='left'>\n";
echo " <input class='formfld' type='text' name='call_direction' maxlength='255' value=\"$call_direction\">\n";
echo "<br />\n";
echo $text['description-call_direction']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-call_recording_description']."\n";
echo "</td>\n";
echo "<td class='vtable' style='position: relative;' align='left'>\n";
echo " <input class='formfld' type='text' name='call_recording_description' maxlength='255' value=\"$call_recording_description\">\n";
echo "<br />\n";
echo $text['description-call_recording_description']."\n";
echo "</td>\n";
echo "</tr>\n";
echo " <tr>\n";
echo " <td colspan='2' align='right'>\n";
if ($action == "update") {
echo " <input type='hidden' name='call_recording_uuid' value='$call_recording_uuid'>\n";
}
echo " <input type='submit' class='btn' value='".$text['button-save']."'>\n";
echo " </td>\n";
echo " </tr>";
echo "</table>";
echo "</form>";
echo "<br /><br />";
//include the footer
require_once "resources/footer.php";
?>
+301
View File
@@ -0,0 +1,301 @@
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2017
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
//includes
require_once "root.php";
require_once "resources/require.php";
//check permissions
require_once "resources/check_auth.php";
if (permission_exists('call_recording_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
$text = $language->get();
//get the action
if (strlen($_REQUEST["search"]) == 0 && is_array($_POST["call_recordings"])) {
$call_recordings = $_POST["call_recordings"];
foreach($call_recordings as $row) {
if ($row['action'] === 'download') {
$action = 'download';
break;
}
if ($row['action'] === 'delete') {
$action = 'delete';
break;
}
}
}
//download recordings
if (permission_exists('call_recording_download_add')) {
if ($action == "download") {
//download
$obj = new call_recording_downloads;
$obj->save($call_recordings);
//direct the user to the downloads
header("Location: ".PROJECT_PATH."/app/call_recording_downloads/call_recording_downloads.php");
}
}
//delete the recordings
if (permission_exists('call_recording_delete')) {
if ($action === "delete") {
//set the array
$call_recordings = $_POST["call_recordings"];
//download
$obj = new call_recordings;
$obj->delete($call_recordings);
//delete message
messages::add($text['message-delete']);
}
}
//additional includes
require_once "resources/header.php";
require_once "resources/paging.php";
//get variables used to control the order
$order_by = check_str($_REQUEST["order_by"]);
$order = check_str($_REQUEST["order"]);
//set the defaults
if (strlen($order_by) == 0) {
$order_by = 'call_recording_date';
$order = 'desc';
}
//add the search term
$search = strtolower(check_str($_REQUEST["search"]));
if (strlen($search) > 0) {
$sql_search = "and (";
$sql_search .= "lower(call_recording_name) like '%".$search."%' ";
$sql_search .= "or lower(call_recording_path) like '%".$search."%' ";
$sql_search .= "or lower(call_direction) like '%".$search."%' ";
$sql_search .= "or lower(call_recording_description) like '%".$search."%' ";
$sql_search .= ") ";
}
//prepare to page the results
$sql = "select count(call_recording_uuid) as num_rows from v_call_recordings ";
$sql .= "where domain_uuid = '".$_SESSION["domain_uuid"]."' ";
$sql .= $sql_search;
$prep_statement = $db->prepare($sql);
if ($prep_statement) {
$prep_statement->execute();
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
if ($row['num_rows'] > 0) {
$num_rows = $row['num_rows'];
}
else {
$num_rows = '0';
}
}
//prepare to page the results
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
$param = "";
$page = $_REQUEST['page'];
if (strlen($page) == 0) { $page = 0; $_REQUEST['page'] = 0; }
list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page);
$offset = $rows_per_page * $page;
//get the list
$sql = "select * from v_call_recordings ";
$sql .= "where domain_uuid = '".$_SESSION["domain_uuid"]."' ";
$sql .= $sql_search;
$sql .= "order by $order_by $order ";
$sql .= "limit $rows_per_page offset $offset ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
unset ($prep_statement, $sql);
//alternate the row style
$c = 0;
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
//define the checkbox_toggle function
echo "<script type=\"text/javascript\">\n";
echo " function checkbox_toggle(item) {\n";
echo " var inputs = document.getElementsByTagName(\"input\");\n";
echo " for (var i = 0, max = inputs.length; i < max; i++) {\n";
echo " if (inputs[i].type === 'checkbox') {\n";
echo " if (document.getElementById('checkbox_all').checked == true) {\n";
echo " inputs[i].checked = true;\n";
echo " }\n";
echo " else {\n";
echo " inputs[i].checked = false;\n";
echo " }\n";
echo " }\n";
echo " }\n";
echo " }\n";
echo "</script>\n";
//show the content
echo "<form method='post' action=''>\n";
echo "<table width='100%' border='0'>\n";
echo " <tr>\n";
echo " <td width='50%' align='left' nowrap='nowrap'><b>".$text['title-call_recordings']." (".$num_rows.")</b></td>\n";
echo " <td width='50%' style='vertical-align: top; text-align: right; white-space: nowrap;'>\n";
if (permission_exists('call_recording_download_add')) {
echo " <button type='submit' class='btn btn-default' id='downloads' name=\"call_recordings[$x][action]\" alt='".$text['button-download']."' onclick=\"document.getElementById('downloads').value='download'\" value=''>".$text['button-downloads']."</span></button>\n";
echo " &nbsp; &nbsp; &nbsp; ";
}
echo " <input type='text' class='txt' style='width: 150px' name='search' id='search' value='".$search."'>\n";
echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>\n";
echo " </td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td align='left' colspan='2'>\n";
echo " ".$text['title_description-call_recording']."<br /><br />\n";
echo " </td>\n";
echo " </tr>\n";
echo "</table>\n";
//echo "<style>\n";
//echo "audio {\n";
//echo " background-color: #ffffff;\n";
//echo " background-color: rgba(0,0,0,0);\n";
//echo " -webkit-border-radius:7px 7px 7px 7px ;\n";
//echo " border-radius:7px 7px 7px 7px ;\n";
//echo "}\n";
//echo "</style>\n";
echo "\n";
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo " <th style='width:30px;'>\n";
echo " <input type='checkbox' name='checkbox_all' id='checkbox_all' value='' onclick=\"checkbox_toggle();\">\n";
echo " </th>\n";
echo th_order_by('call_recording_name', $text['label-call_recording_name'], $order_by, $order);
echo "<th>".$text['label-recording']."</th>\n";
//echo th_order_by('call_recording_path', $text['label-play'], $order_by, $order);
echo th_order_by('call_recording_length', $text['label-call_recording_length'], $order_by, $order);
echo th_order_by('call_recording_date', $text['label-call_recording_date'], $order_by, $order);
echo th_order_by('call_direction', $text['label-call_direction'], $order_by, $order);
echo th_order_by('call_recording_description', $text['label-call_recording_description'], $order_by, $order);
//echo th_order_by('call_recording_base64', $text['label-call_recording_base64'], $order_by, $order);
echo " <td class='list_control_icons'>";
if (permission_exists('call_recording_add')) {
echo " <a href='call_recording_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
}
else {
echo "&nbsp;\n";
}
echo " </td>\n";
echo "<tr>\n";
if (is_array($result)) {
$x = 0;
foreach($result as $row) {
//if (permission_exists('call_recording_play') && $recording_file_path != '') {
// echo "<tr id='recording_progress_bar_".$row['call_recording_uuid']."' style='display: none3;'><td class='".$row_style[$c]." playback_progress_bar_background' style='padding: 0; border: none;' colspan='".((if_group("admin") || if_group("superadmin") || if_group("cdr")) ? ($col_count - 1) : $col_count)."'><span class='playback_progress_bar' id='recording_progress_".$row['call_recording_uuid']."'></span></td></tr>\n";
//}
if (permission_exists('call_recording_edit')) {
$tr_link = "href='call_recording_edit.php?id=".$row['call_recording_uuid']."'";
}
echo "<tr ".$tr_link.">\n";
echo " <td valign='top' class='".$row_style[$c]." tr_link_void' style='align: center; padding: 3px 3px 0px 8px;'>\n";
echo " <input type='checkbox' name=\"call_recordings[$x][checked]\" id='checkbox_".$x."' value='true' onclick=\"if (!this.checked) { document.getElementById('chk_all_".$x."').checked = false; }\">\n";
echo " <input type='hidden' name=\"call_recordings[$x][call_recording_uuid]\" value='".$row['call_recording_uuid']."' />\n";
echo " </td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_recording_name']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]." row_style_slim tr_link_void' valign='top' align='center' nowrap='nowrap'>\n";
//echo " <audio controls=\"download\" preload=\"metadata\" style=\"width:200px;\">\n";
//echo " <source src=\"download.php?id=".$row['call_recording_uuid']."\" type=\"audio/wav\">\n";
//echo " </audio>\n";
//echo " <a href=\"download.php?id=".$row['call_recording_uuid']."&t=bin\">".$text['label-download']." ".$v_link_label_download."</a>\n";
if (file_exists($row['call_recording_path'].'/'.$row['call_recording_name'])) {
if (permission_exists('call_recording_play')) {
echo "<audio id='recording_audio_".$row['call_recording_uuid']."' style='display: none;' preload='none' ontimeupdate=\"update_progress('".$row['call_recording_uuid']."')\" onended=\"recording_reset('".$row['call_recording_uuid']."');\" src=\"download.php?id=".$row['call_recording_uuid']."\" type='".$recording_type."'></audio>";
echo "<span id='recording_button_".$row['call_recording_uuid']."' onclick=\"recording_play('".$row['call_recording_uuid']."')\" title='".$text['label-play']." / ".$text['label-pause']."'>".$v_link_label_play."</span>";
}
if (permission_exists('call_recording_download')) {
echo "<a href=\"download.php?id=".$row['call_recording_uuid']."&t=bin\" title='".$text['label-download']."'>".$v_link_label_download."</a>";
}
}
echo " </td>\n";
//echo " <td valign='top' class='".$row_style[$c]."' style=\"\">\n";
//echo " <a href=\"download.php?id=".$row['call_recording_uuid']."&t=bin\">".$text['label-download']." ".$v_link_label_download."</a>\n";
//echo " </td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_recording_length']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_recording_date']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_direction']."&nbsp;</td>\n";
echo " <td valign='top' class='row_stylebg'>".$row['call_recording_description']."&nbsp;</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['call_recording_base64']."&nbsp;</td>\n";
echo " <td class='list_control_icons'>";
if (permission_exists('xml_cdr_details')) {
echo " <a href='/app/xml_cdr/xml_cdr_details.php?uuid=".$row['call_recording_uuid']."' title='".$text['button-view']."'>$v_link_label_view</a>";
}
if (permission_exists('call_recording_edit')) {
echo "<button type='button' class='btn btn-default list_control_icon' name='' alt='".$text['button-edit']."' onclick=\"window.location='call_recording_edit.php?id=".$row['call_recording_uuid']."'\" value='edit'><span class='glyphicon glyphicon-pencil'></span></input>\n";
}
if (permission_exists('call_recording_delete')) {
echo "<button type='submit' class='btn btn-default list_control_icon' name=\"call_recordings[$x][action]\" alt='".$text['button-delete']."' value='delete'><span class='glyphicon glyphicon-remove'></span></button>\n";
}
echo " </td>\n";
echo "</tr>\n";
$x++;
if ($c==0) { $c=1; } else { $c=0; }
} //end foreach
unset($sql, $result, $row_count);
} //end if results
echo "<tr>\n";
echo "<td colspan='9' align='left'>\n";
echo " <table width='100%' cellpadding='0' cellspacing='0'>\n";
echo " <tr>\n";
echo " <td width='33.3%' nowrap='nowrap'>&nbsp;</td>\n";
echo " <td width='33.3%' align='center' nowrap='nowrap'>$paging_controls</td>\n";
echo " <td class='list_control_icons'>";
if (permission_exists('call_recording_add')) {
echo "<a href='call_recording_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
}
else {
echo "&nbsp;";
}
echo " </td>\n";
echo " </tr>\n";
echo " </table>\n";
echo "</td>\n";
echo "</tr>\n";
echo "</table>";
echo "</form>\n";
echo "<br /><br />";
//include the footer
require_once "resources/footer.php";
?>
+45
View File
@@ -0,0 +1,45 @@
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2016-2017
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
//includes
require_once "root.php";
require_once "resources/require.php";
//check permisions
require_once "resources/check_auth.php";
if (permission_exists('call_recording_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//download
$obj = new call_recordings;
$obj->download();
?>
@@ -0,0 +1,185 @@
<?php
/**
* call_recordings class
*
* @method null download
*/
if (!class_exists('call_recordings')) {
class call_recordings {
public $db;
/**
* Called when the object is created
*/
public function __construct() {
//connect to the database if not connected
if (!$this->db) {
require_once "resources/classes/database.php";
$database = new database;
$database->connect();
$this->db = $database->db;
}
}
/**
* Called when there are no references to a particular object
* unset the variables used in the class
*/
public function __destruct() {
foreach ($this as $key => $value) {
unset($this->$key);
}
}
/**
* download the recordings
*/
public function download() {
if (permission_exists('call_recording_play') || permission_exists('call_recording_download')) {
//cache limiter
session_cache_limiter('public');
//get call recording from database
$call_recording_uuid = check_str($_GET['id']);
if ($call_recording_uuid != '') {
$sql = "select call_recording_name, call_recording_path, call_recording_base64 from v_call_recordings ";
$sql .= "where call_recording_uuid = '".$call_recording_uuid."' ";
//$sql .= "and domain_uuid = '".$domain_uuid."' \n";
$prep_statement = $this->db->prepare($sql);
$prep_statement->execute();
$call_recordings = $prep_statement->fetchAll(PDO::FETCH_ASSOC);
if (is_array($call_recordings)) {
foreach($call_recordings as &$row) {
$call_recording_name = $row['call_recording_name'];
$call_recording_path = $row['call_recording_path'];
if ($_SESSION['call_recordings']['storage_type']['text'] == 'base64' && $row['call_recording_base64'] != '') {
file_put_contents($path.'/'.$call_recording_name, base64_decode($row['call_recording_base64']));
}
break;
}
}
unset ($sql, $prep_statement, $call_recordings);
}
//set the path for the directory
$default_path = $_SESSION['switch']['call_recordings']['dir']."/".$_SESSION['domain_name'];
//build full path
$full_recording_path = $call_recording_path . '/' . $call_recording_name;
//download the file
if (file_exists($full_recording_path)) {
//content-range
//if (isset($_SERVER['HTTP_RANGE'])) {
// range_download($full_recording_path);
//}
ob_clean();
$fd = fopen($full_recording_path, "rb");
if ($_GET['t'] == "bin") {
header("Content-Type: application/force-download");
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");
header("Content-Description: File Transfer");
}
else {
$file_ext = substr($call_recording_name, -3);
if ($file_ext == "wav") {
header("Content-Type: audio/x-wav");
}
if ($file_ext == "mp3") {
header("Content-Type: audio/mpeg");
}
}
header('Content-Disposition: attachment; filename="'.$call_recording_name.'"');
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
// header("Content-Length: " . filesize($full_recording_path));
ob_clean();
fpassthru($fd);
}
//if base64, remove temp recording file
if ($_SESSION['call_recordings']['storage_type']['text'] == 'base64' && $row['call_recording_base64'] != '') {
@unlink($full_recording_path);
}
}
} //end download method
/**
* download the recordings
*/
public function delete($id) {
if (permission_exists('call_recording_delete')) {
//cache limiter
session_cache_limiter('public');
//delete single call recording
if (isset($id) && is_uuid($id)) {
$sql = "delete from v_call_recordings ";
$sql .= "where call_recording_uuid = '".$id."'; ";
$this->db->query($sql);
unset($sql);
}
//delete multiple call recordings
if (is_array($id)) {
//set the array
$call_recordings = $id;
//debug info
//echo "<pre>\n";
//print_r($call_recordings);
//echo "</pre>\n";
//get the action
foreach($call_recordings as $row) {
if ($row['action'] == 'delete') {
$action = 'delete';
break;
}
}
//delete the checked rows
if ($action == 'delete') {
foreach($call_recordings as $row) {
if ($row['checked'] == 'true') {
//get the information to delete
$sql = "select call_recording_name, call_recording_path from v_call_recordings ";
$sql .= "where call_recording_uuid = '".$row['call_recording_uuid']."' ";
//$sql .= "and domain_uuid = '".$domain_uuid."' \n";
$prep_statement = $this->db->prepare(check_sql($sql));
$prep_statement->execute();
$array = $prep_statement->fetchAll(PDO::FETCH_ASSOC);
if (is_array($array)) {
foreach($array as &$field) {
//delete the file on the file system
if (file_exists($field['call_recording_path'].'/'.$field['call_recording_name'])) {
unlink($field['call_recording_path'].'/'.$field['call_recording_name']);
}
//delete call recordings in the database
$sql = "delete from v_call_recordings ";
$sql .= "where call_recording_uuid = '".$row['call_recording_uuid']."'; ";
//echo $sql."\n";
$this->db->query($sql);
unset($sql);
}
}
unset ($sql, $prep_statement, $id, $array);
}
}
unset($call_recordings);
}
}
}
} //end the delete function
} //end the class
}
/*
$obj = new call_recordings;
$obj->download('all');
*/
?>
+43 -8
View File
@@ -5,21 +5,31 @@
$apps[$x]['uuid'] = "19806921-e8ed-dcff-b325-dd3e5da4959d";
$apps[$x]['category'] = "Switch";;
$apps[$x]['subcategory'] = "";
$apps[$x]['version'] = "";
$apps[$x]['version'] = "1.0";
$apps[$x]['license'] = "Mozilla Public License 1.1";
$apps[$x]['url'] = "http://www.fusionpbx.com";
$apps[$x]['description']['en-us'] = "Call Forward, Follow Me and Do Not Disturb.";
$apps[$x]['description']['es-cl'] = "Reenvio de llamada, Sígueme y No Molestar.";
$apps[$x]['description']['de-de'] = "";
$apps[$x]['description']['ar-eg'] = "";
$apps[$x]['description']['de-at'] = "Anrufweiterleitung, Follow Me und Nicht-Stören.";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-at'] = "";
$apps[$x]['description']['fr-fr'] = "Renvoi d'appel, Follow Me et ne pas deranger.";
$apps[$x]['description']['de-de'] = "Anrufweiterleitung, Follow Me und Nicht-Stören.";
$apps[$x]['description']['es-cl'] = "Reenvio de llamada, Sígueme y No Molestar.";
$apps[$x]['description']['es-mx'] = "";
$apps[$x]['description']['fr-ca'] = "";
$apps[$x]['description']['fr-ch'] = "";
$apps[$x]['description']['pt-pt'] = "Desvio de Chamadas, Seguir-me e Não Perturbar.";
$apps[$x]['description']['fr-fr'] = "Renvoi d'appel, Follow Me et ne pas deranger.";
$apps[$x]['description']['he-il'] = "";
$apps[$x]['description']['it-it'] = "";
$apps[$x]['description']['nl-nl'] = "";
$apps[$x]['description']['pl-pl'] = "";
$apps[$x]['description']['pt-br'] = "Desvio de chamadas, Siga-me e Não perturbe (DND).";
$apps[$x]['description']['pt-pt'] = "Desvio de Chamadas, Seguir-me e Não Perturbar.";
$apps[$x]['description']['ro-ro'] = "";
$apps[$x]['description']['ru-ru'] = "";
$apps[$x]['description']['sv-se'] = "";
$apps[$x]['description']['uk-ua'] = "";
//permission details
$y=0;
$apps[$x]['permissions'][$y]['name'] = "follow_me";
$apps[$x]['permissions'][$y]['groups'][] = "user";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
@@ -34,5 +44,30 @@
$apps[$x]['permissions'][$y]['groups'][] = "user";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "call_forward_caller_id";
$apps[$x]['permissions'][$y]['groups'][] = "user";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
?>
//default settings
$y=0;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "4fedc226-caca-4ebf-b4eb-31de93e5bed3";
$apps[$x]['default_settings'][$y]['default_setting_category'] = "follow_me";
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "max_destinations";
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
$apps[$x]['default_settings'][$y]['default_setting_value'] = "5";
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
$apps[$x]['default_settings'][$y]['default_setting_order'] = "0";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the maximum number of Follow Me Destinations.";
$y++;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "ce105d64-2d1b-4d19-ae34-ccb818cc9c6e";
$apps[$x]['default_settings'][$y]['default_setting_category'] = "follow_me";
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "timeout";
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
$apps[$x]['default_settings'][$y]['default_setting_value'] = "30";
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
$apps[$x]['default_settings'][$y]['default_setting_order'] = "0";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Set the default Follow Me Timeout value.";
?>
@@ -17,18 +17,15 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2012
Portions created by the Initial Developer are Copyright (C) 2008-2016
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
include "root.php";
//require_once "resources/require.php";
//require_once "resources/classes/database.php";
//$db = new database;
//$db->db = $db;
//$db->db_type = $db_type;
//$db->add();
?>
//process this only one time
if ($domains_processed == 1) {
}
?>
File diff suppressed because it is too large Load Diff
+28 -17
View File
@@ -1,21 +1,32 @@
<?php
$apps[$x]['menu'][0]['title']['en-us'] = "Call Routing";
$apps[$x]['menu'][0]['title']['es-mx'] = "enrutamiento de llamadas";
$apps[$x]['menu'][0]['title']['de-de'] = "Call Routing";
$apps[$x]['menu'][0]['title']['de-ch'] = "Call Routing";
$apps[$x]['menu'][0]['title']['de-at'] = "Call Routing";
$apps[$x]['menu'][0]['title']['fr-fr'] = "routage des appels";
$apps[$x]['menu'][0]['title']['fr-ca'] = "routage des appels";
$apps[$x]['menu'][0]['title']['fr-ch'] = "routage des appels";
$apps[$x]['menu'][0]['title']['pt-pt'] = "Roteamento de chamadas";
$apps[$x]['menu'][0]['title']['pt-br'] = "roteamento de chamadas";
$apps[$x]['menu'][0]['uuid'] = "4e4df00b-aafb-45a8-82c1-cdabc921889c";
$apps[$x]['menu'][0]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
$apps[$x]['menu'][0]['category'] = "internal";
$apps[$x]['menu'][0]['path'] = "/app/calls/calls.php";
$apps[$x]['menu'][0]['groups'][] = "user";
$apps[$x]['menu'][0]['groups'][] = "admin";
$apps[$x]['menu'][0]['groups'][] = "superadmin";
$y=0;
$apps[$x]['menu'][$y]['title']['en-us'] = "Call Routing";
$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
$apps[$x]['menu'][$y]['title']['de-at'] = "Call Routing";
$apps[$x]['menu'][$y]['title']['de-ch'] = "Call Routing";
$apps[$x]['menu'][$y]['title']['de-de'] = "Call Routing";
$apps[$x]['menu'][$y]['title']['es-cl'] = "";
$apps[$x]['menu'][$y]['title']['es-mx'] = "enrutamiento de llamadas";
$apps[$x]['menu'][$y]['title']['fr-ca'] = "routage des appels";
$apps[$x]['menu'][$y]['title']['fr-fr'] = "routage des appels";
$apps[$x]['menu'][$y]['title']['he-il'] = "";
$apps[$x]['menu'][$y]['title']['it-it'] = "Istradamento Chiamate";
$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
$apps[$x]['menu'][$y]['title']['pl-pl'] = "";
$apps[$x]['menu'][$y]['title']['pt-br'] = "roteamento de chamadas";
$apps[$x]['menu'][$y]['title']['pt-pt'] = "Roteamento de chamadas";
$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Маршрутизация вызовов";
$apps[$x]['menu'][$y]['title']['sv-se'] = "";
$apps[$x]['menu'][$y]['title']['uk-ua'] = "";
$apps[$x]['menu'][$y]['uuid'] = "4e4df00b-aafb-45a8-82c1-cdabc921889c";
$apps[$x]['menu'][$y]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
$apps[$x]['menu'][$y]['category'] = "internal";
$apps[$x]['menu'][$y]['path'] = "/app/calls/calls.php";
$apps[$x]['menu'][$y]['groups'][] = "user";
$apps[$x]['menu'][$y]['groups'][] = "admin";
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
?>
+379 -490
View File
File diff suppressed because it is too large Load Diff
+6 -7
View File
@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2016
Portions created by the Initial Developer are Copyright (C) 2008-2017
the Initial Developer. All Rights Reserved.
Contributor(s):
@@ -38,9 +38,8 @@
exit;
}
//get the https values and set as variables
$order_by = check_str($_GET["order_by"]);
$order = check_str($_GET["order"]);
//get the domain_uuid from the session
$domain_uuid = $_SESSION['domain_uuid'];
//handle search term
$search = check_str($_GET["search"]);
@@ -163,9 +162,9 @@
$tr_url = PROJECT_PATH."/app/calls/call_edit.php?id=".$row['extension_uuid']."&return_url=".urlencode($_SERVER['REQUEST_URI']);
$tr_link = (permission_exists('call_forward') || permission_exists('follow_me') || permission_exists('do_not_disturb')) ? "href='".$tr_url."'" : null;
echo "<tr ".$tr_link.">\n";
echo " <td valign='top' class='".$row_style[$c]."'><a ".$tr_link.">".$row['extension']."</a></td>\n";
echo " <td valign='top' class='".$row_style[$c]."'><a ".$tr_link.">".escape($row['extension'])."</a></td>\n";
if (permission_exists('call_forward')) {
echo "<td valign='top' class='".$row_style[$c]."'>".(($row['forward_all_enabled'] == 'true') ? format_phone($row['forward_all_destination']) : '&nbsp;')."</td>";
echo "<td valign='top' class='".$row_style[$c]."'>".(($row['forward_all_enabled'] == 'true') ? escape(format_phone($row['forward_all_destination'])) : '&nbsp;')."</td>";
}
if (permission_exists('follow_me')) {
if ($row['follow_me_uuid'] != '') {
@@ -195,7 +194,7 @@
echo "<td valign='top' class='".$row_style[$c]."'>".(($row['do_not_disturb'] == 'true') ? $text['label-enabled'] : '&nbsp;')."</td>";
}
if (!$is_included) {
echo "<td valign='top' class='row_stylebg hidden-xs'>".$row['description']."&nbsp;</td>\n";
echo "<td valign='top' class='row_stylebg hidden-xs'>".escape($row['description'])."&nbsp;</td>\n";
}
echo " <td class='list_control_icon'><a href='".$tr_url."' alt='".$text['button-edit']."'>".$v_link_label_edit."</a></td>\n";
echo "</tr>\n";
+1 -78
View File
@@ -66,83 +66,6 @@ include "root.php";
}
unset ($prep_statement);
//set the dial string
if ($this->forward_all_enabled == "true") {
$dial_string = "{presence_id=".$this->forward_all_destination."@".$_SESSION['domain_name'];
$dial_string .= ",instant_ringback=true";
$dial_string .= ",domain_uuid=".$_SESSION['domain_uuid'];
$dial_string .= ",sip_invite_domain=".$_SESSION['domain_name'];
$dial_string .= ",domain_name=".$_SESSION['domain_name'];
$dial_string .= ",domain=".$_SESSION['domain_name'];
$dial_string .= ",extension_uuid=".$this->extension_uuid;
$dial_string .= ",toll_allow='".$this->toll_allow."'";
$dial_string .=",sip_h_Diversion=<sip:".$this->extension."@".$_SESSION['domain_name'].">;reason=unconditional";
if (strlen($this->accountcode) > 0) {
$dial_string .= ",sip_h_X-accountcode=".$this->accountcode;
$dial_string .= ",accountcode=".$this->accountcode;
}
if (strlen($this->forward_caller_id_uuid) > 0){
$sql_caller = "select destination_number, destination_description, destination_caller_id_number, destination_caller_id_name from v_destinations where domain_uuid = '$this->domain_uuid' and destination_type = 'inbound' and destination_uuid = '$this->forward_caller_id_uuid'";
$prep_statement_caller = $db->prepare($sql_caller);
if ($prep_statement_caller) {
$prep_statement_caller->execute();
$row_caller = $prep_statement_caller->fetch(PDO::FETCH_ASSOC);
$caller_id_number = $row_caller['destination_caller_id_number'];
if(strlen($caller_id_number) == 0){
$caller_id_number = $row_caller['destination_number'];
}
$caller_id_name = $row_caller['destination_caller_id_name'];
if(strlen($caller_id_name) == 0){
$caller_id_name = $row_caller['destination_description'];
}
if (strlen($caller_id_name) > 0) {
$dial_string_caller_id_name = $caller_id_name;
$dial_string .= ",origination_caller_id_name=$dial_string_caller_id_name";
}
if (strlen($caller_id_number) > 0) {
$dial_string_caller_id_number = $caller_id_number;
$dial_string .= ",origination_caller_id_number=$dial_string_caller_id_number";
$dial_string .= ",outbound_caller_id_number=$dial_string_caller_id_number";
}
}
}
else{
if ($_SESSION['cdr']['call_forward_fix']['boolean'] == "true"){
$dial_string .= ",outbound_caller_id_name=".$this->outbound_caller_id_name;
$dial_string .= ",outbound_caller_id_number=".$this->outbound_caller_id_number;
$dial_string .= ",origination_caller_id_name=".$this->outbound_caller_id_name;
$dial_string .= ",origination_caller_id_number=".$this->outbound_caller_id_number;
}
}
$dial_string .= "}";
if (extension_exists($this->forward_all_destination)) {
$dial_string .= "user/".$this->forward_all_destination."@".$_SESSION['domain_name'];
}
else {
if ($_SESSION['domain']['bridge']['text'] == "outbound" || $_SESSION['domain']['bridge']['text'] == "bridge") {
$bridge = outbound_route_to_bridge ($_SESSION['domain_uuid'], $this->forward_all_destination);
$dial_string .= $bridge[0];
}
elseif ($_SESSION['domain']['bridge']['text'] == "lcr") {
$dial_string .= "lcr/".$_SESSION['lcr']['profile']['text']."/".$_SESSION['domain_name']."/".$this->forward_all_destination;
}
elseif ($_SESSION['domain']['bridge']['text'] === "loopback") {
$dial_string .= "loopback/".$this->forward_all_destination;
}
else {
$dial_string .= "loopback/".$this->forward_all_destination;
}
}
$this->dial_string = $dial_string;
}
else {
$this->dial_string = '';
}
//update the extension
$sql = "update v_extensions set ";
if (strlen($this->forward_all_destination) == 0) {
@@ -167,7 +90,7 @@ include "root.php";
$db->exec(check_sql($sql));
unset($sql);
//delete extension from memcache
//delete extension from the cache
$cache = new cache;
$cache->delete("directory:".$this->extension."@".$this->domain_name);
if(strlen($this->number_alias) > 0){
@@ -0,0 +1,82 @@
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2017
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
KonradSC <konrd@yahoo.com>
*/
include "root.php";
//define the feature_event_notify class
class feature_event_notify {
public $debug;
public $domain_name;
public $extension;
public $forward_all_destination;
public $forward_all_enabled;
public $forward_busy_destination;
public $forward_busy_enabled;
public $forward_no_answer_destination;
public $forward_no_answer_enabled;
public $do_not_disturb;
public $ring_count;
//feature_event method
public function send_notify() {
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp) {
//get the sip profile name
$command = "sofia_contact */".$this->extension."@".$this->domain_name;
$contact_string = event_socket_request($fp, "api ".$command);
if (substr($contact_string, 0, 5) == "sofia") {
$contact_array = explode("/", $contact_string);
$sip_profile_name = $contact_array[1];
}
else {
$sip_profile_name = 'internal';
}
//send the event
$event = "sendevent SWITCH_EVENT_PHONE_FEATURE\n";
$event .= "profile: ".$sip_profile_name."\n";
$event .= "user: ".$this->extension."\n";
$event .= "host: ".$this->domain_name."\n";
$event .= "device: \n";
$event .= "Feature-Event: init\n";
$event .= "forward_immediate_enabled: ".$this->forward_all_enabled."\n";
$event .= "forward_immediate: ".$this->forward_all_destination."\n";
$event .= "forward_busy_enabled: ".$this->forward_busy_enabled."\n";
$event .= "forward_busy: ".$this->forward_busy_destination."\n";
$event .= "forward_no_answer_enabled: ".$this->forward_no_answer_enabled."\n";
$event .= "forward_no_answer: ".$this->forward_no_answer_destination."\n";
$event .= "doNotDisturbOn: ".$this->do_not_disturb."\n";
$event .= "ringCount: ".$this->ring_count."\n";
event_socket_request($fp, $event);
fclose($fp);
}
} //function
} //class
?>
+159 -131
View File
@@ -43,6 +43,7 @@ include "root.php";
public $outbound_caller_id_name;
public $outbound_caller_id_number;
private $extension;
private $number_alias;
private $toll_allow;
public $destination_data_1;
@@ -248,6 +249,7 @@ include "root.php";
$this->extension = $row["extension"];
$this->accountcode = $row["accountcode"];
$this->toll_allow = $row["toll_allow"];
$this->number_alias = $row["number_alias"];
$this->outbound_caller_id_name = $row["outbound_caller_id_name"];
$this->outbound_caller_id_number = $row["outbound_caller_id_number"];
}
@@ -266,153 +268,179 @@ include "root.php";
}
unset ($prep_statement);
//add follow me
if (strlen($follow_me_uuid) == 0) {
$this->add();
//set the extension dial string
$sql = "select * from v_follow_me_destinations ";
$sql .= "where follow_me_uuid = '".$this->follow_me_uuid."' ";
$sql .= "order by follow_me_order asc ";
$prep_statement_2 = $db->prepare(check_sql($sql));
$prep_statement_2->execute();
$result = $prep_statement_2->fetchAll(PDO::FETCH_NAMED);
$dial_string = "{";
if ($this->follow_me_ignore_busy != 'true') {
$dial_string .= "fail_on_single_reject=USER_BUSY,";
}
$dial_string .= "instant_ringback=true,";
$dial_string .= "ignore_early_media=true";
$dial_string .= ",domain_uuid=".$_SESSION['domain_uuid'];
$dial_string .= ",sip_invite_domain=".$_SESSION['domain_name'];
$dial_string .= ",domain_name=".$_SESSION['domain_name'];
$dial_string .= ",domain=".$_SESSION['domain_name'];
$dial_string .= ",extension_uuid=".$this->extension_uuid;
$dial_string .= ",group_confirm_key=exec,group_confirm_file=lua confirm.lua";
$dial_string_caller_id_name = "\${effective_caller_id_name}";
$dial_string_caller_id_number = "\${effective_caller_id_number}";
if (strlen($this->follow_me_caller_id_uuid) > 0) {
$sql_caller = "select destination_number, destination_description, destination_caller_id_number, destination_caller_id_name ";
$sql_caller .= "from v_destinations ";
$sql_caller .= "where domain_uuid = '$this->domain_uuid' ";
$sql_caller .= "and destination_type = 'inbound' ";
$sql_caller .= "and destination_uuid = '$this->follow_me_caller_id_uuid'";
$prep_statement_caller = $db->prepare($sql_caller);
if ($prep_statement_caller) {
$prep_statement_caller->execute();
$row_caller = $prep_statement_caller->fetch(PDO::FETCH_ASSOC);
$caller_id_number = $row_caller['destination_caller_id_number'];
if(strlen($caller_id_number) == 0){
$caller_id_number = $row_caller['destination_number'];
}
$caller_id_name = $row_caller['destination_caller_id_name'];
if(strlen($caller_id_name) == 0){
$caller_id_name = $row_caller['destination_description'];
}
}
}
//set the extension dial string
$sql = "select * from v_follow_me_destinations ";
$sql .= "where follow_me_uuid = '".$this->follow_me_uuid."' ";
$sql .= "order by follow_me_order asc ";
$prep_statement_2 = $db->prepare(check_sql($sql));
$prep_statement_2->execute();
$result = $prep_statement_2->fetchAll(PDO::FETCH_NAMED);
$dial_string = "{";
if ($this->follow_me_ignore_busy != 'true') {
$dial_string .= "fail_on_single_reject=USER_BUSY,";
}
$dial_string .= "instant_ringback=true,";
$dial_string .= "ignore_early_media=true";
$dial_string .= ",domain_uuid=".$_SESSION['domain_uuid'];
$dial_string .= ",sip_invite_domain=".$_SESSION['domain_name'];
$dial_string .= ",domain_name=".$_SESSION['domain_name'];
$dial_string .= ",domain=".$_SESSION['domain_name'];
$dial_string .= ",extension_uuid=".$this->extension_uuid;
$dial_string .= ",group_confirm_key=exec,group_confirm_file=lua confirm.lua";
//accountcode
if (strlen($this->accountcode) == 0) {
$dial_string .= ",sip_h_X-accountcode=\${accountcode}";
}
else {
$dial_string .= ",sip_h_X-accountcode=".$this->accountcode;
$dial_string .= ",accountcode=".$this->accountcode;
}
$dial_string_caller_id_name = "\${effective_caller_id_name}";
$dial_string_caller_id_number = "\${effective_caller_id_number}";
if (strlen($this->follow_me_caller_id_uuid) > 0){
$sql_caller = "select destination_number, destination_description, destination_caller_id_number, destination_caller_id_name from v_destinations where domain_uuid = '$this->domain_uuid' and destination_type = 'inbound' and destination_uuid = '$this->follow_me_caller_id_uuid'";
$prep_statement_caller = $db->prepare($sql_caller);
if ($prep_statement_caller) {
$prep_statement_caller->execute();
$row_caller = $prep_statement_caller->fetch(PDO::FETCH_ASSOC);
$caller_id_number = $row_caller['destination_caller_id_number'];
if(strlen($caller_id_number) == 0){
$caller_id_number = $row_caller['destination_number'];
}
$caller_id_name = $row_caller['destination_caller_id_name'];
if(strlen($caller_id_name) == 0){
$caller_id_name = $row_caller['destination_description'];
}
if (strlen($caller_id_name) > 0) {
$dial_string_caller_id_name = $caller_id_name;
}
if (strlen($caller_id_number) > 0) {
$dial_string_caller_id_number = $caller_id_number;
}
}
}
if (strlen($this->cid_name_prefix) > 0) {
$dial_string .= ",origination_caller_id_name=".$this->cid_name_prefix."$dial_string_caller_id_name";
}
else {
$dial_string .= ",origination_caller_id_name=$dial_string_caller_id_name";
}
if (strlen($this->cid_number_prefix) > 0) {
//$dial_string .= ",origination_caller_id_number=".$this->cid_number_prefix."";
$dial_string .= ",origination_caller_id_number=".$this->cid_number_prefix."$dial_string_caller_id_number";
}
else {
$dial_string .= ",origination_caller_id_number=$dial_string_caller_id_number";
}
if (strlen($this->accountcode) > 0) {
$dial_string .= ",sip_h_X-accountcode=".$this->accountcode;
$dial_string .= ",accountcode=".$this->accountcode;
}
//toll allow
if ($this->toll_allow != '') {
$dial_string .= ",toll_allow='".$this->toll_allow."'";
$dial_string .= "}";
$x = 0;
if (is_array($result)) foreach ($result as &$row) {
if ($x > 0) {
$dial_string .= ",";
}
if (extension_exists($row["follow_me_destination"])) {
//set the dial string
if (strlen($_SESSION['domain']['dial_string']['text']) == 0) {
$dial_string .= "[";
$dial_string .= "outbound_caller_id_number=$dial_string_caller_id_number,";
$dial_string .= "presence_id=".$row["follow_me_destination"]."@".$_SESSION['domain_name'].",";
if ($row["follow_me_prompt"] == "1") {
$dial_string .= "group_confirm_key=exec,group_confirm_file=lua confirm.lua,confirm=true,";
}
$dial_string .= "leg_delay_start=".$row["follow_me_delay"].",";
$dial_string .= "leg_timeout=".$row["follow_me_timeout"]."]";
$dial_string .= "\${sofia_contact(".$row["follow_me_destination"]."@".$_SESSION['domain_name'].")}";
}
$dial_string .= "}";
$x = 0;
if (is_array($result)) foreach ($result as &$row) {
if ($x > 0) {
$dial_string .= ",";
}
if (($presence_id = extension_presence_id($row["follow_me_destination"])) !== false) {
//set the dial string
// using here `sofia_contact` instead of `user/` allows add registered device
// so you can make follow me for extension `100` like `100` and avoid recursion
// but it ignores DND/CallForwad settings
if (strlen($_SESSION['domain']['dial_string']['text']) == 0) {
$dial_string .= "[";
$dial_string .= "presence_id=".$presence_id."@".$_SESSION['domain_name'].',';
if ($row["follow_me_prompt"] == "1") {
$dial_string .= "group_confirm_key=exec,group_confirm_file=lua confirm.lua,confirm=true,";
}
else {
$replace_value = $row["follow_me_destination"];
if ($row["follow_me_prompt"] == "1") {
$replace_value .= "[group_confirm_key=exec,group_confirm_file=lua confirm.lua,confirm=true]";
}
$local_dial_string = $_SESSION['domain']['dial_string']['text'];
$local_dial_string = str_replace("\${dialed_user}", $replace_value, $local_dial_string);
$local_dial_string = str_replace("\${dialed_domain}", $_SESSION['domain_name'], $local_dial_string);
$local_dial_string = str_replace("\${call_timeout}", $row["follow_me_timeout"], $local_dial_string);
$local_dial_string = str_replace("\${leg_timeout}", $row["follow_me_timeout"], $local_dial_string);
$dial_string .= $local_dial_string;
$dial_string .= "leg_delay_start=".$row["follow_me_delay"].",";
$dial_string .= "leg_timeout=".$row["follow_me_timeout"]."]";
$dial_string .= "\${sofia_contact(".$row["follow_me_destination"]."@".$_SESSION['domain_name'].")}";
}
else {
//get the session dial string
$dial_string_template = $_SESSION['domain']['dial_string']['text'];
//replace the variables with the values
$dial_string_template = str_replace("sip_invite_domain=\${domain_name},", "", $dial_string_template);
$dial_string_template = str_replace("presence_id=\${dialed_user}@\${dialed_domain}", "", $dial_string_template);
$dial_string_template = str_replace("\${dialed_user}", $row["follow_me_destination"], $dial_string_template);
$dial_string_template = str_replace("\${dialed_domain}", $_SESSION['domain_name'], $dial_string_template);
$dial_string_template = str_replace("\${call_timeout}", $row["follow_me_timeout"], $dial_string_template);
$dial_string_template = str_replace("\${leg_timeout}", $row["follow_me_timeout"], $dial_string_template);
//seperate the variables from the bridge statement
preg_match_all('/{((?:[^{}]|(?R))*)}/', $dial_string_template, $matches, PREG_PATTERN_ORDER);
$dial_string_variables = $matches[1][0];
$dial_string_bridge = $matches[1][1];
//add to the dial string
$dial_string .= "[";
$dial_string .= $dial_string_variables;
//group confirm
if ($row["follow_me_prompt"] == "1") {
$dial_string .= ",group_confirm_key=exec,group_confirm_file=lua confirm.lua,confirm=true";
}
$dial_string .= "]";
$dial_string .= "\${".$dial_string_bridge."}";
}
}
else {
$presence_id = extension_presence_id($this->extension, $this->number_alias);
$dial_string .= "[presence_id=".$presence_id."@".$_SESSION['domain_name'];
//set the caller id
if ($_SESSION['cdr']['follow_me_fix']['boolean'] == "true") {
if (strlen($this->outbound_caller_id_name) > 0) {
$dial_string .= ",origination_caller_id_name=".$this->cid_name_prefix.$this->outbound_caller_id_name;
$dial_string .= ",effective_caller_id_name=".$this->cid_name_prefix.$this->outbound_caller_id_name;
}
if (strlen($this->outbound_caller_id_number) > 0) {
$dial_string .= ",origination_caller_id_number=".$this->cid_number_prefix.$this->outbound_caller_id_number;
$dial_string .= ",effective_caller_id_number=".$this->cid_number_prefix.$this->outbound_caller_id_number;
}
}
else {
$dial_string .= "[";
if ($_SESSION['cdr']['follow_me_fix']['boolean'] == "true"){
$dial_string .= "outbound_caller_id_name=".$this->outbound_caller_id_name;
$dial_string .= ",outbound_caller_id_number=".$this->outbound_caller_id_number;
$dial_string .= ",origination_caller_id_name=".$this->outbound_caller_id_name;
$dial_string .= ",origination_caller_id_number=".$this->outbound_caller_id_number;
}
else{
$dial_string .= "outbound_caller_id_number=$dial_string_caller_id_number";
}
$dial_string .= ",presence_id=".$this->extension."@".$_SESSION['domain_name'];
if ($row["follow_me_prompt"] == "1") {
$dial_string .= ",group_confirm_key=exec,group_confirm_file=lua confirm.lua,confirm=true,";
}
$dial_string .= ",leg_delay_start=".$row["follow_me_delay"];
$dial_string .= ",leg_timeout=".$row["follow_me_timeout"]."]";
if (is_numeric($row["follow_me_destination"])) {
if ($_SESSION['domain']['bridge']['text'] == "outbound" || $_SESSION['domain']['bridge']['text'] == "bridge") {
$bridge = outbound_route_to_bridge ($_SESSION['domain_uuid'], $row["follow_me_destination"]);
$dial_string .= $bridge[0];
}
elseif ($_SESSION['domain']['bridge']['text'] == "loopback") {
$dial_string .= "loopback/".$row["follow_me_destination"]."/".$_SESSION['domain_name'];
}
elseif ($_SESSION['domain']['bridge']['text'] == "lcr") {
$dial_string .= "lcr/".$_SESSION['lcr']['profile']['text']."/".$_SESSION['domain_name']."/".$row["follow_me_destination"];
}
else {
$dial_string .= "loopback/".$row["follow_me_destination"]."/".$_SESSION['domain_name'];
if (strlen($caller_id_number) > 0) {
//set the caller id if it is set
if (strlen($caller_id_name) > 0) {
$dial_string .= ",origination_caller_id_name=".$this->cid_name_prefix.$caller_id_name;
$dial_string .= ",effective_caller_id_name=".$this->cid_name_prefix.$caller_id_name;
}
$dial_string .= ",origination_caller_id_number=".$this->cid_number_prefix.$caller_id_number;
$dial_string .= ",effective_caller_id_number=".$this->cid_number_prefix.$caller_id_number;
}
else {
$dial_string .= $row["follow_me_destination"];
//set the outbound caller id number if the caller id number is a user
$dial_string .=',origination_caller_id_number=${cond(${from_user_exists} == true ? ${outbound_caller_id_number} : ${origination_caller_id_number})}';
$dial_string .=',effective_caller_id_number=${cond(${from_user_exists} == true ? ${outbound_caller_id_number} : ${effective_caller_id_number})}';
$dial_string .=',origination_caller_id_name=${cond(${from_user_exists} == true ? ${outbound_caller_id_name} : ${origination_caller_id_name})}';
$dial_string .=',effective_caller_id_name=${cond(${from_user_exists} == true ? ${outbound_caller_id_name} : ${effective_caller_id_name})}';
}
}
$x++;
if ($row["follow_me_prompt"] == "1") {
$dial_string .= ",group_confirm_key=exec,group_confirm_file=lua confirm.lua,confirm=true,";
}
$dial_string .= ",leg_delay_start=".$row["follow_me_delay"];
$dial_string .= ",leg_timeout=".$row["follow_me_timeout"]."]";
if (is_numeric($row["follow_me_destination"])) {
if ($_SESSION['domain']['bridge']['text'] == "outbound" || $_SESSION['domain']['bridge']['text'] == "bridge") {
$bridge = outbound_route_to_bridge ($_SESSION['domain_uuid'], $row["follow_me_destination"]);
$dial_string .= $bridge[0];
}
elseif ($_SESSION['domain']['bridge']['text'] == "loopback") {
$dial_string .= "loopback/".$row["follow_me_destination"]."/".$_SESSION['domain_name'];
}
elseif ($_SESSION['domain']['bridge']['text'] == "lcr") {
$dial_string .= "lcr/".$_SESSION['lcr']['profile']['text']."/".$_SESSION['domain_name']."/".$row["follow_me_destination"];
}
else {
$dial_string .= "loopback/".$row["follow_me_destination"]."/".$_SESSION['domain_name'];
}
}
else {
$dial_string .= $row["follow_me_destination"];
}
}
$this->dial_string = $dial_string;
$x++;
}
$dial_string = str_replace(",]", "]", $dial_string);
$this->dial_string = $dial_string;
$sql = "update v_follow_me set ";
$sql .= "dial_string = '".$this->dial_string."' ";
$sql .= "dial_string = '".check_str($this->dial_string)."' ";
$sql .= "where domain_uuid = '".$this->domain_uuid."' ";
$sql .= "and follow_me_uuid = '".$this->follow_me_uuid."' ";
if ($this->debug) {
+22 -12
View File
@@ -5,39 +5,49 @@
$apps[$x]['uuid'] = "ec8530a9-903a-469d-3717-281f798b9ef6";
$apps[$x]['category'] = "Switch";;
$apps[$x]['subcategory'] = "";
$apps[$x]['version'] = "";
$apps[$x]['version'] = "1.0";
$apps[$x]['license'] = "Mozilla Public License 1.1";
$apps[$x]['url'] = "http://www.fusionpbx.com";
$apps[$x]['description']['en-us'] = "Active channels on the system.";
$apps[$x]['description']['es-cl'] = "Canales activos en el sistema.";
$apps[$x]['description']['de-de'] = "";
$apps[$x]['description']['ar-eg'] = "";
$apps[$x]['description']['de-at'] = "Aktive Kanäle auf dem System.";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-at'] = "";
$apps[$x]['description']['fr-fr'] = "Channels actifs sur le système";
$apps[$x]['description']['de-de'] = "Aktive Kanäle auf dem System.";
$apps[$x]['description']['es-cl'] = "Canales activos en el sistema.";
$apps[$x]['description']['es-mx'] = "";
$apps[$x]['description']['fr-ca'] = "";
$apps[$x]['description']['fr-ch'] = "";
$apps[$x]['description']['pt-pt'] = "Canais ativos no sistema.";
$apps[$x]['description']['fr-fr'] = "Channels actifs sur le système";
$apps[$x]['description']['he-il'] = "";
$apps[$x]['description']['it-it'] = "";
$apps[$x]['description']['nl-nl'] = "";
$apps[$x]['description']['pl-pl'] = "";
$apps[$x]['description']['pt-br'] = "Canais ativos no sistema.";
$apps[$x]['description']['pt-pt'] = "Canais ativos no sistema.";
$apps[$x]['description']['ro-ro'] = "";
$apps[$x]['description']['ru-ru'] = "Активные каналы в системе";
$apps[$x]['description']['sv-se'] = "";
$apps[$x]['description']['uk-ua'] = "";
//permission details
$y=0;
$apps[$x]['permissions'][0]['name'] = "call_active_view";
$apps[$x]['permissions'][0]['menu']['uuid'] = "eba3d07f-dd5c-6b7b-6880-493b44113ade";
$apps[$x]['permissions'][0]['groups'][] = "superadmin";
$apps[$x]['permissions'][0]['groups'][] = "admin";
//$y++;
//$apps[$x]['permissions'][1]['name'] = "call_active_transfer";
//$apps[$x]['permissions'][1]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][2]['name'] = "call_active_hangup";
$apps[$x]['permissions'][2]['groups'][] = "superadmin";
$apps[$x]['permissions'][2]['groups'][] = "admin";
//$y++;
//$apps[$x]['permissions'][3]['name'] = "call_active_park";
//$apps[$x]['permissions'][3]['groups'][] = "superadmin";
//$y++;
//$apps[$x]['permissions'][4]['name'] = "call_active_rec";
//$apps[$x]['permissions'][4]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][5]['name'] = "call_active_all";
$apps[$x]['permissions'][5]['groups'][] = "superadmin";
+485 -174
View File
@@ -1,373 +1,684 @@
<?php
#This file was last reorganized on 19th of September 2017 08:54:24 AM UTC
$text['title-2']['en-us'] = "Active Extensions";
$text['title-2']['ar-eg'] = "";
$text['title-2']['de-at'] = "Aktive Nebenstellen"; //copied from de-de
$text['title-2']['de-ch'] = "Aktive Nebenstellen"; //copied from de-de
$text['title-2']['de-de'] = "Aktive Nebenstellen";
$text['title-2']['es-cl'] = "Extensiones Activas";
$text['title-2']['es-mx'] = "Extensiones Activas"; //copied from es-cl
$text['title-2']['fr-ca'] = "Extensions Actives"; //copied from fr-fr
$text['title-2']['fr-fr'] = "Extensions Actives";
$text['title-2']['pt-pt'] = "Extensões Ativas";
$text['title-2']['he-il'] = "שלוחה פעילה";
$text['title-2']['it-it'] = "Interni Attivi";
$text['title-2']['nl-nl'] = "";
$text['title-2']['pl-pl'] = "Aktywne numery wewnętrzne";
$text['title-2']['pt-br'] = "Ramais ativos";
$text['title-2']['pl'] = "Aktywne numery wewnętrzne";
$text['title-2']['pt-pt'] = "Extensões Ativas";
$text['title-2']['ro-ro'] = "";
$text['title-2']['ru-ru'] = "Активные внутренние номера";
$text['title-2']['sv-se'] = "Aktiva anknytningar";
$text['title-2']['uk'] = "Активні розширення";
$text['title-2']['de-at'] = "Aktive Nebenstellen";
$text['title-2']['he'] = "שלוחה פעילה";
$text['title-2']['uk-ua'] = "Активні розширення";
$text['title']['en-us'] = "Active Calls";
$text['title']['ar-eg'] = "";
$text['title']['de-at'] = "Aktive Gespräche"; //copied from de-de
$text['title']['de-ch'] = "Aktive Gespräche"; //copied from de-de
$text['title']['de-de'] = "Aktive Gespräche";
$text['title']['es-cl'] = "Llamadas Activas";
$text['title']['es-mx'] = "Llamadas Activas"; //copied from es-cl
$text['title']['fr-ca'] = "Communications Actives"; //copied from fr-fr
$text['title']['fr-fr'] = "Communications Actives";
$text['title']['pt-pt'] = "Chamadas Ativas";
$text['title']['he-il'] = "הגדרת חשבון";
$text['title']['it-it'] = "Chiamate Attive";
$text['title']['nl-nl'] = "";
$text['title']['pl-pl'] = "Aktywne Rozmowy";
$text['title']['pt-br'] = "Configurações da Conta";
$text['title']['pl'] = "Aktywne Rozmowy";
$text['title']['pt-pt'] = "Chamadas Ativas";
$text['title']['ro-ro'] = "";
$text['title']['ru-ru'] = "Активные вызовы";
$text['title']['sv-se'] = "Aktiva Samtal";
$text['title']['uk'] = "Активні дзвінки";
$text['title']['de-at'] = "Aktive Gespräche";
$text['title']['he'] = "הגדרת חשבון";
$text['title']['uk-ua'] = "Активні дзвінки";
$text['label-time']['en-us'] = "Time";
$text['label-time']['ar-eg'] = "";
$text['label-time']['de-at'] = "Zeit"; //copied from de-de
$text['label-time']['de-ch'] = "Zeit"; //copied from de-de
$text['label-time']['de-de'] = "Zeit";
$text['label-time']['es-cl'] = "Tiempo";
$text['label-time']['es-mx'] = "Tiempo"; //copied from es-cl
$text['label-time']['fr-ca'] = "Temps"; //copied from fr-fr
$text['label-time']['fr-fr'] = "Temps";
$text['label-time']['pt-pt'] = "Tempo";
$text['label-time']['he-il'] = "אזור זמן";
$text['label-time']['it-it'] = "Tempo";
$text['label-time']['nl-nl'] = "";
$text['label-time']['pl-pl'] = "Strefa czasowa";
$text['label-time']['pt-br'] = "Fuso Horário";
$text['label-time']['pl'] = "Strefa czasowa";
$text['label-time']['pt-pt'] = "Tempo";
$text['label-time']['ro-ro'] = "";
$text['label-time']['ru-ru'] = "Время";
$text['label-time']['sv-se'] = "Tid";
$text['label-time']['uk'] = "Час";
$text['label-time']['de-at'] = "Zeit";
$text['label-time']['he'] = "אזור זמן";
$text['label-time']['uk-ua'] = "Час";
$text['label-stop']['en-us'] = "stop record";
$text['label-stop']['ar-eg'] = "";
$text['label-stop']['de-at'] = "Stoppe Aufnahme"; //copied from de-de
$text['label-stop']['de-ch'] = "Stoppe Aufnahme"; //copied from de-de
$text['label-stop']['de-de'] = "Stoppe Aufnahme";
$text['label-stop']['es-cl'] = "terminar grabación";
$text['label-stop']['es-mx'] = "terminar grabación"; //copied from es-cl
$text['label-stop']['fr-ca'] = "arrêter l'enregistrement"; //copied from fr-fr
$text['label-stop']['fr-fr'] = "arrêter l'enregistrement";
$text['label-stop']['pt-pt'] = "parar de gravar";
$text['label-stop']['he-il'] = "הפסק הקלטה";
$text['label-stop']['it-it'] = "stop registra";
$text['label-stop']['nl-nl'] = "";
$text['label-stop']['pl-pl'] = "zatrzymaj nagrywanie";
$text['label-stop']['pt-br'] = "Parar";
$text['label-stop']['pl'] = "zatrzymaj nagrywanie";
$text['label-stop']['pt-pt'] = "parar de gravar";
$text['label-stop']['ro-ro'] = "";
$text['label-stop']['ru-ru'] = "остановить запись";
$text['label-stop']['sv-se'] = "Stoppa inspelning";
$text['label-stop']['uk'] = "Зупинити запис";
$text['label-stop']['de-at'] = "Stoppe Aufnahme";
$text['label-stop']['he'] = "הפסק הקלטה";
$text['label-stop']['uk-ua'] = "Зупинити запис";
$text['label-status']['en-us'] = "Status";
$text['label-status']['ar-eg'] = "";
$text['label-status']['de-at'] = "Status"; //copied from de-de
$text['label-status']['de-ch'] = "Status"; //copied from de-de
$text['label-status']['de-de'] = "Status";
$text['label-status']['es-cl'] = "Estado";
$text['label-status']['es-mx'] = "Estado"; //copied from es-cl
$text['label-status']['fr-ca'] = "Etat"; //copied from fr-fr
$text['label-status']['fr-fr'] = "Etat";
$text['label-status']['he-il'] = "סטטוס";
$text['label-status']['it-it'] = "Stato";
$text['label-status']['nl-nl'] = "";
$text['label-status']['pl-pl'] = "Status";
$text['label-status']['pt-br'] = "Estado"; //copied from pt-pt
$text['label-status']['pt-pt'] = "Estado";
$text['label-status']['pt-br'] = "Estado";
$text['label-status']['pl'] = "Status";
$text['label-status']['ro-ro'] = "";
$text['label-status']['ru-ru'] = "Статус";
$text['label-status']['sv-se'] = "Status";
$text['label-status']['uk'] = "Статус";
$text['label-status']['de-at'] = "Status";
$text['label-status']['he'] = "סטטוס";
$text['label-status']['uk-ua'] = "Статус";
$text['label-start']['en-us'] = "start record";
$text['label-start']['ar-eg'] = "";
$text['label-start']['de-at'] = "Starte Aufnahme"; //copied from de-de
$text['label-start']['de-ch'] = "Starte Aufnahme"; //copied from de-de
$text['label-start']['de-de'] = "Starte Aufnahme";
$text['label-start']['es-cl'] = "iniciar grabación";
$text['label-start']['es-mx'] = "iniciar grabación"; //copied from es-cl
$text['label-start']['fr-ca'] = "commencer l'enregistrement"; //copied from fr-fr
$text['label-start']['fr-fr'] = "commencer l'enregistrement";
$text['label-start']['pt-pt'] = "iniciar a gravação";
$text['label-start']['he-il'] = "התחל הקלטה";
$text['label-start']['it-it'] = "registra";
$text['label-start']['nl-nl'] = "";
$text['label-start']['pl-pl'] = "rozpocznij nagrywanie";
$text['label-start']['pt-br'] = "Iniciar";
$text['label-start']['pl'] = "rozpocznij nagrywanie";
$text['label-start']['pt-pt'] = "iniciar a gravação";
$text['label-start']['ro-ro'] = "";
$text['label-start']['ru-ru'] = "начать запись";
$text['label-start']['sv-se'] = "Starta inspelning";
$text['label-start']['uk'] = "Запустити запис";
$text['label-start']['de-at'] = "Starte Aufnahme";
$text['label-start']['he'] = "התחל הקלטה";
$text['label-start']['uk-ua'] = "Запустити запис";
$text['label-secure']['en-us'] = "Secure";
$text['label-secure']['ar-eg'] = "";
$text['label-secure']['de-at'] = "Sicher"; //copied from de-de
$text['label-secure']['de-ch'] = "Sicher"; //copied from de-de
$text['label-secure']['de-de'] = "Sicher";
$text['label-secure']['es-cl'] = "Seguro";
$text['label-secure']['es-mx'] = "Seguro"; //copied from es-cl
$text['label-secure']['fr-ca'] = "Securisé"; //copied from fr-fr
$text['label-secure']['fr-fr'] = "Securisé";
$text['label-secure']['he-il'] = "מאובטח";
$text['label-secure']['it-it'] = "Sicura";
$text['label-secure']['nl-nl'] = "";
$text['label-secure']['pl-pl'] = "Bezpieczny";
$text['label-secure']['pt-br'] = "Seguro"; //copied from pt-pt
$text['label-secure']['pt-pt'] = "Seguro";
$text['label-secure']['pt-br'] = "Seguro";
$text['label-secure']['pl'] = "Bezpieczny";
$text['label-secure']['ro-ro'] = "";
$text['label-secure']['ru-ru'] = "Безопасный";
$text['label-secure']['sv-se'] = "Skydda";
$text['label-secure']['uk'] = "Захищено";
$text['label-secure']['de-at'] = "Sicher";
$text['label-secure']['he'] = "מאובטח";
$text['label-secure']['uk-ua'] = "Захищено";
$text['label-refresh_pause']['en-us'] = "Pause Refresh";
$text['label-refresh_pause']['ar-eg'] = "";
$text['label-refresh_pause']['de-at'] = "Seite neu laden deaktivieren"; //copied from de-de
$text['label-refresh_pause']['de-ch'] = "Seite neu laden deaktivieren"; //copied from de-de
$text['label-refresh_pause']['de-de'] = "Seite neu laden deaktivieren";
$text['label-refresh_pause']['es-cl'] = "Actualizar Pausa";
$text['label-refresh_pause']['pt-pt'] = "Pausa Atualizar";
$text['label-refresh_pause']['es-mx'] = "Actualizar Pausa"; //copied from es-cl
$text['label-refresh_pause']['fr-ca'] = "Pause Actualiser"; //copied from fr-fr
$text['label-refresh_pause']['fr-fr'] = "Pause Actualiser";
$text['label-refresh_pause']['he-il'] = "עצור רענון";
$text['label-refresh_pause']['it-it'] = "Pausa";
$text['label-refresh_pause']['nl-nl'] = "";
$text['label-refresh_pause']['pl-pl'] = "Pauzuj odświeżanie";
$text['label-refresh_pause']['pt-br'] = "Pausar atualização";
$text['label-refresh_pause']['pl'] = "Pauzuj odświeżanie";
$text['label-refresh_pause']['uk'] = "пауза Оновити";
$text['label-refresh_pause']['de-at'] = "Seite neu laden deaktivieren";
$text['label-refresh_pause']['he'] = "עצור רענון";
$text['label-refresh_pause']['pt-pt'] = "Pausa Atualizar";
$text['label-refresh_pause']['ro-ro'] = "";
$text['label-refresh_pause']['ru-ru'] = "Приостановить обновление";
$text['label-refresh_pause']['sv-se'] = "Paus Uppdatera";
$text['label-refresh_pause']['uk-ua'] = "пауза Оновити";
$text['label-refresh_enable']['en-us'] = "Enable Refresh";
$text['label-refresh_enable']['ar-eg'] = "";
$text['label-refresh_enable']['de-at'] = "Seite neu laden aktivieren"; //copied from de-de
$text['label-refresh_enable']['de-ch'] = "Seite neu laden aktivieren"; //copied from de-de
$text['label-refresh_enable']['de-de'] = "Seite neu laden aktivieren";
$text['label-refresh_enable']['es-cl'] = "Activar Actualizar";
$text['label-refresh_enable']['pt-pt'] = "Habilitar Atualização";
$text['label-refresh_enable']['es-mx'] = "Activar Actualizar"; //copied from es-cl
$text['label-refresh_enable']['fr-ca'] = "Activer Actualiser"; //copied from fr-fr
$text['label-refresh_enable']['fr-fr'] = "Activer Actualiser";
$text['label-refresh_enable']['he-il'] = "אפשר רענון";
$text['label-refresh_enable']['it-it'] = "Riprendi";
$text['label-refresh_enable']['nl-nl'] = "";
$text['label-refresh_enable']['pl-pl'] = "Włącz odświeżanie";
$text['label-refresh_enable']['pt-br'] = "Habilitar atualização";
$text['label-refresh_enable']['pl'] = "Włącz odświeżanie";
$text['label-refresh_enable']['uk'] = "включити Оновити";
$text['label-refresh_enable']['de-at'] = "Seite neu laden aktivieren";
$text['label-refresh_enable']['he'] = "אפשר רענון";
$text['label-refresh_enable']['pt-pt'] = "Habilitar Atualização";
$text['label-refresh_enable']['ro-ro'] = "";
$text['label-refresh_enable']['ru-ru'] = "Включить обновление";
$text['label-refresh_enable']['sv-se'] = "Aktivera Uppdatering";
$text['label-refresh_enable']['uk-ua'] = "включити Оновити";
$text['label-profile']['en-us'] = "Profile";
$text['label-profile']['ar-eg'] = "";
$text['label-profile']['de-at'] = "Profil"; //copied from de-de
$text['label-profile']['de-ch'] = "Profil"; //copied from de-de
$text['label-profile']['de-de'] = "Profil";
$text['label-profile']['es-cl'] = "Perfil";
$text['label-profile']['es-mx'] = "Perfil"; //copied from es-cl
$text['label-profile']['fr-ca'] = "Profile"; //copied from fr-fr
$text['label-profile']['fr-fr'] = "Profile";
$text['label-profile']['he-il'] = "פרופיל";
$text['label-profile']['it-it'] = "Profilo";
$text['label-profile']['nl-nl'] = "";
$text['label-profile']['pl-pl'] = "Profil";
$text['label-profile']['pt-br'] = "Perfil"; //copied from pt-pt
$text['label-profile']['pt-pt'] = "Perfil";
$text['label-profile']['pt-br'] = "Perfil";
$text['label-profile']['pl'] = "Profil";
$text['label-profile']['ro-ro'] = "";
$text['label-profile']['ru-ru'] = "Профиль";
$text['label-profile']['sv-se'] = "Profil";
$text['label-profile']['uk'] = "Профіль";
$text['label-profile']['de-at'] = "Profil";
$text['label-profile']['he'] = "פרופיל";
$text['label-profile']['uk-ua'] = "Профіль";
$text['label-park-extension']['en-us'] = "Park";
$text['label-park-extension']['ar-eg'] = "";
$text['label-park-extension']['de-at'] = "Parken"; //copied from de-de
$text['label-park-extension']['de-ch'] = "Parken"; //copied from de-de
$text['label-park-extension']['de-de'] = "Parken";
$text['label-park-extension']['es-cl'] = "Parquear Extensión";
$text['label-park-extension']['es-mx'] = "Parquear Extensión"; //copied from es-cl
$text['label-park-extension']['fr-ca'] = "parquer"; //copied from fr-fr
$text['label-park-extension']['fr-fr'] = "parquer";
$text['label-park-extension']['pt-pt'] = "Parquear Extensão";
$text['label-park-extension']['he-il'] = "חניה";
$text['label-park-extension']['it-it'] = "Parcheggia";
$text['label-park-extension']['nl-nl'] = "";
$text['label-park-extension']['pl-pl'] = "Parkowanie";
$text['label-park-extension']['pt-br'] = "Extensão estacionamento";
$text['label-park-extension']['pl'] = "Parkowanie";
$text['label-park-extension']['pt-pt'] = "Parquear Extensão";
$text['label-park-extension']['ro-ro'] = "";
$text['label-park-extension']['ru-ru'] = "Парковка";
$text['label-park-extension']['sv-se'] = "Parkera";
$text['label-park-extension']['uk'] = "Паркувати";
$text['label-park-extension']['de-at'] = "Parken";
$text['label-park-extension']['he'] = "חניה";
$text['label-park-extension']['uk-ua'] = "Паркувати";
$text['label-park']['en-us'] = "park";
$text['label-park']['ar-eg'] = "";
$text['label-park']['de-at'] = "parken"; //copied from de-de
$text['label-park']['de-ch'] = "parken"; //copied from de-de
$text['label-park']['de-de'] = "parken";
$text['label-park']['es-cl'] = "parquear";
$text['label-park']['es-mx'] = "parquear"; //copied from es-cl
$text['label-park']['fr-ca'] = "parquer"; //copied from fr-fr
$text['label-park']['fr-fr'] = "parquer";
$text['label-park']['pt-pt'] = "parquear";
$text['label-park']['he-il'] = "חניה";
$text['label-park']['it-it'] = "parcheggia";
$text['label-park']['nl-nl'] = "";
$text['label-park']['pl-pl'] = "parkowanie";
$text['label-park']['pt-br'] = "Estacionamento";
$text['label-park']['pl'] = "parkowanie";
$text['label-park']['sv-se'] = "Parkera";
$text['label-park']['uk'] = "паркувати";
$text['label-park']['de-at'] = "Parken";
$text['label-park']['he'] = "חניה";
$text['label-park']['pt-pt'] = "parquear";
$text['label-park']['ro-ro'] = "";
$text['label-park']['ru-ru'] = "парковка";
$text['label-park']['sv-se'] = "parkera";
$text['label-park']['uk-ua'] = "паркувати";
$text['label-opt']['en-us'] = "Options";
$text['label-opt']['ar-eg'] = "";
$text['label-opt']['de-at'] = "Optionen"; //copied from de-de
$text['label-opt']['de-ch'] = "Optionen"; //copied from de-de
$text['label-opt']['de-de'] = "Optionen";
$text['label-opt']['es-cl'] = "Opciones";
$text['label-opt']['es-mx'] = "Opciones"; //copied from es-cl
$text['label-opt']['fr-ca'] = "Options"; //copied from fr-fr
$text['label-opt']['fr-fr'] = "Options";
$text['label-opt']['he-il'] = "אפשרויות";
$text['label-opt']['it-it'] = "Opzioni";
$text['label-opt']['nl-nl'] = "";
$text['label-opt']['pl-pl'] = "Opcje";
$text['label-opt']['pt-br'] = "Opções"; //copied from pt-pt
$text['label-opt']['pt-pt'] = "Opções";
$text['label-opt']['pt-br'] = "Opções";
$text['label-opt']['pl'] = "Opcje";
$text['label-opt']['ro-ro'] = "";
$text['label-opt']['ru-ru'] = "Опции";
$text['label-opt']['sv-se'] = "Alternativ";
$text['label-opt']['uk'] = "Опції";
$text['label-opt']['de-at'] = "Optionen";
$text['label-opt']['he'] = "אפשרויות";
$text['label-opt']['uk-ua'] = "Опції";
$text['label-number']['en-us'] = "Number";
$text['label-number']['ar-eg'] = "";
$text['label-number']['de-at'] = "Nummer"; //copied from de-de
$text['label-number']['de-ch'] = "Nummer"; //copied from de-de
$text['label-number']['de-de'] = "Nummer";
$text['label-number']['es-cl'] = "Número";
$text['label-number']['es-mx'] = "Número"; //copied from es-cl
$text['label-number']['fr-ca'] = "Numéro"; //copied from fr-fr
$text['label-number']['fr-fr'] = "Numéro";
$text['label-number']['pt-pt'] = "Numero";
$text['label-number']['he-il'] = "מספר";
$text['label-number']['it-it'] = "Numero";
$text['label-number']['nl-nl'] = "";
$text['label-number']['pl-pl'] = "Numer";
$text['label-number']['pt-br'] = "Número";
$text['label-number']['pl'] = "Numer";
$text['label-number']['pt-pt'] = "Numero";
$text['label-number']['ro-ro'] = "";
$text['label-number']['ru-ru'] = "Номер";
$text['label-number']['sv-se'] = "Nummer";
$text['label-number']['uk'] = "Номер";
$text['label-number']['de-at'] = "Nummer";
$text['label-number']['he'] = "מספר";
$text['label-number']['uk-ua'] = "Номер";
$text['label-message']['en-us'] = "Message";
$text['label-message']['ar-eg'] = "";
$text['label-message']['de-at'] = "Nachricht"; //copied from de-de
$text['label-message']['de-ch'] = "Nachricht"; //copied from de-de
$text['label-message']['de-de'] = "Nachricht";
$text['label-message']['es-cl'] = "Mensaje";
$text['label-message']['es-mx'] = "Mensaje"; //copied from es-cl
$text['label-message']['fr-ca'] = "Message"; //copied from fr-fr
$text['label-message']['fr-fr'] = "Message";
$text['label-message']['he-il'] = "הודעה";
$text['label-message']['it-it'] = "Messaggio";
$text['label-message']['nl-nl'] = "";
$text['label-message']['pl-pl'] = "Wiadomość";
$text['label-message']['pt-br'] = "Mensagem"; //copied from pt-pt
$text['label-message']['pt-pt'] = "Mensagem";
$text['label-message']['pt-br'] = "Mensagem";
$text['label-message']['pl'] = "Wiadomość";
$text['label-message']['ro-ro'] = "";
$text['label-message']['ru-ru'] = "Сообщение";
$text['label-message']['sv-se'] = "Meddelande";
$text['label-message']['uk'] = "Повідомлення";
$text['label-message']['de-at'] = "Nachricht";
$text['label-message']['he'] = "הודעה";
$text['label-message']['uk-ua'] = "Повідомлення";
$text['label-hangup']['en-us'] = "Hangup";
$text['label-hangup']['ar-eg'] = "";
$text['label-hangup']['de-at'] = "Auflegen"; //copied from de-de
$text['label-hangup']['de-ch'] = "Auflegen"; //copied from de-de
$text['label-hangup']['de-de'] = "Auflegen";
$text['label-hangup']['es-cl'] = "Terminar";
$text['label-hangup']['es-mx'] = "Terminar"; //copied from es-cl
$text['label-hangup']['fr-ca'] = "Raccrocher"; //copied from fr-fr
$text['label-hangup']['fr-fr'] = "Raccrocher";
$text['label-hangup']['pt-pt'] = "Terminar";
$text['label-hangup']['he-il'] = "ניתוק";
$text['label-hangup']['it-it'] = "Chiudi";
$text['label-hangup']['nl-nl'] = "";
$text['label-hangup']['pl-pl'] = "Zakończ rozmowę";
$text['label-hangup']['pt-br'] = "Desligar";
$text['label-hangup']['pl'] = "Zakończ rozmowę";
$text['label-hangup']['pt-pt'] = "Terminar";
$text['label-hangup']['ro-ro'] = "";
$text['label-hangup']['ru-ru'] = "Завершить";
$text['label-hangup']['sv-se'] = "Avsluta";
$text['label-hangup']['uk'] = "Розірвати";
$text['label-hangup']['de-at'] = "Auflegen";
$text['label-hangup']['he'] = "ניתוק";
$text['label-hangup']['uk-ua'] = "Розірвати";
$text['label-ext']['en-us'] = "Ext";
$text['label-ext']['ar-eg'] = "";
$text['label-ext']['de-at'] = "Nst"; //copied from de-de
$text['label-ext']['de-ch'] = "Nst"; //copied from de-de
$text['label-ext']['de-de'] = "Nst";
$text['label-ext']['es-cl'] = "Extensión";
$text['label-ext']['es-mx'] = "Extensión"; //copied from es-cl
$text['label-ext']['fr-ca'] = "extension"; //copied from fr-fr
$text['label-ext']['fr-fr'] = "extension";
$text['label-ext']['he-il'] = "שלוחה";
$text['label-ext']['it-it'] = "Int.";
$text['label-ext']['nl-nl'] = "";
$text['label-ext']['pl-pl'] = "Numer wewnętrzny";
$text['label-ext']['pt-br'] = "Extensão"; //copied from pt-pt
$text['label-ext']['pt-pt'] = "Extensão";
$text['label-ext']['pt-br'] = "Extensão";
$text['label-ext']['pl'] = "Numer wewnętrzny";
$text['label-ext']['ro-ro'] = "";
$text['label-ext']['ru-ru'] = "Вн.";
$text['label-ext']['sv-se'] = "Ank";
$text['label-ext']['uk'] = "Ext ";
$text['label-ext']['de-at'] = "Nst";
$text['label-ext']['he'] = "שלוחה";
$text['label-ext']['uk-ua'] = "Ext ";
$text['label-domain']['en-us'] = "Domain";
$text['label-domain']['ar-eg'] = "";
$text['label-domain']['de-at'] = "Domäne"; //copied from de-de
$text['label-domain']['de-ch'] = "Domäne"; //copied from de-de
$text['label-domain']['de-de'] = "Domäne";
$text['label-domain']['es-cl'] = "Dominio";
$text['label-domain']['pt-pt'] = "Domínio";
$text['label-domain']['es-mx'] = "Dominio"; //copied from es-cl
$text['label-domain']['fr-ca'] = "Domaine"; //copied from fr-fr
$text['label-domain']['fr-fr'] = "Domaine";
$text['label-domain']['he-il'] = "תחום";
$text['label-domain']['it-it'] = "Dominio";
$text['label-domain']['nl-nl'] = "";
$text['label-domain']['pl-pl'] = "Domena";
$text['label-domain']['pt-br'] = "Dominio";
$text['label-domain']['pl'] = "Domena";
$text['label-domain']['uk'] = "Домен";
$text['label-domain']['de-at'] = "Domain";
$text['label-domain']['he'] = "תחום";
$text['label-domain']['pt-pt'] = "Domínio";
$text['label-domain']['ro-ro'] = "";
$text['label-domain']['ru-ru'] = "Домен";
$text['label-domain']['sv-se'] = "Domän";
$text['label-domain']['uk-ua'] = "Домен";
$text['label-destination']['en-us'] = "Dest";
$text['label-destination']['ar-eg'] = "";
$text['label-destination']['de-at'] = "Ziel"; //copied from de-de
$text['label-destination']['de-ch'] = "Ziel"; //copied from de-de
$text['label-destination']['de-de'] = "Ziel";
$text['label-destination']['es-cl'] = "Destino";
$text['label-destination']['es-mx'] = "Destino"; //copied from es-cl
$text['label-destination']['fr-ca'] = "Dest"; //copied from fr-fr
$text['label-destination']['fr-fr'] = "Dest";
$text['label-destination']['pt-pt'] = "Destino";
$text['label-destination']['he-il'] = "יעד";
$text['label-destination']['it-it'] = "Dest";
$text['label-destination']['nl-nl'] = "";
$text['label-destination']['pl-pl'] = "Destynacja";
$text['label-destination']['pt-br'] = "Número de destino";
$text['label-destination']['pl'] = "Destynacja";
$text['label-destination']['pt-pt'] = "Destino";
$text['label-destination']['ro-ro'] = "";
$text['label-destination']['ru-ru'] = "Назн.";
$text['label-destination']['sv-se'] = "Dest";
$text['label-destination']['uk'] = "Номер";
$text['label-destination']['de-at'] = "Ziel";
$text['label-destination']['he'] = "יעד";
$text['label-destination']['uk-ua'] = "Номер";
$text['label-created']['en-us'] = "Created";
$text['label-created']['ar-eg'] = "";
$text['label-created']['de-at'] = "Erstellt"; //copied from de-de
$text['label-created']['de-ch'] = "Erstellt"; //copied from de-de
$text['label-created']['de-de'] = "Erstellt";
$text['label-created']['es-cl'] = "Creado";
$text['label-created']['es-mx'] = "Creado"; //copied from es-cl
$text['label-created']['fr-ca'] = "Créé"; //copied from fr-fr
$text['label-created']['fr-fr'] = "Créé";
$text['label-created']['he-il'] = "נוצר";
$text['label-created']['it-it'] = "Creata";
$text['label-created']['nl-nl'] = "";
$text['label-created']['pl-pl'] = "Utworzno";
$text['label-created']['pt-br'] = "Criado"; //copied from pt-pt
$text['label-created']['pt-pt'] = "Criado";
$text['label-created']['pt-br'] = "Criado";
$text['label-created']['pl'] = "Utworzno";
$text['label-created']['ro-ro'] = "";
$text['label-created']['ru-ru'] = "Создан";
$text['label-created']['sv-se'] = "Skapad";
$text['label-created']['uk'] = "Створено";
$text['label-created']['de-at'] = "Geöffnet";
$text['label-created']['he'] = "נוצר";
$text['label-created']['uk-ua'] = "Створено";
$text['label-codec']['en-us'] = "Read / Write Codec";
$text['label-codec']['ar-eg'] = "";
$text['label-codec']['de-at'] = "Lese / Schreib Codec"; //copied from de-de
$text['label-codec']['de-ch'] = "Lese / Schreib Codec"; //copied from de-de
$text['label-codec']['de-de'] = "Lese / Schreib Codec";
$text['label-codec']['es-cl'] = "Codec de Lectura / Escritura ";
$text['label-codec']['es-mx'] = "Codec de Lectura / Escritura "; //copied from es-cl
$text['label-codec']['fr-ca'] = "décode/encode"; //copied from fr-fr
$text['label-codec']['fr-fr'] = "décode/encode";
$text['label-codec']['pt-pt'] = "Codec de Leitura / Escrita ";
$text['label-codec']['he-il'] = "קריאה / כתיבה codec";
$text['label-codec']['it-it'] = "Codec Lett./Scrit.";
$text['label-codec']['nl-nl'] = "";
$text['label-codec']['pl-pl'] = "Kodek read/write";
$text['label-codec']['pt-br'] = "Codec da leitura / escrita";
$text['label-codec']['pl'] = "Kodek read/write";
$text['label-codec']['pt-pt'] = "Codec de Leitura / Escrita ";
$text['label-codec']['ro-ro'] = "";
$text['label-codec']['ru-ru'] = "Кодек Чтение / Запись";
$text['label-codec']['sv-se'] = "Läs/Skriv Codec";
$text['label-codec']['uk'] = "Кодеки читання/запису";
$text['label-codec']['de-at'] = "Lese / Schreib Codec";
$text['label-codec']['he'] = "קריאה / כתיבה codec";
$text['label-codec']['uk-ua'] = "Кодеки читання/запису";
$text['label-cid-number']['en-us'] = "CID Number";
$text['label-cid-number']['ar-eg'] = "";
$text['label-cid-number']['de-at'] = "Anrufer Nummer"; //copied from de-de
$text['label-cid-number']['de-ch'] = "Anrufer Nummer"; //copied from de-de
$text['label-cid-number']['de-de'] = "Anrufer Nummer";
$text['label-cid-number']['es-cl'] = "Número CID";
$text['label-cid-number']['es-mx'] = "Número CID"; //copied from es-cl
$text['label-cid-number']['fr-ca'] = "Numéro Appelant"; //copied from fr-fr
$text['label-cid-number']['fr-fr'] = "Numéro Appelant";
$text['label-cid-number']['he-il'] = "זהוי מספר";
$text['label-cid-number']['it-it'] = "Numero CID";
$text['label-cid-number']['nl-nl'] = "";
$text['label-cid-number']['pl-pl'] = "Prezentacja numeru dzwoniącego";
$text['label-cid-number']['pt-br'] = "Número CID"; //copied from pt-pt
$text['label-cid-number']['pt-pt'] = "Número CID";
$text['label-cid-number']['pt-br'] = "Número CID";
$text['label-cid-number']['pl'] = "Prezentacja numeru dzwoniącego";
$text['label-cid-number']['ro-ro'] = "";
$text['label-cid-number']['ru-ru'] = "CID Номер";
$text['label-cid-number']['sv-se'] = "CID, nummerspresentation";
$text['label-cid-number']['uk'] = "CID Номер";
$text['label-cid-number']['de-at'] = "Anrufer Nummer";
$text['label-cid-number']['he'] = "זהוי מספר";
$text['label-cid-number']['uk-ua'] = "CID Номер";
$text['label-cid-name']['en-us'] = "CID Name";
$text['label-cid-name']['ar-eg'] = "";
$text['label-cid-name']['de-at'] = "Anrufer Name"; //copied from de-de
$text['label-cid-name']['de-ch'] = "Anrufer Name"; //copied from de-de
$text['label-cid-name']['de-de'] = "Anrufer Name";
$text['label-cid-name']['es-cl'] = "Nombre CID";
$text['label-cid-name']['es-mx'] = "Nombre CID"; //copied from es-cl
$text['label-cid-name']['fr-ca'] = "Nom Appelant"; //copied from fr-fr
$text['label-cid-name']['fr-fr'] = "Nom Appelant";
$text['label-cid-name']['he-il'] = "זהוי שם";
$text['label-cid-name']['it-it'] = "Nome CID";
$text['label-cid-name']['nl-nl'] = "";
$text['label-cid-name']['pl-pl'] = "Prezentacja nazwy dzwoniącego";
$text['label-cid-name']['pt-br'] = "Nome CID"; //copied from pt-pt
$text['label-cid-name']['pt-pt'] = "Nome CID";
$text['label-cid-name']['pt-br'] = "Nome CID";
$text['label-cid-name']['pl'] = "Prezentacja nazwy dzwoniącego";
$text['label-cid-name']['ro-ro'] = "";
$text['label-cid-name']['ru-ru'] = "CID Имя";
$text['label-cid-name']['sv-se'] = "CID namnpresentation";
$text['label-cid-name']['uk'] = "CID Ім’я";
$text['label-cid-name']['de-at'] = "Anrufer Name";
$text['label-cid-name']['he'] = "זהוי שם";
$text['label-cid-name']['uk-ua'] = "CID Ім’я";
$text['label-app']['en-us'] = "Application";
$text['label-app']['ar-eg'] = "";
$text['label-app']['de-at'] = "Anwendung"; //copied from de-de
$text['label-app']['de-ch'] = "Anwendung"; //copied from de-de
$text['label-app']['de-de'] = "Anwendung";
$text['label-app']['es-cl'] = "Aplicación";
$text['label-app']['es-mx'] = "Aplicación"; //copied from es-cl
$text['label-app']['fr-ca'] = "Application"; //copied from fr-fr
$text['label-app']['fr-fr'] = "Application";
$text['label-app']['he-il'] = "אפליקציה";
$text['label-app']['it-it'] = "Applicazione";
$text['label-app']['nl-nl'] = "";
$text['label-app']['pl-pl'] = "Aplikacja";
$text['label-app']['pt-br'] = "Aplicação"; //copied from pt-pt
$text['label-app']['pt-pt'] = "Aplicação";
$text['label-app']['pt-br'] = "Aplicação";
$text['label-app']['pl'] = "Aplikacja";
$text['label-app']['ro-ro'] = "";
$text['label-app']['ru-ru'] = "Приложение";
$text['label-app']['sv-se'] = "Ansökan";
$text['label-app']['uk'] = "Додаток";
$text['label-app']['de-at'] = "Anwendung";
$text['label-app']['he'] = "אפליקציה";
$text['label-app']['uk-ua'] = "Додаток";
$text['description-2']['en-us'] = "Use this to view all extensions and monitor and interact with active calls.";
$text['description-2']['ar-eg'] = "";
$text['description-2']['de-at'] = "Benutzen Sie die Funktionen um alle Nebenstellen anzuzeigen, zu überwachen und aktive Gespräche zu steuern."; //copied from de-de
$text['description-2']['de-ch'] = "Benutzen Sie die Funktionen um alle Nebenstellen anzuzeigen, zu überwachen und aktive Gespräche zu steuern."; //copied from de-de
$text['description-2']['de-de'] = "Benutzen Sie die Funktionen um alle Nebenstellen anzuzeigen, zu überwachen und aktive Gespräche zu steuern.";
$text['description-2']['es-cl'] = "Utilice este menú para ver todas las extensiones, monitorear e interactuar con las llamadas activas.";
$text['description-2']['es-mx'] = "Utilice este menú para ver todas las extensiones, monitorear e interactuar con las llamadas activas."; //copied from es-cl
$text['description-2']['fr-ca'] = "Voir toutes les extensions, superviser et interagir avec les Communications Actives."; //copied from fr-fr
$text['description-2']['fr-fr'] = "Voir toutes les extensions, superviser et interagir avec les Communications Actives.";
$text['description-2']['pt-pt'] = "Utilize este menu para ver todas as extensões, monitorizar e interagir com as chamadas activas.";
$text['description-2']['he-il'] = "";
$text['description-2']['it-it'] = "Usa questo servizio per vedere lo stato degli interni, monitorare e interagire con le chiamate.";
$text['description-2']['nl-nl'] = "";
$text['description-2']['pl-pl'] = "Użyj tej opcji, aby zobaczyć wszystkie numery wewnętrzne i monitorować interakcję z aktywnymi rozmowami.";
$text['description-2']['pt-br'] = "A informação contem a origem, destino, duração e outros detalhes úteis da chamada.";
$text['description-2']['pl'] = "Użyj tej opcji, aby zobaczyć wszystkie numery wewnętrzne i monitorować interakcję z aktywnymi rozmowami.";
$text['description-2']['pt-pt'] = "Utilize este menu para ver todas as extensões, monitorizar e interagir com as chamadas activas.";
$text['description-2']['ro-ro'] = "";
$text['description-2']['ru-ru'] = "Используйте для просмотра всех внутренних номеров и мониторинга и взаимодействия с активными вызовами.";
$text['description-2']['sv-se'] = "Använd detta för att se alla anknytningar och monitorera och hantera aktiva samtal.";
$text['description-2']['uk'] = "Використовуйте це, щоб переглянути всі розширення, контролювати і взаємодіяти з активними викликами.";
$text['description-2']['de-at'] = "Benutzen Sie die Funktionen um alle Nebenstellen anzuzeigen, zu überwachen und aktive Gespräche zu steuern.";
$text['description-2']['he'] = "";
$text['description-2']['uk-ua'] = "Використовуйте це, щоб переглянути всі розширення, контролювати і взаємодіяти з активними викликами.";
$text['description']['en-us'] = "Use this to monitor and interact with the active calls.";
$text['description']['ar-eg'] = "";
$text['description']['de-at'] = "Benutzen Sie die Funktionen um aktive Gespräche zu steuern."; //copied from de-de
$text['description']['de-ch'] = "Benutzen Sie die Funktionen um aktive Gespräche zu steuern."; //copied from de-de
$text['description']['de-de'] = "Benutzen Sie die Funktionen um aktive Gespräche zu steuern.";
$text['description']['es-cl'] = "Utilice este menú para monitorear e interactuar con las llamadas activas.";
$text['description']['es-mx'] = "Utilice este menú para monitorear e interactuar con las llamadas activas."; //copied from es-cl
$text['description']['fr-ca'] = "Superviser et interagir avec les Communications Actives."; //copied from fr-fr
$text['description']['fr-fr'] = "Superviser et interagir avec les Communications Actives.";
$text['description']['pt-pt'] = "Utilize este menu para monitorizar e interagir com as chamadas activas.";
$text['description']['he-il'] = "ערוך את פרטי החשבון";
$text['description']['it-it'] = "Usa questo servizio per monitorare e interagire con le chiamate attive.";
$text['description']['nl-nl'] = "";
$text['description']['pl-pl'] = "Użyć tej opcji do monitorowania i interakcji z aktywnymi rozmowami.";
$text['description']['pt-br'] = "Editar informações da conta.";
$text['description']['pl'] = "Użyć tej opcji do monitorowania i interakcji z aktywnymi rozmowami.";
$text['description']['pt-pt'] = "Utilize este menu para monitorizar e interagir com as chamadas activas.";
$text['description']['ro-ro'] = "";
$text['description']['ru-ru'] = "Используйте для отслеживания и взаимодействия с активными вызовами.";
$text['description']['sv-se'] = "Använd detta för att monitorera och hantera aktiva samtal.";
$text['description']['uk'] = "Використовуйте це, щоб контролювати і взаємодіяти з активними викликами.";
$text['description']['de-at'] = "Benutzen Sie die Funktionen um aktive Gespräche zu steuern.";
$text['description']['he'] = "ערוך את פרטי החשבון";
$text['description']['uk-ua'] = "Використовуйте це, щоб контролювати і взаємодіяти з активними викликами.";
$text['confirm-socket']['en-us'] = "Connection to Event Socket failed.";
$text['confirm-socket']['ar-eg'] = "";
$text['confirm-socket']['de-at'] = "Verbindung zum Event-Socket fehlgeschlagen."; //copied from de-de
$text['confirm-socket']['de-ch'] = "Verbindung zum Event-Socket fehlgeschlagen."; //copied from de-de
$text['confirm-socket']['de-de'] = "Verbindung zum Event-Socket fehlgeschlagen.";
$text['confirm-socket']['es-cl'] = "Conexión con socket fallida.";
$text['confirm-socket']['es-mx'] = "Conexión con socket fallida."; //copied from es-cl
$text['confirm-socket']['fr-ca'] = "la Connexion au Event Socket a échoué."; //copied from fr-fr
$text['confirm-socket']['fr-fr'] = "la Connexion au Event Socket a échoué.";
$text['confirm-socket']['pt-pt'] = "A conexão ao Event Socket falhou.";
$text['confirm-socket']['he-il'] = "";
$text['confirm-socket']['it-it'] = "Connessione alla Event Socket fallita.";
$text['confirm-socket']['nl-nl'] = "";
$text['confirm-socket']['pl-pl'] = "Polaczenie do Event Socket nie powiodło się";
$text['confirm-socket']['pt-br'] = "A conexão ao evento socket falhou";
$text['confirm-socket']['pl'] = "Polaczenie do Event Socket nie powiodło się";
$text['confirm-socket']['pt-pt'] = "A conexão ao Event Socket falhou.";
$text['confirm-socket']['ro-ro'] = "";
$text['confirm-socket']['ru-ru'] = "Не удалось подключиться к сокету событий.";
$text['confirm-socket']['sv-se'] = "Anslutning till 'Event Socket' misslyckades";
$text['confirm-socket']['uk'] = "Помилка підключення до сокета подій";
$text['confirm-socket']['de-at'] = "Verbindung zum Event Socket fehlgeschlagen.";
$text['confirm-socket']['he'] = "";
$text['confirm-socket']['uk-ua'] = "Помилка підключення до сокета подій";
$text['confirm-hangup']['en-us'] = "Do you really want to hangup this call?";
$text['confirm-hangup']['ar-eg'] = "";
$text['confirm-hangup']['de-at'] = "Wollen Sie dieses Gespräch wirklich beenden?"; //copied from de-de
$text['confirm-hangup']['de-ch'] = "Wollen Sie dieses Gespräch wirklich beenden?"; //copied from de-de
$text['confirm-hangup']['de-de'] = "Wollen Sie dieses Gespräch wirklich beenden?";
$text['confirm-hangup']['es-cl'] = "¿Realmente desea terminar esta llamada?";
$text['confirm-hangup']['es-mx'] = "¿Realmente desea terminar esta llamada?"; //copied from es-cl
$text['confirm-hangup']['fr-ca'] = "Voulez-vous vraiment raccrocher cette communication?"; //copied from fr-fr
$text['confirm-hangup']['fr-fr'] = "Voulez-vous vraiment raccrocher cette communication?";
$text['confirm-hangup']['pt-pt'] = "Deseja realmente terminar esta chamada?";
$text['confirm-hangup']['he-il'] = "";
$text['confirm-hangup']['it-it'] = "Vuoi veramente chiudere questa chiamata?";
$text['confirm-hangup']['nl-nl'] = "";
$text['confirm-hangup']['pl-pl'] = "Czy na pewno chcesz się rozłączyć tę rozmowę?";
$text['confirm-hangup']['pt-br'] = "Deseja realmente finalizar essa chamada?";
$text['confirm-hangup']['pl'] = "Czy na pewno chcesz się rozłączyć tę rozmowę?";
$text['confirm-hangup']['pt-pt'] = "Deseja realmente terminar esta chamada?";
$text['confirm-hangup']['ro-ro'] = "";
$text['confirm-hangup']['ru-ru'] = "Вы действительно хотите завершить вызов?";
$text['confirm-hangup']['sv-se'] = "Vill du verkligen avsluta detta samtal";
$text['confirm-hangup']['uk'] = "Ви дійсно бажаєте розірвати дзвінок?";
$text['confirm-hangup']['de-at'] = "Wollen Sie dieses Gespräch wirklich beenden?";
$text['confirm-hangup']['he'] = "";
$text['confirm-hangup']['uk-ua'] = "Ви дійсно бажаєте розірвати дзвінок?";
$text['check-onbreak-status']['en-us'] = "On Break";
$text['check-onbreak-status']['ar-eg'] = "";
$text['check-onbreak-status']['de-at'] = "Auf Pause"; //copied from de-de
$text['check-onbreak-status']['de-ch'] = "Auf Pause"; //copied from de-de
$text['check-onbreak-status']['de-de'] = "Auf Pause";
$text['check-onbreak-status']['es-cl'] = "En Pausa";
$text['check-onbreak-status']['es-mx'] = "En Pausa"; //copied from es-cl
$text['check-onbreak-status']['fr-ca'] = "En Pause"; //copied from fr-fr
$text['check-onbreak-status']['fr-fr'] = "En Pause";
$text['check-onbreak-status']['he-il'] = "בהפסקה";
$text['check-onbreak-status']['it-it'] = "In Pausa";
$text['check-onbreak-status']['nl-nl'] = "";
$text['check-onbreak-status']['pl-pl'] = "Na przerwie";
$text['check-onbreak-status']['pt-br'] = "Em Pausa"; //copied from pt-pt
$text['check-onbreak-status']['pt-pt'] = "Em Pausa";
$text['check-onbreak-status']['pt-br'] = "Em Pausa";
$text['check-onbreak-status']['pl'] = "Na przerwie";
$text['check-onbreak-status']['ro-ro'] = "";
$text['check-onbreak-status']['ru-ru'] = "Перерыв";
$text['check-onbreak-status']['sv-se'] = "På Rast";
$text['check-onbreak-status']['uk'] = "На перерві";
$text['check-onbreak-status']['de-at'] = "Auf Pause";
$text['check-onbreak-status']['he'] = "בהפסקה";
$text['check-onbreak-status']['uk-ua'] = "На перерві";
$text['check-loggedout-status']['en-us'] = "Logged Out";
$text['check-loggedout-status']['ar-eg'] = "";
$text['check-loggedout-status']['de-at'] = "Abgemeldet"; //copied from de-de
$text['check-loggedout-status']['de-ch'] = "Abgemeldet"; //copied from de-de
$text['check-loggedout-status']['de-de'] = "Abgemeldet";
$text['check-loggedout-status']['es-cl'] = "Desconectado";
$text['check-loggedout-status']['es-mx'] = "Desconectado"; //copied from es-cl
$text['check-loggedout-status']['fr-ca'] = "Délogué"; //copied from fr-fr
$text['check-loggedout-status']['fr-fr'] = "Délogué";
$text['check-loggedout-status']['he-il'] = "התנתק";
$text['check-loggedout-status']['it-it'] = "Sloggato";
$text['check-loggedout-status']['nl-nl'] = "";
$text['check-loggedout-status']['pl-pl'] = "Wylogowany";
$text['check-loggedout-status']['pt-br'] = "Desligado"; //copied from pt-pt
$text['check-loggedout-status']['pt-pt'] = "Desligado";
$text['check-loggedout-status']['pt-br'] = "Desligado";
$text['check-loggedout-status']['pl'] = "Wylogowany";
$text['check-loggedout-status']['ro-ro'] = "";
$text['check-loggedout-status']['ru-ru'] = "Не в сети";
$text['check-loggedout-status']['sv-se'] = "Utloggad";
$text['check-loggedout-status']['uk'] = "Вийшов";
$text['check-loggedout-status']['de-at'] = "Abgemeldet";
$text['check-loggedout-status']['he'] = "התנתק";
$text['check-loggedout-status']['uk-ua'] = "Вийшов";
$text['check-do-not-disturb-status']['en-us'] = "Do Not Disturb";
$text['check-do-not-disturb-status']['ar-eg'] = "";
$text['check-do-not-disturb-status']['de-at'] = "Bitte nicht Stören"; //copied from de-de
$text['check-do-not-disturb-status']['de-ch'] = "Bitte nicht Stören"; //copied from de-de
$text['check-do-not-disturb-status']['de-de'] = "Bitte nicht Stören";
$text['check-do-not-disturb-status']['es-cl'] = "No molestar";
$text['check-do-not-disturb-status']['es-mx'] = "No molestar"; //copied from es-cl
$text['check-do-not-disturb-status']['fr-ca'] = "Ne Pas Déranger"; //copied from fr-fr
$text['check-do-not-disturb-status']['fr-fr'] = "Ne Pas Déranger";
$text['check-do-not-disturb-status']['pt-pt'] = "Não Perturbar";
$text['check-do-not-disturb-status']['he-il'] = "לא להפריע";
$text['check-do-not-disturb-status']['it-it'] = "Non Disturbare";
$text['check-do-not-disturb-status']['nl-nl'] = "";
$text['check-do-not-disturb-status']['pl-pl'] = "Nie przeszkadzaj (DND)";
$text['check-do-not-disturb-status']['pt-br'] = "Não Pertube";
$text['check-do-not-disturb-status']['pl'] = "Nie przeszkadzaj (DND)";
$text['check-do-not-disturb-status']['pt-pt'] = "Não Perturbar";
$text['check-do-not-disturb-status']['ro-ro'] = "";
$text['check-do-not-disturb-status']['ru-ru'] = "Не беспокоить (DND)";
$text['check-do-not-disturb-status']['sv-se'] = "Stör Ej";
$text['check-do-not-disturb-status']['uk'] = "Не турбувати";
$text['check-do-not-disturb-status']['de-at'] = "Bitte nicht Stören";
$text['check-do-not-disturb-status']['he'] = "לא להפריע";
$text['check-do-not-disturb-status']['uk-ua'] = "Не турбувати";
$text['check-available-status']['en-us'] = "Available";
$text['check-available-status']['ar-eg'] = "";
$text['check-available-status']['de-at'] = "Erreichbar"; //copied from de-de
$text['check-available-status']['de-ch'] = "Erreichbar"; //copied from de-de
$text['check-available-status']['de-de'] = "Erreichbar";
$text['check-available-status']['es-cl'] = "Disponible";
$text['check-available-status']['es-mx'] = "Disponible"; //copied from es-cl
$text['check-available-status']['fr-ca'] = "Disponible"; //copied from fr-fr
$text['check-available-status']['fr-fr'] = "Disponible";
$text['check-available-status']['he-il'] = "זמין";
$text['check-available-status']['it-it'] = "Disponibile";
$text['check-available-status']['nl-nl'] = "";
$text['check-available-status']['pl-pl'] = "Dostępny";
$text['check-available-status']['pt-br'] = "Disponível"; //copied from pt-pt
$text['check-available-status']['pt-pt'] = "Disponível";
$text['check-available-status']['pt-br'] = "Disponível";
$text['check-available-status']['pl'] = "Dostępny";
$text['check-available-status']['ro-ro'] = "";
$text['check-available-status']['ru-ru'] = "Доступен";
$text['check-available-status']['sv-se'] = "Anträffbar";
$text['check-available-status']['uk'] = "Доступний";
$text['check-available-status']['de-at'] = "Erreichbar";
$text['check-available-status']['he'] = "זמין";
$text['check-available-status']['uk-ua'] = "Доступний";
$text['check-available-on-demand-status']['en-us'] = "Available (On Demand)";
$text['check-available-on-demand-status']['ar-eg'] = "";
$text['check-available-on-demand-status']['de-at'] = "Erreichbar (Auf Anfrage)"; //copied from de-de
$text['check-available-on-demand-status']['de-ch'] = "Erreichbar (Auf Anfrage)"; //copied from de-de
$text['check-available-on-demand-status']['de-de'] = "Erreichbar (Auf Anfrage)";
$text['check-available-on-demand-status']['es-cl'] = "Disponible (On Demand)";
$text['check-available-on-demand-status']['es-mx'] = "Disponible (On Demand)"; //copied from es-cl
$text['check-available-on-demand-status']['fr-ca'] = "Disponible (Sur Demande)"; //copied from fr-fr
$text['check-available-on-demand-status']['fr-fr'] = "Disponible (Sur Demande)";
$text['check-available-on-demand-status']['he-il'] = "";
$text['check-available-on-demand-status']['it-it'] = "Disponibile (Su Richiesta)";
$text['check-available-on-demand-status']['nl-nl'] = "";
$text['check-available-on-demand-status']['pl-pl'] = "Dostępny (na żądanie)";
$text['check-available-on-demand-status']['pt-br'] = "Disponível (A pedido)"; //copied from pt-pt
$text['check-available-on-demand-status']['pt-pt'] = "Disponível (A pedido)";
$text['check-available-on-demand-status']['pt-br'] = "Disponível (A pedido)";
$text['check-available-on-demand-status']['pl'] = "Dostępny (na żądanie)";
$text['check-available-on-demand-status']['sv-se'] = "Anträffbar (På Begäran) ";
$text['check-available-on-demand-status']['uk'] = "Доступний (на вимогу)";
$text['check-available-on-demand-status']['de-at'] = "Erreichbar (Auf Anfrage)";
$text['check-available-on-demand-status']['he'] = "";
$text['check-available-on-demand-status']['ro-ro'] = "";
$text['check-available-on-demand-status']['ru-ru'] = "Доступен (по требованию)";
$text['check-available-on-demand-status']['sv-se'] = "Anträffbar (På Begäran)";
$text['check-available-on-demand-status']['uk-ua'] = "Доступний (на вимогу)";
$text['button-show_all']['en-us'] = "Show All";
$text['button-show_all']['ar-eg'] = "";
$text['button-show_all']['de-at'] = "Alle anzeigen"; //copied from de-de
$text['button-show_all']['de-ch'] = "Alle anzeigen"; //copied from de-de
$text['button-show_all']['de-de'] = "Alle anzeigen";
$text['button-show_all']['es-cl'] = "Mostrar Todos";
$text['button-show_all']['pt-pt'] = "Mostrar Todos";
$text['button-show_all']['es-mx'] = "Mostrar Todos"; //copied from es-cl
$text['button-show_all']['fr-ca'] = "Montrer Tout"; //copied from fr-fr
$text['button-show_all']['fr-fr'] = "Montrer Tout";
$text['button-show_all']['pt-br'] = "Mostrar Todos";
$text['button-show_all']['pl'] = "Pokaż Wszystkie";
$text['button-show_all']['uk'] = "Показати всі";
$text['button-show_all']['de-at'] = "Alle anzeigen";
$text['button-show_all']['he'] = "";
$text['button-show_all']['he-il'] = "";
$text['button-show_all']['it-it'] = "Mostra Tutto";
$text['button-show_all']['nl-nl'] = "";
$text['button-show_all']['pl-pl'] = "Pokaż Wszystkie";
$text['button-show_all']['pt-br'] = "Mostrar Todos"; //copied from pt-pt
$text['button-show_all']['pt-pt'] = "Mostrar Todos";
$text['button-show_all']['ro-ro'] = "";
$text['button-show_all']['ru-ru'] = "Показать все";
$text['button-show_all']['sv-se'] = "Visa Allt";
$text['button-show_all']['uk-ua'] = "Показати всі";
?>
?>
+26 -16
View File
@@ -1,20 +1,30 @@
<?php
$apps[$x]['menu'][0]['title']['en-us'] = "Active Calls";
$apps[$x]['menu'][0]['title']['es-cl'] = "Llamadas Activas";
$apps[$x]['menu'][0]['title']['fr-fr'] = "Appels en cours";
$apps[$x]['menu'][0]['title']['pt-pt'] = "Chamadas Activas";
$apps[$x]['menu'][0]['title']['pt-br'] = "Chamadas ativas";
$apps[$x]['menu'][0]['title']['pl'] = "Aktywne połączenia";
$apps[$x]['menu'][0]['title']['sv-se'] = "Aktiva samtal";
$apps[$x]['menu'][0]['title']['uk'] = "Активні дзвінки";
$apps[$x]['menu'][0]['title']['de-at'] = "Aktive Gespräche";
$apps[$x]['menu'][0]['title']['he'] = "שיחות פעילות";
$apps[$x]['menu'][0]['uuid'] = "eba3d07f-dd5c-6b7b-6880-493b44113ade";
$apps[$x]['menu'][0]['parent_uuid'] = "0438b504-8613-7887-c420-c837ffb20cb1";
$apps[$x]['menu'][0]['category'] = "internal";
$apps[$x]['menu'][0]['path'] = "/app/calls_active/calls_active.php";
$apps[$x]['menu'][0]['groups'][] = "superadmin";
$apps[$x]['menu'][0]['groups'][] = "admin";
$y=0;
$apps[$x]['menu'][$y]['title']['en-us'] = "Active Calls";
$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
$apps[$x]['menu'][$y]['title']['de-at'] = "Aktive Gespräche";
$apps[$x]['menu'][$y]['title']['de-ch'] = "";
$apps[$x]['menu'][$y]['title']['de-de'] = "Aktive Gespräche";
$apps[$x]['menu'][$y]['title']['es-cl'] = "Llamadas Activas";
$apps[$x]['menu'][$y]['title']['es-mx'] = "";
$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
$apps[$x]['menu'][$y]['title']['fr-fr'] = "Appels en cours";
$apps[$x]['menu'][$y]['title']['he-il'] = "שיחות פעילות";
$apps[$x]['menu'][$y]['title']['it-it'] = "Chiamate Attive";
$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
$apps[$x]['menu'][$y]['title']['pl-pl'] = "Aktywne połączenia";
$apps[$x]['menu'][$y]['title']['pt-br'] = "Chamadas ativas";
$apps[$x]['menu'][$y]['title']['pt-pt'] = "Chamadas Activas";
$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Активные вызовы";
$apps[$x]['menu'][$y]['title']['sv-se'] = "Aktiva samtal";
$apps[$x]['menu'][$y]['title']['uk-ua'] = "Активні дзвінки";
$apps[$x]['menu'][$y]['uuid'] = "eba3d07f-dd5c-6b7b-6880-493b44113ade";
$apps[$x]['menu'][$y]['parent_uuid'] = "0438b504-8613-7887-c420-c837ffb20cb1";
$apps[$x]['menu'][$y]['category'] = "internal";
$apps[$x]['menu'][$y]['path'] = "/app/calls_active/calls_active.php";
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
$apps[$x]['menu'][$y]['groups'][] = "admin";
?>
+77 -86
View File
@@ -23,16 +23,20 @@
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
include "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('call_active_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
include "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('call_active_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
@@ -51,6 +55,49 @@ else {
//create the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
//send the event socket command and get the array
if ($fp) {
$json = trim(event_socket_request($fp, 'api '.$switch_cmd));
$results = json_decode($json, "true");
}
//build a new array with domain_name
$rows = array();
if (isset($results["rows"])) {
foreach ($results["rows"] as &$row) {
//get the domain
if (strlen($row['context']) > 0 and $row['context'] != "public") {
if (substr_count($row['context'], '@') > 0) {
$context_array = explode('@', $row['context']);
$row['domain_name'] = $context_array[1];
}
else {
$row['domain_name'] = $row['context'];
}
}
else if (substr_count($row['presence_id'], '@') > 0) {
$presence_id_array = explode('@', $row['presence_id']);
$row['domain_name'] = $presence_id_array[1].' '.__line__.' '.$row['presence_id'];
}
//add the row to the array
if (($show == 'all' && permission_exists('call_active_all'))) {
$rows[] = $row;
}
else {
if ($row['domain_name'] == $_SESSION['domain_name']) {
$rows[] = $row;
}
}
}
unset($results);
}
//set the alternating color for each row
$c = 0;
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
//if the connnection is available then run it and return the results
if (!$fp) {
$msg = "<div align='center'>".$text['confirm-socket']."<br /></div>";
@@ -66,11 +113,6 @@ else {
echo "</div>\n";
}
else {
//send the event socket command
$json = trim(event_socket_request($fp, 'api '.$switch_cmd));
//set the array
$results = json_decode($json, "true");
//define js function call var
$onhover_pause_refresh = " onmouseover='refresh_stop();' onmouseout='refresh_start();'";
@@ -93,30 +135,11 @@ else {
echo " </tr>";
echo "</table>";
$rows = array();
if (isset($results["rows"])) foreach ($results["rows"] as &$row) {
//determine show all
if (!($show == 'all' && permission_exists('call_active_all'))) {
$foreign_call = true;
foreach ($row as $key => $value) {
if (substr_count($value, $_SESSION['domain_name']) > 0) { $foreign_call = false; }
}
if ($foreign_call) { continue; }
}
// append call
$rows[] = $row;
}
echo "<b>".$text['title']." (" . count($rows) . ")"."</b>";
echo "<br><br>\n";
echo $text['description']."\n";
echo "<br><br>\n";
//set the alternating color for each row
$c = 0;
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
//show the results
echo "<div id='cmd_reponse'></div>\n";
@@ -156,23 +179,6 @@ else {
$tmp_number = $temp_array[0];
$tmp_number = str_replace("sip:", "", $tmp_number);
//get the domain
if ($show == 'all') {
if (substr_count($presence_id, '@') > 0) {
$presence_id_array = explode('@', $presence_id);
$domain_name = $presence_id_array[1];
}
else if ($context != '') {
if (substr_count($context, '@') > 0) {
$context_array = explode('@', $context);
$domain_name = $context_array[1];
}
else {
$domain_name = $context;
}
}
}
//remove the '+' because it breaks the call recording
$cid_num = str_replace("+", "", $cid_num);
@@ -188,44 +194,29 @@ else {
$application_data = substr($application_data, 0, 512) . ' <b>...</b>';
}
echo "<tr>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$sip_profile."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$created."&nbsp;</td>\n";
if ($show == 'all') {
echo "<td valign='top' class='".$row_style[$c]."'>".$domain_name."&nbsp;</td>\n";
}
echo "<td valign='top' class='".$row_style[$c]."'>".$tmp_number."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$cid_name."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$cid_num."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$dest."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".((strlen($application) > 0) ? $application.":".$application_data : null)."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$read_codec.":".$read_rate." / ".$write_codec.":".$write_rate."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$secure."&nbsp;</td>\n";
echo "<td class='list_control_icons' style='width: 25px; text-align: left;'><a href='javascript:void(0);' alt='".$text['label-hangup']."' onclick=\"hangup(escape('".$uuid."'));\">".$v_link_label_delete."</a></td>\n";
echo "</tr>\n";
$c = ($c) ? 0 : 1;
//send the html
echo "<tr>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$sip_profile."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$created."&nbsp;</td>\n";
if ($show == 'all') {
echo "<td valign='top' class='".$row_style[$c]."'>".$domain_name."&nbsp;</td>\n";
}
echo "<td valign='top' class='".$row_style[$c]."'>".$tmp_number."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$cid_name."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$cid_num."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$dest."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".((strlen($application) > 0) ? $application.":".$application_data : null)."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$read_codec.":".$read_rate." / ".$write_codec.":".$write_rate."&nbsp;</td>\n";
echo "<td valign='top' class='".$row_style[$c]."'>".$secure."&nbsp;</td>\n";
echo "<td class='list_control_icons' style='width: 25px; text-align: left;'><a href='javascript:void(0);' alt='".$text['label-hangup']."' onclick=\"hangup(escape('".$uuid."'));\">".$v_link_label_delete."</a></td>\n";
echo "</tr>\n";
//alternate the row style
$c = ($c) ? 0 : 1;
}
echo "</td>\n";
echo "</tr>\n";
echo "</table>\n";
}
/*
// deprecated features for this page
//park
echo " <a href='javascript:void(0);' onclick=\"send_cmd('calls_exec.php?cmd='+get_park_cmd(escape('$uuid'), '".$tmp_domain."'));\">".$text['label-park']."</a>&nbsp;\n";
//record start/stop
$tmp_dir = $_SESSION['switch']['recordings']['dir']."/".$_SESSION['domain_name']."/archive/".date("Y")."/".date("M")."/".date("d");
event_socket_mkdir($tmp_dir);
$tmp_file = $tmp_dir."/".$uuid.".wav";
if (file_exists($tmp_file)) {
//stop
echo " <a href='javascript:void(0);' style='color: #444444;' onclick=\"send_cmd('calls_exec.php?cmd='+get_record_cmd(escape('$uuid'), 'active_calls_', escape('$cid_num'))+'&uuid='+escape('$uuid')+'&action=record&action2=stop&prefix=active_calls_&name='+escape('$cid_num'));\">".$text['label-stop']."</a>&nbsp;\n";
}
else {
//start
echo " <a href='javascript:void(0);' style='color: #444444;' onclick=\"send_cmd('calls_exec.php?cmd='+get_record_cmd(escape('$uuid'), 'active_calls_', escape('$cid_num'))+'&uuid='+escape('$uuid')+'&action=record&action2=start&prefix=active_calls_');\">".$text['label-start']."</a>&nbsp;\n";
}
*/
?>
?>
+27 -17
View File
@@ -5,30 +5,40 @@
$apps[$x]['uuid'] = "eb221c9b-cb13-5542-9140-dff924816dc4";
$apps[$x]['category'] = "Switch";
$apps[$x]['subcategory'] = "";
$apps[$x]['version'] = "";
$apps[$x]['version'] = "1.0";
$apps[$x]['license'] = "Mozilla Public License 1.1";
$apps[$x]['url'] = "http://www.fusionpbx.com";
$apps[$x]['description']['en-us'] = "Originate calls with a URL.";
$apps[$x]['description']['es-cl'] = "Genera llamadas con un URL.";
$apps[$x]['description']['de-de'] = "";
$apps[$x]['description']['ar-eg'] = "";
$apps[$x]['description']['de-at'] = "Anrufe über eine URL erzeugen.";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-at'] = "";
$apps[$x]['description']['fr-fr'] = "Appeler à partir d'une URL";
$apps[$x]['description']['de-de'] = "Anrufe über eine URL erzeugen.";
$apps[$x]['description']['es-cl'] = "Genera llamadas con un URL.";
$apps[$x]['description']['es-mx'] = "";
$apps[$x]['description']['fr-ca'] = "Appeller avec d'URL";
$apps[$x]['description']['fr-ch'] = "";
$apps[$x]['description']['pt-pt'] = "Originar chamadas com um URL.";
$apps[$x]['description']['fr-fr'] = "Appeler à partir d'une URL";
$apps[$x]['description']['he-il'] = "";
$apps[$x]['description']['it-it'] = "";
$apps[$x]['description']['nl-nl'] = "";
$apps[$x]['description']['pl-pl'] = "";
$apps[$x]['description']['pt-br'] = "Gera chamadas a partir de um URL";
$apps[$x]['description']['pt-pt'] = "Originar chamadas com um URL.";
$apps[$x]['description']['ro-ro'] = "";
$apps[$x]['description']['ru-ru'] = "Создание исходящих вызовов с помощью вызова URL";
$apps[$x]['description']['sv-se'] = "";
$apps[$x]['description']['uk-ua'] = "";
//permission details
$apps[$x]['permissions'][0]['name'] = "click_to_call_view";
$apps[$x]['permissions'][0]['menu']['uuid'] = "f862556f-9ddd-2697-fdf4-bed08ec63aa5";
$apps[$x]['permissions'][0]['groups'][] = "user";
$apps[$x]['permissions'][0]['groups'][] = "admin";
$apps[$x]['permissions'][0]['groups'][] = "superadmin";
$apps[$x]['permissions'][1]['name'] = "click_to_call_call";
$apps[$x]['permissions'][1]['groups'][] = "user";
$apps[$x]['permissions'][1]['groups'][] = "admin";
$apps[$x]['permissions'][1]['groups'][] = "superadmin";
$y=0;
$apps[$x]['permissions'][$y]['name'] = "click_to_call_view";
$apps[$x]['permissions'][$y]['menu']['uuid'] = "f862556f-9ddd-2697-fdf4-bed08ec63aa5";
$apps[$x]['permissions'][$y]['groups'][] = "user";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "click_to_call_call";
$apps[$x]['permissions'][$y]['groups'][] = "user";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
?>
+609 -174
View File
@@ -1,209 +1,644 @@
<?php
/*
FusionPBX
Version: MPL 1.1
#This file was last reorganized on 19th of September 2017 08:54:24 AM UTC
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
$text['label-click2call']['en-us'] = "Click to Call";
$text['label-click2call']['ar-eg'] = "";
$text['label-click2call']['de-at'] = "Click to Call"; //copied from de-de
$text['label-click2call']['de-ch'] = "Click to Call"; //copied from de-de
$text['label-click2call']['de-de'] = "Click to Call";
$text['label-click2call']['es-cl'] = "Pulse para Llamar";
$text['label-click2call']['es-mx'] = "Pulse para Llamar"; //copied from es-cl
$text['label-click2call']['fr-ca'] = "Click to Call"; //copied from fr-fr
$text['label-click2call']['fr-fr'] = "Click to Call";
$text['label-click2call']['he-il'] = "";
$text['label-click2call']['it-it'] = "Clicca per Chiamare";
$text['label-click2call']['nl-nl'] = "";
$text['label-click2call']['pl-pl'] = "";
$text['label-click2call']['pt-br'] = "Clique para chamar"; //copied from pt-pt
$text['label-click2call']['pt-pt'] = "Clique para chamar";
$text['label-click2call']['ro-ro'] = "";
$text['label-click2call']['ru-ru'] = "Вызов по клику";
$text['label-click2call']['sv-se'] = "Klicka för att ringa";
$text['label-click2call']['uk-ua'] = "";
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
$text['desc-click2call']['en-us'] = "Provide the following information to make a call from the source number to the destination number.";
$text['desc-click2call']['ar-eg'] = "";
$text['desc-click2call']['de-at'] = "Geben Sie folgende Informationen an um einen Anruf von der Quellrufnummer zur Zielrufniummer her zu stellen"; //copied from de-de
$text['desc-click2call']['de-ch'] = "Geben Sie folgende Informationen an um einen Anruf von der Quellrufnummer zur Zielrufniummer her zu stellen"; //copied from de-de
$text['desc-click2call']['de-de'] = "Geben Sie folgende Informationen an um einen Anruf von der Quellrufnummer zur Zielrufniummer her zu stellen";
$text['desc-click2call']['es-cl'] = "Ingrese la siguiente información para realizar una llamada desde un número de origen a un número de destino.";
$text['desc-click2call']['es-mx'] = "Ingrese la siguiente información para realizar una llamada desde un número de origen a un número de destino."; //copied from es-cl
$text['desc-click2call']['fr-ca'] = "Fournissez les informations suivantes afin de lancer un appel d'un numéro vers un autre."; //copied from fr-fr
$text['desc-click2call']['fr-fr'] = "Fournissez les informations suivantes afin de lancer un appel d'un numéro vers un autre.";
$text['desc-click2call']['he-il'] = "";
$text['desc-click2call']['it-it'] = "Inserisci le seguenti informazioni per eseguire una chiamata dal numero sorgente al numero destinatario.";
$text['desc-click2call']['nl-nl'] = "";
$text['desc-click2call']['pl-pl'] = "";
$text['desc-click2call']['pt-br'] = "Forneça as seguintes informações para realizar uma chamada do telefone originário para o telefone de destino.";
$text['desc-click2call']['pt-pt'] = "Forneça a informação seguinte para realizar uma chamada com uma determinada origem para um determinado destino.";
$text['desc-click2call']['ro-ro'] = "";
$text['desc-click2call']['ru-ru'] = "Предоставьте следующую информацию, чтобы сделать вызов от исходного номера до номера адресата.";
$text['desc-click2call']['sv-se'] = "Ange följande information för att ringa från källnumret till destinationsnumret.";
$text['desc-click2call']['uk-ua'] = "";
The Original Code is FusionPBX
$text['label-src-caller-id-nam']['en-us'] = "Source Caller ID Name";
$text['label-src-caller-id-nam']['ar-eg'] = "";
$text['label-src-caller-id-nam']['de-at'] = "Quell Anruferkennung (Namen)"; //copied from de-de
$text['label-src-caller-id-nam']['de-ch'] = "Quell Anruferkennung (Namen)"; //copied from de-de
$text['label-src-caller-id-nam']['de-de'] = "Quell Anruferkennung (Namen)";
$text['label-src-caller-id-nam']['es-cl'] = "Nombre de Caller ID de origen";
$text['label-src-caller-id-nam']['es-mx'] = "Nombre de Caller ID de origen"; //copied from es-cl
$text['label-src-caller-id-nam']['fr-ca'] = "Nom de l'appelant"; //copied from fr-fr
$text['label-src-caller-id-nam']['fr-fr'] = "Nom de l'appelant";
$text['label-src-caller-id-nam']['he-il'] = "";
$text['label-src-caller-id-nam']['it-it'] = "Nome Chiamante";
$text['label-src-caller-id-nam']['nl-nl'] = "";
$text['label-src-caller-id-nam']['pl-pl'] = "";
$text['label-src-caller-id-nam']['pt-br'] = "Nome de origem";
$text['label-src-caller-id-nam']['pt-pt'] = "Nome do Chamador";
$text['label-src-caller-id-nam']['ro-ro'] = "";
$text['label-src-caller-id-nam']['ru-ru'] = "Исходящее Caller ID Имя";
$text['label-src-caller-id-nam']['sv-se'] = "Caller ID Namn på källa";
$text['label-src-caller-id-nam']['uk-ua'] = "";
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2012
the Initial Developer. All Rights Reserved.
$text['desc-src-caller-id-nam']['en-us'] = "Enter the Caller ID name to send to your phone.";
$text['desc-src-caller-id-nam']['ar-eg'] = "";
$text['desc-src-caller-id-nam']['de-at'] = "Geben Sie die Anruferkennung (Namen) ein, die an Ihr Telefon übermittelt werden soll."; //copied from de-de
$text['desc-src-caller-id-nam']['de-ch'] = "Geben Sie die Anruferkennung (Namen) ein, die an Ihr Telefon übermittelt werden soll."; //copied from de-de
$text['desc-src-caller-id-nam']['de-de'] = "Geben Sie die Anruferkennung (Namen) ein, die an Ihr Telefon übermittelt werden soll.";
$text['desc-src-caller-id-nam']['es-cl'] = "Ingrese el nombre del Caller ID para enviar a su teléfono.";
$text['desc-src-caller-id-nam']['es-mx'] = "Ingrese el nombre del Caller ID para enviar a su teléfono."; //copied from es-cl
$text['desc-src-caller-id-nam']['fr-ca'] = "Choisir le nom d'appelant à émettre à votre téléphone."; //copied from fr-fr
$text['desc-src-caller-id-nam']['fr-fr'] = "Choisir le nom d'appelant à émettre à votre téléphone.";
$text['desc-src-caller-id-nam']['he-il'] = "";
$text['desc-src-caller-id-nam']['it-it'] = "Inserisci il nome del chiamante per inviare al tuo telefono.";
$text['desc-src-caller-id-nam']['nl-nl'] = "";
$text['desc-src-caller-id-nam']['pl-pl'] = "";
$text['desc-src-caller-id-nam']['pt-br'] = "Entre com o ID do número de origem para ser enviado para seu telefone.";
$text['desc-src-caller-id-nam']['pt-pt'] = "Introduza o nome do chamador para ser enviado para o seu telefone.";
$text['desc-src-caller-id-nam']['ro-ro'] = "";
$text['desc-src-caller-id-nam']['ru-ru'] = "Введите имя вызывающего абонента для отправки на свой телефон.";
$text['desc-src-caller-id-nam']['sv-se'] = "Ange Caller ID Namn som skall skickas till din telefon.";
$text['desc-src-caller-id-nam']['uk-ua'] = "";
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
James Rose <james.o.rose@gmail.com>
Philippe Rioual <bhouba@gmail.com>
*/
$text['label-src-caller-id-num']['en-us'] = "Source Caller ID Number";
$text['label-src-caller-id-num']['ar-eg'] = "";
$text['label-src-caller-id-num']['de-at'] = "Quell Anruferkennung (Nummer)"; //copied from de-de
$text['label-src-caller-id-num']['de-ch'] = "Quell Anruferkennung (Nummer)"; //copied from de-de
$text['label-src-caller-id-num']['de-de'] = "Quell Anruferkennung (Nummer)";
$text['label-src-caller-id-num']['es-cl'] = "Número de Caller ID de origen";
$text['label-src-caller-id-num']['es-mx'] = "Número de Caller ID de origen"; //copied from es-cl
$text['label-src-caller-id-num']['fr-ca'] = "Numéro de l'appelant"; //copied from fr-fr
$text['label-src-caller-id-num']['fr-fr'] = "Numéro de l'appelant";
$text['label-src-caller-id-num']['he-il'] = "";
$text['label-src-caller-id-num']['it-it'] = "Numero Sorgente";
$text['label-src-caller-id-num']['nl-nl'] = "";
$text['label-src-caller-id-num']['pl-pl'] = "";
$text['label-src-caller-id-num']['pt-br'] = "Número de origem";
$text['label-src-caller-id-num']['pt-pt'] = "Número do Chamador";
$text['label-src-caller-id-num']['ro-ro'] = "";
$text['label-src-caller-id-num']['ru-ru'] = "Исходящий Caller ID Номер";
$text['label-src-caller-id-num']['sv-se'] = "Källa Caller ID Nummer";
$text['label-src-caller-id-num']['uk-ua'] = "";
$text['label-click2call']['en-us'] = "Click to Call";
$text['label-click2call']['es-cl'] = "Pulse para Llamar";
$text['label-click2call']['pt-pt'] = "Clique para chamar";
$text['label-click2call']['pt-br'] = "Clique para chamar";
$text['label-click2call']['fr-fr'] = "Click to Call";
$text['desc-src-caller-id-num']['en-us'] = "Enter the Caller ID number to send to your phone (you probably want this to be the same as the destination number).";
$text['desc-src-caller-id-num']['ar-eg'] = "";
$text['desc-src-caller-id-num']['de-at'] = " Geben Sie die Anruferkennung (Nummer) ein, die an Ihr Telefon übermittelt werden soll.(In der Regel ist diese identisch mit der Zielrufnummer)."; //copied from de-de
$text['desc-src-caller-id-num']['de-ch'] = " Geben Sie die Anruferkennung (Nummer) ein, die an Ihr Telefon übermittelt werden soll.(In der Regel ist diese identisch mit der Zielrufnummer)."; //copied from de-de
$text['desc-src-caller-id-num']['de-de'] = " Geben Sie die Anruferkennung (Nummer) ein, die an Ihr Telefon übermittelt werden soll.(In der Regel ist diese identisch mit der Zielrufnummer).";
$text['desc-src-caller-id-num']['es-cl'] = "Ingrese el número del Caller ID para enviar a su teléfono (probablemente desee que sea el mismo que el número de destino).";
$text['desc-src-caller-id-num']['es-mx'] = "Ingrese el número del Caller ID para enviar a su teléfono (probablemente desee que sea el mismo que el número de destino)."; //copied from es-cl
$text['desc-src-caller-id-num']['fr-ca'] = "Choisir le numéro d'appelant à émettre à votre téléphone (Il est en général le même que le numéro de destination)."; //copied from fr-fr
$text['desc-src-caller-id-num']['fr-fr'] = "Choisir le numéro d'appelant à émettre à votre téléphone (Il est en général le même que le numéro de destination).";
$text['desc-src-caller-id-num']['he-il'] = "";
$text['desc-src-caller-id-num']['it-it'] = "Inserisci il numero Sorgente per inviare al tuo telefono (probabilmente è lo stesso del numero destintario).";
$text['desc-src-caller-id-num']['nl-nl'] = "";
$text['desc-src-caller-id-num']['pl-pl'] = "";
$text['desc-src-caller-id-num']['pt-br'] = "Entre com o ID do número de origem para ser enviado para seu telefone (Orientamos colocar este número sendo o mesmo número que 'número de destino'";
$text['desc-src-caller-id-num']['pt-pt'] = "Introduza o identificador de chamada para enviar para o seu telefone (geralmente é o mesmo que o número de destino).";
$text['desc-src-caller-id-num']['ro-ro'] = "";
$text['desc-src-caller-id-num']['ru-ru'] = "Введите номер вызывающего абонента для отправки на свой телефон (возможно, вы хотите чтобы он был то же, что и номер назначения).";
$text['desc-src-caller-id-num']['sv-se'] = "Ange nummeret för nummerpresentation som ska skickas till din telefon (du vill noga att det här är detsamma som destinationsnumret).";
$text['desc-src-caller-id-num']['uk-ua'] = "";
$text['desc-click2call']['en-us'] = "Provide the following information to make a call from the source number to the destination number.";
$text['desc-click2call']['es-cl'] = "Ingrese la siguiente información para realizar una llamada desde un número de origen a un número de destino.";
$text['desc-click2call']['pt-pt'] = "Forneça a informação seguinte para realizar uma chamada com uma determinada origem para um determinado destino.";
$text['desc-click2call']['pt-br'] = "Forneça as seguintes informações para realizar uma chamada do telefone originário para o telefone de destino.";
$text['desc-click2call']['fr-fr'] = "Fournissez les informations suivantes afin de lancer un appel d'un numéro vers un autre.";
$text['label-dest-caller-id-nam']['en-us'] = "Destination Caller ID Name";
$text['label-dest-caller-id-nam']['ar-eg'] = "";
$text['label-dest-caller-id-nam']['de-at'] = "Ziel Anruferkennung (Name)"; //copied from de-de
$text['label-dest-caller-id-nam']['de-ch'] = "Ziel Anruferkennung (Name)"; //copied from de-de
$text['label-dest-caller-id-nam']['de-de'] = "Ziel Anruferkennung (Name)";
$text['label-dest-caller-id-nam']['es-cl'] = "Nombre de Caller ID de destino";
$text['label-dest-caller-id-nam']['es-mx'] = "Nombre de Caller ID de destino"; //copied from es-cl
$text['label-dest-caller-id-nam']['fr-ca'] = "Nom de l'appelant"; //copied from fr-fr
$text['label-dest-caller-id-nam']['fr-fr'] = "Nom de l'appelant";
$text['label-dest-caller-id-nam']['he-il'] = "";
$text['label-dest-caller-id-nam']['it-it'] = "Nome Destinatario";
$text['label-dest-caller-id-nam']['nl-nl'] = "";
$text['label-dest-caller-id-nam']['pl-pl'] = "";
$text['label-dest-caller-id-nam']['pt-br'] = "Identificação do destino";
$text['label-dest-caller-id-nam']['pt-pt'] = "Nome do Chamador";
$text['label-dest-caller-id-nam']['ro-ro'] = "";
$text['label-dest-caller-id-nam']['ru-ru'] = "Удаленное Caller ID Имя";
$text['label-dest-caller-id-nam']['sv-se'] = "Destination Caller ID Nummer";
$text['label-dest-caller-id-nam']['uk-ua'] = "";
$text['label-src-caller-id-nam']['en-us'] = "Source Caller ID Name";
$text['label-src-caller-id-nam']['es-cl'] = "Nombre de Caller ID de origen";
$text['label-src-caller-id-nam']['pt-pt'] = "Nome do Chamador";
$text['label-src-caller-id-nam']['pt-br'] = "Nome de origem";
$text['label-src-caller-id-nam']['fr-fr'] = "Nom de l'appelant";
$text['desc-dest-caller-id-nam']['en-us'] = "Enter the Caller ID name to send to the destination number.";
$text['desc-dest-caller-id-nam']['ar-eg'] = "";
$text['desc-dest-caller-id-nam']['de-at'] = "Geben Sie die Anruferkennung (Name) ein, die an das Ziel übermittelt werden soll."; //copied from de-de
$text['desc-dest-caller-id-nam']['de-ch'] = "Geben Sie die Anruferkennung (Name) ein, die an das Ziel übermittelt werden soll."; //copied from de-de
$text['desc-dest-caller-id-nam']['de-de'] = "Geben Sie die Anruferkennung (Name) ein, die an das Ziel übermittelt werden soll.";
$text['desc-dest-caller-id-nam']['es-cl'] = "Ingrese el nombre de Caller ID para enviar al número de destino.";
$text['desc-dest-caller-id-nam']['es-mx'] = "Ingrese el nombre de Caller ID para enviar al número de destino."; //copied from es-cl
$text['desc-dest-caller-id-nam']['fr-ca'] = "Choisir le nom d'appelant à émettre à la destination"; //copied from fr-fr
$text['desc-dest-caller-id-nam']['fr-fr'] = "Choisir le nom d'appelant à émettre à la destination";
$text['desc-dest-caller-id-nam']['he-il'] = "";
$text['desc-dest-caller-id-nam']['it-it'] = "Inserisci il nome del chiamante per inviare la chiamata al numero destinatario.";
$text['desc-dest-caller-id-nam']['nl-nl'] = "";
$text['desc-dest-caller-id-nam']['pl-pl'] = "";
$text['desc-dest-caller-id-nam']['pt-br'] = "Entre com a identificação a ser enviada para o número de destino.";
$text['desc-dest-caller-id-nam']['pt-pt'] = "Introduza o identificador do chamador a ser enviado para o destinatário.";
$text['desc-dest-caller-id-nam']['ro-ro'] = "";
$text['desc-dest-caller-id-nam']['ru-ru'] = "Введите имя вызывающего абонента для отправки на номер назначения.";
$text['desc-dest-caller-id-nam']['sv-se'] = "Ange Caller ID Namn som skall skickas till destinationen.";
$text['desc-dest-caller-id-nam']['uk-ua'] = "";
$text['desc-src-caller-id-nam']['en-us'] = "Enter the Caller ID name to send to your phone.";
$text['desc-src-caller-id-nam']['es-cl'] = "Ingrese el nombre del Caller ID para enviar a su teléfono.";
$text['desc-src-caller-id-nam']['pt-pt'] = "Introduza o nome do chamador para ser enviado para o seu telefone.";
$text['desc-src-caller-id-nam']['pt-br'] = "Entre com o ID do número de origem para ser enviado para seu telefone.";
$text['desc-src-caller-id-nam']['fr-fr'] = "Choisir le nom d'appelant à émettre à votre téléphone.";
$text['label-dest-caller-id-num']['en-us'] = "Destination Caller ID Number";
$text['label-dest-caller-id-num']['ar-eg'] = "";
$text['label-dest-caller-id-num']['de-at'] = "Ziel Anruferkennung (Nummer)"; //copied from de-de
$text['label-dest-caller-id-num']['de-ch'] = "Ziel Anruferkennung (Nummer)"; //copied from de-de
$text['label-dest-caller-id-num']['de-de'] = "Ziel Anruferkennung (Nummer)";
$text['label-dest-caller-id-num']['es-cl'] = "Número de Caller ID de destino";
$text['label-dest-caller-id-num']['es-mx'] = "Número de Caller ID de destino"; //copied from es-cl
$text['label-dest-caller-id-num']['fr-ca'] = "Numéro de l'appelant"; //copied from fr-fr
$text['label-dest-caller-id-num']['fr-fr'] = "Numéro de l'appelant";
$text['label-dest-caller-id-num']['he-il'] = "";
$text['label-dest-caller-id-num']['it-it'] = "Numero Destinatario";
$text['label-dest-caller-id-num']['nl-nl'] = "";
$text['label-dest-caller-id-num']['pl-pl'] = "";
$text['label-dest-caller-id-num']['pt-br'] = "Número de destino";
$text['label-dest-caller-id-num']['pt-pt'] = "Número a apresentar no destino";
$text['label-dest-caller-id-num']['ro-ro'] = "";
$text['label-dest-caller-id-num']['ru-ru'] = "Удаленный Caller ID Номер";
$text['label-dest-caller-id-num']['sv-se'] = "Destination Caller ID Nummer";
$text['label-dest-caller-id-num']['uk-ua'] = "";
$text['label-src-caller-id-num']['en-us'] = "Source Caller ID Number";
$text['label-src-caller-id-num']['es-cl'] = "Número de Caller ID de origen";
$text['label-src-caller-id-num']['pt-pt'] = "Número do Chamador";
$text['label-src-caller-id-num']['pt-br'] = "Número de origem";
$text['label-src-caller-id-num']['fr-fr'] = "Numéro de l'appelant";
$text['desc-dest-caller-id-num']['en-us'] = "Enter the Caller ID number to send to the destination number (you probably want this to be your phone number).";
$text['desc-dest-caller-id-num']['ar-eg'] = "";
$text['desc-dest-caller-id-num']['de-at'] = "Geben Sie die Anruferkennung (Nummer) ein, die an das Ziel übermittelt werden soll (Normalerweise Ihre Rufnummer)."; //copied from de-de
$text['desc-dest-caller-id-num']['de-ch'] = "Geben Sie die Anruferkennung (Nummer) ein, die an das Ziel übermittelt werden soll (Normalerweise Ihre Rufnummer)."; //copied from de-de
$text['desc-dest-caller-id-num']['de-de'] = "Geben Sie die Anruferkennung (Nummer) ein, die an das Ziel übermittelt werden soll (Normalerweise Ihre Rufnummer).";
$text['desc-dest-caller-id-num']['es-cl'] = "Ingrese número de Caller ID para enviar al número de destino (probablemente desee que sea su número de teléfono).";
$text['desc-dest-caller-id-num']['es-mx'] = "Ingrese número de Caller ID para enviar al número de destino (probablemente desee que sea su número de teléfono)."; //copied from es-cl
$text['desc-dest-caller-id-num']['fr-ca'] = "Choisir le numéro d'appelant à émettre au téléphone destination (Il est en général le même que votre numéro.)"; //copied from fr-fr
$text['desc-dest-caller-id-num']['fr-fr'] = "Choisir le numéro d'appelant à émettre au téléphone destination (Il est en général le même que votre numéro.)";
$text['desc-dest-caller-id-num']['he-il'] = "";
$text['desc-dest-caller-id-num']['it-it'] = "";
$text['desc-dest-caller-id-num']['nl-nl'] = "";
$text['desc-dest-caller-id-num']['pl-pl'] = "";
$text['desc-dest-caller-id-num']['pt-br'] = "Entre com o número de identificação a ser mandado para o número de destino (geralmente é o mesmo que o número de telefone).";
$text['desc-dest-caller-id-num']['pt-pt'] = "Introduza o número identificador de chamada a ser enviado ao telefone de destino (geralmente é o mesmo que o seu número de telefone).";
$text['desc-dest-caller-id-num']['ro-ro'] = "";
$text['desc-dest-caller-id-num']['ru-ru'] = "Введите номер вызывающего абонента для отправки на номер адресата (возможно, вы хотите, чтобы это был ваш номер телефона).";
$text['desc-dest-caller-id-num']['sv-se'] = "Ange Caller ID nummret för att skicka till destinationen (du vill säkert att detta ska vara ditt telefonnummer).";
$text['desc-dest-caller-id-num']['uk-ua'] = "";
$text['desc-src-caller-id-num']['en-us'] = "Enter the Caller ID number to send to your phone (you probably want this to be the same as the destination number).";
$text['desc-src-caller-id-num']['es-cl'] = "Ingrese el número del Caller ID para enviar a su teléfono (probablemente desee que sea el mismo que el número de destino).";
$text['desc-src-caller-id-num']['pt-pt'] = "Introduza o identificador de chamada para enviar para o seu telefone (geralmente é o mesmo que o número de destino).";
$text['desc-src-caller-id-num']['pt-br'] = "Entre com o ID do número de origem para ser enviado para seu telefone (Orientamos colocar este número sendo o mesmo número que 'número de destino'";
$text['desc-src-caller-id-num']['fr-fr'] = "Choisir le numéro d'appelant à émettre à votre téléphone (Il est en général le même que le numéro de destination).";
$text['label-src-num']['en-us'] = "Source Number";
$text['label-src-num']['ar-eg'] = "";
$text['label-src-num']['de-at'] = "Quell Rufnummer"; //copied from de-de
$text['label-src-num']['de-ch'] = "Quell Rufnummer"; //copied from de-de
$text['label-src-num']['de-de'] = "Quell Rufnummer";
$text['label-src-num']['es-cl'] = "Número de origen";
$text['label-src-num']['es-mx'] = "Número de origen"; //copied from es-cl
$text['label-src-num']['fr-ca'] = "Numéro Source"; //copied from fr-fr
$text['label-src-num']['fr-fr'] = "Numéro Source";
$text['label-src-num']['he-il'] = "";
$text['label-src-num']['it-it'] = "Numero Sorgente";
$text['label-src-num']['nl-nl'] = "";
$text['label-src-num']['pl-pl'] = "";
$text['label-src-num']['pt-br'] = "Número de origem"; //copied from pt-pt
$text['label-src-num']['pt-pt'] = "Número de origem";
$text['label-src-num']['ro-ro'] = "";
$text['label-src-num']['ru-ru'] = "Исходящий номер";
$text['label-src-num']['sv-se'] = "Nummer på källa";
$text['label-src-num']['uk-ua'] = "";
$text['label-dest-caller-id-nam']['en-us'] = "Destination Caller ID Name";
$text['label-dest-caller-id-nam']['es-cl'] = "Nombre de Caller ID de destino";
$text['label-dest-caller-id-nam']['pt-pt'] = "Nome do Chamador";
$text['label-dest-caller-id-nam']['pt-br'] = "Identificação do destino";
$text['label-dest-caller-id-nam']['fr-fr'] = "Nom de l'appelant";
$text['desc-src-num']['en-us'] = "Enter your phone number. This can be an extension on the system, or another number (eg: mobile phone).";
$text['desc-src-num']['ar-eg'] = "";
$text['desc-src-num']['de-at'] = "Geben Sie Ihre Rufnummer ein.Diese kann eine Nebenstelle auf dem System sein, oder eine andere Rufnummer (z.B. Ihre Mobilfunknummer)."; //copied from de-de
$text['desc-src-num']['de-ch'] = "Geben Sie Ihre Rufnummer ein.Diese kann eine Nebenstelle auf dem System sein, oder eine andere Rufnummer (z.B. Ihre Mobilfunknummer)."; //copied from de-de
$text['desc-src-num']['de-de'] = "Geben Sie Ihre Rufnummer ein.Diese kann eine Nebenstelle auf dem System sein, oder eine andere Rufnummer (z.B. Ihre Mobilfunknummer).";
$text['desc-src-num']['es-cl'] = "Ingrese su número de teléfono. Este puede ser una extesión en el sistema, u otro número (ej. teléfono movil).";
$text['desc-src-num']['es-mx'] = "Ingrese su número de teléfono. Este puede ser una extesión en el sistema, u otro número (ej. teléfono movil)."; //copied from es-cl
$text['desc-src-num']['fr-ca'] = "Choisir votre numéro de téléphone. Il peut être une extension du système, ou tout autre numéro (eg: un mobile)."; //copied from fr-fr
$text['desc-src-num']['fr-fr'] = "Choisir votre numéro de téléphone. Il peut être une extension du système, ou tout autre numéro (eg: un mobile).";
$text['desc-src-num']['he-il'] = "";
$text['desc-src-num']['it-it'] = "Inserisci il tuo numero di telefono. Può essere un interno del centralino o un altro numero (es. numero di cellulare).";
$text['desc-src-num']['nl-nl'] = "";
$text['desc-src-num']['pl-pl'] = "";
$text['desc-src-num']['pt-br'] = "Entre com seu númerop de telefone. Pode ser um ramal ou outro número (ex: número de celular).";
$text['desc-src-num']['pt-pt'] = "Introduza o seu número de telefone. Poderá ser uma extensão do sistema ou outro número (ex: número de telemóvel).";
$text['desc-src-num']['ro-ro'] = "";
$text['desc-src-num']['ru-ru'] = "Введите свой номер телефона. Это может быть внутренний номер или другой номер (например, мобильный).";
$text['desc-src-num']['sv-se'] = "Skriv in ditt telefonnummer. Detta kan vara en anknytning i systemet, eller ett annat nummer (t ex: mobiltelefon).";
$text['desc-src-num']['uk-ua'] = "";
$text['desc-dest-caller-id-nam']['en-us'] = "Enter the Caller ID name to send to the destination number.";
$text['desc-dest-caller-id-nam']['es-cl'] = "Ingrese el nombre de Caller ID para enviar al número de destino.";
$text['desc-dest-caller-id-nam']['pt-pt'] = "Introduza o identificador do chamador a ser enviado para o destinatário.";
$text['desc-dest-caller-id-nam']['pt-br'] = "Entre com a identificação a ser enviada para o número de destino.";
$text['desc-dest-caller-id-nam']['fr-fr'] = "Choisir le nom d'appelant à émettre à la destination";
$text['label-dest-num']['en-us'] = "Destination Number";
$text['label-dest-num']['ar-eg'] = "";
$text['label-dest-num']['de-at'] = "Ziel Rufnummer"; //copied from de-de
$text['label-dest-num']['de-ch'] = "Ziel Rufnummer"; //copied from de-de
$text['label-dest-num']['de-de'] = "Ziel Rufnummer";
$text['label-dest-num']['es-cl'] = "Número de destino";
$text['label-dest-num']['es-mx'] = "Número de destino"; //copied from es-cl
$text['label-dest-num']['fr-ca'] = "Numéro Destination"; //copied from fr-fr
$text['label-dest-num']['fr-fr'] = "Numéro Destination";
$text['label-dest-num']['he-il'] = "";
$text['label-dest-num']['it-it'] = "Numero Destinazione";
$text['label-dest-num']['nl-nl'] = "";
$text['label-dest-num']['pl-pl'] = "";
$text['label-dest-num']['pt-br'] = "Número do Destino"; //copied from pt-pt
$text['label-dest-num']['pt-pt'] = "Número do Destino";
$text['label-dest-num']['ro-ro'] = "";
$text['label-dest-num']['ru-ru'] = "Номер назначения";
$text['label-dest-num']['sv-se'] = "Destination Nummer";
$text['label-dest-num']['uk-ua'] = "";
$text['label-dest-caller-id-num']['en-us'] = "Destination Caller ID Number";
$text['label-dest-caller-id-num']['es-cl'] = "Número de Caller ID de destino";
$text['label-dest-caller-id-num']['pt-pt'] = "Número a apresentar no destino";
$text['label-dest-caller-id-num']['pt-br'] = "Número de destino";
$text['label-dest-caller-id-num']['fr-fr'] = "Numéro de l'appelant";
$text['desc-dest-num']['en-us'] = "Enter the number to call. This can be an extension on the system, another number, or a sip uri. Sip URI's are of the form 5551234567@voip.example.com:5080 (5080 for freeswitch, or 5060 for other systems).";
$text['desc-dest-num']['ar-eg'] = "";
$text['desc-dest-num']['de-at'] = "Geben Sie die Zielnummer ein. Diese kann eine Nebenstelle auf dem System sein, eine andere Rufnummer, oder eine SIP URI. Sip URI's sind wie folgt einzugeben: 5551234567@voip.example.com:5080 (5080 für freeswitch, oder 5060 für andere Systeme)."; //copied from de-de
$text['desc-dest-num']['de-ch'] = "Geben Sie die Zielnummer ein. Diese kann eine Nebenstelle auf dem System sein, eine andere Rufnummer, oder eine SIP URI. Sip URI's sind wie folgt einzugeben: 5551234567@voip.example.com:5080 (5080 für freeswitch, oder 5060 für andere Systeme)."; //copied from de-de
$text['desc-dest-num']['de-de'] = "Geben Sie die Zielnummer ein. Diese kann eine Nebenstelle auf dem System sein, eine andere Rufnummer, oder eine SIP URI. Sip URI's sind wie folgt einzugeben: 5551234567@voip.example.com:5080 (5080 für freeswitch, oder 5060 für andere Systeme).";
$text['desc-dest-num']['es-cl'] = "Ingrese el número a llamar. Este puede ser una extensión en el sistema, otro número o un uri sip. Uri's sip son de la forma 5551234567@voip.example.com:5080 (5080 para freeswitch, o 5060 para otros sistemas).";
$text['desc-dest-num']['es-mx'] = "Ingrese el número a llamar. Este puede ser una extensión en el sistema, otro número o un uri sip. Uri's sip son de la forma 5551234567@voip.example.com:5080 (5080 para freeswitch, o 5060 para otros sistemas)."; //copied from es-cl
$text['desc-dest-num']['fr-ca'] = "Choisir un numéro à appeler. Il peut être une extension du système, un autre numéro, une URI SIP. les URI SIP sont de la forme : 5551234567@voip.example.com:5080 (5080 pour freeswitch, ou 5060 pour d'autre système)."; //copied from fr-fr
$text['desc-dest-num']['fr-fr'] = "Choisir un numéro à appeler. Il peut être une extension du système, un autre numéro, une URI SIP. les URI SIP sont de la forme : 5551234567@voip.example.com:5080 (5080 pour freeswitch, ou 5060 pour d'autre système).";
$text['desc-dest-num']['he-il'] = "";
$text['desc-dest-num']['it-it'] = "Inserisci il numero da chiamare. Può essere un interno del centralino, un altro numero o un uri sip. Gli uri SIP sono nella forma 5551234567@voip.example.com:5080 (5080 per freeswitch, or 5060 per altri sistemi).";
$text['desc-dest-num']['nl-nl'] = "";
$text['desc-dest-num']['pl-pl'] = "";
$text['desc-dest-num']['pt-br'] = "Entre com o número a ser ligado. Pode ser um ramal, outro número, ou SIP URI. Exemplo de SIP URI: 12345678@voip.example.com:5080, sendo 5080 para o freeswitch ou 5060 para outros sistemas."; //copied from pt-pt
$text['desc-dest-num']['pt-pt'] = "Entre com o número a ser ligado. Pode ser um ramal, outro número, ou SIP URI. Exemplo de SIP URI: 12345678@voip.example.com:5080, sendo 5080 para o freeswitch ou 5060 para outros sistemas.";
$text['desc-dest-num']['ro-ro'] = "";
$text['desc-dest-num']['ru-ru'] = "Введите номер для вызова. Это может быть внутренний номер, другой номер или sip uri. SIP URI имеют вид 5551234567@voip.example.com:5080 (5080 для freeswitch или 5060 для других систем).";
$text['desc-dest-num']['sv-se'] = "Ange numret som ska ringas. Detta kan vara en anknytning i systemet, ett annat nummer eller en sip uri. SIP URIs är av formatet 5551234567@voip.example.com: 5080 (5080 för freeswitch eller 5060 för andra system).";
$text['desc-dest-num']['uk-ua'] = "";
$text['desc-dest-caller-id-num']['en-us'] = "Enter the Caller ID number to send to the destination number (you probably want this to be your phone number).";
$text['desc-dest-caller-id-num']['es-cl'] = "Ingrese número de Caller ID para enviar al número de destino (probablemente desee que sea su número de teléfono).";
$text['desc-dest-caller-id-num']['pt-pt'] = "Introduza o número identificador de chamada a ser enviado ao telefone de destino (geralmente é o mesmo que o seu número de telefone).";
$text['desc-dest-caller-id-num']['pt-br'] = "Entre com o número de identificação a ser mandado para o número de destino (geralmente é o mesmo que o número de telefone).";
$text['desc-dest-caller-id-num']['fr-fr'] = "Choisir le numéro d'appelant à émettre au téléphone destination (Il est en général le même que votre numéro.)";
$text['label-auto-answer']['en-us'] = "Auto Answer";
$text['label-auto-answer']['ar-eg'] = "";
$text['label-auto-answer']['de-at'] = "Automatische Rufannahme"; //copied from de-de
$text['label-auto-answer']['de-ch'] = "Automatische Rufannahme"; //copied from de-de
$text['label-auto-answer']['de-de'] = "Automatische Rufannahme";
$text['label-auto-answer']['es-cl'] = "respuesta automática";
$text['label-auto-answer']['es-mx'] = "respuesta automática"; //copied from es-cl
$text['label-auto-answer']['fr-ca'] = "Réponse Auto"; //copied from fr-fr
$text['label-auto-answer']['fr-fr'] = "Réponse Auto";
$text['label-auto-answer']['he-il'] = "";
$text['label-auto-answer']['it-it'] = "Risposta Automatica";
$text['label-auto-answer']['nl-nl'] = "";
$text['label-auto-answer']['pl-pl'] = "";
$text['label-auto-answer']['pt-br'] = "Resposta Automática"; //copied from pt-pt
$text['label-auto-answer']['pt-pt'] = "Resposta Automática";
$text['label-auto-answer']['ro-ro'] = "";
$text['label-auto-answer']['ru-ru'] = "Автоответ";
$text['label-auto-answer']['sv-se'] = "Auto Svar";
$text['label-auto-answer']['uk-ua'] = "";
$text['label-src-num']['en-us'] = "Source Number";
$text['label-src-num']['es-cl'] = "Número de origen";
$text['label-src-num']['pt-pt'] = "Número de origem";
$text['label-src-num']['pt-br'] = "Número de origem";
$text['label-src-num']['fr-fr'] = "Numéro Source";
$text['desc-auto-answer']['en-us'] = "Select whether to enable auto answer.";
$text['desc-auto-answer']['ar-eg'] = "";
$text['desc-auto-answer']['de-at'] = "Wählen Sie, ob die automatische Rufannahme aktiviert werden soll."; //copied from de-de
$text['desc-auto-answer']['de-ch'] = "Wählen Sie, ob die automatische Rufannahme aktiviert werden soll."; //copied from de-de
$text['desc-auto-answer']['de-de'] = "Wählen Sie, ob die automatische Rufannahme aktiviert werden soll.";
$text['desc-auto-answer']['es-cl'] = "Indique si desea activar la respuesta automática.";
$text['desc-auto-answer']['es-mx'] = "Indique si desea activar la respuesta automática."; //copied from es-cl
$text['desc-auto-answer']['fr-ca'] = "Activer ou non la réponse automatique."; //copied from fr-fr
$text['desc-auto-answer']['fr-fr'] = "Activer ou non la réponse automatique.";
$text['desc-auto-answer']['he-il'] = "";
$text['desc-auto-answer']['it-it'] = "Seleziona per abilitare la risposta automatica.";
$text['desc-auto-answer']['nl-nl'] = "";
$text['desc-auto-answer']['pl-pl'] = "";
$text['desc-auto-answer']['pt-br'] = "Ativar ou desativar a resposta automática.";
$text['desc-auto-answer']['pt-pt'] = "Activar ou Desactivar a resposta automática.";
$text['desc-auto-answer']['ro-ro'] = "";
$text['desc-auto-answer']['ru-ru'] = "Выберите для включения автоответа.";
$text['desc-auto-answer']['sv-se'] = "Välj för att aktivera auto svara.";
$text['desc-auto-answer']['uk-ua'] = "";
$text['desc-src-num']['en-us'] = "Enter your phone number. This can be an extension on the system, or another number (eg: mobile phone).";
$text['desc-src-num']['es-cl'] = "Ingrese su número de teléfono. Este puede ser una extesión en el sistema, u otro número (ej. teléfono movil).";
$text['desc-src-num']['pt-pt'] = "Introduza o seu número de telefone. Poderá ser uma extensão do sistema ou outro número (ex: número de telemóvel).";
$text['desc-src-num']['pt-br'] = "Entre com seu númerop de telefone. Pode ser um ramal ou outro número (ex: número de celular).";
$text['desc-src-num']['fr-fr'] = "Choisir votre numéro de téléphone. Il peut être une extension du système, ou tout autre numéro (eg: un mobile).";
$text['label-record']['en-us'] = "Record";
$text['label-record']['ar-eg'] = "";
$text['label-record']['de-at'] = "Aufzeichnen"; //copied from de-de
$text['label-record']['de-ch'] = "Aufzeichnen"; //copied from de-de
$text['label-record']['de-de'] = "Aufzeichnen";
$text['label-record']['es-cl'] = "Grabar";
$text['label-record']['es-mx'] = "Grabar"; //copied from es-cl
$text['label-record']['fr-ca'] = "Enregistrer"; //copied from fr-fr
$text['label-record']['fr-fr'] = "Enregistrer";
$text['label-record']['he-il'] = "";
$text['label-record']['it-it'] = "Registra";
$text['label-record']['nl-nl'] = "";
$text['label-record']['pl-pl'] = "";
$text['label-record']['pt-br'] = "Gravar"; //copied from pt-pt
$text['label-record']['pt-pt'] = "Gravar";
$text['label-record']['ro-ro'] = "";
$text['label-record']['ru-ru'] = "Запись";
$text['label-record']['sv-se'] = "Spela In";
$text['label-record']['uk-ua'] = "";
$text['label-dest-num']['en-us'] = "Destination Number";
$text['label-dest-num']['es-cl'] = "Número de destino";
$text['label-dest-num']['pt-pt'] = "Número do Destino";
$text['label-dest-num']['pt-br'] = "Número do Destino";
$text['label-dest-num']['fr-fr'] = "Numéro Destination";
$text['label-true']['en-us'] = "true";
$text['label-true']['ar-eg'] = "";
$text['label-true']['de-at'] = "ein"; //copied from de-de
$text['label-true']['de-ch'] = "ein"; //copied from de-de
$text['label-true']['de-de'] = "ein";
$text['label-true']['es-cl'] = "verdadero";
$text['label-true']['es-mx'] = "verdadero"; //copied from es-cl
$text['label-true']['fr-ca'] = "oui"; //copied from fr-fr
$text['label-true']['fr-fr'] = "oui";
$text['label-true']['he-il'] = "";
$text['label-true']['it-it'] = "vero";
$text['label-true']['nl-nl'] = "";
$text['label-true']['pl-pl'] = "";
$text['label-true']['pt-br'] = "sim"; //copied from pt-pt
$text['label-true']['pt-pt'] = "sim";
$text['label-true']['ro-ro'] = "";
$text['label-true']['ru-ru'] = "да";
$text['label-true']['sv-se'] = "sann";
$text['label-true']['uk-ua'] = "";
$text['desc-dest-num']['en-us'] = "Enter the number to call. This can be an extension on the system, another number, or a sip uri. Sip URI's are of the form 5551234567@voip.example.com:5080 (5080 for freeswitch, or 5060 for other systems).";
$text['desc-dest-num']['es-cl'] = "Ingrese el número a llamar. Este puede ser una extensión en el sistema, otro número o un uri sip. Uri's sip son de la forma 5551234567@voip.example.com:5080 (5080 para freeswitch, o 5060 para otros sistemas).";
$text['desc-dest-num']['pt-pt'] = "Introduza o número para chamar. Poderá ser uma extensão do sistema, outro número, ou um SIP URI. Os SIP URI's respeitam a seguinte nomenclatura: +351210000000@voip.example.com";
$text['desc-dest-num']['pt-pt'] = "Entre com o número a ser ligado. Pode ser um ramal, outro número, ou SIP URI. Exemplo de SIP URI: 12345678@voip.example.com:5080, sendo 5080 para o freeswitch ou 5060 para outros sistemas.";
$text['desc-dest-num']['fr-fr'] = "Choisir un numéro à appeler. Il peut être une extension du système, un autre numéro, une URI SIP. les URI SIP sont de la forme : 5551234567@voip.example.com:5080 (5080 pour freeswitch, ou 5060 pour d'autre système).";
$text['label-false']['en-us'] = "false";
$text['label-false']['ar-eg'] = "";
$text['label-false']['de-at'] = "aus"; //copied from de-de
$text['label-false']['de-ch'] = "aus"; //copied from de-de
$text['label-false']['de-de'] = "aus";
$text['label-false']['es-cl'] = "falso";
$text['label-false']['es-mx'] = "falso"; //copied from es-cl
$text['label-false']['fr-ca'] = "non"; //copied from fr-fr
$text['label-false']['fr-fr'] = "non";
$text['label-false']['he-il'] = "";
$text['label-false']['it-it'] = "falso";
$text['label-false']['nl-nl'] = "";
$text['label-false']['pl-pl'] = "";
$text['label-false']['pt-br'] = "não"; //copied from pt-pt
$text['label-false']['pt-pt'] = "não";
$text['label-false']['ro-ro'] = "";
$text['label-false']['ru-ru'] = "нет";
$text['label-false']['sv-se'] = "falsk";
$text['label-false']['uk-ua'] = "";
$text['label-auto-answer']['en-us'] = "Auto Answer";
$text['label-auto-answer']['es-cl'] = "respuesta automática";
$text['label-auto-answer']['pt-pt'] = "Resposta Automática";
$text['label-auto-answer']['pt-br'] = "Resposta Automática";
$text['label-auto-answer']['fr-fr'] = "Réponse Auto";
$text['desc-record']['en-us'] = "Select whether to record the call.";
$text['desc-record']['ar-eg'] = "";
$text['desc-record']['de-at'] = "Wählen Sie, ob der Anruf aufgezeichnet werden soll."; //copied from de-de
$text['desc-record']['de-ch'] = "Wählen Sie, ob der Anruf aufgezeichnet werden soll."; //copied from de-de
$text['desc-record']['de-de'] = "Wählen Sie, ob der Anruf aufgezeichnet werden soll.";
$text['desc-record']['es-cl'] = "Indique si desea grabar la llamada.";
$text['desc-record']['es-mx'] = "Indique si desea grabar la llamada."; //copied from es-cl
$text['desc-record']['fr-ca'] = "Choisir si vous voulez enregistrer l'appel."; //copied from fr-fr
$text['desc-record']['fr-fr'] = "Choisir si vous voulez enregistrer l'appel.";
$text['desc-record']['he-il'] = "";
$text['desc-record']['it-it'] = "Seleziona per registrare la telefonata.";
$text['desc-record']['nl-nl'] = "";
$text['desc-record']['pl-pl'] = "";
$text['desc-record']['pt-br'] = "Escolha se quer gravar chamada."; //copied from pt-pt
$text['desc-record']['pt-pt'] = "Escolha se quer gravar chamada.";
$text['desc-record']['ro-ro'] = "";
$text['desc-record']['ru-ru'] = "Выберите для включения записи.";
$text['desc-record']['sv-se'] = "Välj om samtalet skall spelas in.";
$text['desc-record']['uk-ua'] = "";
$text['desc-auto-answer']['en-us'] = "Select whether to enable auto answer.";
$text['desc-auto-answer']['es-cl'] = "Indique si desea activar la respuesta automática.";
$text['desc-auto-answer']['pt-pt'] = "Activar ou Desactivar a resposta automática.";
$text['desc-auto-answer']['pt-br'] = "Ativar ou desativar a resposta automática.";
$text['desc-auto-answer']['fr-fr'] = "Activer ou non la réponse automatique.";
$text['label-ringback']['en-us'] = "Ring Back";
$text['label-ringback']['ar-eg'] = "";
$text['label-ringback']['de-at'] = "Rufton"; //copied from de-de
$text['label-ringback']['de-ch'] = "Rufton"; //copied from de-de
$text['label-ringback']['de-de'] = "Rufton";
$text['label-ringback']['es-cl'] = "Regresar tono";
$text['label-ringback']['es-mx'] = "Regresar tono"; //copied from es-cl
$text['label-ringback']['fr-ca'] = "Retour de sonnerie"; //copied from fr-fr
$text['label-ringback']['fr-fr'] = "Retour de sonnerie";
$text['label-ringback']['he-il'] = "";
$text['label-ringback']['it-it'] = "Tono";
$text['label-ringback']['nl-nl'] = "";
$text['label-ringback']['pl-pl'] = "";
$text['label-ringback']['pt-br'] = "Tocar de volta (Ring Back)";
$text['label-ringback']['pt-pt'] = "Ring Back";
$text['label-ringback']['ro-ro'] = "";
$text['label-ringback']['ru-ru'] = "Контроль посылки вызова (КПВ)";
$text['label-ringback']['sv-se'] = "Tillbakaringning";
$text['label-ringback']['uk-ua'] = "";
$text['label-record']['en-us'] = "Record";
$text['label-record']['es-cl'] = "Grabar";
$text['label-record']['pt-pt'] = "Gravar";
$text['label-record']['pt-br'] = "Gravar";
$text['label-record']['fr-fr'] = "Enregistrer";
$text['desc-ringback']['en-us'] = "Defines what you will hear while destination is being called. The choices are music (music on hold) ring (ring tone).";
$text['desc-ringback']['ar-eg'] = "";
$text['desc-ringback']['de-at'] = "Geben Sie an, was Sie hören möchten, während die Verbindung aufgebaut wird. Zur Auswahl stehen musik (Wartemusik) oder Rufton"; //copied from de-de
$text['desc-ringback']['de-ch'] = "Geben Sie an, was Sie hören möchten, während die Verbindung aufgebaut wird. Zur Auswahl stehen musik (Wartemusik) oder Rufton"; //copied from de-de
$text['desc-ringback']['de-de'] = "Geben Sie an, was Sie hören möchten, während die Verbindung aufgebaut wird. Zur Auswahl stehen musik (Wartemusik) oder Rufton";
$text['desc-ringback']['es-cl'] = "Defina qué desea escuchar mientras se llama al destinatario. Las opciones son música (música en espera) o tono de marcado";
$text['desc-ringback']['es-mx'] = "Defina qué desea escuchar mientras se llama al destinatario. Las opciones son música (música en espera) o tono de marcado"; //copied from es-cl
$text['desc-ringback']['fr-ca'] = "Défini ce vous entendrez pendant que la destination sera appelée. Les choix sont musique (musique de garde) sonnerie."; //copied from fr-fr
$text['desc-ringback']['fr-fr'] = "Défini ce vous entendrez pendant que la destination sera appelée. Les choix sont musique (musique de garde) sonnerie.";
$text['desc-ringback']['he-il'] = "";
$text['desc-ringback']['it-it'] = "Definisce cosa sentirai mentre il destinatario è chiamato. Le scelte sono musica (music on hold) o tono (ring tone).";
$text['desc-ringback']['nl-nl'] = "";
$text['desc-ringback']['pl-pl'] = "";
$text['desc-ringback']['pt-br'] = "Definir o que deseja escutar enquanto o destino não atende. As escolhas são música (música em espera) ring (tom de chamada).";
$text['desc-ringback']['pt-pt'] = "Definir o que deseja ouvir enquanto o destino não atende. As escolhas são música (música em espera) ring (tom de chamada).";
$text['desc-ringback']['ro-ro'] = "";
$text['desc-ringback']['ru-ru'] = "Определяет что вы услышите во время вызова номера назначения. Вы можете выбрать music (музыка на удержании) или ring (звонок).";
$text['desc-ringback']['sv-se'] = "Definierar vad du kommer att höra när destinationen rings upp. Valet är musik (musik i vänteläge) ring (ringsignal).";
$text['desc-ringback']['uk-ua'] = "";
$text['label-true']['en-us'] = "true";
$text['label-true']['es-cl'] = "verdadero";
$text['label-true']['pt-pt'] = "sim";
$text['label-true']['pt-br'] = "sim";
$text['label-true']['fr-fr'] = "oui";
$text['opt-usring']['en-us'] = "us-ring";
$text['opt-usring']['ar-eg'] = "";
$text['opt-usring']['de-at'] = "us-ring"; //copied from de-de
$text['opt-usring']['de-ch'] = "us-ring"; //copied from de-de
$text['opt-usring']['de-de'] = "us-ring";
$text['opt-usring']['es-cl'] = "us-ring";
$text['opt-usring']['es-mx'] = "us-ring"; //copied from es-cl
$text['opt-usring']['fr-ca'] = "us-ring"; //copied from fr-fr
$text['opt-usring']['fr-fr'] = "us-ring";
$text['opt-usring']['he-il'] = "";
$text['opt-usring']['it-it'] = "us-ring";
$text['opt-usring']['nl-nl'] = "";
$text['opt-usring']['pl-pl'] = "";
$text['opt-usring']['pt-br'] = "us-ring"; //copied from pt-pt
$text['opt-usring']['pt-pt'] = "us-ring";
$text['opt-usring']['ro-ro'] = "";
$text['opt-usring']['ru-ru'] = "us-ring";
$text['opt-usring']['sv-se'] = "us-ring";
$text['opt-usring']['uk-ua'] = "";
$text['label-false']['en-us'] = "false";
$text['label-false']['es-cl'] = "falso";
$text['label-false']['pt-pt'] = "não";
$text['label-false']['pt-pt'] = "não";
$text['label-false']['fr-fr'] = "non";
$text['opt-frring']['en-us'] = "fr-ring";
$text['opt-frring']['ar-eg'] = "";
$text['opt-frring']['de-at'] = "fr-ring"; //copied from de-de
$text['opt-frring']['de-ch'] = "fr-ring"; //copied from de-de
$text['opt-frring']['de-de'] = "fr-ring";
$text['opt-frring']['es-cl'] = "fr-ring";
$text['opt-frring']['es-mx'] = "fr-ring"; //copied from es-cl
$text['opt-frring']['fr-ca'] = "fr-ring"; //copied from fr-fr
$text['opt-frring']['fr-fr'] = "fr-ring";
$text['opt-frring']['he-il'] = "";
$text['opt-frring']['it-it'] = "fr-ring";
$text['opt-frring']['nl-nl'] = "";
$text['opt-frring']['pl-pl'] = "";
$text['opt-frring']['pt-br'] = "fr-ring"; //copied from pt-pt
$text['opt-frring']['pt-pt'] = "fr-ring";
$text['opt-frring']['ro-ro'] = "";
$text['opt-frring']['ru-ru'] = "fr-ring";
$text['opt-frring']['sv-se'] = "fr-ring";
$text['opt-frring']['uk-ua'] = "";
$text['desc-record']['en-us'] = "Select whether to record the call.";
$text['desc-record']['es-cl'] = "Indique si desea grabar la llamada.";
$text['desc-record']['pt-pt'] = "Escolha se quer gravar chamada.";
$text['desc-record']['pt-br'] = "Escolha se quer gravar chamada.";
$text['desc-record']['fr-fr'] = "Choisir si vous voulez enregistrer l'appel.";
$text['opt-ptring']['en-us'] = "pt-ring";
$text['opt-ptring']['ar-eg'] = "";
$text['opt-ptring']['de-at'] = "pt-ring"; //copied from de-de
$text['opt-ptring']['de-ch'] = "pt-ring"; //copied from de-de
$text['opt-ptring']['de-de'] = "pt-ring";
$text['opt-ptring']['es-cl'] = "pt-ring";
$text['opt-ptring']['es-mx'] = "pt-ring"; //copied from es-cl
$text['opt-ptring']['fr-ca'] = "pt-ring"; //copied from fr-fr
$text['opt-ptring']['fr-fr'] = "pt-ring";
$text['opt-ptring']['he-il'] = "";
$text['opt-ptring']['it-it'] = "pt-ring";
$text['opt-ptring']['nl-nl'] = "";
$text['opt-ptring']['pl-pl'] = "";
$text['opt-ptring']['pt-br'] = "pt-ring"; //copied from pt-pt
$text['opt-ptring']['pt-pt'] = "pt-ring";
$text['opt-ptring']['ro-ro'] = "";
$text['opt-ptring']['ru-ru'] = "pt-ring";
$text['opt-ptring']['sv-se'] = "pt-ring";
$text['opt-ptring']['uk-ua'] = "";
$text['label-ringback']['en-us'] = "Ring Back";
$text['label-ringback']['es-cl'] = "Regresar tono";
$text['label-ringback']['pt-pt'] = "Ring Back";
$text['label-ringback']['pt-br'] = "Tocar de volta (Ring Back)";
$text['label-ringback']['fr-fr'] = "Retour de sonnerie";
$text['opt-ukring']['en-us'] = "uk-ring";
$text['opt-ukring']['ar-eg'] = "";
$text['opt-ukring']['de-at'] = "uk-ring"; //copied from de-de
$text['opt-ukring']['de-ch'] = "uk-ring"; //copied from de-de
$text['opt-ukring']['de-de'] = "uk-ring";
$text['opt-ukring']['es-cl'] = "uk-ring";
$text['opt-ukring']['es-mx'] = "uk-ring"; //copied from es-cl
$text['opt-ukring']['fr-ca'] = "uk-ring"; //copied from fr-fr
$text['opt-ukring']['fr-fr'] = "uk-ring";
$text['opt-ukring']['he-il'] = "";
$text['opt-ukring']['it-it'] = "uk-ring";
$text['opt-ukring']['nl-nl'] = "";
$text['opt-ukring']['pl-pl'] = "";
$text['opt-ukring']['pt-br'] = "uk-ring"; //copied from pt-pt
$text['opt-ukring']['pt-pt'] = "uk-ring";
$text['opt-ukring']['ro-ro'] = "";
$text['opt-ukring']['ru-ru'] = "uk-ring";
$text['opt-ukring']['sv-se'] = "uk-ring";
$text['opt-ukring']['uk-ua'] = "";
$text['desc-ringback']['en-us'] = "Defines what you will hear while destination is being called. The choices are music (music on hold) ring (ring tone).";
$text['desc-ringback']['es-cl'] = "Defina qué desea escuchar mientras se llama al destinatario. Las opciones son música (música en espera) o tono de marcado";
$text['desc-ringback']['pt-pt'] = "Definir o que deseja ouvir enquanto o destino não atende. As escolhas são música (música em espera) ring (tom de chamada).";
$text['desc-ringback']['pt-br'] = "Definir o que deseja escutar enquanto o destino não atende. As escolhas são música (música em espera) ring (tom de chamada).";
$text['desc-ringback']['fr-fr'] = "Défini ce vous entendrez pendant que la destination sera appelée. Les choix sont musique (musique de garde) sonnerie.";
$text['opt-rsring']['en-us'] = "rs-ring";
$text['opt-rsring']['ar-eg'] = "";
$text['opt-rsring']['de-at'] = "rs-ring"; //copied from de-de
$text['opt-rsring']['de-ch'] = "rs-ring"; //copied from de-de
$text['opt-rsring']['de-de'] = "rs-ring";
$text['opt-rsring']['es-cl'] = "rs-ring";
$text['opt-rsring']['es-mx'] = "rs-ring"; //copied from es-cl
$text['opt-rsring']['fr-ca'] = "rs-ring"; //copied from fr-fr
$text['opt-rsring']['fr-fr'] = "rs-ring";
$text['opt-rsring']['he-il'] = "";
$text['opt-rsring']['it-it'] = "rs-ring";
$text['opt-rsring']['nl-nl'] = "";
$text['opt-rsring']['pl-pl'] = "";
$text['opt-rsring']['pt-br'] = "rs-ring"; //copied from pt-pt
$text['opt-rsring']['pt-pt'] = "rs-ring";
$text['opt-rsring']['ro-ro'] = "";
$text['opt-rsring']['ru-ru'] = "rs-ring";
$text['opt-rsring']['sv-se'] = "rs-ring";
$text['opt-rsring']['uk-ua'] = "";
$text['opt-usring']['en-us'] = "us-ring";
$text['opt-usring']['es-cl'] = "us-ring";
$text['opt-usring']['pt-pt'] = "us-ring";
$text['opt-usring']['pt-br'] = "us-ring";
$text['opt-usring']['fr-fr'] = "us-ring";
$text['opt-ruring']['en-us'] = "ru-ring";
$text['opt-ruring']['ar-eg'] = "";
$text['opt-ruring']['de-at'] = "ru-ring"; //copied from de-de
$text['opt-ruring']['de-ch'] = "ru-ring"; //copied from de-de
$text['opt-ruring']['de-de'] = "ru-ring";
$text['opt-ruring']['es-cl'] = "ru-ring";
$text['opt-ruring']['es-mx'] = "ru-ring"; //copied from es-cl
$text['opt-ruring']['fr-ca'] = "ru-ring"; //copied from fr-fr
$text['opt-ruring']['fr-fr'] = "ru-ring";
$text['opt-ruring']['he-il'] = "";
$text['opt-ruring']['it-it'] = "ru-ring";
$text['opt-ruring']['nl-nl'] = "";
$text['opt-ruring']['pl-pl'] = "";
$text['opt-ruring']['pt-br'] = "ru-ring"; //copied from pt-pt
$text['opt-ruring']['pt-pt'] = "ru-ring";
$text['opt-ruring']['ro-ro'] = "";
$text['opt-ruring']['ru-ru'] = "ru-ring";
$text['opt-ruring']['sv-se'] = "ru-ring";
$text['opt-ruring']['uk-ua'] = "";
$text['opt-frring']['en-us'] = "fr-ring";
$text['opt-frring']['es-cl'] = "fr-ring";
$text['opt-frring']['pt-pt'] = "fr-ring";
$text['opt-frring']['pt-br'] = "fr-ring";
$text['opt-frring']['fr-fr'] = "fr-ring";
$text['opt-itring']['en-us'] = "it-ring";
$text['opt-itring']['ar-eg'] = "";
$text['opt-itring']['de-at'] = "it-ring"; //copied from de-de
$text['opt-itring']['de-ch'] = "it-ring"; //copied from de-de
$text['opt-itring']['de-de'] = "it-ring";
$text['opt-itring']['es-cl'] = "it-ring";
$text['opt-itring']['es-mx'] = "it-ring"; //copied from es-cl
$text['opt-itring']['fr-ca'] = "it-ring"; //copied from fr-fr
$text['opt-itring']['fr-fr'] = "it-ring";
$text['opt-itring']['he-il'] = "";
$text['opt-itring']['it-it'] = "it-ring";
$text['opt-itring']['nl-nl'] = "";
$text['opt-itring']['pl-pl'] = "";
$text['opt-itring']['pt-br'] = "it-ring"; //copied from pt-pt
$text['opt-itring']['pt-pt'] = "it-ring";
$text['opt-itring']['ro-ro'] = "";
$text['opt-itring']['ru-ru'] = "it-ring";
$text['opt-itring']['sv-se'] = "it-ring";
$text['opt-itring']['uk-ua'] = "";
$text['opt-ptring']['en-us'] = "pt-ring";
$text['opt-ptring']['es-cl'] = "pt-ring";
$text['opt-ptring']['pt-pt'] = "pt-ring";
$text['opt-ptring']['pt-br'] = "pt-ring";
$text['opt-ptring']['fr-fr'] = "pt-ring";
$text['opt-dering']['en-us'] = "de-ring";
$text['opt-dering']['ar-eg'] = "";
$text['opt-dering']['de-at'] = "de-ring"; //copied from de-de
$text['opt-dering']['de-ch'] = "de-ring"; //copied from de-de
$text['opt-dering']['de-de'] = "de-ring";
$text['opt-dering']['es-cl'] = "de-ring";
$text['opt-dering']['es-mx'] = "de-ring"; //copied from es-cl
$text['opt-dering']['fr-ca'] = "de-ring"; //copied from fr-fr
$text['opt-dering']['fr-fr'] = "de-ring";
$text['opt-dering']['he-il'] = "";
$text['opt-dering']['it-it'] = "de-ring";
$text['opt-dering']['nl-nl'] = "";
$text['opt-dering']['pl-pl'] = "";
$text['opt-dering']['pt-br'] = "de-ring"; //copied from pt-pt
$text['opt-dering']['pt-pt'] = "de-ring";
$text['opt-dering']['ro-ro'] = "";
$text['opt-dering']['ru-ru'] = "de-ring";
$text['opt-dering']['sv-se'] = "de-ring";
$text['opt-dering']['uk-ua'] = "";
$text['opt-ukring']['en-us'] = "uk-ring";
$text['opt-ukring']['es-cl'] = "uk-ring";
$text['opt-ukring']['pt-pt'] = "uk-ring";
$text['opt-ukring']['pt-br'] = "uk-ring";
$text['opt-ukring']['fr-fr'] = "uk-ring";
$text['opt-moh']['en-us'] = "music";
$text['opt-moh']['ar-eg'] = "";
$text['opt-moh']['de-at'] = "Musik"; //copied from de-de
$text['opt-moh']['de-ch'] = "Musik"; //copied from de-de
$text['opt-moh']['de-de'] = "Musik";
$text['opt-moh']['es-cl'] = "musica";
$text['opt-moh']['es-mx'] = "musica"; //copied from es-cl
$text['opt-moh']['fr-ca'] = "musique"; //copied from fr-fr
$text['opt-moh']['fr-fr'] = "musique";
$text['opt-moh']['he-il'] = "";
$text['opt-moh']['it-it'] = "musica";
$text['opt-moh']['nl-nl'] = "";
$text['opt-moh']['pl-pl'] = "";
$text['opt-moh']['pt-br'] = "música"; //copied from pt-pt
$text['opt-moh']['pt-pt'] = "música";
$text['opt-moh']['ro-ro'] = "";
$text['opt-moh']['ru-ru'] = "music";
$text['opt-moh']['sv-se'] = "musik";
$text['opt-moh']['uk-ua'] = "";
$text['opt-rsring']['en-us'] = "rs-ring";
$text['opt-rsring']['es-cl'] = "rs-ring";
$text['opt-rsring']['pt-pt'] = "rs-ring";
$text['opt-rsring']['pt-br'] = "rs-ring";
$text['opt-rsring']['fr-fr'] = "rs-ring";
$text['opt-itring']['en-us'] = "it-ring";
$text['opt-itring']['es-cl'] = "it-ring";
$text['opt-itring']['pt-pt'] = "it-ring";
$text['opt-itring']['pt-br'] = "it-ring";
$text['opt-itring']['fr-fr'] = "it-ring";
$text['opt-moh']['en-us'] = "music";
$text['opt-moh']['es-cl'] = "musica";
$text['opt-moh']['pt-pt'] = "música";
$text['opt-moh']['pt-br'] = "música";
$text['opt-moh']['fr-fr'] = "musique";
$text['button-call']['en-us'] = "Call";
$text['button-call']['es-cl'] = "Llamar";
$text['button-call']['pt-pt'] = "Chamada";
$text['button-call']['pt-br'] = "Chamada";
$text['button-call']['fr-fr'] = "appel";
$text['button-call']['en-us'] = "Call";
$text['button-call']['ar-eg'] = "";
$text['button-call']['de-at'] = "Anrufen"; //copied from de-de
$text['button-call']['de-ch'] = "Anrufen"; //copied from de-de
$text['button-call']['de-de'] = "Anrufen";
$text['button-call']['es-cl'] = "Llamar";
$text['button-call']['es-mx'] = "Llamar"; //copied from es-cl
$text['button-call']['fr-ca'] = "appel"; //copied from fr-fr
$text['button-call']['fr-fr'] = "appel";
$text['button-call']['he-il'] = "";
$text['button-call']['it-it'] = "Chiama";
$text['button-call']['nl-nl'] = "";
$text['button-call']['pl-pl'] = "";
$text['button-call']['pt-br'] = "Chamada"; //copied from pt-pt
$text['button-call']['pt-pt'] = "Chamada";
$text['button-call']['ro-ro'] = "";
$text['button-call']['ru-ru'] = "Call";
$text['button-call']['sv-se'] = "Ring";
$text['button-call']['uk-ua'] = "";
?>
+24 -14
View File
@@ -1,18 +1,28 @@
<?php
$apps[$x]['menu'][0]['title']['en-us'] = "Click to Call";
$apps[$x]['menu'][0]['title']['es-cl'] = "Pulse para Llamar";
$apps[$x]['menu'][0]['title']['de-de'] = "";
$apps[$x]['menu'][0]['title']['de-ch'] = "";
$apps[$x]['menu'][0]['title']['de-at'] = "";
$apps[$x]['menu'][0]['title']['fr-fr'] = "Cliquez pour Appeller";
$apps[$x]['menu'][0]['title']['fr-ca'] = "";
$apps[$x]['menu'][0]['title']['fr-ch'] = "";
$apps[$x]['menu'][0]['title']['pt-pt'] = "Clicar para Chamadas";
$apps[$x]['menu'][0]['title']['pt-br'] = "";
$apps[$x]['menu'][0]['uuid'] = "f862556f-9ddd-2697-fdf4-bed08ec63aa5";
$apps[$x]['menu'][0]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
$apps[$x]['menu'][0]['category'] = "internal";
$apps[$x]['menu'][0]['path'] = "/app/click_to_call/click_to_call.php";
$y=0;
$apps[$x]['menu'][$y]['title']['en-us'] = "Click to Call";
$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
$apps[$x]['menu'][$y]['title']['de-at'] = "Click to Call";
$apps[$x]['menu'][$y]['title']['de-ch'] = "";
$apps[$x]['menu'][$y]['title']['de-de'] = "Click to Call";
$apps[$x]['menu'][$y]['title']['es-cl'] = "Pulse para Llamar";
$apps[$x]['menu'][$y]['title']['es-mx'] = "";
$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
$apps[$x]['menu'][$y]['title']['fr-fr'] = "Cliquez pour Appeller";
$apps[$x]['menu'][$y]['title']['he-il'] = "";
$apps[$x]['menu'][$y]['title']['it-it'] = "Clicca e Chiama";
$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
$apps[$x]['menu'][$y]['title']['pl-pl'] = "";
$apps[$x]['menu'][$y]['title']['pt-br'] = "";
$apps[$x]['menu'][$y]['title']['pt-pt'] = "Clicar para Chamadas";
$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Вызов по клику";
$apps[$x]['menu'][$y]['title']['sv-se'] = "";
$apps[$x]['menu'][$y]['title']['uk-ua'] = "";
$apps[$x]['menu'][$y]['uuid'] = "f862556f-9ddd-2697-fdf4-bed08ec63aa5";
$apps[$x]['menu'][$y]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
$apps[$x]['menu'][$y]['category'] = "internal";
$apps[$x]['menu'][$y]['path'] = "/app/click_to_call/click_to_call.php";
?>
+7
View File
@@ -81,6 +81,7 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
case "pt-ring": $ringback_value = "\'%(1000,5000,400.0,0.0)\'"; break;
case "rs-ring": $ringback_value = "\'%(1000,4000,425.0,0.0)\'"; break;
case "it-ring": $ringback_value = "\'%(1000,4000,425.0,0.0)\'"; break;
case "de-ring": $ringback_value = "\'%(1000,4000,425.0,0.0)\'"; break;
case "us-ring":
default:
$ringback = 'us-ring';
@@ -344,6 +345,12 @@ if (is_array($_REQUEST) && !empty($_REQUEST['src']) && !empty($_REQUEST['dest'])
else {
echo " <option value='rs-ring'>".$text['opt-rsring']."</option>\n";
}
if ($ringback == "ru-ring") {
echo " <option value='ru-ring' selected='selected'>".$text['opt-ruring']."</option>\n";
}
else {
echo " <option value='ru-ring'>".$text['opt-ruring']."</option>\n";
}
if ($ringback == "it-ring") {
echo " <option value='it-ring' selected='selected'>".$text['opt-itring']."</option>\n";
}
+34 -61
View File
@@ -5,22 +5,31 @@
$apps[$x]['uuid'] = "8d083f5a-f726-42a8-9ffa-8d28f848f10e";
$apps[$x]['category'] = "Switch";
$apps[$x]['subcategory'] = "";
$apps[$x]['version'] = "";
$apps[$x]['version'] = "1.0";
$apps[$x]['license'] = "Mozilla Public License 1.1";
$apps[$x]['url'] = "http://www.fusionpbx.com";
$apps[$x]['description']['en-us'] = "Conferences Centers allows one or more audio and video conference rooms.";
$apps[$x]['description']['es-cl'] = "El Centro de Conferencia permite una o más salas de conferencia para audio y video.";
$apps[$x]['description']['de-de'] = "";
$apps[$x]['description']['ar-eg'] = "";
$apps[$x]['description']['de-at'] = "Konferenzzentralen stellen ein oder mehrere Audio- und Videokonferenzräume bereit.";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-at'] = "";
$apps[$x]['description']['fr-fr'] = "Centre de Conférences permet une ou plus conferences audio ou vidéo.";
$apps[$x]['description']['de-de'] = "Konferenzzentralen stellen ein oder mehrere Audio- und Videokonferenzräume bereit.";
$apps[$x]['description']['es-cl'] = "El Centro de Conferencia permite una o más salas de conferencia para audio y video.";
$apps[$x]['description']['es-mx'] = "";
$apps[$x]['description']['fr-ca'] = "";
$apps[$x]['description']['fr-ch'] = "";
$apps[$x]['description']['pt-pt'] = "O centro de conferências permite gerir uma ou mais salas de conferência, audio e vídeo.";
$apps[$x]['description']['fr-fr'] = "Centre de Conférences permet une ou plus conferences audio ou vidéo.";
$apps[$x]['description']['he-il'] = "";
$apps[$x]['description']['it-it'] = "";
$apps[$x]['description']['nl-nl'] = "";
$apps[$x]['description']['pl-pl'] = "";
$apps[$x]['description']['pt-br'] = "O centro de conferências permite gerir uma ou mais salas de conferência de audio e vídeo.";
$apps[$x]['description']['pt-pt'] = "O centro de conferências permite gerir uma ou mais salas de conferência, audio e vídeo.";
$apps[$x]['description']['ro-ro'] = "";
$apps[$x]['description']['ru-ru'] = "";
$apps[$x]['description']['sv-se'] = "";
$apps[$x]['description']['uk-ua'] = "";
//destination details
$y = 0;
$y=0;
$apps[$x]['destinations'][$y]['type'] = "sql";
$apps[$x]['destinations'][$y]['label'] = "conference_centers";
$apps[$x]['destinations'][$y]['name'] = "conference_centers";
@@ -34,7 +43,7 @@
$apps[$x]['destinations'][$y]['select_label'] = "\${destination} \${name} \${description}";
//permission details
$y = 0;
$y=0;
$apps[$x]['permissions'][$y]['name'] = "conference_center_view";
$apps[$x]['permissions'][$y]['menu']['uuid'] = "95f88726-4706-43f0-b52b-9504a0b8046f";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
@@ -167,9 +176,10 @@
$apps[$x]['permissions'][$y]['groups'][] = "admin";
//schema details
$y = 0; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = "v_conference_centers";
$y=0;
$apps[$x]['db'][$y]['table']['name'] = "v_conference_centers";
$apps[$x]['db'][$y]['table']['parent'] = "";
$z=0;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
@@ -196,36 +206,31 @@
$apps[$x]['db'][$y]['fields'][$z]['name'] = "conference_center_name";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the conference center name.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com o nome do centro de conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "conference_center_extension";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the conference center extension number.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com o ramal do centro de conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "conference_center_pin_length";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the pin length.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Informe o tamanho do código PIN.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "conference_center_greeting";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the conference greeting.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com as boas-vindas da conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "conference_center_description";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the center description.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com a descrição do centro de conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "conference_center_enabled";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enable or disable the conference center.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Habilite ou desabilite o centro de conferência.";
$y = 1; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = "v_conference_rooms";
$y++;
$apps[$x]['db'][$y]['table']['name'] = "v_conference_rooms";
$apps[$x]['db'][$y]['table']['parent'] = "";
$z=0;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
@@ -248,7 +253,6 @@
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_conference_centers";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "conference_center_uuid";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Conference UUID";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Identificador universal único do centro de conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "meeting_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
@@ -258,84 +262,68 @@
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_meetings";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "meeting_uuid";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Meeting UUID";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Identificador universal único do encontro/reunião.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "conference_room_name";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the conference room name.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Entre com o nome da sala de conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "profile";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select the conference profile.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Selecione o perfil da conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "record";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "recording";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select whether to record the conference.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Selecione se deseja gravar a conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "max_members";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Limit number of people in the conference.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Número máximo de pessoas na conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "start_datetime";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Open the conference room at the start time.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Abra a sala de conferência na hora de início.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "stop_datetime";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Close the conference room at the stop time.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Fecha a sala de conferência na hora do término.";
$z++;
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "wait_mod";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Wait for the moderator to join before starting the conference.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Esperar pelo moderador se juntar antes de começar a conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "announce";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Introduce participants as they enter the conference.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Anunciar os participantes a medida que entram na conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "sounds";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Play sound when someone enters or exists the conference.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Tocar um som quando alguém entrar ou sair da conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "mute";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Mute participants on entering the conference.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Silenciar participantes ao entrar na conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "created";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Date when the conference was created.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Data de quando a conferência foi criada.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "created_by";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "The user that created the conference session.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Usuário que criou está conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "enabled";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select to enable or disable the session.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Habilitar ou desabilitar a sessão de conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "description";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Description.for the conference session.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Descrição para a sessão de conferência.";
$z++;
$y = 2; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = "v_conference_sessions";
$y++;
$apps[$x]['db'][$y]['table']['name'] = "v_conference_sessions";
$apps[$x]['db'][$y]['table']['parent'] = "";
$z=0;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
@@ -358,32 +346,27 @@
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_meetings";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "meeting_uuid";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "meeting_uuid";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "meeting_uuid (identificador de reunião)";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "profile";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select the conference profile.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Selecione o perfil da conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "recording";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Conference Recording";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Gravações da conferência.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "start_epoch";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "start_epoch";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Início do período.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "end_epoch";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "end_epoch";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Fim do período.";
$z++;
$y = 3; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = "v_conference_session_details";
$y++;
$apps[$x]['db'][$y]['table']['name'] = "v_conference_session_details";
$apps[$x]['db'][$y]['table']['parent'] = "v_conference_sessions";
$z=0;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
@@ -414,49 +397,39 @@
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_meetings";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "meeting_uuid";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "meeting_uuid";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "meeting_uuid";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "username";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Extension number.";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Ramal.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "caller_id_name";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "caller_id_name";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Nome da pessoa que liga";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "caller_id_number";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "caller_id_number";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Nome da pessoa que liga";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Call UUID";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Identificador único da chamada.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "moderator";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Moderator";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Moderador";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "network_addr";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "network address";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Endereço de rede";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "start_epoch";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "start_epoch";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Início do período";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "end_epoch";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "end_epoch";
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = "Fim do período";
$z++;
?>
File diff suppressed because it is too large Load Diff
+28 -17
View File
@@ -1,20 +1,31 @@
<?php
$apps[$x]['menu'][0]['title']['en-us'] = "Conference Center";
$apps[$x]['menu'][0]['title']['es-cl'] = "Cent. de Conferencias";
$apps[$x]['menu'][0]['title']['fr-fr'] = "Centre de Conférences";
$apps[$x]['menu'][0]['title']['pt-pt'] = "Conferencias";
$apps[$x]['menu'][0]['title']['pt-br'] = "Centro de Conferência";
$apps[$x]['menu'][0]['title']['pl'] = "Centrum Konferencyjne";
$apps[$x]['menu'][0]['title']['sv-se'] = "Konferenscenter";
$apps[$x]['menu'][0]['title']['uk'] = "Конференц-центр";
$apps[$x]['menu'][0]['title']['de-at'] = "Konferenz Zentrale";
$apps[$x]['menu'][0]['uuid'] = "95f88726-4706-43f0-b52b-9504a0b8046f";
$apps[$x]['menu'][0]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
$apps[$x]['menu'][0]['category'] = "internal";
$apps[$x]['menu'][0]['path'] = "/app/conference_centers/conference_centers.php";
$apps[$x]['menu'][0]['groups'][] = "superadmin";
$apps[$x]['menu'][0]['groups'][] = "admin";
$apps[$x]['menu'][0]['groups'][] = "user";
$y=0;
$apps[$x]['menu'][$y]['title']['en-us'] = "Conference Centers";
$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
$apps[$x]['menu'][$y]['title']['de-at'] = "Konferenz Zentrale";
$apps[$x]['menu'][$y]['title']['de-ch'] = "";
$apps[$x]['menu'][$y]['title']['de-de'] = "Konferenz Zentrale";
$apps[$x]['menu'][$y]['title']['es-cl'] = "Cent. de Conferencias";
$apps[$x]['menu'][$y]['title']['es-mx'] = "";
$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
$apps[$x]['menu'][$y]['title']['fr-fr'] = "Centre de Conférences";
$apps[$x]['menu'][$y]['title']['he-il'] = "";
$apps[$x]['menu'][$y]['title']['it-it'] = "Centro Conferenze";
$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
$apps[$x]['menu'][$y]['title']['pl-pl'] = "Centrum Konferencyjne";
$apps[$x]['menu'][$y]['title']['pt-br'] = "Centro de Conferência";
$apps[$x]['menu'][$y]['title']['pt-pt'] = "Conferencias";
$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Конференц-центр";
$apps[$x]['menu'][$y]['title']['sv-se'] = "Konferenscenter";
$apps[$x]['menu'][$y]['title']['uk-ua'] = "Конференц-центр";
$apps[$x]['menu'][$y]['uuid'] = "95f88726-4706-43f0-b52b-9504a0b8046f";
$apps[$x]['menu'][$y]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
$apps[$x]['menu'][$y]['category'] = "internal";
$apps[$x]['menu'][$y]['path'] = "/app/conference_centers/conference_centers.php";
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
$apps[$x]['menu'][$y]['groups'][] = "admin";
$apps[$x]['menu'][$y]['groups'][] = "user";
?>
?>
@@ -90,7 +90,7 @@ else {
}
//redirect the browser
$_SESSION["message"] = $text['message-delete'];
messages::add($text['message-delete']);
header("Location: conference_centers.php");
return;
+153 -201
View File
@@ -27,9 +27,9 @@
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
require_once "resources/check_auth.php";
if (permission_exists('conference_center_add') || permission_exists('conference_center_edit')) {
//access granted
}
@@ -52,30 +52,27 @@
}
//get http post variables and set them to php variables
if (count($_POST) > 0) {
if (is_array($_POST)) {
$conference_center_uuid = check_str($_POST["conference_center_uuid"]);
$dialplan_uuid = check_str($_POST["dialplan_uuid"]);
$conference_center_name = check_str($_POST["conference_center_name"]);
$conference_center_extension = check_str($_POST["conference_center_extension"]);
$conference_center_greeting = check_str($_POST["conference_center_greeting"]);
$conference_center_pin_length = check_str($_POST["conference_center_pin_length"]);
$conference_center_description = check_str($_POST["conference_center_description"]);
$conference_center_enabled = check_str($_POST["conference_center_enabled"]);
//sanitize the conference name
$conference_center_name = preg_replace("/[^A-Za-z0-9\- ]/", "", $conference_center_name);
$conference_center_name = str_replace(" ", "-", $conference_center_name);
$conference_center_description = check_str($_POST["conference_center_description"]);
}
//process user data
if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//process the user data and save it to the database
if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//get the id
//get the uuid from the POST
if ($action == "update") {
$conference_center_uuid = check_str($_POST["conference_center_uuid"]);
}
//check for all required data
$msg = '';
$msg = '';
//if (strlen($dialplan_uuid) == 0) { $msg .= "Please provide: Dialplan UUID<br>\n"; }
if (strlen($conference_center_name) == 0) { $msg .= "Please provide: Name<br>\n"; }
if (strlen($conference_center_extension) == 0) { $msg .= "Please provide: Extension<br>\n"; }
@@ -96,163 +93,118 @@
return;
}
//add or update the database
if ($_POST["persistformvar"] != "true") {
//set the domain_uuid
$_POST["domain_uuid"] = $_SESSION["domain_uuid"];
//add the conference_center_uuid
if (!isset($_POST["conference_center_uuid"])) {
$conference_center_uuid = uuid();
$_POST["conference_center_uuid"] = $conference_center_uuid;
}
//add the dialplan_uuid
if (!isset($_POST["dialplan_uuid"])) {
$dialplan_uuid = uuid();
$_POST["dialplan_uuid"] = $dialplan_uuid;
}
//build the xml dialplan
$dialplan_xml = "<extension name=\"".$conference_center_name."\" continue=\"\" uuid=\"".$dialplan_uuid."\">\n";
if ($conference_center_pin_length > 1 && $conference_center_pin_length < 4) {
$dialplan_xml .= " <condition field=\"destination_number\" expression=\"^(".$conference_center_extension.")(\d{".$conference_center_pin_length."})$\" break=\"on-true\">\n";
$dialplan_xml .= " <action application=\"set\" data=\"destination_number=$1\"/>\n";
$dialplan_xml .= " <action application=\"set\" data=\"pin_number=$2\"/>\n";
$dialplan_xml .= " <action application=\"lua\" data=\"app.lua conference_center\"/>\n";
$dialplan_xml .= " </condition>\n";
}
$dialplan_xml .= " <condition field=\"destination_number\" expression=\"^".$conference_center_extension."$\">\n";
$dialplan_xml .= " <action application=\"lua\" data=\"app.lua conference_center\"/>\n";
$dialplan_xml .= " </condition>\n";
$dialplan_xml .= "</extension>\n";
//build the dialplan array
$dialplan["domain_uuid"] = $_SESSION['domain_uuid'];
$dialplan["dialplan_uuid"] = $dialplan_uuid;
$dialplan["dialplan_name"] = $conference_center_name;
$dialplan["dialplan_number"] = $conference_center_extension;
$dialplan["dialplan_context"] = $_SESSION['context'];
$dialplan["dialplan_continue"] = "false";
$dialplan["dialplan_xml"] = $dialplan_xml;
$dialplan["dialplan_order"] = "333";
$dialplan["dialplan_enabled"] = $conference_center_enabled;
$dialplan["dialplan_description"] = $conference_center_description;
$dialplan["app_uuid"] = "b81412e8-7253-91f4-e48e-42fc2c9a38d9";
//prepare the array
$array['conference_centers'][] = $_POST;
$array['dialplans'][] = $dialplan;
//add the dialplan permission
$p = new permissions;
$p->add("dialplan_add", "temp");
$p->add("dialplan_edit", "temp");
//save to the data
$database = new database;
$database->app_name = "conference_centers";
$database->app_uuid = "b81412e8-7253-91f4-e48e-42fc2c9a38d9";
if (strlen($conference_center_uuid) > 0) {
$database->uuid($conference_center_uuid);
}
$database->save($array);
$message = $database->message;
//remove the temporary permission
$p->delete("dialplan_add", "temp");
$p->delete("dialplan_edit", "temp");
//debug information
//echo "<pre>\n";
//print_r($message);
//echo "</pre>\n";
//exit;
//syncrhonize configuration
save_dialplan_xml();
//apply settings reminder
$_SESSION["reload_xml"] = true;
//clear the cache
$cache = new cache;
$cache->delete("dialplan:".$_SESSION["context"]);
//redirect the user
if (isset($action)) {
if ($action == "add") {
//prepare the uuids
$conference_center_uuid = uuid();
$dialplan_uuid = uuid();
//add the conference
$sql = "insert into v_conference_centers ";
$sql .= "(";
$sql .= "domain_uuid, ";
$sql .= "conference_center_uuid, ";
$sql .= "dialplan_uuid, ";
$sql .= "conference_center_name, ";
$sql .= "conference_center_extension, ";
$sql .= "conference_center_pin_length, ";
$sql .= "conference_center_greeting, ";
$sql .= "conference_center_description, ";
$sql .= "conference_center_enabled ";
$sql .= ")";
$sql .= "values ";
$sql .= "(";
$sql .= "'$domain_uuid', ";
$sql .= "'$conference_center_uuid', ";
$sql .= "'$dialplan_uuid', ";
$sql .= "'$conference_center_name', ";
$sql .= "'$conference_center_extension', ";
$sql .= "'$conference_center_pin_length', ";
$sql .= "'$conference_center_greeting', ";
$sql .= "'$conference_center_description', ";
$sql .= "'$conference_center_enabled' ";
$sql .= ")";
$db->exec(check_sql($sql));
unset($sql);
//create the dialplan entry
$dialplan_name = $conference_center_name;
$dialplan_order ='333';
$dialplan_context = $_SESSION['context'];
$dialplan_enabled = 'true';
$dialplan_description = $conference_center_description;
$app_uuid = 'b81412e8-7253-91f4-e48e-42fc2c9a38d9';
dialplan_add($_SESSION['domain_uuid'], $dialplan_uuid, $dialplan_name, $dialplan_order, $dialplan_context, $dialplan_enabled, $dialplan_description, $app_uuid);
//<condition destination_number="500" />
$dialplan_detail_tag = 'condition'; //condition, action, antiaction
$dialplan_detail_type = 'destination_number';
$dialplan_detail_data = '^'.$conference_center_extension.'$';
$dialplan_detail_order = '010';
$dialplan_detail_group = '2';
dialplan_detail_add($_SESSION['domain_uuid'], $dialplan_uuid, $dialplan_detail_tag, $dialplan_detail_order, $dialplan_detail_group, $dialplan_detail_type, $dialplan_detail_data);
//<action application="lua" />
$dialplan_detail_tag = 'action'; //condition, action, antiaction
$dialplan_detail_type = 'lua';
$dialplan_detail_data = 'app.lua conference_center';
$dialplan_detail_order = '020';
$dialplan_detail_group = '2';
dialplan_detail_add($_SESSION['domain_uuid'], $dialplan_uuid, $dialplan_detail_tag, $dialplan_detail_order, $dialplan_detail_group, $dialplan_detail_type, $dialplan_detail_data);
//save the xml
save_dialplan_xml();
$_SESSION["message"] = $text['message-add'];
header("Location: conference_centers.php");
return;
} //if ($action == "add")
messages::add($text['message-add']);
}
if ($action == "update") {
//update the conference center extension
$sql = "update v_conference_centers set ";
$sql .= "conference_center_name = '$conference_center_name', ";
$sql .= "conference_center_extension = '$conference_center_extension', ";
$sql .= "conference_center_pin_length = '$conference_center_pin_length', ";
$sql .= "conference_center_greeting = '$conference_center_greeting', ";
$sql .= "conference_center_description = '$conference_center_description', ";
$sql .= "conference_center_enabled = '$conference_center_enabled' ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and conference_center_uuid = '$conference_center_uuid'";
$db->exec(check_sql($sql));
unset($sql);
//udpate the conference center dialplan
$sql = "update v_dialplans set ";
$sql .= "dialplan_name = '$conference_center_name', ";
if (strlen($dialplan_order) > 0) {
$sql .= "dialplan_order = '333', ";
}
$sql .= "dialplan_context = '".$_SESSION['context']."', ";
$sql .= "dialplan_enabled = 'true', ";
$sql .= "dialplan_description = '$conference_center_description' ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "and dialplan_uuid = '$dialplan_uuid' ";
$db->query($sql);
unset($sql);
//update dialplan detail condition
$sql = "update v_dialplan_details set ";
$sql .= "dialplan_detail_data = '^".$conference_center_extension."$' ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "and dialplan_detail_tag = 'condition' ";
$sql .= "and dialplan_detail_type = 'destination_number' ";
$sql .= "and dialplan_uuid = '$dialplan_uuid' ";
$db->query($sql);
unset($sql);
//update dialplan detail action
$dialplan_detail_type = 'lua';
$dialplan_detail_data = 'app.lua conference_center';
$sql = "update v_dialplan_details set ";
$sql .= "dialplan_detail_type = '".$dialplan_detail_type."', ";
$sql .= "dialplan_detail_data = '".$dialplan_detail_data."' ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "and dialplan_detail_tag = 'action' ";
$sql .= "and dialplan_detail_type = 'lua' ";
$sql .= "and dialplan_uuid = '$dialplan_uuid' ";
$db->query($sql);
//syncrhonize configuration
save_dialplan_xml();
//apply settings reminder
$_SESSION["reload_xml"] = true;
//clear the cache
$cache = new cache;
$cache->delete("dialplan:".$_SESSION["context"]);
//redirect the browser
$_SESSION["message"] = $text['message-update'];
header("Location: conference_centers.php");
return;
} //if ($action == "update")
} //if ($_POST["persistformvar"] != "true")
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
//function to show the list of sound files
// moved to functions.php
messages::add($text['message-update']);
}
header("Location: conference_centers.php");
return;
}
} //(is_array($_POST) && strlen($_POST["persistformvar"]) == 0)
//pre-populate the form
if (count($_GET)>0 && $_POST["persistformvar"] != "true") {
$conference_center_uuid = $_GET["id"];
if (is_array($_GET) && $_POST["persistformvar"] != "true") {
$conference_center_uuid = check_str($_GET["id"]);
$sql = "select * from v_conference_centers ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and conference_center_uuid = '$conference_center_uuid' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
foreach ($result as &$row) {
$conference_center_uuid = $row["conference_center_uuid"];
$dialplan_uuid = $row["dialplan_uuid"];
$conference_center_name = $row["conference_center_name"];
$conference_center_greeting = $row["conference_center_greeting"];
$conference_center_extension = $row["conference_center_extension"];
$conference_center_greeting = $row["conference_center_greeting"];
$conference_center_pin_length = $row["conference_center_pin_length"];
$conference_center_order = $row["conference_center_order"];
$conference_center_description = $row["conference_center_description"];
$conference_center_enabled = $row["conference_center_enabled"];
$conference_center_name = str_replace("-", " ", $conference_center_name);
$conference_center_description = $row["conference_center_description"];
}
unset ($prep_statement);
}
@@ -271,60 +223,62 @@
//get the phrases
$sql = "select * from v_phrases ";
$sql .= "where (domain_uuid = '".$domain_uuid."' or domain_uuid is null) ";
$sql .= "where (domain_uuid = '".$_SESSION["domain_uuid"]."' or domain_uuid is null) ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$phrases = $prep_statement->fetchAll(PDO::FETCH_NAMED);
//get the streams
$sql = "select * from v_streams ";
$sql .= "where (domain_uuid = '".$_SESSION["domain_uuid"]."' or domain_uuid is null) ";
$sql .= "and stream_enabled = 'true' ";
$sql .= "order by stream_name asc ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$streams = $prep_statement->fetchAll(PDO::FETCH_NAMED);
//show the header
require_once "resources/header.php";
//show the content
echo "<form method='post' name='frm' action=''>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td align='left' width='30%' nowrap='nowrap' valign='top'><b>".$text['title-conference_center']."</b></td>\n";
echo "<td width='70%' align='right' valign='top'>\n";
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='conference_centers.php'\" value='".$text['button-back']."'>\n";
if (permission_exists('conference_active_advanced_view')) {
echo " <input type='button' class='btn' name='' alt='".$text['button-view']."' onclick=\"window.location='".PROJECT_PATH."/app/conferences_active/conferences_active.php'\" value='".$text['button-view']."'>\n";
}
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
echo "</td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "<br />";
echo $text['description-conference_center']."\n";
echo "<br /><br />\n";
echo "<form name='frm' id='frm' method='post' action=''>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td align='left' width='30%' nowrap='nowrap' valign='top'><b>".$text['title-conference_center']."</b><br><br></td>\n";
echo "<td width='70%' align='right' valign='top'>\n";
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='conference_centers.php'\" value='".$text['button-back']."'>";
echo " <input type='submit' class='btn' value='".$text['button-save']."'>";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-name']."\n";
echo " ".$text['label-conference_center_name']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='conference_center_name' maxlength='255' value=\"$conference_center_name\">\n";
echo " <br />\n";
echo " ".$text['description-name']."\n";
echo "<br />\n";
echo $text['description-conference_center_name']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-extension']."\n";
echo " ".$text['label-conference_center_extension']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='conference_center_extension' maxlength='255' value=\"$conference_center_extension\">\n";
echo " <br />\n";
echo " ".$text['description-extension']."\n";
echo "<br />\n";
echo $text['description-conference_center_extension']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-greeting']."\n";
echo " ".$text['label-conference_center_greeting']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
//echo " <input class='formfld' type='text' name='conference_center_greeting' maxlength='255' value=\"$conference_center_greeting\">\n";
if (permission_exists('conference_center_add') || permission_exists('conference_center_edit')) {
echo "<script>\n";
echo "var Objs;\n";
@@ -356,14 +310,12 @@
echo "</script>\n";
echo "\n";
}
echo " <select name='conference_center_greeting' class='formfld' ".((permission_exists('conference_center_add') || permission_exists('conference_center_edit')) ? "onchange='changeToInput(this);'" : null).">\n";
echo " <option></option>\n";
//recordings
$tmp_selected = false;
if (is_array($recordings)) {
echo "<optgroup label='Recordings'>\n";
echo "<optgroup label='".$text['label-recordings']."'>\n";
foreach ($recordings as &$row) {
$recording_name = $row["recording_name"];
$recording_filename = $row["recording_filename"];
@@ -379,7 +331,7 @@
}
//phrases
if (count($phrases) > 0) {
echo "<optgroup label='Phrases'>\n";
echo "<optgroup label='".$text['label-phrases']."'>\n";
foreach ($phrases as &$row) {
$selected = ($conference_center_greeting == "phrase:".$row["phrase_uuid"]) ? true : false;
echo " <option value='phrase:".$row["phrase_uuid"]."' ".(($selected) ? "selected='selected'" : null).">".$row["phrase_name"]."</option>\n";
@@ -392,7 +344,7 @@
$file = new file;
$sound_files = $file->sounds();
if (is_array($sound_files)) {
echo "<optgroup label='Sounds'>\n";
echo "<optgroup label='".$text['label-sounds']."'>\n";
foreach ($sound_files as $key => $value) {
if (strlen($value) > 0) {
if (substr($conference_center_greeting, 0, 71) == "\$\${sounds_dir}/\${default_language}/\${default_dialect}/\${default_voice}/") {
@@ -425,28 +377,29 @@
}
}
echo " </select>\n";
echo "<br />\n";
echo $text['description-greeting']."\n";
echo " <br />\n";
echo " ".$text['description-conference_center_greeting']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-pin-length']."\n";
echo " ".$text['label-conference_center_pin_length']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='conference_center_pin_length' maxlength='255' value=\"$conference_center_pin_length\">\n";
echo " <br />\n";
echo " ".$text['description-pin-length']."\n";
echo " <input class='formfld' type='text' name='conference_center_pin_length' maxlength='255' value='$conference_center_pin_length'>\n";
echo "<br />\n";
echo $text['description-conference_center_pin_length']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-enabled']."\n";
echo " ".$text['label-conference_center_enabled']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='conference_center_enabled'>\n";
echo " <option value=''></option>\n";
if ($conference_center_enabled == "true") {
echo " <option value='true' selected='selected'>".$text['label-true']."</option>\n";
}
@@ -460,36 +413,35 @@
echo " <option value='false'>".$text['label-false']."</option>\n";
}
echo " </select>\n";
echo " <br />\n";
echo " ".$text['description-enabled']."\n";
echo "<br />\n";
echo $text['description-conference_center_enabled']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-description']."\n";
echo " ".$text['label-conference_center_description']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='conference_center_description' maxlength='255' value=\"$conference_center_description\">\n";
echo " <br />\n";
echo " ".$text['description-description']."\n";
echo "<br />\n";
echo $text['description-conference_center_description']."\n";
echo "</td>\n";
echo "</tr>\n";
echo " <tr>\n";
echo " <td colspan='2' align='right'>\n";
if ($action == "update") {
echo " <input type='hidden' name='dialplan_uuid' value=\"$dialplan_uuid\">\n";
echo " <input type='hidden' name='conference_center_uuid' value='$conference_center_uuid'>\n";
echo " <input type='hidden' name='dialplan_uuid' value='$dialplan_uuid'>\n";
echo " <input type='hidden' name='conference_center_uuid' value='$conference_center_uuid'>\n";
}
echo " <br>";
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
echo " <input type='submit' class='btn' value='".$text['button-save']."'>\n";
echo " </td>\n";
echo " </tr>";
echo "</table>";
echo "<br><br>";
echo "</form>";
echo "<br /><br />";
//include the footer
require_once "resources/footer.php";
?>
+109 -119
View File
@@ -17,162 +17,149 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2012
Portions created by the Initial Developer are Copyright (C) 2008-2016
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('conference_center_view')) {
//access granted
}
else {
if (permission_exists('conference_room_view')) {
//redirect to the conference rooms
header( 'Location: conference_rooms.php') ;
//includes
require_once "root.php";
require_once "resources/require.php";
//check permissions
require_once "resources/check_auth.php";
if (permission_exists('conference_center_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
}
//add multi-lingual support
$language = new text;
$text = $language->get();
//get variables used to control the order
$order_by = check_str($_GET["order_by"]);
$order = check_str($_GET["order"]);
//add the search term
$search = strtolower(check_str($_GET["search"]));
if (strlen($search) > 0) {
$sql_search = "and (";
$sql_search .= "lower(conference_center_name) like '%".$search."%' ";
$sql_search .= "or lower(conference_center_extension) like '%".$search."%' ";
$sql_search .= "or lower(conference_center_greeting) like '%".$search."%' ";
$sql_search .= "or lower(conference_center_description) like '%".$search."%' ";
$sql_search .= ") ";
}
//additional includes
require_once "resources/header.php";
require_once "resources/paging.php";
//get variables used to control the order
$order_by = $_GET["order_by"];
$order = $_GET["order"];
//show the content
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'>\n";
echo " <tr>\n";
echo "<td align='left' width='30%' nowrap='nowrap' valign='top'><b>".$text['title-conference_centers']."</b></td>\n";
echo "<td width='70%' align='right' valign='top'>\n";
if (permission_exists('conference_active_advanced_view')) {
echo " <input type='button' class='btn' name='' alt='".$text['button-view']."' onclick=\"window.location='".PROJECT_PATH."/app/conferences_active/conferences_active.php'\" value='".$text['button-view']."'>\n";
}
echo " <input type='button' class='btn' name='' alt='".$text['button-rooms']."' onclick=\"window.location='conference_rooms.php'\" value='".$text['button-rooms']."'>\n";
echo "</td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "<br />\n";
echo $text['description-conference_centers']."\n";
echo "<br /><br />\n";
//prepare to page the results
if (permission_exists('conference_center_add') || permission_exists('conference_center_edit')) {
//show all extensions
$sql = "select count(*) as num_rows from v_conference_centers ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
}
else {
//show only assigned extensions
$sql = "select count(*) as num_rows from v_conference_centers as c, v_conference_center_users as u ";
$sql .= "where c.conference_center_uuid = u.conference_center_uuid ";
$sql .= "and c.domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "and u.user_uuid = '".$_SESSION['user_uuid']."' ";
}
if (strlen($order_by)> 0) { $sql .= "order by $order_by $order "; }
$prep_statement = $db->prepare($sql);
if ($prep_statement) {
$prep_statement->execute();
$row = $prep_statement->fetchAll(PDO::FETCH_ASSOC);
if ($row['num_rows'] > 0) {
$num_rows = $row['num_rows'];
}
else {
$num_rows = '0';
}
}
//prepare to page the results
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
$param = "";
$page = $_GET['page'];
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page);
$offset = $rows_per_page * $page;
//get the list
if (permission_exists('conference_center_add') || permission_exists('conference_center_edit')) {
//show all extensions
$sql = "select * from v_conference_centers ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
}
else {
//show only assigned extensions
$sql = "select * from v_conference_centers as c, v_conference_center_users as u ";
$sql .= "where c.conference_center_uuid = u.conference_center_uuid ";
$sql .= "and c.domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "and u.user_uuid = '".$_SESSION['user_uuid']."' ";
}
if (strlen($order_by) == 0) {
$sql .= "order by conference_center_name asc ";
}
else {
$sql .= "order by $order_by $order ";
}
$sql .= "limit $rows_per_page offset $offset ";
$prep_statement = $db->prepare(check_sql($sql));
//prepare to page the results
$sql = "select count(conference_center_uuid) as num_rows from v_conference_centers ";
$sql .= "where domain_uuid = '".$_SESSION["domain_uuid"]."' ";
$sql .= $sql_search;
if (strlen($order_by)> 0) { $sql .= "order by $order_by $order "; }
$prep_statement = $db->prepare($sql);
if ($prep_statement) {
$prep_statement->execute();
$result = $prep_statement->fetchAll();
$result_count = count($result);
unset ($prep_statement, $sql);
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
if ($row['num_rows'] > 0) {
$num_rows = $row['num_rows'];
}
else {
$num_rows = '0';
}
}
//prepare to page the results
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
$param = "";
$page = $_GET['page'];
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page);
$offset = $rows_per_page * $page;
//get the list
$sql = "select * from v_conference_centers ";
$sql .= "where domain_uuid = '".$_SESSION["domain_uuid"]."' ";
$sql .= $sql_search;
if (strlen($order_by)> 0) { $sql .= "order by $order_by $order "; }
$sql .= "limit $rows_per_page offset $offset ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
unset ($prep_statement, $sql);
//alternate the row style
$c = 0;
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
//show the content
echo "<table width='100%' border='0'>\n";
echo " <tr>\n";
echo " <td width='50%' align='left' nowrap='nowrap'><b>".$text['title-conference_centers']."</b></td>\n";
echo " <form method='get' action=''>\n";
echo " <td width='50%' style='vertical-align: top; text-align: right; white-space: nowrap;'>\n";
echo " <input type='text' class='txt' style='width: 150px' name='search' id='search' value='".$search."'>\n";
echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>\n";
if (permission_exists('conference_active_advanced_view')) {
echo " <input type='button' class='btn' name='' alt='".$text['button-view']."' onclick=\"window.location='".PROJECT_PATH."/app/conferences_active/conferences_active.php'\" value='".$text['button-view']."'>\n";
}
echo " <input type='button' class='btn' name='' alt='".$text['button-rooms']."' onclick=\"window.location='conference_rooms.php'\" value='".$text['button-rooms']."'>\n";
echo " </td>\n";
echo " </form>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td align='left' colspan='2'>\n";
echo " ".$text['title_description-conference_centers']."<br /><br />\n";
echo " </td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo th_order_by('conference_center_name', $text['label-name'], $order_by, $order);
echo th_order_by('conference_center_extension', $text['label-extension'], $order_by, $order);
//echo th_order_by('conference_center_order', 'Order', $order_by, $order);
echo th_order_by('conference_center_enabled', $text['label-enabled'], $order_by, $order);
echo th_order_by('conference_center_description', $text['label-description'], $order_by, $order);
echo th_order_by('conference_center_name', $text['label-conference_center_name'], $order_by, $order);
echo th_order_by('conference_center_extension', $text['label-conference_center_extension'], $order_by, $order);
echo th_order_by('conference_center_greeting', $text['label-conference_center_greeting'], $order_by, $order);
echo th_order_by('conference_center_pin_length', $text['label-conference_center_pin_length'], $order_by, $order);
echo th_order_by('conference_center_enabled', $text['label-conference_center_enabled'], $order_by, $order);
echo th_order_by('conference_center_description', $text['label-conference_center_description'], $order_by, $order);
echo "<td class='list_control_icons'>";
if (permission_exists('conference_center_add')) {
echo "<a href='conference_center_edit.php' alt='add'>$v_link_label_add</a>";
echo "<a href='conference_center_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
}
else {
echo " &nbsp;\n";
echo "&nbsp;\n";
}
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
if ($result_count > 0) {
if (is_array($result)) {
foreach($result as $row) {
$conference_center_name = $row['conference_center_name'];
$conference_center_name = str_replace("-", " ", $conference_center_name);
$tr_link = (permission_exists('conference_center_edit')) ? "href='conference_center_edit.php?id=".$row['conference_center_uuid']."'" : null;
echo "<tr ".$tr_link.">\n";
echo " <td valign='top' class='".$row_style[$c]."'>";
if (permission_exists('conference_center_edit')) {
echo "<a href='conference_center_edit.php?id=".$row['conference_center_uuid']."'>".$conference_center_name."</a>";
$tr_link = "href='conference_center_edit.php?id=".$row['conference_center_uuid']."'";
}
else {
echo $conference_center_name;
}
echo " </td>\n";
echo "<tr ".$tr_link.">\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['conference_center_name']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['conference_center_extension']."&nbsp;</td>\n";
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['conference_center_order']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$text['label-'.$row['conference_center_enabled']]."&nbsp;</td>\n";
echo " <td valign='top' class='row_stylebg' width='35%'>".$row['conference_center_description']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['conference_center_greeting']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['conference_center_pin_length']."&nbsp;</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$row['conference_center_enabled']."&nbsp;</td>\n";
echo " <td valign='top' class='row_stylebg'>".$row['conference_center_description']."&nbsp;</td>\n";
echo " <td class='list_control_icons'>";
if (permission_exists('conference_center_edit')) {
echo "<a href='conference_center_edit.php?id=".$row['conference_center_uuid']."' alt='".$text['label-edit']."'>$v_link_label_edit</a>";
echo "<a href='conference_center_edit.php?id=".$row['conference_center_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
}
if (permission_exists('conference_center_delete')) {
echo "<a href='conference_center_delete.php?id=".$row['conference_center_uuid']."' alt='".$text['label-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>";
echo "<a href='conference_center_delete.php?id=".$row['conference_center_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>";
}
echo " </td>\n";
echo "</tr>\n";
@@ -185,21 +172,24 @@ else {
echo "<td colspan='10' align='left'>\n";
echo " <table width='100%' cellpadding='0' cellspacing='0'>\n";
echo " <tr>\n";
echo " <td width='33.3%' nowrap>&nbsp;</td>\n";
echo " <td width='33.3%' align='center' nowrap>$paging_controls</td>\n";
echo " <td width='33.3%' nowrap='nowrap'>&nbsp;</td>\n";
echo " <td width='33.3%' align='center' nowrap='nowrap'>$paging_controls</td>\n";
echo " <td class='list_control_icons'>";
if (permission_exists('conference_center_add')) {
echo "<a href='conference_center_edit.php' alt='add'>$v_link_label_add</a>";
echo "<a href='conference_center_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
}
else {
echo "&nbsp;";
}
echo " </td>\n";
echo " </tr>\n";
echo " </table>\n";
echo "</td>\n";
echo "</tr>\n";
echo "</table>";
echo "<br /><br />";
//include the footer
require_once "resources/footer.php";
?>
?>
@@ -17,76 +17,82 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2012
Portions created by the Initial Developer are Copyright (C) 2008-2016
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('conference_room_delete')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('conference_room_delete')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
$text = $language->get();
//get the id
if (count($_GET)>0) {
if (count($_GET) > 0) {
$id = check_str($_GET["id"]);
}
if (strlen($id)>0) {
//get the meeting_uuid
if (count($_GET)>0 && $_POST["persistformvar"] != "true") {
$conference_room_uuid = check_str($_GET["id"]);
$sql = "select * from v_conference_rooms ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and conference_room_uuid = '$conference_room_uuid' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll();
foreach ($result as &$row) {
$meeting_uuid = $row["meeting_uuid"];
//delete the data
if (strlen($id) > 0) {
//get the meeting_uuid
if (count($_GET) > 0 && $_POST["persistformvar"] != "true") {
$conference_room_uuid = check_str($_GET["id"]);
$sql = "select * from v_conference_rooms ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and conference_room_uuid = '$conference_room_uuid' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll();
foreach ($result as &$row) {
$meeting_uuid = $row["meeting_uuid"];
}
unset ($prep_statement);
}
unset ($prep_statement);
}
//echo "meeting_uuid: ".$meeting_uuid."<br />\n";
//delete the conference session
$sql = "delete from v_conference_rooms ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and conference_room_uuid = '$id' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
unset($sql);
//delete the conference session
$sql = "delete from v_conference_rooms ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and conference_room_uuid = '$id'; ";
//echo $sql."<br />\n";
$db->exec(check_sql($sql));
unset($sql);
//delete the meeting users
$sql = "delete from v_meeting_users ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and meeting_uuid = '$meeting_uuid' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
unset($sql);
//delete the meeting users
$sql = "delete from v_meeting_users ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and meeting_uuid = '$meeting_uuid'; ";
//echo $sql."<br />\n";
$db->exec(check_sql($sql));
unset($sql);
//delete the meetings
$sql = "delete from v_meetings ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and meeting_uuid = '$meeting_uuid' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
unset($sql);
}
//delete the meetings
$sql = "delete from v_meetings ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and meeting_uuid = '$meeting_uuid'; ";
//echo $sql."<br />\n";
$db->exec(check_sql($sql));
unset($sql);
}
//redirect the user
messages::add($text['message-delete']);
header("Location: conference_rooms.php");
return;
$_SESSION["message"] = $text['message-delete'];
header("Location: conference_rooms.php");
return;
?>
?>
+42 -16
View File
@@ -24,16 +24,20 @@
Mark J Crane <markjcrane@fusionpbx.com>
Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
*/
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('conference_room_add') || permission_exists('conference_room_edit')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('conference_room_add') || permission_exists('conference_room_edit')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
@@ -86,6 +90,19 @@ else {
$conference_center_uuid = $conference_centers[0]["conference_center_uuid"];
}
//get the conference profiles
$sql = "select * ";
$sql .= "from v_conference_profiles ";
$sql .= "where profile_enabled = 'true' ";
$sql .= "and profile_name <> 'sla' ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$conference_profiles = $prep_statement->fetchAll(PDO::FETCH_NAMED);
unset ($prep_statement, $sql);
//set the default
if ($profile === "") { $profile = "default"; }
//define fucntion get_meeting_pin - used to find a unique pin number
function get_meeting_pin($length, $meeting_uuid) {
global $db;
@@ -113,7 +130,7 @@ else {
$default_language = 'en';
$default_dialect = 'us';
$default_voice = 'callie';
$switch_cmd = "conference ".$meeting_uuid."-".$_SESSION['domain_name']." play ".$_SESSION['switch']['sounds']['dir']."/".$default_language."/".$default_dialect."/".$default_voice."/ivr/ivr-recording_started.wav";
$switch_cmd = "conference ".$meeting_uuid."@".$_SESSION['domain_name']." play ".$_SESSION['switch']['sounds']['dir']."/".$default_language."/".$default_dialect."/".$default_voice."/ivr/ivr-recording_started.wav";
//connect to event socket
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp) {
@@ -154,7 +171,7 @@ else {
unset($sql);
}
$_SESSION["message"] = $text['message-delete'];
messages::add($text['message-delete']);
header("Location: conference_room_edit.php?id=".$conference_room_uuid);
return;
}
@@ -343,7 +360,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
unset($sql);
}
$_SESSION["message"] = $text['message-add'];
messages::add($text['message-add']);
} //if ($action == "add")
if ($action == "update" && permission_exists('conference_room_edit')) {
@@ -409,7 +426,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
$db->exec(check_sql($sql));
unset($sql);
$_SESSION["message"] = $text['message-update'];
messages::add($text['message-update']);
} //if ($action == "update")
//assign the user to the meeting
@@ -433,7 +450,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
$db->exec(check_sql($sql));
unset($sql);
$_SESSION["message"] = $text['message-add'];
messages::add($text['message-add']);
}
header("Location: conference_room_edit.php?id=".$conference_room_uuid);
@@ -632,7 +649,16 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>".$text['label-profile']."</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='profile' maxlength='255' value='$profile'>\n";
echo " <select class='formfld' name='profile'>\n";
foreach ($conference_profiles as $row) {
if ($profile === $row['profile_name']) {
echo " <option value='". $row['profile_name'] ."' selected='selected'>". $row['profile_name'] ."</option>\n";
}
else {
echo " <option value='". $row['profile_name'] ."'>". $row['profile_name'] ."</option>\n";
}
}
echo " </select>\n";
echo " <br />\n";
echo " ".$text['description-profile']."\n";
echo "</td>\n";
+2 -2
View File
@@ -75,7 +75,7 @@ else {
$default_language = 'en';
$default_dialect = 'us';
$default_voice = 'callie';
$switch_cmd = "conference ".$meeting_uuid."-".$_SESSION['domain_name']." play ".$_SESSION['switch']['sounds']['dir']."/".$default_language."/".$default_dialect."/".$default_voice."/ivr/ivr-recording_started.wav";
$switch_cmd = "conference ".$meeting_uuid."@".$_SESSION['domain_name']." play ".$_SESSION['switch']['sounds']['dir']."/".$default_language."/".$default_dialect."/".$default_voice."/ivr/ivr-recording_started.wav";
//connect to event socket
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp) {
@@ -135,7 +135,7 @@ else {
//show the conferences that have a matching domain
$tmp_domain = substr($conference_name, -strlen($_SESSION['domain_name']));
if ($tmp_domain == $_SESSION['domain_name']) {
$meeting_uuid = substr($conference_name, 0, strlen($conference_name) - strlen('-'.$_SESSION['domain_name']));
$meeting_uuid = substr($conference_name, 0, strlen($conference_name) - strlen('@'.$_SESSION['domain_name']));
$conference[$meeting_uuid]["conference_name"] = $conference_name;
$conference[$meeting_uuid]["session_uuid"] = $session_uuid;
$conference[$meeting_uuid]["member_count"] = $member_count;
+125 -113
View File
@@ -1,114 +1,126 @@
<?php
//application details
$apps[$x]['name'] = 'Conference Controls';
$apps[$x]['uuid'] = 'e1ad84a2-79e1-450c-a5b1-7507a043e048';
$apps[$x]['category'] = '';
$apps[$x]['subcategory'] = '';
$apps[$x]['version'] = '';
$apps[$x]['license'] = 'Mozilla Public License 1.1';
$apps[$x]['url'] = 'http://www.fusionpbx.com';
$apps[$x]['description']['en-us'] = '';
//permission details
$y = 0;
$apps[$x]['permissions'][$y]['name'] = 'conference_control_view';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'user';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'conference_control_add';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'conference_control_edit';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
//$apps[$x]['permissions'][$y]['groups'][] = 'user';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'conference_control_delete';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'conference_control_detail_view';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'user';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'conference_control_detail_add';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'conference_control_detail_edit';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
//$apps[$x]['permissions'][$y]['groups'][] = 'user';
$y++;
$apps[$x]['permissions'][$y]['name'] = 'conference_control_detail_delete';
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
$y++;
//schema details
$y = 0; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = 'v_conference_controls';
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_control_uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'control_name';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the conference control name.';
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = 'Entre com o nome para o controle de conferência.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'control_enabled';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Set the stats of the control.';
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = 'Estabelece o estado do controle.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'control_description';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the description.';
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = 'Entre com a descrição.';
$y = 1; //table array index
$z = 0; //field array index
$apps[$x]['db'][$y]['table'] = 'v_conference_control_details';
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_control_detail_uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_control_uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_conference_control';
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'conference_control_uuid';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'control_digits';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the digits.';
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = 'Entre com os digitos.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'control_action';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the action.';
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = 'Entre com a ação.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'control_data';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the data.';
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = 'Entre com os dados.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'control_enabled';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Set the status of the control.';
$apps[$x]['db'][$y]['fields'][$z]['description']['pt-br'] = 'Estababelece o estado do controle.';
$z++;
<?php
//application details
$apps[$x]['name'] = "Conference Controls";
$apps[$x]['uuid'] = "e1ad84a2-79e1-450c-a5b1-7507a043e048";
$apps[$x]['category'] = "";
$apps[$x]['subcategory'] = "";
$apps[$x]['version'] = "1.0";
$apps[$x]['license'] = "Mozilla Public License 1.1";
$apps[$x]['url'] = "http://www.fusionpbx.com";
$apps[$x]['description']['en-us'] = "Call controls enable ability to assign digits to actions. They can be used to mute, unmute, or other actions during the conference call.";
$apps[$x]['description']['ar-eg'] = "";
$apps[$x]['description']['de-at'] = "Anrufsteuerung anhand von zugeordneten Ziffern. Diese können verschiedene Aktionen wie Stummschaltung, usw. während einer Konferenz auslösen.";
$apps[$x]['description']['de-ch'] = "";
$apps[$x]['description']['de-de'] = "Anrufsteuerung anhand von zugeordneten Ziffern. Diese können verschiedene Aktionen wie Stummschaltung, usw. während einer Konferenz auslösen.";
$apps[$x]['description']['es-cl'] = "";
$apps[$x]['description']['es-mx'] = "";
$apps[$x]['description']['fr-ca'] = "";
$apps[$x]['description']['fr-fr'] = "";
$apps[$x]['description']['he-il'] = "";
$apps[$x]['description']['it-it'] = "";
$apps[$x]['description']['nl-nl'] = "";
$apps[$x]['description']['pl-pl'] = "";
$apps[$x]['description']['pt-br'] = "";
$apps[$x]['description']['pt-pt'] = "";
$apps[$x]['description']['ro-ro'] = "";
$apps[$x]['description']['ru-ru'] = "";
$apps[$x]['description']['sv-se'] = "";
$apps[$x]['description']['uk-ua'] = "";
//permission details
$y=0;
$apps[$x]['permissions'][$y]['name'] = "conference_control_view";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//$apps[$x]['permissions'][$y]['groups'][] = "user";
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "conference_control_add";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "conference_control_edit";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
//$apps[$x]['permissions'][$y]['groups'][] = "user";
$y++;
$apps[$x]['permissions'][$y]['name'] = "conference_control_delete";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "conference_control_detail_view";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//$apps[$x]['permissions'][$y]['groups'][] = "user";
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "conference_control_detail_add";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "conference_control_detail_edit";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
//$apps[$x]['permissions'][$y]['groups'][] = "user";
$y++;
$apps[$x]['permissions'][$y]['name'] = "conference_control_detail_delete";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
//schema details
$y=0;
$apps[$x]['db'][$y]['table']['name'] = "v_conference_controls";
$apps[$x]['db'][$y]['table']['parent'] = "";
$z=0;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "conference_control_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "control_name";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the conference control name.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "control_enabled";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Set the stats of the control.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "control_description";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
$y++;
$apps[$x]['db'][$y]['table']['name'] = "v_conference_control_details";
$apps[$x]['db'][$y]['table']['parent'] = "v_conference_controls";
$z=0;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "conference_control_detail_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "conference_control_uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_conference_control";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "conference_control_uuid";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "control_digits";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the digits.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "control_action";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the action.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "control_data";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the data.";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "control_enabled";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Set the status of the control.";
?>
+131 -131
View File
@@ -1,131 +1,131 @@
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2016
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
if ($domains_processed == 1) {
//add the conference controls list to the database
$sql = "select count(*) as num_rows from v_conference_controls; ";
$prep_statement = $db->prepare($sql);
if ($prep_statement) {
$prep_statement->execute();
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
if ($row['num_rows'] == 0) {
//set the directory
$xml_dir = $_SESSION["switch"]["conf"]["dir"].'/autoload_configs';
$xml_file = $xml_dir."/conference.conf";
$xml_file_alt = $_SERVER["DOCUMENT_ROOT"].'/'.PROJECT_PATH.'/resources/templates/conf/autoload_configs/conference.conf';
//rename the file
if (file_exists($xml_dir.'/conference.conf.xml.noload')) {
rename($xml_dir.'/conference.conf.xml.noload', $xml_dir.'/conference.conf');
}
//load the xml and save it into an array
if (file_exists($xml_file)) {
$xml_string = file_get_contents($xml_file);
}
elseif (file_exists($xml_file_alt)) {
$xml_string = file_get_contents(xml_file_alt);
}
$xml_object = simplexml_load_string($xml_string);
$json = json_encode($xml_object);
$conf_array = json_decode($json, true);
//process the array
foreach ($conf_array['caller-controls']['group'] as $row) {
//get the data from the array
$control_name = $row['@attributes']['name'];
//echo $profile_name."<br />\n";
//insert the data into the database
$conference_control_uuid = uuid();
$sql = "insert into v_conference_controls ";
$sql .= "(";
//$sql .= "domain_uuid, ";
$sql .= "conference_control_uuid, ";
$sql .= "control_name, ";
$sql .= "control_enabled ";
$sql .= ") ";
$sql .= "values ";
$sql .= "( ";
//$sql .= "'".$domain_uuid."', ";
$sql .= "'".$conference_control_uuid."', ";
$sql .= "'".check_str($control_name)."', ";
$sql .= "'true' ";
$sql .= ");";
//echo $sql."\n";
$db->exec(check_sql($sql));
unset($sql);
//insert the profile params
foreach ($row['control'] as $p) {
//get the name
//print_r($p);
$control_action = $p['@attributes']['action'];
$control_digits = $p['@attributes']['digits'];
$control_data = $p['@attributes']['data'];
$control_enabled = 'true';
//add the coference profile params
$conference_control_detail_uuid = uuid();
$sql = "insert into v_conference_control_details ";
$sql .= "(";
$sql .= "conference_control_uuid, ";
$sql .= "conference_control_detail_uuid, ";
$sql .= "control_digits, ";
$sql .= "control_action, ";
if (strlen($control_data) > 0) {
$sql .= "control_data, ";
}
$sql .= "control_enabled ";
$sql .= ") ";
$sql .= "values ";
$sql .= "( ";
$sql .= "'".$conference_control_uuid."', ";
$sql .= "'".$conference_control_detail_uuid."', ";
$sql .= "'".$control_digits."', ";
$sql .= "'".$control_action."', ";
if (strlen($control_data) > 0) {
$sql .= "'".$control_data."', ";
}
$sql .= "'".$control_enabled."' ";
$sql .= ");";
//echo $sql."\n";
$db->exec(check_sql($sql));
unset($sql);
}
}
} //if num_rows
} //if prep_statement
}
?>
<?php
/*
FusionPBX
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is FusionPBX
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2016
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
if ($domains_processed == 1) {
//add the conference controls list to the database
$sql = "select count(*) as num_rows from v_conference_controls; ";
$prep_statement = $db->prepare($sql);
if ($prep_statement) {
$prep_statement->execute();
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
if ($row['num_rows'] == 0) {
//set the directory
$xml_dir = $_SESSION["switch"]["conf"]["dir"].'/autoload_configs';
$xml_file = $xml_dir."/conference.conf";
$xml_file_alt = $_SERVER["DOCUMENT_ROOT"].'/'.PROJECT_PATH.'/resources/templates/conf/autoload_configs/conference.conf';
//rename the file
if (file_exists($xml_dir.'/conference.conf.xml.noload')) {
rename($xml_dir.'/conference.conf.xml.noload', $xml_dir.'/conference.conf');
}
//load the xml and save it into an array
if (file_exists($xml_file)) {
$xml_string = file_get_contents($xml_file);
}
elseif (file_exists($xml_file_alt)) {
$xml_string = file_get_contents($xml_file_alt);
}
$xml_object = simplexml_load_string($xml_string);
$json = json_encode($xml_object);
$conf_array = json_decode($json, true);
//process the array
foreach ($conf_array['caller-controls']['group'] as $row) {
//get the data from the array
$control_name = $row['@attributes']['name'];
//echo $profile_name."<br />\n";
//insert the data into the database
$conference_control_uuid = uuid();
$sql = "insert into v_conference_controls ";
$sql .= "(";
//$sql .= "domain_uuid, ";
$sql .= "conference_control_uuid, ";
$sql .= "control_name, ";
$sql .= "control_enabled ";
$sql .= ") ";
$sql .= "values ";
$sql .= "( ";
//$sql .= "'".$domain_uuid."', ";
$sql .= "'".$conference_control_uuid."', ";
$sql .= "'".check_str($control_name)."', ";
$sql .= "'true' ";
$sql .= ");";
//echo $sql."\n";
$db->exec(check_sql($sql));
unset($sql);
//insert the profile params
foreach ($row['control'] as $p) {
//get the name
//print_r($p);
$control_action = $p['@attributes']['action'];
$control_digits = $p['@attributes']['digits'];
$control_data = $p['@attributes']['data'];
$control_enabled = 'true';
//add the coference profile params
$conference_control_detail_uuid = uuid();
$sql = "insert into v_conference_control_details ";
$sql .= "(";
$sql .= "conference_control_uuid, ";
$sql .= "conference_control_detail_uuid, ";
$sql .= "control_digits, ";
$sql .= "control_action, ";
if (strlen($control_data) > 0) {
$sql .= "control_data, ";
}
$sql .= "control_enabled ";
$sql .= ") ";
$sql .= "values ";
$sql .= "( ";
$sql .= "'".$conference_control_uuid."', ";
$sql .= "'".$conference_control_detail_uuid."', ";
$sql .= "'".$control_digits."', ";
$sql .= "'".$control_action."', ";
if (strlen($control_data) > 0) {
$sql .= "'".$control_data."', ";
}
$sql .= "'".$control_enabled."' ";
$sql .= ");";
//echo $sql."\n";
$db->exec(check_sql($sql));
unset($sql);
}
}
} //if num_rows
} //if prep_statement
}
?>

Some files were not shown because too many files have changed in this diff Show More