[OpenSIPS-Users] load_balance and 483 error.

David dave.nwk at gmail.com
Thu Jul 16 00:58:43 CEST 2009


Here's a capture of the ACK and loop, can send full nget if you
like:

U 2009/07/15 19:27:22.742189 sipp-ip:5060 -> opensips-ip:5060
ACK sip:xxx at opensips-ip:5060 SIP/2.0.
Via: SIP/2.0/UDP sipp-ip:5060;branch=z9hG4bK-5582-1-5.
From: sipp <sip:sipp at sipp-ip:5060>;tag=5582SIPpTag001.
To: sut <sip:xxx at opensips-ip:5060>;tag=as2d1dd240.
Call-ID: 1-5582 at sipp-ip.
CSeq: 1 ACK.
Contact: sip:sipp at sipp-ip:5060.
Max-Forwards: 70.
Subject: Performance Test.
Content-Length: 0.
.


U 2009/07/15 19:27:23.690243 asterisk-ip:5060 -> opensips-ip:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP opensips-ip;branch=z9hG4bKddfa.1d2bfca3.0;received=opensips-ip.
Via: SIP/2.0/UDP sipp-ip:5060;branch=z9hG4bK-5582-1-0.
From: sipp <sip:sipp at sipp-ip:5060>;tag=5582SIPpTag001.
To: sut <sip:xxx at opensips-ip:5060>;tag=as2d1dd240.
Call-ID: 1-5582 at sipp-ip.
CSeq: 1 INVITE.
User-Agent: Asterisk PBX.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Supported: replaces.
Contact: <sip:xxx at asterisk-ip>.
Content-Type: application/sdp.
Content-Length: 182.
.
v=0.
o=root 1496 1496 IN IP4 asterisk-ip.
s=session.
c=IN IP4 asterisk-ip.
t=0 0.
m=audio 19044 RTP/AVP 0.
a=rtpmap:0 PCMU/8000.
a=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.


U 2009/07/15 19:27:23.690243 opensips-ip:5060 -> sipp-ip:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP sipp-ip:5060;branch=z9hG4bK-5582-1-0.
From: sipp <sip:sipp at sipp-ip:5060>;tag=5582SIPpTag001.
To: sut <sip:xxx at opensips-ip:5060>;tag=as2d1dd240.
Call-ID: 1-5582 at sipp-ip.
CSeq: 1 INVITE.
User-Agent: Asterisk PBX.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Supported: replaces.
Contact: <sip:xxx at asterisk-ip>.
Content-Type: application/sdp.
Content-Length: 182.
.
v=0.
o=root 1496 1496 IN IP4 asterisk-ip.
s=session.
c=IN IP4 asterisk-ip.
t=0 0.
m=audio 19044 RTP/AVP 0.
a=rtpmap:0 PCMU/8000.
a=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.


U 2009/07/15 19:27:23.742246 sipp-ip:5060 -> opensips-ip:5060
ACK sip:xxx at opensips-ip:5060 SIP/2.0.
Via: SIP/2.0/UDP sipp-ip:5060;branch=z9hG4bK-5582-1-5.
From: sipp <sip:sipp at sipp-ip:5060>;tag=5582SIPpTag001.
To: sut <sip:xxx at opensips-ip:5060>;tag=as2d1dd240.
Call-ID: 1-5582 at sipp-ip.
CSeq: 1 ACK.
Contact: sip:sipp at sipp-ip:5060.
Max-Forwards: 70.
Subject: Performance Test.
Content-Length: 0.
.


U 2009/07/15 19:27:24.690300 asterisk-ip:5060 -> opensips-ip:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP opensips-ip;branch=z9hG4bKddfa.1d2bfca3.0;received=opensips-ip.
Via: SIP/2.0/UDP sipp-ip:5060;branch=z9hG4bK-5582-1-0.
From: sipp <sip:sipp at sipp-ip:5060>;tag=5582SIPpTag001.

To: sut <sip:xxx at opensips-ip:5060>;tag=as2d1dd240.
Call-ID: 1-5582 at sipp-ip.
CSeq: 1 INVITE.
User-Agent: Asterisk PBX.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Supported: replaces.
Contact: <sip:xxx at asterisk-ip>.
Content-Type: application/sdp.
Content-Length: 182.
.
v=0.
o=root 1496 1496 IN IP4 asterisk-ip.
s=session.
c=IN IP4 asterisk-ip.
t=0 0.
m=audio 19044 RTP/AVP 0.
a=rtpmap:0 PCMU/8000.
a=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.


U 2009/07/15 19:27:24.690300 opensips-ip:5060 -> sipp-ip:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP sipp-ip:5060;branch=z9hG4bK-5582-1-0.
From: sipp <sip:sipp at sipp-ip:5060>;tag=5582SIPpTag001.
To: sut <sip:xxx at opensips-ip:5060>;tag=as2d1dd240.
Call-ID: 1-5582 at sipp-ip.
CSeq: 1 INVITE.
User-Agent: Asterisk PBX.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Supported: replaces.
Contact: <sip:xxx at asterisk-ip>.
Content-Type: application/sdp.
Content-Length: 182.
.
v=0.
o=root 1496 1496 IN IP4 asterisk-ip.
s=session.
c=IN IP4 asterisk-ip.
t=0 0.
m=audio 19044 RTP/AVP 0.
a=rtpmap:0 PCMU/8000.
a=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.


