[OpenSIPS-Users] resending the ACK to itself

Toyima Dias toyimads at gmail.com
Thu Feb 17 12:19:27 CET 2011


Hello community,

I'm having a weird error connecting my OpenSIPS with my Asterisk server,
this is the scenario:

A (172.30.140.18:55063) --> OpenSIPS (172.30.140.57:5060) --> Asterisk (
172.30.140.40:5060) --> B

and now take a look at the traces:

U 2011/02/17 11:53:01.933871 172.30.140.18:55063 -> 172.30.140.57:5060
INVITE sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>SIP/2.0^@
Via: SIP/2.0/UDP 172.30.140.18:55063
;branch=z9hG4bK-d87543-2f38213d4413f513-1--d87543-;rport^@
Max-Forwards: 70^@
Contact: <sip:1000 at 172.30.140.18:55063>^@
To: "011887238976894563045"<sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
>^@
From: "1000"<sip:1000 at 172.30.140.57 <sip%3A1000 at 172.30.140.57>
>;tag=f8636d21^@
Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@
CSeq: 2 INVITE^@
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO^@
Content-Type: application/sdp^@
Proxy-Authorization: Digest
username="1000",realm="172.30.140.57",nonce="4d5cfe2b0000000225b0486d17b27e44f8d7c14d191f0ae7",uri="
sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
",response="6c7defa53d5c68c1f3d2b5fda8400be6",algorithm=MD5^@
User-Agent: X-Lite release 1011s stamp 41150^@
Content-Length: 372^@
^@
v=0^@
o=- 2 2 IN IP4 172.30.140.18^@
s=CounterPath X-Lite 3.0^@
c=IN IP4 172.30.140.18^@
t=0 0^@
m=audio 50020 RTP/AVP 107 119 100 106 0 105 98 8 101^@
a=fmtp:101 0-15^@
a=rtpmap:107 BV32/16000^@
a=rtpmap:119 BV32-FEC/16000^@
a=rtpmap:100 SPEEX/16000^@
a=rtpmap:106 SPEEX-FEC/16000^@
a=rtpmap:105 SPEEX-FEC/8000^@
a=rtpmap:98 iLBC/8000^@
a=rtpmap:101 telephone-event/8000^@
a=sendrecv^@


U 2011/02/17 11:53:01.935400 172.30.140.57:5060 -> 172.30.140.40:5060
INVITE sip:887238976894563045 at 172.30.140.40<sip%3A887238976894563045 at 172.30.140.40>SIP/2.0^@
Record-Route: <sip:172.30.140.57;lr=on>^@
Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.0^@
Via: SIP/2.0/UDP 172.30.140.18:55063
;received=172.30.140.18;branch=z9hG4bK-d87543-2f38213d4413f513-1--d87543-;rport=55063^@
Max-Forwards: 69^@
Contact: <sip:1000 at 172.30.140.18:55063>^@
To: "011887238976894563045"<sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
>^@
From: "1000"<sip:1000 at 172.30.140.57 <sip%3A1000 at 172.30.140.57>
>;tag=f8636d21^@
Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@
CSeq: 2 INVITE^@
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO^@
Content-Type: application/sdp^@
User-Agent: X-Lite release 1011s stamp 41150^@
Content-Length: 372^@
^@
v=0^@
o=- 2 2 IN IP4 172.30.140.18^@
s=CounterPath X-Lite 3.0^@
c=IN IP4 172.30.140.18^@
t=0 0^@
m=audio 50020 RTP/AVP 107 119 100 106 0 105 98 8 101^@
a=fmtp:101 0-15^@
a=rtpmap:107 BV32/16000^@
a=rtpmap:119 BV32-FEC/16000^@
a=rtpmap:100 SPEEX/16000^@
a=rtpmap:106 SPEEX-FEC/16000^@
a=rtpmap:105 SPEEX-FEC/8000^@
a=rtpmap:98 iLBC/8000^@
a=rtpmap:101 telephone-event/8000^@
a=sendrecv^@


U 2011/02/17 11:53:02.284379 172.30.140.40:5060 -> 172.30.140.57:5060
SIP/2.0 180 Ringing^@
Via: SIP/2.0/UDP
172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.0;received=172.30.140.57^@
Via: SIP/2.0/UDP 172.30.140.18:55063
;received=172.30.140.18;branch=z9hG4bK-d87543-2f38213d4413f513-1--d87543-;rport=55063^@
Record-Route: <sip:172.30.140.57;lr=on>^@
From: "1000"<sip:1000 at 172.30.140.57 <sip%3A1000 at 172.30.140.57>
>;tag=f8636d21^@
To: "011887238976894563045"<sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
>;tag=as2d96f902^@
Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@
CSeq: 2 INVITE^@
User-Agent: Asterisk PBX^@
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY^@
Supported: replaces^@
Contact: <sip:887238976894563045 at 172.30.140.40<sip%3A887238976894563045 at 172.30.140.40>
>^@
Content-Length: 0^@
^@

