[asterisk-bugs] [Asterisk 0018082]: can't register to different sip accounts when registered to same IP/DNS

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Oct 1 05:43:18 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18082 
====================================================================== 
Reported By:                tameritoke
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18082
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.13 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-01 05:43 CDT
Last Modified:              2010-10-01 05:43 CDT
====================================================================== 
Summary:                    can't register to different sip accounts when
registered to same IP/DNS
Description: 
I have registered 3 different accounts from one single provider through the
register command:

register = 334931111:xxxxxx at sipgate.de/334931111
register = 334931112:xxxxxx at sipgate.de/334931112
register = 334911113:xxxxxx at sipgate.de/334931113


sip accounts:

[sipgate](!)
type=friend
fromdomain=sipgate.de
host=sipgate.de
insecure=invite ; otherwise I get authentication errors
nat=yes
secret=xxxxxx
caninvite=no
canreinvite=no
allow=alaw
allow=ulaw
allow=speex
allow=g729
dtmfmode=rfc2833


[334931111](sipgate)
username=334931111
fromuser=334931111
context=mamatelein

[334931112](sipgate)
username=334931112
fromuser=334931112
context=tamertelein

[334931113](sipgate)
username=334931113
fromuser=334931113
context=tamertelein


the dialplan:
context mamatelein {
 334931111 => {
    Dial(SIP/2002,,r);
    Hangup;
 }


context tamertelein {
 _33493111[23] => {
    Dial(SIP/2000,,r);
    Hangup;
 }

has the following output:

all calls from the provider example on "334931112" are routed internally
in asterisk wrong and the console debug:

[Sep 21 11:32:30] NOTICE[21215]: chan_sip.c:20200
handle_request_invite: Call from '334931111' to extension '334931112'
rejected because extension not found in context 'mamatelein'.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-01 05:43 tameritoke     New Issue                                    
2010-10-01 05:43 tameritoke     Asterisk Version          => 1.6.2.13        
2010-10-01 05:43 tameritoke     Regression                => No              
2010-10-01 05:43 tameritoke     SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list