diff options
Diffstat (limited to 'config/freeswitch/freeswitch_extensions_edit.tmp')
-rw-r--r-- | config/freeswitch/freeswitch_extensions_edit.tmp | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/config/freeswitch/freeswitch_extensions_edit.tmp b/config/freeswitch/freeswitch_extensions_edit.tmp index 8e4a72dc..1d1cbf95 100644 --- a/config/freeswitch/freeswitch_extensions_edit.tmp +++ b/config/freeswitch/freeswitch_extensions_edit.tmp @@ -58,10 +58,11 @@ if (isset($id) && $a_extensions[$id]) { $pconfig['vm-keep-local-after-email'] = $a_extensions[$id]['vm-keep-local-after-email']; $pconfig['user_context'] = $a_extensions[$id]['user_context']; $pconfig['callgroup'] = $a_extensions[$id]['callgroup']; + $pconfig['auth-user'] = $a_extensions[$id]['auth-user']; $pconfig['auth-acl'] = $a_extensions[$id]['auth-acl']; $pconfig['cidr'] = $a_extensions[$id]['cidr']; $pconfig['sip-force-contact'] = $a_extensions[$id]['sip-force-contact']; - $pconfig['enabled'] = $a_extensions[$id]['enabled']; + $pconfig['enabled'] = $a_extensions[$id]['enabled']; $pconfig['description'] = $a_extensions[$id]['description']; } @@ -92,13 +93,14 @@ if ($_POST) { $ent['outbound_caller_id_number'] = $outbound_caller_id_number; $ent['vm-mailto'] = $_POST['vm-mailto']; $ent['vm-attach-file'] = $_POST['vm-attach-file']; - $ent['vm-keep-local-after-email'] = $_POST['vm-keep-local-after-email']; + $ent['vm-keep-local-after-email'] = $_POST['vm-keep-local-after-email']; $ent['user_context'] = $_POST['user_context']; - $ent['callgroup'] = $_POST['callgroup']; + $ent['callgroup'] = $_POST['callgroup']; + $ent['auth-user'] = $_POST['auth-user']; $ent['auth-acl'] = $_POST['auth-acl']; $ent['cidr'] = $_POST['cidr']; $ent['sip-force-contact'] = $_POST['sip-force-contact']; - $ent['enabled'] = $_POST['enabled']; + $ent['enabled'] = $_POST['enabled']; $ent['description'] = $_POST['description']; if (isset($id) && $a_extensions[$id]) { @@ -301,6 +303,13 @@ display_top_tabs(build_menu()); <div id="showadvanced" style="display:none"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> <tr> + <td width="25%" valign="top" class="vncell">Auth-User</td> + <td width="75%" class="vtable"> + <input name="auth-user" type="text" class="formfld unknown" id="auth-user" size="40" value="<?=htmlspecialchars($pconfig['auth-user']);?>"> + <br> <span class="vexpl">Enter the auth user here.<br></span> + </td> + </tr> + <tr> <td width="25%" valign="top" class="vncell">Auth-ACL</td> <td width="75%" class="vtable"> <input name="auth-acl" type="text" class="formfld unknown" id="auth-acl" size="40" value="<?=htmlspecialchars($pconfig['auth-acl']);?>"> |