[OpenSIPS-Users] Problem with 408 Request Timeout

mmarzuola at interfree.it mmarzuola at interfree.it
Tue Apr 14 11:16:24 CEST 2009


Hi Bogdan.
I'm using the 1.4.5 version of opensips. The clients are Sjphone.
I tried to set 0 the restart_fr_on_each_reply parameter but the 408 is not sent from the proxy.
This is a part of the trace:

U 10.10.45.72:5060 -> 10.10.45.172:5060
OPTIONS sip:10.10.45.172:5060 SIP/2.0.
Via: SIP/2.0/UDP 10.10.45.72;rport;branch=z9hG4bK0a0a2d480000001049e4524517cec4810000000f.
Content-Length: 0.
Call-ID: A76C0E8E-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
CSeq: 1 OPTIONS.
From: <sip:1002 at 10.10.45.172>;tag=2749456730961974872.
Max-Forwards: 70.
To: <sip:10.10.45.172:5060>.
.

#
U 10.10.45.172:5060 -> 10.10.45.72:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.10.45.72;rport=5060;branch=z9hG4bK0a0a2d480000001049e4524517cec4810000000f.
Call-ID: A76C0E8E-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
CSeq: 1 OPTIONS.
From: <sip:1002 at 10.10.45.172>;tag=2749456730961974872.
To: <sip:10.10.45.172:5060>;tag=068ab00170139f334f53ff70106fa38e.5d11.
Accept: */*.
Accept-Encoding: .
Accept-Language: en.
Supported: .
Server: OpenSIPS (1.5.0dev5-notls (i386/linux)).
Content-Length: 0.
.

#
U 10.10.45.72:5060 -> 10.10.45.172:5060
INVITE sip:1000 at 10.10.45.172 SIP/2.0.
Via: SIP/2.0/UDP 10.10.45.72;rport;branch=z9hG4bK0a0a2d480000001d49e452465b32851c00000011.
Content-Length: 364.
Contact: <sip:1002 at 10.10.45.72:5060>.
Call-ID: A7DE8842-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
Content-Type: application/sdp.
CSeq: 1 INVITE.
From: "SJphone User"<sip:1002 at 10.10.45.172>;tag=2749457480613405994.
Max-Forwards: 70.
To: <sip:1000 at 10.10.45.172>.
User-Agent: SJphone/1.60.299a/L (SJ Labs).
.
v=0.
o=- 3448688838 3448688838 IN IP4 10.10.45.72.
s=SJphone.
c=IN IP4 10.10.45.72.
t=0 0.
a=direction:active.
m=audio 49154 RTP/AVP 3 97 98 110 8 0 101.
a=rtpmap:3 GSM/8000.
a=rtpmap:97 iLBC/8000.
a=rtpmap:98 iLBC/8000.
a=fmtp:98 mode=20.
a=rtpmap:110 speex/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-11,16.

#
U 10.10.45.172:5060 -> 10.10.45.72:5060
SIP/2.0 407 Proxy Authentication Required.
Via: SIP/2.0/UDP 10.10.45.72;rport=5060;branch=z9hG4bK0a0a2d480000001d49e452465b32851c00000011.
Call-ID: A7DE8842-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
CSeq: 1 INVITE.
From: "SJphone User"<sip:1002 at 10.10.45.172>;tag=2749457480613405994.
To: <sip:1000 at 10.10.45.172>;tag=068ab00170139f334f53ff70106fa38e.e56c.
Proxy-Authenticate: Digest realm="10.10.45.172", nonce="49e4494f00000007c8ad4ce4a6f768687df5d97065e3f2b8".
Server: OpenSIPS (1.5.0dev5-notls (i386/linux)).
Content-Length: 0.
.

#
U 10.10.45.72:5060 -> 10.10.45.172:5060
ACK sip:1000 at 10.10.45.172 SIP/2.0.
Via: SIP/2.0/UDP 10.10.45.72;rport;branch=z9hG4bK0a0a2d480000001d49e452465b32851c00000011.
Content-Length: 0.
Call-ID: A7DE8842-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
CSeq: 1 ACK.
From: "SJphone User"<sip:1002 at 10.10.45.172>;tag=2749457480613405994.
Max-Forwards: 70.
To: <sip:1000 at 10.10.45.172>;tag=068ab00170139f334f53ff70106fa38e.e56c.
User-Agent: SJphone/1.60.299a/L (SJ Labs).
.

#
U 10.10.45.72:5060 -> 10.10.45.172:5060
INVITE sip:1000 at 10.10.45.172 SIP/2.0.
Via: SIP/2.0/UDP 10.10.45.72;rport;branch=z9hG4bK0a0a2d480000001d49e45246558a6d7800000012.
Content-Length: 364.
Contact: <sip:1002 at 10.10.45.72:5060>.
Call-ID: A7DE8842-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
Content-Type: application/sdp.
CSeq: 2 INVITE.
From: "SJphone User"<sip:1002 at 10.10.45.172>;tag=2749457480613405994.
Max-Forwards: 70.
To: <sip:1000 at 10.10.45.172>.
User-Agent: SJphone/1.60.299a/L (SJ Labs).
Proxy-Authorization: Digest username="1002",realm="10.10.45.172",nonce="49e4494f00000007c8ad4ce4a6f768687df5d97065e3f2b8",uri="sip:1000 at 10.10.45.172",response="90ded2a784f4eefaacba64e5ee3d3ae3".
.
v=0.
o=- 3448688838 3448688838 IN IP4 10.10.45.72.
s=SJphone.
c=IN IP4 10.10.45.72.
t=0 0.
a=direction:active.
m=audio 49154 RTP/AVP 3 97 98 110 8 0 101.
a=rtpmap:3 GSM/8000.
a=rtpmap:97 iLBC/8000.
a=rtpmap:98 iLBC/8000.
a=fmtp:98 mode=20.
a=rtpmap:110 speex/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-11,16.

#
U 10.10.45.172:5060 -> 10.10.45.72:5060
SIP/2.0 100 Giving a try.
Via: SIP/2.0/UDP 10.10.45.72;rport=5060;branch=z9hG4bK0a0a2d480000001d49e45246558a6d7800000012.
Call-ID: A7DE8842-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
CSeq: 2 INVITE.
From: "SJphone User"<sip:1002 at 10.10.45.172>;tag=2749457480613405994.
To: <sip:1000 at 10.10.45.172>.
Server: OpenSIPS (1.5.0dev5-notls (i386/linux)).
Content-Length: 0.
.

#
U 10.10.45.172:5060 -> 10.10.45.102:5060
INVITE sip:1000 at 10.10.45.102:5060 SIP/2.0.
Record-Route: <sip:10.10.45.172;lr=on;ftag=2749457480613405994>.
Via: SIP/2.0/UDP 10.10.45.172;branch=z9hG4bKc4b3.25267bd3.0.
Via: SIP/2.0/UDP 10.10.45.72;received=10.10.45.72;rport=5060;branch=z9hG4bK0a0a2d480000001d49e45246558a6d7800000012.
Content-Length: 364.
Contact: <sip:1002 at 10.10.45.72:5060>.
Call-ID: A7DE8842-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
Content-Type: application/sdp.
CSeq: 2 INVITE.
From: "SJphone User"<sip:1002 at 10.10.45.172>;tag=2749457480613405994.
Max-Forwards: 69.
To: <sip:1000 at 10.10.45.172>.
User-Agent: SJphone/1.60.299a/L (SJ Labs).
.
v=0.
o=- 3448688838 3448688838 IN IP4 10.10.45.72.
s=SJphone.
c=IN IP4 10.10.45.72.
t=0 0.
a=direction:active.
m=audio 49154 RTP/AVP 3 97 98 110 8 0 101.
a=rtpmap:3 GSM/8000.
a=rtpmap:97 iLBC/8000.
a=rtpmap:98 iLBC/8000.
a=fmtp:98 mode=20.
a=rtpmap:110 speex/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-11,16.

#
U 10.10.45.102:5060 -> 10.10.45.172:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 10.10.45.172;branch=z9hG4bKc4b3.25267bd3.0,SIP/2.0/UDP 10.10.45.72;rport=5060;received=10.10.45.72;branch=z9hG4bK0a0a2d480000001d49e45246558a6d7800000012.
Content-Length: 0.
Call-ID: A7DE8842-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
CSeq: 2 INVITE.
From: "SJphone User"<sip:1002 at 10.10.45.172>;tag=2749457480613405994.
Server: SJphone/1.60.299a/L (SJ Labs).
To: "Sjphone laptop_User"<sip:1000 at 10.10.45.172>;tag=2749653675476423444.
.

#
U 10.10.45.102:5060 -> 10.10.45.172:5060
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 10.10.45.172;branch=z9hG4bKc4b3.25267bd3.0,SIP/2.0/UDP 10.10.45.72;rport=5060;received=10.10.45.72;branch=z9hG4bK0a0a2d480000001d49e45246558a6d7800000012.
Content-Length: 0.
Contact: <sip:1000 at 10.10.45.102:5060>.
Call-ID: A7DE8842-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
CSeq: 2 INVITE.
From: "SJphone User"<sip:1002 at 10.10.45.172>;tag=2749457480613405994.
Record-Route: <sip:10.10.45.172;lr=on;ftag=2749457480613405994>.
Server: SJphone/1.60.299a/L (SJ Labs).
To: "Sjphone laptop_User"<sip:1000 at 10.10.45.172>;tag=2749653675476423444.
.

#
U 10.10.45.172:5060 -> 10.10.45.72:5060
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 10.10.45.72;rport=5060;received=10.10.45.72;branch=z9hG4bK0a0a2d480000001d49e45246558a6d7800000012.
Content-Length: 0.
Contact: <sip:1000 at 10.10.45.102:5060>.
Call-ID: A7DE8842-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
CSeq: 2 INVITE.
From: "SJphone User"<sip:1002 at 10.10.45.172>;tag=2749457480613405994.
Record-Route: <sip:10.10.45.172;lr=on;ftag=2749457480613405994>.
Server: SJphone/1.60.299a/L (SJ Labs).
To: "Sjphone laptop_User"<sip:1000 at 10.10.45.172>;tag=2749653675476423444.
.

#
U 10.10.45.102:5060 -> 10.10.45.172:5060
OPTIONS sip:10.10.45.172:5060 SIP/2.0.
Via: SIP/2.0/UDP 10.10.45.102;rport;branch=z9hG4bK0a0a2d660000001049e4531640e2461b00000025.
Content-Length: 0.
Call-ID: E86129A6-1DD1-11B2-969F-95F18E6CAD8B at 10.10.45.102.
CSeq: 6 OPTIONS.
From: <sip:1000 at 10.10.45.172>;tag=27496657101163951132.
Max-Forwards: 70.
To: <sip:10.10.45.172:5060>.
.

#
U 10.10.45.172:5060 -> 10.10.45.102:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.10.45.102;rport=5060;branch=z9hG4bK0a0a2d660000001049e4531640e2461b00000025.
Call-ID: E86129A6-1DD1-11B2-969F-95F18E6CAD8B at 10.10.45.102.
CSeq: 6 OPTIONS.
From: <sip:1000 at 10.10.45.172>;tag=27496657101163951132.
To: <sip:10.10.45.172:5060>;tag=068ab00170139f334f53ff70106fa38e.6057.
Accept: */*.
Accept-Encoding: .
Accept-Language: en.
Supported: .
Server: OpenSIPS (1.5.0dev5-notls (i386/linux)).
Content-Length: 0.
.