#
U 2011/02/17 11:53:02.284672 172.30.140.57:5060 -> 172.30.140.18:55063
SIP/2.0 180 Ringing^@
Via: SIP/2.0/UDP 172.30.140.18:55063
;received=172.30.140.18;branch=z9hG4bK-d87543-2f38213d4413f513-1--d87543-;rport=55063^@
Record-Route: <sip:172.30.140.57;lr=on>^@
From: "1000"<sip:1000 at 172.30.140.57 <sip%3A1000 at 172.30.140.57>
>;tag=f8636d21^@
To: "011887238976894563045"<sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
>;tag=as2d96f902^@
Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@
CSeq: 2 INVITE^@
User-Agent: Asterisk PBX^@
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY^@
Supported: replaces^@
Contact: <sip:887238976894563045 at 172.30.140.40<sip%3A887238976894563045 at 172.30.140.40>
>^@
Content-Length: 0^@
^@

U 2011/02/17 11:53:03.298391 172.30.140.40:5060 -> 172.30.140.57:5060
SIP/2.0 200 OK^@
Via: SIP/2.0/UDP
172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.0;received=172.30.140.57^@
Via: SIP/2.0/UDP 172.30.140.18:55063
;received=172.30.140.18;branch=z9hG4bK-d87543-2f38213d4413f513-1--d87543-;rport=55063^@
Record-Route: <sip:172.30.140.57;lr=on>^@
From: "1000"<sip:1000 at 172.30.140.57 <sip%3A1000 at 172.30.140.57>
>;tag=f8636d21^@
To: "011887238976894563045"<sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
>;tag=as2d96f902^@
Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@
CSeq: 2 INVITE^@
User-Agent: Asterisk PBX^@
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY^@
Supported: replaces^@
Contact: <sip:887238976894563045 at 172.30.140.40<sip%3A887238976894563045 at 172.30.140.40>
>^@
Content-Type: application/sdp^@
Content-Length: 240^@
^@
v=0^@
o=root 1966 1966 IN IP4 172.30.140.40^@
s=session^@
c=IN IP4 172.30.140.40^@
t=0 0^@
m=audio 18852 RTP/AVP 0 101^@
a=rtpmap:0 PCMU/8000^@
a=rtpmap:101 telephone-event/8000^@
a=fmtp:101 0-16^@
a=silenceSupp:off - - - -^@
a=ptime:20^@
a=sendrecv^@

U 2011/02/17 11:53:03.298702 172.30.140.57:5060 -> 172.30.140.18:55063
SIP/2.0 200 OK^@
Via: SIP/2.0/UDP 172.30.140.18:55063
;received=172.30.140.18;branch=z9hG4bK-d87543-2f38213d4413f513-1--d87543-;rport=55063^@
Record-Route: <sip:172.30.140.57;lr=on>^@
From: "1000"<sip:1000 at 172.30.140.57 <sip%3A1000 at 172.30.140.57>
>;tag=f8636d21^@
To: "011887238976894563045"<sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
>;tag=as2d96f902^@
Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@
CSeq: 2 INVITE^@
User-Agent: Asterisk PBX^@
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY^@
Supported: replaces^@
Contact: <sip:887238976894563045 at 172.30.140.40<sip%3A887238976894563045 at 172.30.140.40>
>^@
Content-Type: application/sdp^@
Content-Length: 240^@
^@
v=0^@
o=root 1966 1966 IN IP4 172.30.140.40^@
s=session^@
c=IN IP4 172.30.140.40^@
t=0 0^@
m=audio 18852 RTP/AVP 0 101^@
a=rtpmap:0 PCMU/8000^@
a=rtpmap:101 telephone-event/8000^@
a=fmtp:101 0-16^@
a=silenceSupp:off - - - -^@
a=ptime:20^@
a=sendrecv^@

#
U 2011/02/17 11:53:03.407685 *172.30.140.18:55063 -> 172.30.140.57:5060*
*ACK sip:887238976894563045 at 172.30.140.40<sip%3A887238976894563045 at 172.30.140.40>SIP/2.0^@
Via: SIP/2.0/UDP 172.30.140.18:55063
;branch=z9hG4bK-d87543-521a2b0fde4fec7e-1--d87543-;rport^@*
Max-Forwards: 70^@
Route: <sip:172.30.140.57;lr>^@
Contact: <sip:1000 at 172.30.140.18:55063>^@
To: "011887238976894563045"<sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
>;tag=as2d96f902^@
From: "1000"<sip:1000 at 172.30.140.57 <sip%3A1000 at 172.30.140.57>
>;tag=f8636d21^@
Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@
CSeq: 2 ACK^@
Proxy-Authorization: Digest
username="1000",realm="172.30.140.57",nonce="4d5cfe2b0000000225b0486d17b27e44f8d7c14d191f0ae7",uri="
sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
",response="6c7defa53d5c68c1f3d2b5fda8400be6",algorithm=MD5^@
User-Agent: X-Lite release 1011s stamp 41150^@
Content-Length: 0^@

