diff options
author | mcrane <mctch@yahoo.com> | 2009-07-15 13:41:18 -0600 |
---|---|---|
committer | mcrane <mctch@yahoo.com> | 2009-07-15 13:41:18 -0600 |
commit | 4af8252d66de5a9bd37a333192ee6faada5eea74 (patch) | |
tree | 3936e7ad81881c7f5f98a4cd2e6d0d0f69c1fc12 /config/freeswitch/freeswitch_gateways_edit.tmp | |
parent | e3762e1c21cdff6e3db41d419f06878900d608c3 (diff) | |
download | pfsense-packages-4af8252d66de5a9bd37a333192ee6faada5eea74.tar.gz pfsense-packages-4af8252d66de5a9bd37a333192ee6faada5eea74.tar.bz2 pfsense-packages-4af8252d66de5a9bd37a333192ee6faada5eea74.zip |
FreeSWITCH package remove auth-user from extensions add auth-username to gateways.
Diffstat (limited to 'config/freeswitch/freeswitch_gateways_edit.tmp')
-rw-r--r-- | config/freeswitch/freeswitch_gateways_edit.tmp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/config/freeswitch/freeswitch_gateways_edit.tmp b/config/freeswitch/freeswitch_gateways_edit.tmp index c51ad5fe..977e562e 100644 --- a/config/freeswitch/freeswitch_gateways_edit.tmp +++ b/config/freeswitch/freeswitch_gateways_edit.tmp @@ -47,7 +47,8 @@ if (isset($id) && $a_gateways[$id]) { $pconfig['gatewayid'] = $a_gateways[$id]['gatewayid']; $gatewayid = $a_gateways[$id]['gatewayid']; $pconfig['gateway'] = $a_gateways[$id]['gateway']; - $pconfig['username'] = $a_gateways[$id]['username']; + $pconfig['username'] = $a_gateways[$id]['username']; + $pconfig['auth-username'] = $a_gateways[$id]['auth-username']; $pconfig['password'] = $a_gateways[$id]['password']; $pconfig['realm'] = $a_gateways[$id]['realm']; $pconfig['from-user'] = $a_gateways[$id]['from-user']; @@ -94,6 +95,7 @@ if ($_POST) { } $ent['gateway'] = $_POST['gateway']; $ent['username'] = $_POST['username']; + $ent['auth-username'] = $_POST['auth-username']; $ent['password'] = $_POST['password']; $ent['realm'] = $_POST['realm']; $ent['from-user'] = $_POST['from-user']; @@ -492,10 +494,17 @@ display_top_tabs(build_menu()); <input type="button" onClick="show_advanced_config()" value="Advanced"></input></a> </td> </tr> - </table> + </table> </div> <div id="showadvanced" style="display:none"> - <table width="100%" border="0" cellpadding="6" cellspacing="0"> + <table width="100%" border="0" cellpadding="6" cellspacing="0"> + <tr> + <td width="22%" valign="top" class="vncell">Auth-username</td> + <td width="78%" class="vtable"> + <input name="auth-username" type="text" class="formfld" id="auth-username" size="40" value="<?=htmlspecialchars($pconfig['auth-username']);?>"> + <br> <span class="vexpl">Enter the auth-username here.<br></span> + </td> + </tr> <tr> <td width="22%" valign="top" class="vncell">Register-transport</td> <td width="78%" class="vtable"> |