Commit Graph

809 Commits

Author SHA1 Message Date
Caleb
5fe898716c 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
FusionPBX
fcaf1dde98 Update index.lua 2018-02-22 12:47:47 -07:00
FusionPBX
c05fb67ddc Update index.lua 2018-02-22 10:12:45 -07:00
FusionPBX
b12a4ebae8 Ring Groups route_to_bridge was fixed re-add it to the code. 2018-02-11 10:22:25 -07:00
FusionPBX
22d668b39f Update index.lua 2018-02-10 15:48:18 -07:00
markjcrane
5cebe62047 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
Connor Strandt
d32488b2af update index.lua (#2976)
re-formatted table.
2018-02-06 00:09:52 -07:00
FusionPBX
e8fccfad74 Update index.lua 2018-02-05 23:56:22 -07:00
Mafoo
d6b70b688b 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
FusionPBX
db55501e61 Update languages.lua
Prevent a nill error when the phrase was not found.
2018-01-31 14:45:24 -07:00
FusionPBX
5bc27f8d73 Update index.lua 2018-01-22 10:46:06 -07:00
FusionPBX
89e3835016 Update index.lua 2018-01-22 10:45:48 -07:00
FusionPBX
df6a3ea31d Update index.lua 2018-01-22 10:32:25 -07:00
FusionPBX
2e3bbb25e4 Update sofia.conf.lua
Remove an extra double quote that broke xml syntax.
2018-01-19 11:36:08 -07:00
FusionPBX
85e8f8cd83 Update languages.lua 2018-01-11 15:31:07 -07:00
FusionPBX
1d327ea628 Update dialplan.lua 2018-01-11 12:43:58 -07:00
FusionPBX
838d7ecc2a Update translate.conf.lua 2018-01-11 12:31:25 -07:00
FusionPBX
c5cf812dfc Update sofia.conf.lua 2018-01-11 12:29:18 -07:00
FusionPBX
e3077c4228 Update ivr.conf.lua 2018-01-11 12:27:11 -07:00
FusionPBX
dad721453c Update callcenter.conf.lua 2018-01-11 12:25:33 -07:00
FusionPBX
d18b9bfb1b Update acl.conf.lua 2018-01-11 12:20:04 -07:00
FusionPBX
e75ceca392 Update acl.conf.lua 2018-01-11 12:11:49 -07:00
FusionPBX
4d99c01b45 Update acl.conf.lua 2018-01-11 12:10:43 -07:00
FusionPBX
57e53a5aa5 Update local_stream.conf.lua 2018-01-11 12:07:40 -07:00
sergey-mz
d808ce5393 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
konradSC
9adb11398d 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
konradSC
db8b161473 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
konradSC
e8b8f559c3 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
a18d8ba74c Update index.lua 2018-01-02 19:53:03 -07:00
FusionPBX
f91a259d6b Update main_menu.lua 2018-01-02 19:51:12 -07:00
FusionPBX
32495ab07c Update send_email.lua 2017-12-17 01:59:54 -07:00
markjcrane
deac1b8304 Move email_templates 2017-12-17 08:56:59 +00:00
FusionPBX
3756c2cb65 Update send_email.lua 2017-12-17 01:51:39 -07:00
FusionPBX
35535fbc4d Create email_templates.php 2017-12-17 01:51:29 -07:00
FusionPBX
fe22acb62a Create email_template_edit.php 2017-12-17 01:50:46 -07:00
FusionPBX
77e75cc475 Create email_template_delete.php 2017-12-17 01:50:19 -07:00
FusionPBX
bd163636ca Create app_menu.php 2017-12-17 01:49:52 -07:00
FusionPBX
3062a003fd Create app_languages.php 2017-12-17 01:49:14 -07:00
FusionPBX
5fdc878cf3 Create app_config.php 2017-12-17 01:48:42 -07:00
FusionPBX
c66f86bb7b Create root.php 2017-12-17 01:47:49 -07:00
FusionPBX
52630b08b9 Create email_templates.php 2017-12-17 01:47:22 -07:00
FusionPBX
4542c5782f Update email_body.tpl 2017-12-15 20:16:42 -07:00
FusionPBX
abbd01aa80 Update email_body.tpl 2017-12-15 20:16:23 -07:00
FusionPBX
ed67006eac Update email_body_transcription.tpl 2017-12-15 20:15:50 -07:00
Alexey Melnichuk
ff5355e840 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
00159b0cc2 Add. Lua script to set call forward for ring group. (#2934) 2017-11-29 00:19:43 -07:00
Alexey Melnichuk
679d4e1fb5 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
konradSC
3199bf2dda 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
FusionPBX
4b1cd6d7eb Update index.lua 2017-11-04 12:37:58 -06:00
Luis Daniel Lucio Quiroz
dea1bf390c Same as 4.2 (#2898) 2017-10-30 12:40:05 -06:00