[asterisk-bugs] [Asterisk 0014799]: Getting the wrong peer when INVITE

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Apr 6 23:11:06 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14799 
====================================================================== 
Reported By:                vctor
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14799
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-04-01 02:19 CDT
Last Modified:              2009-04-06 23:11 CDT
====================================================================== 
Summary:                    Getting the wrong peer when INVITE
Description: 
I have a network with some snom phones and I have xlite. The snom peer is
999100095 and my xlite is 999100078

The problem is when I try to dial out, I get the message like this Call
from '999100095' to extension '6043762643' rejected because extension not
found.

Now,please don't worry about the extension not found case, that is not the
issue. The issue is that asterisk is showing the wrong peer!

I have below the sip debug message
====================================================================== 

---------------------------------------------------------------------- 
 (0102809) vctor (reporter) - 2009-04-06 23:11
 http://bugs.digium.com/view.php?id=14799#c102809 
---------------------------------------------------------------------- 
This is sip.conf general
[general]
context=default
allowoverlap=no
bindport=5060
srvlookup=yes
checkmwi=300
pedantic=yes
nat=yes
qualify=5000
canreinvite=yes
rtcachefriends=yes
rtsavesysname=yes
displaysystemname=yes
rtupdate=yes
rtautoclear=yes
regcontext=sipregistration
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=g729

I am using Asterisk Realtime
sip_peers table is like this
name=999101305  	
host=dynamic  	
nat=yes  	
type=peer  	
accountcode=11046  	
amaflags=NULL  	
callgroup=NULL  	
callerid=201 <31852014911>  	
cancallforward=yes  	
canreinvite=yes  	
context=12connect  	
defaultip=NULL  	
dtmfmode=auto  	
fromuser=NULL  	
fromdomain=NULL  	
insecure=NULL  	
language=NULL  	
mailbox=999101305 at 12connect  	
md5secret=NULL
deny=NULL  	
permit=NULL  	
mask=NULL  	
musiconhold=NULL  	
pickupgroup=NULL  	
qualify=yes  	
regexten=NULL  	
restrictid=NULL  	
rtptimeout=NULL  	
rtpholdtimeout=NULL  	
secret=********
setvar=NULL  	
disallow=all  	
allow=alaw;ulaw;gsm;g729  	   	
fullcontact=
ipaddr=0.0.0.0  	
port=0  	
regserver=connect1  	
regseconds=1239035042  	
username=999101305 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-06 23:11 vctor          Note Added: 0102809                          
======================================================================




More information about the asterisk-bugs mailing list