[asterisk-bugs] [Asterisk 0015760]: [patch] extension is not recognized in register statement

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 24 17:52:26 CDT 2009


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15760 
====================================================================== 
Reported By:                steinwej
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15760
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.14-rc1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 213784 
Request Review:              
====================================================================== 
Date Submitted:             2009-08-22 05:20 CDT
Last Modified:              2009-08-24 17:52 CDT
====================================================================== 
Summary:                    [patch] extension is not recognized in register
statement
Description: 
Asterisk SVN-branch-1.6.0-r213180

two asterisk boxes are connected via SIP. dynamic peers

System A:
register => sip_peer_b:secret_b:sip_peer_b at 192.168.2.20:8060/sip_peer_a

[sip_peer_a]
type=friend
secret=secret_a
context=from_sip
fromuser=sip_peer_b
host=dynamic
;port=8060
disallow=all
nat=yes
canreinvite=no
qualify=no
allow=alaw


System B: (vice versa)

register => sip_peer_a:secret_a:sip_peer_a at 192.168.2.21:8060/sip_peer_b

[sip_peer_b]
type=friend
secret=secret_b
context=from_sip
fromuser=sip_peer_a
host=dynamic
;port=8060
disallow=all
nat=yes
canreinvite=no
qualify=no
allow=alaw


After sip reload the reg. contact should contain the extension callback.
But it is registered as "s". like:
Reg. Contact : sip:s at 192.168.2.21:8060
====================================================================== 

---------------------------------------------------------------------- 
 (0109552) tilghman (administrator) - 2009-08-24 17:52
 https://issues.asterisk.org/view.php?id=15760#c109552 
---------------------------------------------------------------------- 
Can't do this patch.  It breaks the use of the transport option.  It's not
exactly clear what format of register line you're using (which didn't work
for you).  Could you specify your exact register line?  It appears the
examples you give in this issue will parse just fine.

Could it be that you're using characters that are otherwise used as
delimiters in your peernames or passwords? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-24 17:52 tilghman       Note Added: 0109552                          
2009-08-24 17:52 tilghman       Status                   assigned => feedback
======================================================================




More information about the asterisk-bugs mailing list