Commit Graph

14 Commits

Author SHA1 Message Date
Robert Stevens be8c73036c fix sip_h_Diversion typo 2019-05-17 00:24:57 -07:00
emaktech a5ff016ef5 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 8dbcf22541 Update dialplan_edit.php 2018-12-05 17:20:09 -07:00
markjcrane a72f1d6266 Change messages class to message 2018-08-31 03:09:01 +00:00
AlexanderDCrane 0484b7fcf0 Update dialplan_edit.php (#3300) 2018-08-27 20:39:15 -06:00
FusionPBX 0466ff86b2 Update dialplan_edit.php
Fix a minor display issue.
2018-06-19 20:33:10 -06:00
FusionPBX ab61bbe994 Update dialplan_edit.php 2018-06-13 15:48:10 -06:00
FusionPBX 857308ed6e Update dialplan_edit.php 2018-06-13 07:52:38 -06:00
FusionPBX d9a9aa2b18 Update dialplan_edit.php 2018-06-09 11:55:06 -06:00
AlexanderDCrane 501ba8f242 Escape user data on dialplan_edit.php (#3103) 2018-06-09 11:41:03 -06:00
Robert Stevens 850b53f476 Adding sip_h_Diversion channel variable to list of conditions in dialplan editor. (#3032) 2018-04-22 00:30:31 -06:00
FusionPBX b953a414e5 Update dialplan_edit.php 2018-03-26 18:03:19 -06:00
FusionPBX 00026e008b Update dialplan_edit.php 2017-11-15 19:22:41 -07:00
markjcrane 2206c2f97c Rename the directory app/dialplan to app/dialplans to make it more consistent. 2017-09-24 15:56:04 +00:00