[asterisk-users] chan_sip.c:10173 handle_response: Dont know
howtohandle a 202 Accepted respons
Yuan LIU
yliu11 at hotmail.com
Tue Feb 27 15:22:46 MST 2007
>From: "Bala Neelakantan" <neel at quintum.com>
>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.. .8.. at .a.
..
...........INVITE sip:chat at 10.0.0.201 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&.. at . +
...
..
........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'.. at ...
...
..
........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
E....9.. at .c[
..
........s.WACK sip:chat at 10.0.0.201 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(.. at . d
...
..
.....{N/MESSAGE sip:asterisk at 10.0.0.10 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....:.. at .b.
..
...........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....;.. at .c5
..
..........{MESSAGE sip:chat at 10.0.0.201 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).. at . .
...
..
.......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
E..hD*.. at . .
...
..
.....Tw.BYE sip:asterisk at 10.0.0.10 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....<.. at .b.
..
...........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
More information about the asterisk-users
mailing list