diff options
author | mcrane <mctch@yahoo.com> | 2009-05-14 23:47:20 -0600 |
---|---|---|
committer | mcrane <mctch@yahoo.com> | 2009-05-14 23:48:34 -0600 |
commit | 0e432ea1d03bc9e0093498d887a03ac89f3e6baa (patch) | |
tree | c521558c071334afe5e9ec20af4a65d9d61edac2 /config/freeswitch/freeswitch_gateways_edit.tmp | |
parent | c78b004d166bb8ead6c1d9e5984f55f0fd97f866 (diff) | |
download | pfsense-packages-0e432ea1d03bc9e0093498d887a03ac89f3e6baa.tar.gz pfsense-packages-0e432ea1d03bc9e0093498d887a03ac89f3e6baa.tar.bz2 pfsense-packages-0e432ea1d03bc9e0093498d887a03ac89f3e6baa.zip |
FreeSWITCH package make sure xml config file are deleted when they are deleted in the GUI
Diffstat (limited to 'config/freeswitch/freeswitch_gateways_edit.tmp')
-rw-r--r-- | config/freeswitch/freeswitch_gateways_edit.tmp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/config/freeswitch/freeswitch_gateways_edit.tmp b/config/freeswitch/freeswitch_gateways_edit.tmp index 28c0a74a..ea2b7efe 100644 --- a/config/freeswitch/freeswitch_gateways_edit.tmp +++ b/config/freeswitch/freeswitch_gateways_edit.tmp @@ -197,36 +197,36 @@ if ($_POST) { $dialplanincludeid = guid(); $ent['dialplanincludeid'] = $dialplanincludeid; - $ent['extensionname'] = $gateway.".".$abbrv; - $ent['order'] = '9002'; //if update use the existing order number and extension name and desc - $ent['context'] = $context; - $ent['enabled'] = 'true'; - $ent['descr'] = $label.' '.$gateway; - $ent['opt1name'] = 'gatewayid'; - $ent['opt1value'] = $gatewayid; - $a_dialplan_includes[] = $ent; - unset($ent); + $ent['extensionname'] = $gateway.".".$abbrv; + $ent['order'] = '9002'; //if update use the existing order number and extension name and desc + $ent['context'] = $context; + $ent['enabled'] = 'true'; + $ent['descr'] = $label.' '.$gateway; + $ent['opt1name'] = 'gatewayid'; + $ent['opt1value'] = $gatewayid; + $a_dialplan_includes[] = $ent; + unset($ent); $ent = array(); $ent['dialplanincludeid'] = $dialplanincludeid; $ent['tag'] = 'condition'; //condition, action, antiaction $ent['fieldtype'] = 'destination_number'; $ent['fielddata'] = $dialplan_expression; - $a_dialplan_include_details[] = $ent; - unset($ent); + $a_dialplan_include_details[] = $ent; + unset($ent); $ent = array(); $ent['dialplanincludeid'] = $dialplanincludeid; $ent['tag'] = 'action'; //condition, action, antiaction $ent['fieldtype'] = 'bridge'; $ent['fielddata'] = $action_data; - $a_dialplan_include_details[] = $ent; - unset($ent); - - unset($label); - unset($abbrv); - unset($dialplan_expression); - unset($action_data); + $a_dialplan_include_details[] = $ent; + unset($ent); + + unset($label); + unset($abbrv); + unset($dialplan_expression); + unset($action_data); } //if strlen } //end for each } |