#
U 10.10.45.72:5060 -> 10.10.45.172:5060
OPTIONS sip:10.10.45.172:5060 SIP/2.0.
Via: SIP/2.0/UDP 10.10.45.72;rport;branch=z9hG4bK0a0a2d480000001049e4525925c3e7a100000015.
Content-Length: 0.
Call-ID: A76C0E8E-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
CSeq: 2 OPTIONS.
From: <sip:1002 at 10.10.45.172>;tag=2749476737778396256.
Max-Forwards: 70.
To: <sip:10.10.45.172:5060>.
.

#
U 10.10.45.172:5060 -> 10.10.45.72:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.10.45.72;rport=5060;branch=z9hG4bK0a0a2d480000001049e4525925c3e7a100000015.
Call-ID: A76C0E8E-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
CSeq: 2 OPTIONS.
From: <sip:1002 at 10.10.45.172>;tag=2749476737778396256.
To: <sip:10.10.45.172:5060>;tag=068ab00170139f334f53ff70106fa38e.3f14.
Accept: */*.
Accept-Encoding: .
Accept-Language: en.
Supported: .
Server: OpenSIPS (1.5.0dev5-notls (i386/linux)).
Content-Length: 0.
.

#
U 10.10.45.102:5060 -> 10.10.45.172:5060
OPTIONS sip:10.10.45.172:5060 SIP/2.0.
Via: SIP/2.0/UDP 10.10.45.102;rport;branch=z9hG4bK0a0a2d660000001049e4532a13e8c66600000027.
Content-Length: 0.
Call-ID: E86129A6-1DD1-11B2-969F-95F18E6CAD8B at 10.10.45.102.
CSeq: 7 OPTIONS.
From: <sip:1000 at 10.10.45.172>;tag=27496857101558305343.
Max-Forwards: 70.
To: <sip:10.10.45.172:5060>.
.

#
U 10.10.45.172:5060 -> 10.10.45.102:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.10.45.102;rport=5060;branch=z9hG4bK0a0a2d660000001049e4532a13e8c66600000027.
Call-ID: E86129A6-1DD1-11B2-969F-95F18E6CAD8B at 10.10.45.102.
CSeq: 7 OPTIONS.
From: <sip:1000 at 10.10.45.172>;tag=27496857101558305343.
To: <sip:10.10.45.172:5060>;tag=068ab00170139f334f53ff70106fa38e.d967.
Accept: */*.
Accept-Encoding: .
Accept-Language: en.
Supported: .
Server: OpenSIPS (1.5.0dev5-notls (i386/linux)).
Content-Length: 0.
.

