Commit Graph

3234 Commits

Author SHA1 Message Date
FusionPBX 8e2dba39a6 Update y000000000052.cfg 2017-06-20 09:54:19 -06:00
andycol 2857679b76 Hide pin codes when a user pushed the redial button (#2690) 2017-06-20 09:51:35 -06:00
Alexey Melnichuk 6fc6e231c8 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 f25933e811 Update directory.lua 2017-06-17 12:19:43 -06:00
FusionPBX e214cab135 Update directory.lua 2017-06-17 11:38:24 -06:00
Mafoo 0098dd01c2 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 1c58c1c1f9 Enhance-master-translation autofill (#2681)
Autofill all language files for pt de and es
2017-06-12 22:14:11 -07:00
Mafoo 7bdea2c30c dos2unix (#2682)
find . -name "*.php" | xargs dos2unix
2017-06-12 22:09:36 -07:00
Len 6c97a1ae3d Create {$mac}.cfg 2017-06-12 23:57:47 -04:00
Len 645c5ce222 Create {$mac}.cfg 2017-06-12 23:55:15 -04:00
Len 77b95f19ba Create {$mac}.cfg 2017-06-12 23:52:19 -04:00
Len 91296cadfa Create {$mac}.cfg 2017-06-12 23:50:20 -04:00
Len b83ae4e7a4 Create {$mac}.cfg 2017-06-12 23:48:57 -04:00
Len 79286306a8 Create {$mac}.cfg 2017-06-12 23:46:11 -04:00
Len 270f535ee6 Create {$mac}.cfg 2017-06-12 23:43:52 -04:00
Len 085c5a7464 Create {$mac}.cfg 2017-06-12 23:42:06 -04:00
Len adb4f67d8f Create {$mac}.cfg 2017-06-12 23:39:50 -04:00
Len ca0514afe9 Create {$mac}.cfg 2017-06-12 23:37:37 -04:00
Len c8b8b67fca Create {$mac}.cfg 2017-06-12 23:35:30 -04:00
Len 102a1714f4 Create {$mac}.cfg 2017-06-12 23:33:50 -04:00
Len 8ebb8afaac Create {$mac}.cfg 2017-06-12 23:32:30 -04:00
Len af8f3ca2d8 Create {$mac}.cfg 2017-06-12 23:30:52 -04:00
Len eeef48e536 Create {$mac}.cfg 2017-06-12 23:26:30 -04:00
Len 96fd6a6bed Create {$mac}.cfg 2017-06-12 23:25:16 -04:00
Len a36debbf8e Create {$mac}.cfg 2017-06-12 23:23:18 -04:00
Len 36d233ccf4 Create {$mac}.cfg 2017-06-12 23:21:46 -04:00
Len fd3de05316 Create {$mac}.cfg 2017-06-12 23:20:22 -04:00
Len 5d2afd23f1 Create {$mac}.cfg 2017-06-12 23:18:47 -04:00
Len 17f2b2c5fe Create {$mac}.cfg 2017-06-12 23:17:26 -04:00
Len 9fcf99d49d Create {$mac}.cfg 2017-06-12 23:13:00 -04:00
Len b4b853191b Create {$mac}.cfg 2017-06-12 23:11:11 -04:00
Len e0fdd0d2b3 Create {$mac}.cfg 2017-06-12 23:08:53 -04:00
Len 56c4271147 Create {$mac}.cfg 2017-06-12 23:06:39 -04:00
Len d10c793442 update cid_source 2017-06-12 22:47:05 -04:00
FusionPBX a93b7983ea Use null instead of an empty string for user_uuid when not available. 2017-06-11 08:48:18 -06:00
FusionPBX 04e8f7f522 Create menu_messages.lua 2017-06-10 23:53:12 -06:00
FusionPBX c80f8668da Create menu_messages.lua 2017-06-10 23:06:29 -06:00
FusionPBX a2da52bf46 Create index.lua 2017-06-10 23:03:22 -06:00
FusionPBX ed95497c2f Create record_message.lua 2017-06-10 22:57:51 -06:00
FusionPBX 44a43a43f0 Create index.lua 2017-06-10 22:50:40 -06:00
Len 81cfd244ae Create y000000000052.cfg 2017-06-11 00:08:24 -04:00
Len 7ea5d57024 Update y000000000044.cfg 2017-06-11 00:05:55 -04:00
Len f3786a806d Create y000000000044.cfg 2017-06-11 00:01:19 -04:00
Len 54a85fa1f8 Update y000000000069.cfg 2017-06-10 23:56:26 -04:00
Len aa0bbb8802 Create y000000000045.cfg 2017-06-10 23:52:44 -04:00
Len df0b66b34a Update y000000000046.cfg 2017-06-10 23:49:00 -04:00
Len 559d348fba Update y000000000036.cfg 2017-06-10 23:43:54 -04:00
Len d10fbcbcb0 Create y000000000068.cfg 2017-06-10 23:40:07 -04:00
Len 521ecac949 Update y000000000029.cfg 2017-06-10 23:37:06 -04:00
Len 93821aadd4 Update y000000000028.cfg 2017-06-10 23:28:56 -04:00
Len dcd2668fd2 Update y000000000035.cfg 2017-06-10 23:24:28 -04:00
Len 989ca10fe7 Update y000000000051.cfg 2017-06-10 23:22:27 -04:00
Len 484ca0ba00 Update y000000000066.cfg 2017-06-10 23:14:37 -04:00
Len fc1b68ae65 Update y000000000065.cfg 2017-06-10 23:12:51 -04:00
Mafoo 4d6f1b57a0 BugFix - messages class (#2674)
missed the self class reference when adding a legacy message
2017-06-10 16:12:05 -06:00
FusionPBX db20220eef 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 aaaff6e3f7 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 ed48da536c 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 8a2afdcdd0 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
Mafoo bf3faaa051 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 9ecba1d010 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 3cab4401cf Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
2017-06-09 20:13:40 -06:00
Mafoo bc26ecf6ae 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 70cfac5876 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 b941879c91 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 e308b17f45 Update external.xml.noload 2017-06-09 11:19:57 -06:00
FusionPBX 07cfb6391c Update internal-ipv6.xml.noload 2017-06-09 11:19:16 -06:00
FusionPBX c8acba483e Update internal.xml.noload 2017-06-09 11:18:42 -06:00
Dean Montgomery 66b849d946 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
Alexey Melnichuk f939c82862 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 32a6f76ed0 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 bfe3ff173f 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
Alexey Melnichuk 46f74ab726 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 cfeb809900 Add. Use `cache` class in xml_handler/directory (#2647) 2017-06-08 09:37:30 -06:00
Len af89276cfb update cid_source 2017-06-07 15:04:34 -04:00
Len 5afcf57ecd update cid_source 2017-06-07 15:00:47 -04:00
Len ff5226bec4 update cid_source 2017-06-07 14:56:20 -04:00
Len ad7bdfe0a6 update cid_source 2017-06-07 14:53:00 -04:00
Len a1f5913cba update cid_source 2017-06-07 14:42:42 -04:00
Len 96d780525f update cid_source 2017-06-07 14:35:00 -04:00
Len e24380179d update cid_source 2017-06-07 14:26:59 -04:00
Len 0b0ed7dee8 update cid_source 2017-06-07 14:23:49 -04:00
Len 9c48801db0 update cid_source 2017-06-07 14:20:42 -04:00
Len 569a9e3c79 update cid_source 2017-06-07 14:18:02 -04:00
Len 51ce70e7e3 update cid_source 2017-06-07 14:13:26 -04:00
Len d020c4fe9f update cid_source 2017-06-07 14:09:42 -04:00
Len df37fbd44c update cid_source 2017-06-07 14:06:38 -04:00
Len d485c1f352 update cid_source 2017-06-07 14:03:36 -04:00
Len 8afd4b0c5f update cid_source 2017-06-07 13:59:59 -04:00
Len 49b1b8c669 update cid_source 2017-06-07 13:56:29 -04:00
Len 33b8ff4e87 update cid_source 2017-06-07 13:53:29 -04:00
Len 237a4be1bc update cid_source 2017-06-07 13:50:09 -04:00
Len 32785c188e update cid_source 2017-06-07 13:39:58 -04:00
Len 1f07a10031 update cid_source 2017-06-07 13:36:48 -04:00
Len 8d9e26b909 update cid_source 2017-06-07 13:30:12 -04:00
Len 8bd3d95485 update cid_source 2017-06-07 13:27:34 -04:00
Len 1737c04bbf update cid_source 2017-06-07 13:25:10 -04:00
Len 26a709332f Update {$mac}.cfg 2017-06-07 13:22:25 -04:00
Len 82e228813d Update cid_source 2017-06-07 13:19:58 -04:00
Len 552cd29443 Update {$mac}.cfg
Update cid_source
2017-06-07 13:14:56 -04:00
FusionPBX 16a0797900 Update 2017-06-06 23:01:46 -06:00
FusionPBX 7e6d4d3c50 Update listen_to_recording.lua 2017-06-06 21:16:55 -06:00
FusionPBX 8403a806cc Update index.lua 2017-06-06 21:16:47 -06:00
FusionPBX 9ea2adba59 Update on_dtmf.lua 2017-06-06 20:45:32 -06:00
Len 47b01e8b61 Merge branch 'master' into patch-1 2017-06-06 02:02:04 -04:00
Len 022f9b17ae Update y000000000023.cfg 2017-06-05 17:03:27 -04:00
Len d1271707bc Update y000000000053.cfg 2017-06-05 16:58:36 -04:00
Len 519d110df8 Update y000000000007.cfg 2017-06-05 16:57:32 -04:00
Len aa8689d8cc Update y000000000052.cfg 2017-06-05 16:56:35 -04:00
Len 7a610be056 Update y000000000005.cfg 2017-06-05 16:51:52 -04:00
Len 55777b82e7 Update y000000000044.cfg 2017-06-05 16:50:32 -04:00
Len 588381cf48 Update y000000000044.cfg 2017-06-05 16:48:16 -04:00
Len fdb08e804b Update y000000000004.cfg 2017-06-05 16:47:05 -04:00
Len b1e05fa0b0 Update y000000000069.cfg 2017-06-05 16:44:30 -04:00
Len 7b89e0c4ca Update y000000000045.cfg 2017-06-05 16:41:10 -04:00
Len ab4ea81ed8 Update y000000000000.cfg 2017-06-05 16:37:41 -04:00
Len 44f8e052a2 Update y000000000046.cfg 2017-06-05 16:35:48 -04:00
Len c2378313c0 Update y000000000032.cfg 2017-06-05 16:33:31 -04:00
Len c0c7dd6e48 Update y000000000038.cfg 2017-06-05 16:32:15 -04:00
Len 3640c3ce16 Update y000000000054.cfg 2017-06-05 16:30:08 -04:00
Len db489b34c1 Update y000000000036.cfg 2017-06-05 16:29:19 -04:00
Len 1ea80c217e Update y000000000068.cfg 2017-06-05 16:27:52 -04:00
Len 446cb96a1f Update y000000000029.cfg 2017-06-05 16:24:14 -04:00
Len 67f9239ff4 Update y000000000051.cfg 2017-06-05 16:15:18 -04:00
Len 1260888819 Update y000000000065.cfg 2017-06-05 16:12:02 -04:00
Len 0ed5966a48 Update y000000000035.cfg 2017-06-05 16:09:23 -04:00
Len 0173ba73b8 Update y000000000028.cfg 2017-06-05 16:07:53 -04:00
Len 08528e800d Update y000000000066.cfg 2017-06-05 16:06:32 -04:00
Len e0544b98ce Update y000000000028.cfg 2017-06-05 16:04:18 -04:00
FusionPBX 7c1a59219a Create v8.conf.xml 2017-06-05 11:49:51 -06:00
FusionPBX 81d5a15d90 Create opus.conf.xml 2017-06-05 11:43:02 -06:00
Alexey Melnichuk 4115ca3bd9 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
netpro25 1716255660 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
Mafoo 8709d01fb0 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 4ae8b418d4 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 22c317eb2f BugFix [master] - Update languages (#2621)
Update for the Swedish language translation.
2017-06-02 08:39:34 -06:00
jamesorose b2a8fd4427 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 828646b258 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 10188339e5 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
Mafoo c295bd25e1 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
Alexey Melnichuk a7d58e14c7 Add. Support DND feature via BLF key (#2606) 2017-05-29 09:50:20 -06:00
Mafoo 71f681496b 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 d436890db0 Update {$mac}.xml 2017-05-28 09:58:26 -06:00
FusionPBX 1534b1b8b3 Create {$mac}.xml 2017-05-28 09:56:40 -06:00
Mafoo 1ff6bc7ad5 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 13557c30ec 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
Alexey Melnichuk c4c97fee29 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 ddf5cd558a Update intercept.lua 2017-05-19 01:21:19 -06:00
FusionPBX a074819270 Update intercept.lua 2017-05-19 01:17:08 -06:00
FusionPBX 6bdc5784b7 Update intercept.lua 2017-05-19 01:07:05 -06:00
Andrei Mahalean 80c31bd318 Add provisioning template for Yealink T19P-E2 (#2584) 2017-05-18 08:44:43 -06:00
FusionPBX 1df1faa442 Update app_languages.php 2017-05-16 10:23:53 -06:00
Mafoo 4963119692 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 f44aee3bf8 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
FusionPBX 36e104a59a Update sofia.conf.lua 2017-05-12 13:21:19 -06:00
FusionPBX 2fda163776 Update sofia.conf.lua 2017-05-12 12:36:34 -06:00
Mafoo 0302d8085c 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
Mafoo 22dc22c30e 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 1c1fc9a17d Update directory.lua 2017-05-08 23:20:31 -06:00
FusionPBX 3a05c0bce7 Update directory.lua 2017-05-08 23:17:03 -06:00
FusionPBX ab7604bf3e Update y000000000068.cfg 2017-05-01 14:21:35 -07:00
FusionPBX 35f776a33d Update y000000000068.cfg 2017-05-01 14:20:58 -07:00
FusionPBX 6b19f5b857 Create directory.xml 2017-05-01 14:19:41 -07:00
FusionPBX c21b28526d Create favorite_setting.xml 2017-05-01 14:18:28 -07:00
FusionPBX 3270810c86 Create y000000000068.cfg 2017-05-01 14:17:37 -07:00
FusionPBX 614dffb5e2 Create {$mac}.cfg 2017-05-01 14:11:25 -07:00
FusionPBX 22e43fffac Create smpp.conf.xml 2017-04-28 19:41:40 -06:00
Len ddbd6476c9 Update {$mac}.cfg 2017-04-28 12:59:05 -04:00
Len 26b4432f28 Update {$mac}.xml 2017-04-27 23:08:27 -04:00
FusionPBX 71f37f4449 Fix the dnsnaptr spelling mistake. 2017-04-27 18:22:46 -06:00
FusionPBX f2f131aa78 Fix the dnsnaptr spelling mistake. 2017-04-27 18:21:44 -06:00
FusionPBX b35a815a0a Update check_auth.php 2017-04-27 17:58:20 -06:00
The-Operator d05ace4995 Updates to German and Austrian translations (#2549)
Updates and error corrections
2017-04-27 15:19:36 -06:00
Mafoo 941b115d92 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 32c1522cbb 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
Len 3223e7071e Create {$mac}.xml 2017-04-26 22:52:11 -04:00
FusionPBX 76f86d1b59 Update php.php 2017-04-25 00:09:53 -06:00
FusionPBX 8a371ce04f Add function_exists to session_start. 2017-04-25 00:06:41 -06:00
konradSC e111904554 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 30055465b7 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
Alexey Melnichuk d390270b2e 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
Alexey Melnichuk d6efebf13f Fix. Remove unused code from mwi_subscribe.lua (#2527) 2017-04-21 05:59:38 -06:00
Alexey Melnichuk debfcbbc5b Fix. Escape strings in regex api (#2523) 2017-04-20 07:48:49 -06:00
konradSC fa4ab999cf 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 110086f75a 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
FusionPBX 0a766b1fff Update page.lua 2017-04-18 11:56:33 -06:00
Alexey Melnichuk 8f2782e8dd 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 1ee633cd10 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 901ae7e71e Really use configured transcribe_language for transcription (#2513) 2017-04-17 08:50:34 -06:00
FusionPBX c5e0857ee3 Update switch.php 2017-04-15 13:47:40 -06:00
FusionPBX 3123a8f02e Update switch.php 2017-04-14 22:13:18 -06:00
Len 1b4ebbf46e Create y000000000025.cfg 2017-04-14 01:55:47 -04:00
Len d2e8cbd734 Create favorite_setting.xml 2017-04-14 01:47:24 -04:00
Len 8c7669a35a Create directory.xml 2017-04-14 01:46:20 -04:00
Len 244f8dc608 Create {$mac}.cfg 2017-04-14 01:45:15 -04:00
Luis Daniel Lucio Quiroz f5cd0e61c4 Some FR & ES translation fixes (#2503) 2017-04-13 15:47:15 -06:00
Len b739c79614 Update {$mac}.xml 2017-04-13 00:37:29 -04:00
Len dbb43f6475 Update {$mac}.xml 2017-04-13 00:34:06 -04:00
Len bfe44d0aed Update {$mac}.xml 2017-04-13 00:33:31 -04:00
Len 2d09c2a77e Update {$mac}.xml 2017-04-13 00:31:44 -04:00