[asterisk-bugs] [Asterisk 0016425]: SIP qualify fails unless NAT is enabled

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 10 15:23:06 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16425 
====================================================================== 
Reported By:                hevad
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16425
Category:                   Channels/chan_sip/TCP-TLS
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 233730 
Request Review:              
====================================================================== 
Date Submitted:             2009-12-10 13:33 CST
Last Modified:              2009-12-10 15:23 CST
====================================================================== 
Summary:                    SIP qualify fails unless NAT is enabled
Description: 
Using a SIP device on the same subnet as asterisk fails to qualify unless
nat option is enabled. The device will register fine and can make outgoing
calls but will not receive calls.
====================================================================== 

---------------------------------------------------------------------- 
 (0115115) hevad (reporter) - 2009-12-10 15:23
 https://issues.asterisk.org/view.php?id=16425#c115115 
---------------------------------------------------------------------- 
Yes, here is the relevant contact and log extracts, note "illegal seek"
error at end of log:

 * Name       : 203
  Nat          : RFC3581
  ToHost       : 192.168.16.158
  Addr->IP     : 192.168.16.158 Port 19820
  Defaddr->IP  : 0.0.0.0 Port 5060
  Transport    : TCP
  Status       : Unmonitored
  Useragent    : X-Lite release 1103k stamp 53621
  Reg. Contact :
sip:203 at 192.168.16.158:19820;rinstance=8b6bbc950decfb5f;transport=TCP

Log:

INVITE
sip:203 at 192.168.16.158:19820;rinstance=8b6bbc950decfb5f;transport=TCP
SIP/2.0
Via: SIP/2.0/TCP 192.168.16.62:5060;branch=z9hG4bK74cbe763;rport
Max-Forwards: 70
From: "Dave Hawkes" <sip:223 at a.cadlink.com>;tag=as7f6a447a
To:
<sip:203 at 192.168.16.158:19820;rinstance=8b6bbc950decfb5f;transport=TCP>
Contact: <sip:223 at 192.168.16.62;transport=TCP>
Call-ID: 0de1333a796cf1927125175a16be5e94 at a.cadlink.com
CSeq: 102 INVITE
User-Agent: Asterisk PBX SVN-branch-1.6.1-r233730M
Date: Thu, 10 Dec 2009 21:17:34 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 361

v=0
o=root 1036138110 1036138110 IN IP4 192.168.16.62
s=Asterisk PBX SVN-branch-1.6.1-r233730M
c=IN IP4 192.168.16.62
t=0 0
m=audio 13950 RTP/AVP 0 8 3 111 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

---
[Dec 10 16:17:34] WARNING[15393] chan_sip.c: sip_xmit of 0x1d86e2c0 (len
1036) to 192.168.16.158:19820 returned -2: Illegal seek
[Dec 10 16:17:34] VERBOSE[15393] app_dial.c:     -- Called 203 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-10 15:23 hevad          Note Added: 0115115                          
======================================================================




More information about the asterisk-bugs mailing list