#
U 10.10.45.102:5060 -> 10.10.45.172:5060
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 10.10.45.172;branch=z9hG4bKc4b3.25267bd3.0,SIP/2.0/UDP 10.10.45.72;rport=5060;received=10.10.45.72;branch=z9hG4bK0a0a2d480000001d49e45246558a6d7800000012.
Content-Length: 0.
Contact: <sip:1000 at 10.10.45.102:5060>.
Call-ID: A7DE8842-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
CSeq: 2 INVITE.
From: "SJphone User"<sip:1002 at 10.10.45.172>;tag=2749457480613405994.
Record-Route: <sip:10.10.45.172;lr=on;ftag=2749457480613405994>.
Server: SJphone/1.60.299a/L (SJ Labs).
To: "Sjphone laptop_User"<sip:1000 at 10.10.45.172>;tag=2749653675476423444.
.

#
U 10.10.45.172:5060 -> 10.10.45.72:5060
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 10.10.45.72;rport=5060;received=10.10.45.72;branch=z9hG4bK0a0a2d480000001d49e45246558a6d7800000012.
Content-Length: 0.
Contact: <sip:1000 at 10.10.45.102:5060>.
Call-ID: A7DE8842-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
CSeq: 2 INVITE.
From: "SJphone User"<sip:1002 at 10.10.45.172>;tag=2749457480613405994.
Record-Route: <sip:10.10.45.172;lr=on;ftag=2749457480613405994>.
Server: SJphone/1.60.299a/L (SJ Labs).
To: "Sjphone laptop_User"<sip:1000 at 10.10.45.172>;tag=2749653675476423444.
.

