bkruse: branch asterisknow r2034 - /branches/asterisknow/config/users.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Fri Dec 21 15:33:44 CST 2007
Author: bkruse
Date: Fri Dec 21 15:33:44 2007
New Revision: 2034
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=2034
Log:
Properly set signalling on ALL new users.
This will fix the bug with a new user not being able
to get dialtone when you assign a port to him.
Modified:
branches/asterisknow/config/users.html
Modified: branches/asterisknow/config/users.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/users.html?view=diff&rev=2034&r1=2033&r2=2034
==============================================================================
--- branches/asterisknow/config/users.html (original)
+++ branches/asterisknow/config/users.html Fri Dec 21 15:33:44 2007
@@ -29,7 +29,7 @@
var callbacks = new Object;
var extencallbacks = new Object;
var allcodecs = new Array;
-var fieldnames = ['callwaiting' ,'cancel' ,'cid_number' ,'context' ,'delete' ,'email' ,'fullname' ,'group' ,'hasagent' ,'hasdirectory' ,'hasiax' ,'hasmanager' ,'hassip' ,'hasvoicemail' ,'deletevoicemail' ,'host' ,'mailbox' ,'name' ,'new' ,'save' ,'secret' ,'threewaycalling' ,'vmsecret' ,'zapchan', 'registeriax', 'registersip','macaddress','autoprov','label','canreinvite','nat','dtmfmode', 'disallow','allow', 'insecure'];
+var fieldnames = ['signalling', 'callwaiting' ,'cancel' ,'cid_number' ,'context' ,'delete' ,'email' ,'fullname' ,'group' ,'hasagent' ,'hasdirectory' ,'hasiax' ,'hasmanager' ,'hassip' ,'hasvoicemail' ,'deletevoicemail' ,'host' ,'mailbox' ,'name' ,'new' ,'save' ,'secret' ,'threewaycalling' ,'vmsecret' ,'zapchan', 'registeriax', 'registersip','macaddress','autoprov','label','canreinvite','nat','dtmfmode', 'disallow','allow', 'insecure'];
var localextenlength = 4;
var allow_aliasextns = "no";
@@ -156,9 +156,9 @@
var x;
var _devices = _$('devices');
gen = _devices.stored_config.catbyname['general'];
+ gen.fieldbyname['signalling'] = 'fxo_ks';
gen.fieldbyname['allow'] = 'all';
gen.fieldbyname['disallow'] = 'all';
- gen.fieldbyname['signalling'] = 'fxo_ks';
tmp = objcopy(gen);
if (gen){
@@ -514,6 +514,7 @@
<tr><td class="field_text" tip="en,users,3">E-mail:</td><td><input size='20' id='email' pattern='^[0-9a-zA-Z\.\-\_\@]*$' class="input8"></td></tr>
<tr><td class="field_text" tip="en,users,4">Caller ID:</td><td><input size='12' id='cid_number' pattern='^[\d\-]*$' class="input8"></td></tr>
<tr><td class="field_text" tip="en,users,5">Analog Phone:</td><td><select size="1" id='zapchan' style='width:140px' class="input8"></select>
+ <tr><td style="display:none" class="field_text">Signalling:</td><td><input style="display:hidden" name="signalling" size="1" type="hidden" value="fxo_ks" id='signalling' class="input8">
<span id="noanaloglines" style="display:none" class="field_text"><I> No Analog lines detected.</I></span></td></tr>
<tr><td class="field_text" tip="en,users,6">Dial Plan:</td><td><select size='1' id='context' style='width:120px' class="input8"></select></td></tr>
@@ -573,7 +574,6 @@
<td align=right><input type='checkbox' id='nat'></td>
<td class="field_text" tip="en,users,22">NAT</td>
</tr>
-
<tr>
<td align=right colspan=3><input id="dtmfmode" size=10 class="input8" dfalt="rfc2833"></td>
<td class="field_text" tip="en,users,23">DTMFMode</td>
More information about the asterisk-gui-commits
mailing list