[asterisk-bugs] [Asterisk 0019254]: Def. Username field is incorrect

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 9 09:11:49 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19254 
====================================================================== 
Reported By:                Newborn
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19254
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.18 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-05-09 09:04 CDT
Last Modified:              2011-05-09 09:11 CDT
====================================================================== 
Summary:                    Def. Username field is incorrect
Description: 
Has not found in any documentation, so this may be the bug.
When i type <sip show peer xxxx> , it displays "Def. Username: yyyy"
in sip.conf i tried to put in field defaultuser= or username= some values,
but "Def. Username" is not changing.
====================================================================== 

---------------------------------------------------------------------- 
 (0134654) lmadsen (administrator) - 2011-05-09 09:11
 https://issues.asterisk.org/view.php?id=19254#c134654 
---------------------------------------------------------------------- 
I have tested this with Asterisk trunk, and am unable to reproduce this.
The answer is 'defaultuser' does indeed change the Def. Username field in
Asterisk. For a peer I didn't have any Def. Username at all, I added
'defaultuser=foobar' and it showed up as 'foobar'. Changing it to 'lmadsen'
caused it to show up as 'lmadsen'.

The only thing I noticed was removing it entirely kept the defaultuser in
memory. To clear it, you either need to unload chan_sip.so and then load it
back into memory, or add 'defaultuser=' to the peer, reload chan_sip, then
remove it from the peer definition after that.

----

Per the Asterisk maintenance timeline page at
http://www.asterisk.org/asterisk-versions maintenance (bug) support for the
1.4 and 1.6.x branches has ended. For continued maintenance support please
move to the 1.8 branch which is a long term support (LTS) branch.

For more information about branch support, please see
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-09 09:11 lmadsen        Note Added: 0134654                          
======================================================================




More information about the asterisk-bugs mailing list