[Home]

Summary:ASTERISK-02652: asterisk "101 Dialog Establishement" error
Reporter:duanecox (duanecox)Labels:
Date Opened:2004-10-22 08:46:00Date Closed:2008-01-15 15:11:33.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Interoperability
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) mydiff.txt
Description:I am working with a SIP implementation that gives 101 Dialog Establishment
session progress message in response to asterisk INVITE request.  Asterisk
produces the following log message:

Oct 22 08:43:08 NOTICE[98310]: chan_sip.c:6827 handle_response: Dunno anything about a 101 Dialog Establishement response from SIP/3790612-4431


****** ADDITIONAL INFORMATION ******

   -- Accepting call from '3796075' to '3790612' on channel 0/2, span 1
   -- Executing Dial("Zap/2-1", "SIP/3790612|30|t") in new stack
We're at 192.168.228.202 port 19508
Answering/Requesting with root capability 4
12 headers, 8 lines
Reliably Transmitting:
INVITE sip:3790612@192.168.240.2 SIP/2.0
Via: SIP/2.0/UDP 192.168.228.202:5060;branch=z9hG4bK5b3ed4e4
From: "3796075" <sip:3796075@192.168.228.202>;tag=as0a9b2b98
To: <sip:3790612@192.168.240.2>
Contact: <sip:3796075@192.168.228.202>
Call-ID: 404c294356921a96341bc23116c350b2@192.168.228.202
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Date: Fri, 22 Oct 2004 13:43:08 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 164

v=0
o=root 14400 14400 IN IP4 192.168.228.202
s=session
c=IN IP4 192.168.228.202
t=0 0
m=audio 19508 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=silenceSupp:off - - - -
(no NAT) to 192.168.240.2:5060
   -- Called 3790612
pbx1*CLI>

Sip read:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.228.202:5060;branch=z9hG4bK5b3ed4e4
From: "3796075" <sip:3796075@192.168.228.202>;tag=as0a9b2b98
To: <sip:3790612@192.168.240.2>
Call-ID: 404c294356921a96341bc23116c350b2@192.168.228.202
CSeq: 102 INVITE
Content-Length: 0


7 headers, 0 lines
pbx1*CLI>

Sip read:
SIP/2.0 101 Dialog Establishement
Via: SIP/2.0/UDP 192.168.228.202:5060;branch=z9hG4bK5b3ed4e4
From: "3796075" <sip:3796075@192.168.228.202>;tag=as0a9b2b98
To: <sip:3790612@192.168.240.2>;tag=2305100060d0f4fc7
Call-ID: 404c294356921a96341bc23116c350b2@192.168.228.202
CSeq: 102 INVITE
Contact: <sip:3790612@192.168.240.2:5060>
Content-Length: 0


8 headers, 0 lines
Oct 22 08:43:08 NOTICE[98310]: chan_sip.c:6827 handle_response: Dunno anything about a 101 Dialog Establishement response from SIP/3790612-4431
pbx1*CLI>

Sip read:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.228.202:5060;branch=z9hG4bK5b3ed4e4
From: "3796075" <sip:3796075@192.168.228.202>;tag=as0a9b2b98
To: <sip:3790612@192.168.240.2>;tag=2305100060d0f4fc7
Call-ID: 404c294356921a96341bc23116c350b2@192.168.228.202
CSeq: 102 INVITE
Contact: <sip:3790612@192.168.240.2:5060>
Content-Length: 0


8 headers, 0 lines
   -- SIP/3790612-4431 is ringing
Comments:By: duanecox (duanecox) 2004-10-22 08:46:37

This problem was also reported to the -dev mailing list:

http://lists.digium.com/pipermail/asterisk-dev/2004-February/003194.html

By: Mark Spencer (markster) 2004-10-22 09:19:54

Okay, 1xx response treated as 183 as it should be in CVS head.

By: Russell Bryant (russell) 2004-10-24 17:00:57

fixed in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:11:00.000-0600

Repository: asterisk
Revision: 4043

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r4043 | markster | 2008-01-15 15:10:59 -0600 (Tue, 15 Jan 2008) | 2 lines

Handle unknown 1xx reponses as 100 (bug ASTERISK-2652)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4043

By: Digium Subversion (svnbot) 2008-01-15 15:11:33.000-0600

Repository: asterisk
Revision: 4086

U   branches/v1-0/channels/chan_sip.c

------------------------------------------------------------------------
r4086 | russell | 2008-01-15 15:11:33 -0600 (Tue, 15 Jan 2008) | 2 lines

Handle unknown 1xx reponses as 100 (bug ASTERISK-2652)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4086