fusionpbx/app
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
..
access_controls Change messages class to message 2018-08-31 03:09:01 +00:00
adminer Adminer: Minor fixes. 2019-01-04 11:57:26 -07:00
azure/resources/classes Azure TTS (#2891) 2017-11-05 15:46:46 -07:00
backup Change messages class to message 2018-08-31 03:09:01 +00:00
bridges Change messages class to message 2018-08-31 03:09:01 +00:00
call_block Update call_block_delete.php 2018-10-24 11:58:22 -06:00
call_broadcast Update call_broadcast_send.php 2019-02-09 08:23:10 -07:00
call_center_active Update call_center_queue.php 2018-06-05 12:37:23 -06:00
call_centers Update app_menu.php 2019-01-02 15:49:40 -07:00
call_flows Update call_flow_delete.php 2019-02-05 18:27:01 -07:00
call_recordings Update app_config.php 2019-01-29 15:56:18 -07:00
calls Update follow_me.php 2019-02-21 17:45:43 -07:00
calls_active Update calls_active_inc.php 2018-01-21 23:53:36 -07:00
click_to_call Update click_to_call.php 2018-12-05 00:45:40 -07:00
conference_centers Update app_config.php 2019-01-29 16:02:26 -07:00
conference_controls Update conference_control_detail_edit.php (#3400) 2018-08-31 14:36:24 -06:00
conference_profiles Change messages class to message 2018-08-31 03:09:01 +00:00
conferences Update conference_edit.php 2019-01-13 22:53:12 -05:00
conferences_active Enhance [master] - Italian Translations (#2989) 2018-02-12 10:50:47 -07:00
contacts Update contact_edit.php 2019-03-01 06:08:47 -07:00
database_transactions Change messages class to message 2018-08-31 03:09:01 +00:00
destinations Update destinations.php 2019-02-20 07:59:51 -07:00
devices Update device_edit.php 2019-02-19 08:40:37 -07:00
dialplan_inbound Change messages class to message 2018-08-31 03:09:01 +00:00
dialplan_outbound Update dialplan_outbound_add.php 2018-11-10 00:51:53 -07:00
dialplans Retrieve gateway names with variables and failover (#4004) 2019-03-03 11:10:15 -07:00
edit Update index.php 2018-12-14 21:13:45 -07:00
email_templates Update app_defaults.php 2019-02-14 10:27:20 -07:00
emails Restore Login Reset Password functionality, adjust default SMTP debug level. 2019-02-28 17:32:27 -07:00
errors Server Errors app to display web server error log. 2019-01-23 20:10:38 -07:00
exec Update exec.php 2018-02-21 00:21:49 -07:00
extensions Update app_config.php 2019-02-19 09:24:40 -07:00
fanvil Add Fanvil support to adjust display brightness and inactivity dimmer (#3946) 2019-01-05 08:56:41 -07:00
fax Update fax_edit.php 2019-02-12 14:01:04 -07:00
fifo Change messages class to message 2018-08-31 03:09:01 +00:00
fifo_list Enhance [master] - Italian Translations (#2989) 2018-02-12 10:50:47 -07:00
follow_me Update app_config.php 2019-01-02 15:51:23 -07:00
gateways Update gateway_edit.php 2019-02-05 10:46:16 -07:00
grandstream Update app_config.php 2018-11-10 12:17:32 -07:00
gswave Resize images for gswave app (#3955) 2019-01-05 08:39:27 -07:00
htek Update app_config.php 2018-02-26 15:15:36 -05:00
ivr_menus Update ivr_menu.php 2019-02-05 18:35:35 -07:00
log_viewer Update log_viewer.php 2018-06-09 13:02:13 -06:00
meetings Enhance - app_config.php comment cleanup (#2636) 2017-06-03 12:36:08 -06:00
messages Messages: Further permissions integration. 2019-01-02 13:23:32 -07:00
modules Change messages class to message 2018-08-31 03:09:01 +00:00
music_on_hold Update app_config.php 2019-01-29 15:50:36 -07:00
number_translations Change messages class to message 2018-08-31 03:09:01 +00:00
operator_panel Show enabled extension only on operator panel (#3900) 2018-12-05 19:50:46 -07:00
phrases Update phrase_edit.php 2019-02-05 18:37:52 -07:00
pin_numbers Change messages class to message 2018-08-31 03:09:01 +00:00
polycom Create readme (#3875) 2018-11-29 14:36:44 -07:00
providers Update providers.php 2019-02-23 16:25:54 -07:00
provision Update provision.php 2019-02-09 08:26:35 -07:00
recordings Update recordings.php (#3942) 2018-12-10 09:55:37 -07:00
registrations Update cmd.php 2019-02-03 12:43:02 -07:00
ring_groups Update ring_group_delete.php 2019-02-05 18:29:38 -07:00
scripts Update scripts.php 2018-04-23 11:26:31 -06:00
services Change messages class to message 2018-08-31 03:09:01 +00:00
settings Update app_languages.php 2018-12-13 18:14:36 -07:00
sip_profiles Change messages class to message 2018-08-31 03:09:01 +00:00
sip_status Allow event socket set 0.0.0.0 (#3951) 2018-12-13 17:02:03 -07:00
snom Create app_config.php 2018-04-20 10:58:00 -06:00
streams Change messages class to message 2018-08-31 03:09:01 +00:00
system Fix. Do not try `fetch` git repo when open system page. (#2903) 2017-11-07 08:22:33 -07:00
time_conditions Update time_conditions.php 2019-02-23 17:53:34 -07:00
tones Update app_config.php 2018-05-23 15:59:57 -07:00
vars Update var_edit.php 2018-10-03 08:32:32 -06:00
voicemail_greetings Change messages class to message 2018-08-31 03:09:01 +00:00
voicemails Update app_config.php 2019-01-02 16:33:09 -07:00
xml_cdr Update xml_cdr.php 2019-02-18 13:30:17 -07:00
yealink Update app_config.php 2019-01-30 09:32:07 -07:00