#
U 10.10.45.72:5060 -> 10.10.45.172:5060
OPTIONS sip:10.10.45.172:5060 SIP/2.0.
Via: SIP/2.0/UDP 10.10.45.72;rport;branch=z9hG4bK0a0a2d480000001049e4526d31a97e2000000018.
Content-Length: 0.
Call-ID: A76C0E8E-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
CSeq: 3 OPTIONS.
From: <sip:1002 at 10.10.45.172>;tag=27494967451112058957.
Max-Forwards: 70.
To: <sip:10.10.45.172:5060>.
.

#
U 10.10.45.172:5060 -> 10.10.45.72:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.10.45.72;rport=5060;branch=z9hG4bK0a0a2d480000001049e4526d31a97e2000000018.
Call-ID: A76C0E8E-1DD1-11B2-92F0-89B00343B133 at 10.10.45.72.
CSeq: 3 OPTIONS.
From: <sip:1002 at 10.10.45.172>;tag=27494967451112058957.
To: <sip:10.10.45.172:5060>;tag=068ab00170139f334f53ff70106fa38e.390f.
Accept: */*.
Accept-Encoding: .
Accept-Language: en.
Supported: .
Server: OpenSIPS (1.5.0dev5-notls (i386/linux)).
Content-Length: 0.
.

Any idea?

Thanks in advance.

Matteo Marzuola                                                  




>Hi Matteo,

>what version are you using?

>is the callee client keep sending 180 replies?  id so, try to disabled 
>restart_fr_on_each_reply ( 
http://www.opensips.org/html/docs/modules/devel/tm.html#id271074)

>Regards,
>Bogdan

mmarzuola at interfree.it wrote:
> Hi all.
> I have a problem with the 408 reply.
> I have not set any timer (fr_timer, fr_inv_timer) of the tm module in opensips.cfg and when an user calls another user that does not answer, the proxy does not send the 408 Request Timeout, but the softphones ring for a long time.
> I saw that the default value of the fr_inv_timer is 120 seconds and therefore after 2 minutes the 408 message should be sent from the proxy.
>
> I have to configure something in the script or do something else? 
>
> Thanks in advance.
>
> Marzuola Matteo.
>
>
>
>
>
>
>
>
> -------------------------------------------------------------------------------
> Valore legale alle tue mail
> InterfreePEC - la tua Posta Elettronica Certificata
> http://pec.interfree.it
> -------------------------------------------------------------------------------
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   




-------------------------------------------------------------------------------
Valore legale alle tue mail
InterfreePEC - la tua Posta Elettronica Certificata
http://pec.interfree.it
-------------------------------------------------------------------------------




More information about the Users mailing list