Commit Graph

14 Commits

Author SHA1 Message Date
Robert Stevens
e59250cfd4 fix sip_h_Diversion typo 2019-05-17 00:24:57 -07:00
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
FusionPBX
51737ef033 Update dialplan_edit.php 2018-12-05 17:20:09 -07:00
markjcrane
9717543a46 Change messages class to message 2018-08-31 03:09:01 +00:00
AlexanderDCrane
67925e0481 Update dialplan_edit.php (#3300) 2018-08-27 20:39:15 -06:00
FusionPBX
3154a4dd61 Update dialplan_edit.php
Fix a minor display issue.
2018-06-19 20:33:10 -06:00
FusionPBX
5f1a22c712 Update dialplan_edit.php 2018-06-13 15:48:10 -06:00
FusionPBX
56ca7fd802 Update dialplan_edit.php 2018-06-13 07:52:38 -06:00
FusionPBX
76b83eca66 Update dialplan_edit.php 2018-06-09 11:55:06 -06:00
AlexanderDCrane
ddb5c25acb Escape user data on dialplan_edit.php (#3103) 2018-06-09 11:41:03 -06:00
Robert Stevens
78ddfe6045 Adding sip_h_Diversion channel variable to list of conditions in dialplan editor. (#3032) 2018-04-22 00:30:31 -06:00
FusionPBX
6a609b9599 Update dialplan_edit.php 2018-03-26 18:03:19 -06:00
FusionPBX
8bf17f290d Update dialplan_edit.php 2017-11-15 19:22:41 -07:00
markjcrane
5fc654eff9 Rename the directory app/dialplan to app/dialplans to make it more consistent. 2017-09-24 15:56:04 +00:00