U 2011/02/17 11:53:03.407995 *172.30.140.57:5060 -> 172.30.140.57:5060*
*ACK sip:172.30.140.57;lr SIP/2.0^@
Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@
Via: SIP/2.0/UDP 172.30.140.18:55063
;received=172.30.140.18;branch=z9hG4bK-d87543-521a2b0fde4fec7e-1--d87543-;rport=55063^@
*
Max-Forwards: 69^@
Contact: <sip:1000 at 172.30.140.18:55063>^@
To: "011887238976894563045"<sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
>;tag=as2d96f902^@
From: "1000"<sip:1000 at 172.30.140.57 <sip%3A1000 at 172.30.140.57>
>;tag=f8636d21^@
Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@
CSeq: 2 ACK^@
Proxy-Authorization: Digest
username="1000",realm="172.30.140.57",nonce="4d5cfe2b0000000225b0486d17b27e44f8d7c14d191f0ae7",uri="
sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
",response="6c7defa53d5c68c1f3d2b5fda8400be6",algorithm=MD5^@
User-Agent: X-Lite release 1011s stamp 41150^@
Content-Length: 0^@
^@

#
U 2011/02/17 11:53:03.408064 *172.30.140.57:5060 -> 172.30.140.57:5060*
*ACK sip:172.30.140.57;lr SIP/2.0^@
Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@
Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@
Via: SIP/2.0/UDP 172.30.140.18:55063
;received=172.30.140.18;branch=z9hG4bK-d87543-521a2b0fde4fec7e-1--d87543-;rport=55063^@
*
Max-Forwards: 68^@
Contact: <sip:1000 at 172.30.140.18:55063>^@
To: "011887238976894563045"<sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
>;tag=as2d96f902^@
From: "1000"<sip:1000 at 172.30.140.57 <sip%3A1000 at 172.30.140.57>
>;tag=f8636d21^@
Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@
CSeq: 2 ACK^@
Proxy-Authorization: Digest
username="1000",realm="172.30.140.57",nonce="4d5cfe2b0000000225b0486d17b27e44f8d7c14d191f0ae7",uri="
sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
",response="6c7defa53d5c68c1f3d2b5fda8400be6",algorithm=MD5^@
User-Agent: X-Lite release 1011s stamp 41150^@
Content-Length: 0^@

U 2011/02/17 11:53:03.408099 *172.30.140.57:5060 -> 172.30.140.57:5060*
*ACK sip:172.30.140.57;lr SIP/2.0^@
Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@
Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@
Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@
Via: SIP/2.0/UDP 172.30.140.18:55063
;received=172.30.140.18;branch=z9hG4bK-d87543-521a2b0fde4fec7e-1--d87543-;rport=55063^
*@
Max-Forwards: 67^@
Contact: <sip:1000 at 172.30.140.18:55063>^@
To: "011887238976894563045"<sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
>;tag=as2d96f902^@
From: "1000"<sip:1000 at 172.30.140.57 <sip%3A1000 at 172.30.140.57>
>;tag=f8636d21^@
Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@
CSeq: 2 ACK^@
Proxy-Authorization: Digest
username="1000",realm="172.30.140.57",nonce="4d5cfe2b0000000225b0486d17b27e44f8d7c14d191f0ae7",uri="
sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
",response="6c7defa53d5c68c1f3d2b5fda8400be6",algorithm=MD5^@
User-Agent: X-Lite release 1011s stamp 41150^@
Content-Length: 0^@
^@

#
U 2011/02/17 11:53:03.408129 *172.30.140.57:5060 -> 172.30.140.57:5060*
*ACK sip:172.30.140.57;lr SIP/2.0^@
Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@
Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@
Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@
Via: SIP/2.0/UDP 172.30.140.57;branch=z9hG4bKbf24.2b64a8c2.2^@
Via: SIP/2.0/UDP 172.30.140.18:55063
;received=172.30.140.18;branch=z9hG4bK-d87543-521a2b0fde4fec7e-1--d87543-;rport=55063^@
*
Max-Forwards: 66^@
Contact: <sip:1000 at 172.30.140.18:55063>^@
To: "011887238976894563045"<sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
>;tag=as2d96f902^@
From: "1000"<sip:1000 at 172.30.140.57 <sip%3A1000 at 172.30.140.57>
>;tag=f8636d21^@
Call-ID: NjM0ZDU0NmNkOTI2YWZmYjk4MzBlY2Y2ZmJhM2YxYjU.^@
CSeq: 2 ACK^@
Proxy-Authorization: Digest
username="1000",realm="172.30.140.57",nonce="4d5cfe2b0000000225b0486d17b27e44f8d7c14d191f0ae7",uri="
sip:011887238976894563045 at 172.30.140.57<sip%3A011887238976894563045 at 172.30.140.57>
",response="6c7defa53d5c68c1f3d2b5fda8400be6",algorithm=MD5^@
User-Agent: X-Lite release 1011s stamp 41150^@
Content-Length: 0^@
.
.
.
.

This continues until the Asterisk retransmit the 200 OK, but then the same
behavior, the Proxy sends the ACK from A to itself...what is happening? what
should i check?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110217/fee6856f/attachment-0001.htm>


More information about the Users mailing list