Yuan,

It looks like you are getting 202 for SIP Request method MESSAGE.  The 202
response is processed properly.  Need to see the message fully.  You can
capture sip debug if you don't have ethereal.  This will provide more detail
call flow.

.....{N/MESSAGE sip:[EMAIL PROTECTED] SIP/2.0

        Via: SIP/2.0/U
13:42:12.761685 IP 10.0.0.10.5060 > 10.0.0.201.5060: UDP, length: 468
E....:[EMAIL PROTECTED]
..

...........SIP/2.0 202 Accepted

        Via: SIP/2.0/UDP 10.0.0.201:5060
13:42:12.793347 IP 10.0.0.10.5060 > 10.0.0.201.5060: UDP, length: 399
E....;[EMAIL PROTECTED]
..


Thanks,
Neel


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Yuan LIU
Sent: Tuesday, February 27, 2007 4:23 PM
To: [email protected]
Subject: RE: [asterisk-users] chan_sip.c:10173 handle_response: Dont
knowhowtohandle a 202 Accepted respons

>From: "Bala Neelakantan" <[EMAIL PROTECTED]>
>Date: Tue, 27 Feb 2007 14:21:32 -0600
>
>Looks like asterisk is receiving 202 while it is not expecting it.
>
>/*! \brief Handle SIP response in dialogue */
>/* XXX only called by handle_request */
>static void handle_response(struct sip_pvt *p, int resp, char *rest, struct
>sip_request *req, int ignore, int seqno)
>
>Can you provide ethereal capture when you see this log message?

Neel,

Thanks for the reply.  I don't have ethereal on the machine and not sure how

to capture - non-graphic terminal environment.  Below is output from 
tcpdump.  In this session, I see two "202 Accepted" from 1.4.0, only one 
"don't know" notice.  Interestingly, identical tests between two 1.2.13 
Asterisk does not produce this.

I assume that this is nothing serious, because the session completes without

any problem, and the message is only a notice.  If anything, I'll simply 
revert to 1.2. (These are non-production.)

Yuan Liu
----
13:42:12.685850 IP 10.0.0.10.5060 > 10.0.0.201.5060: UDP, length: 749
E..     [EMAIL PROTECTED]
..

...........INVITE sip:[EMAIL PROTECTED] SIP/2.0

        Via: SIP/2.0/UDP 1
13:42:12.686783 IP 10.0.0.201.5060 > 10.0.0.10.5060: UDP, length: 430
E...D&[EMAIL PROTECTED] +
...
..
........SIP/2.0 100 Trying

        Via: SIP/2.0/UDP 10.0.0.10:5060;br
13:42:12.687705 IP 10.0.0.201.5060 > 10.0.0.10.5060: UDP, length: 710
E...D'[EMAIL PROTECTED]
...
..
........SIP/2.0 200 OK

        Via: SIP/2.0/UDP 10.0.0.10:5060;branch
13:42:12.688229 IP 10.0.0.10.5060 > 10.0.0.201.5060: UDP, length: 363
[EMAIL PROTECTED]
..

........s.WACK sip:[EMAIL PROTECTED] SIP/2.0
V
        ia: SIP/2.0/UDP 10.0
13:42:12.761105 IP 10.0.0.201.5060 > 10.0.0.10.5060: UDP, length: 371
E...D([EMAIL PROTECTED] d
...
..
.....{N/MESSAGE sip:[EMAIL PROTECTED] SIP/2.0

        Via: SIP/2.0/U
13:42:12.761685 IP 10.0.0.10.5060 > 10.0.0.201.5060: UDP, length: 468
E....:[EMAIL PROTECTED]
..

...........SIP/2.0 202 Accepted

        Via: SIP/2.0/UDP 10.0.0.201:5060
13:42:12.793347 IP 10.0.0.10.5060 > 10.0.0.201.5060: UDP, length: 399
E....;[EMAIL PROTECTED]
..

..........{MESSAGE sip:[EMAIL PROTECTED] SIP/2.0
V
        ia: SIP/2.0/UDP
13:42:12.793863 IP 10.0.0.201.5060 > 10.0.0.10.5060: UDP, length: 448
E...D)[EMAIL PROTECTED] .
...
..
.......oSIP/2.0 202 Accepted

        Via: SIP/2.0/UDP 10.0.0.10:5060;
13:42:12.796133 IP 10.0.0.201.5060 > 10.0.0.10.5060: UDP, length: 332
[EMAIL PROTECTED] .
...
..
.....Tw.BYE sip:[EMAIL PROTECTED] SIP/2.0

        Via: SIP/2.0/UDP 1
13:42:12.796777 IP 10.0.0.10.5060 > 10.0.0.201.5060: UDP, length: 463
E....<[EMAIL PROTECTED]
..

...........SIP/2.0 200 OK

        Via: SIP/2.0/UDP 10.0.0.201:5060;branc


>Thanks,
>Neel
>
>-----Original Message-----
>
>What does this mean?  Asterisk 1.2.13 talking to 1.4.0. (response from
>1.4.0.)
>
>Yuan Liu


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to