U 2009/07/15 19:27:24.742303 sipp-ip:5060 -> opensips-ip:5060
ACK sip:xxx at opensips-ip:5060 SIP/2.0.
Via: SIP/2.0/UDP sipp-ip:5060;branch=z9hG4bK-5582-1-5.
From: sipp <sip:sipp at sipp-ip:5060>;tag=5582SIPpTag001.
To: sut <sip:xxx at opensips-ip:5060>;tag=as2d1dd240.
Call-ID: 1-5582 at sipp-ip.
CSeq: 1 ACK.
Contact: sip:sipp at sipp-ip:5060.
Max-Forwards: 70.
Subject: Performance Test.
Content-Length: 0.
.


U 2009/07/15 19:27:24.742303 sipp-ip:5060 -> opensips-ip:5060
BYE sip:xxx at opensips-ip:5060 SIP/2.0.
Via: SIP/2.0/UDP sipp-ip:5060;branch=z9hG4bK-5582-1-8.
From: sipp <sip:sipp at sipp-ip:5060>;tag=5582SIPpTag001.
To: sut <sip:xxx at opensips-ip:5060>;tag=as2d1dd240.
Call-ID: 1-5582 at sipp-ip.
CSeq: 2 BYE.
Contact: sip:sipp at sipp-ip:5060.
Max-Forwards: 70.
Subject: Performance Test.
Content-Length: 0.
.


U 2009/07/15 19:27:24.766304 opensips-ip:5060 -> sipp-ip:5060
SIP/2.0 483 looping.
Via: SIP/2.0/UDP sipp-ip:5060;branch=z9hG4bK-5582-1-8.
From: sipp <sip:sipp at sipp-ip:5060>;tag=5582SIPpTag001.
To: sut <sip:xxx at opensips-ip:5060>;tag=as2d1dd240.
Call-ID: 1-5582 at sipp-ip.
CSeq: 2 BYE.
Server: OpenSIPS (1.5.1-notls (x86_64/linux)).
Content-Length: 0.
.

U 2009/07/15 19:27:24.818307 sipp-ip:5060 -> opensips-ip:5060
BYE sip:xxx at opensips-ip:5060 SIP/2.0.
Via: SIP/2.0/UDP sipp-ip:5060;branch=z9hG4bK-5582-1--1.
From: sipp <sip:sipp at sipp-ip:5060>;tag=5582SIPpTag001.
To: sut <sip:xxx at opensips-ip:5060>;tag=as2d1dd240.
Call-ID: 1-5582 at sipp-ip.
CSeq: 3 BYE.
Max-Forwards: 70.
Contact: <sip:sipp at sipp-ip:5060;transport=UDP>.
Content-Length: 0.
.


U 2009/07/15 19:27:24.842308 opensips-ip:5060 -> sipp-ip:5060
SIP/2.0 483 looping.
Via: SIP/2.0/UDP sipp-ip:5060;branch=z9hG4bK-5582-1--1.
From: sipp <sip:sipp at sipp-ip:5060>;tag=5582SIPpTag001.
To: sut <sip:xxx at opensips-ip:5060>;tag=as2d1dd240.
Call-ID: 1-5582 at sipp-ip.
CSeq: 3 BYE.
Server: OpenSIPS (1.5.1-notls (x86_64/linux)).
Content-Length: 0.
.


U 2009/07/15 19:27:26.690414 asterisk-ip:5060 -> opensips-ip:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP opensips-ip;branch=z9hG4bKddfa.1d2bfca3.0;received=opensips-ip.
Via: SIP/2.0/UDP sipp-ip:5060;branch=z9hG4bK-5582-1-0.
From: sipp <sip:sipp at sipp-ip:5060>;tag=5582SIPpTag001.
To: sut <sip:xxx at opensips-ip:5060>;tag=as2d1dd240.
Call-ID: 1-5582 at sipp-ip.
CSeq: 1 INVITE.
User-Agent: Asterisk PBX.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Supported: replaces.
Contact: <sip:xxx at asterisk-ip>.
Content-Type: application/sdp.
Content-Length: 182.
.
v=0.
o=root 1496 1496 IN IP4 asterisk-ip.
s=session.
c=IN IP4 asterisk-ip.
t=0 0.
m=audio 19044 RTP/AVP 0.
a=rtpmap:0 PCMU/8000.
a=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.


U 2009/07/15 19:27:26.690414 opensips-ip:5060 -> sipp-ip:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP sipp-ip:5060;branch=z9hG4bK-5582-1-0.
From: sipp <sip:sipp at sipp-ip:5060>;tag=5582SIPpTag001.
To: sut <sip:xxx at opensips-ip:5060>;tag=as2d1dd240.
Call-ID: 1-5582 at sipp-ip.
CSeq: 1 INVITE.
User-Agent: Asterisk PBX.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Supported: replaces.
Contact: <sip:xxx at asterisk-ip>.
Content-Type: application/sdp.
Content-Length: 182.
.
v=0.
o=root 1496 1496 IN IP4 asterisk-ip.
s=session.
c=IN IP4 asterisk-ip.
t=0 0.
m=audio 19044 RTP/AVP 0.
a=rtpmap:0 PCMU/8000.
a=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.

On Wed, Jul 15, 2009 at 3:44 PM, Iñaki Baz Castillo<ibc at aliax.net> wrote:
> El Jueves, 16 de Julio de 2009, David escribió:
>
> I don't understand how exactly your scenario is. However, OpenSIPS doesn't
> fail routing an ACK.
> I asked you for a ngrep capture showing the problem. A loop means that the
> request (INVITE or ACK in this case) leaves OpenSIPS and comes back with no
> changes so the same process is done (loop) Can you show it in a real ngrep
> capture?



More information about the Users mailing list