fusionpbx/app/dialplans
emaktech f30457b12b Retrieve gateway names with variables and failover (#4004)
Previously, if a bridge statement was written with prepended variables to be passed, the gateway name would not be parsed and replaced. Additionally, if multiple bridges were used in failover in a single bridge statement separated by a pipe, only the first would be parsed and replaced.

I noticed this after upgrade to FreeSWITCH 1.8.5 (from 1.6.20) which changed failover behavior with multiple separate bridge statements. When network returns 486 BUSY, it will proceed to second bridge statement, initiating a second call. To allow failover and not have this behavior, you must write a single statement and separate your failover bridges with a pipe, this change allows the UI to show all gateway names on the line once saved.

Examples:
{fax_use_ecm=on}sofia/gateway/99b1234c-667c-4b31-9d2f-31d4f396abfa/$1
=> {fax_use_ecm=on}sofia/gateway/Gateway_Name/$1

sofia/gateway/0e70e123-00fd-4f0c-b525-bc7f6283cfa1/$1|sofia/gateway/99b1234c-667c-4b31-9d2f-31d4f396abfa/1$1
=> sofia/gateway/Gateway_One/$1|sofia/gateway/Gateway_Two/1$1
2019-03-03 11:10:15 -07:00
..
resources Update 520_follow_me_bridge.xml 2019-02-20 09:06:34 -07:00
app_config.php Update app_config.php 2018-12-05 17:18:27 -07:00
app_defaults.php Update app_defaults.php 2018-09-13 22:51:38 -07:00
app_languages.php Update app_languages.php 2018-12-05 17:19:28 -07:00
app_menu.php Update app_menu.php 2017-09-24 09:59:29 -06:00
dialplan_add.php Update dialplan_add.php 2019-02-05 18:36:45 -07:00
dialplan_copy.php Change messages class to message 2018-08-31 03:09:01 +00:00
dialplan_delete.php Update dialplan_delete.php 2018-06-20 23:35:03 -06:00
dialplan_detail_delete.php Update dialplan_detail_delete.php 2019-02-05 18:33:18 -07:00
dialplan_detail_edit.php Update dialplan_detail_edit.php 2019-02-05 18:34:55 -07:00
dialplan_edit.php Retrieve gateway names with variables and failover (#4004) 2019-03-03 11:10:15 -07:00
dialplan_xml.php Change messages class to message 2018-08-31 03:09:01 +00:00
dialplans.php Update dialplans.php 2018-12-04 23:17:27 -07:00
root.php Rename the directory app/dialplan to app/dialplans to make it more consistent. 2017-09-24 15:56:04 +00:00