[OpenSIPS-Users] Request Time out problem

James Mbuthia jmmbuthia at gmail.com
Fri Oct 15 13:20:27 CEST 2010


Hi guys,

Hope you can help me out. I have a situation where my Opensips box is
acting as a proxy/registration and location server. I have also
changed my listening port from 5060 to 5059.
The registration process works fine and my UAS gets a 200 response,
its IP is 198.162.0.1:1167.

However am getting a Request Timeout problem because once the proxy
successfuly authenticates the UAC its forwading the INVITE request to
my ip:5060. Since opensips is not configured on that port it gets a
408 Request Time out. Below is a snapshot of the headers from a sip
trace.


udp:198.162.0.1:5059 -> udp:198.162.0.1:7013

SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 198.162.0.1:1167;rport=7013;branch=z9hG4bKynybt
From:<sip:jm21 at 198.162.0.1>;tag=2325231
To:<sip:james at 198.162.0.1> ;tag=5594793ec2abca4d36972b7e2bfde24c.9363
Call-ID:ySuHeq at 198.162.0.1
CSeq: 1 INVITE
Proxy-Authenticate: Digest realm="198.162.0.1",
nonce="4cb834020000000547477b91a54ae9e5a553b9b6b633d830"
Server: OpenSIPS (1.6.2-notls (i386/linux))
Content-Length: 0


udp:198.162.0.1:9013 -> udp:198.162.0.1:5059

INVITE sip:james at 198.162.0.1 SIP/2.0
Via: SIP/2.0/UDP 198.162.0.1:1167;rport=1645;branch=z9hG4bKynybt
From:<sip:jm21 at 198.162.0.1>;tag=2325231
To:<sip:james at 198.162.0.1>
Call-ID:ySuHeq at 198.162.0.1
CSeq: 3 INVITE
Contact: <sip:james at 198.162.0.1>
Proxy-Authorization: Digest username="jm21", realm="198.162.0.1",
nonce="4cb834020000000547477b91a54ae9e5a553b9b6b633d830",
uri="sip:james at 198.162.0.1",
response="53a86a6afd0d9fc9a118cb4a304f75d6", algorithm=MD5
Content-type: application/sdp
Max-Forwards: 69
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE


udp:198.162.0.1:5059 -> udp:198.162.0.1:5060

INVITE sip:james at 198.162.0.1 SIP/2.0
Record-Route: <sip:198.162.0.1:5059;lr=on>
Via: SIP/2.0/UDP 198.162.0.1:5059;branch=z9hG4bKa8e9.181ea9f5.0
Via: SIP/2.0/UDP
198.162.0.1:1167;received=198.162.0.1;rport=9013;branch=z9hG4bKynybt
From:<sip:jm21 at 198.162.0.1>;tag=2325231
To:<sip:james at 198.162.0.1>
Call-ID:ySuHeq at 198.162.0.1
CSeq: 3 INVITE
Contact: <sip:james at 198.162.0.1>
Content-type: application/sdp
Max-Forwards: 69
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE


udp:198.162.0.1:5059 -> udp:198.162.0.1:9013
SIP/2.0 408 Request Timeout
Via: SIP/2.0/UDP 198.162.0.1:1167;rport=9013;branch=z9hG4bKynybt
From:<sip:jm21 at 198.162.0.1>;tag=2325231
To:<sip:james at 198.162.0.1> ;tag=a2fc028f8d02e78ceae2b814452c9bc4-9363
Call-ID:ySuHeq at 198.162.0.1
CSeq: 3 INVITE
Server: OpenSIPS (1.6.2-notls (i386/linux))
Content-Length: 0


My question is, why is the proxy routing the request to
198.162.0.1:5060 even after Opensips is not listening on that port? Is
it possible to get it to route the request to the UAS i.e
198.162.0.1:1167?



More information about the Users mailing list