[Serusers] possible rr bug
Ramin Nikaeen
rnikaeen at goldline.net
Thu Mar 9 19:53:30 CET 2006
Hi Everyone,
I am really stuck here. I really need help!
I receive the following ACK request in SER from a Linksys/PAP user agent
that SER should forward to the destination User Agent: 1234560133.
------------------------------------------------------------------------
---------------------------------------------------
ACK sip:10.1.10.65;ftag=cff8d63370ff3ed5o0 SIP/2.0
Via: SIP/2.0/UDP 172.16.15.51:5060;branch=z9hG4bK-5b186b5;rport
From: 1234560133
<sip:2224440133 at host.domain.name>;tag=cff8d63370ff3ed5o0
To: <sip:1234560131 at host.domain.name>;tag=26001139010904
Call-ID: 9b54d80b-81b366dd at 172.16.15.51
CSeq: 101 ACK
Max-Forwards: 70
Route: <sip:1234569999 at 10.1.10.65:5060>
Contact: 1234560133 <sip:1234560133 at 172.16.15.51:5060>
User-Agent: Linksys/PAP2-3.1.5(LS)
Content-Length: 0
------------------------------------------------------------------------
---------------------------------------------------
But the loose_route function transforms it to the following and as a
result it is routed
back to SER and therefore falls into an infinite loop as shown by the
couple of ACKs
that get looped through SER:
------------------------------------------------------------------------
---------------------------------------------------
ACK sip:10.1.10.65;ftag=cff8d63370ff3ed5o0 SIP/2.0
Record-Route: <sip:10.1.10.65;ftag=cff8d63370ff3ed5o0;lr=on>
Via: SIP/2.0/UDP 10.1.10.65;branch=0
Via: SIP/2.0/UDP 172.16.15.51:5060;branch=z9hG4bK-5b186b5;rport=5060
From: 2224440133 <sip:2224440133 at cl1.glphone.com>;tag=cff8d63370ff3ed5o0
To: <sip:2224440131 at cl1.glphone.com>;tag=26001139010904
Call-ID: 9b54d80b-81b366dd at 172.16.15.51
CSeq: 101 ACK
Max-Forwards: 16
Contact: 2224440133 <sip:2224440133 at 172.16.15.51:5060>
User-Agent: Linksys/PAP2-3.1.5(LS)
Content-Length: 0
------------------------------------------------------------------------
---------------------------------------------------
ACK sip:10.1.10.65;ftag=cff8d63370ff3ed5o0 SIP/2.0
Record-Route: <sip:10.1.10.65;ftag=cff8d63370ff3ed5o0;lr=on>
Record-Route: <sip:10.1.10.65;ftag=cff8d63370ff3ed5o0;lr=on>
Via: SIP/2.0/UDP 10.1.10.65;branch=0
Via: SIP/2.0/UDP 10.1.10.65;branch=0
Via: SIP/2.0/UDP 172.16.15.51:5060;branch=z9hG4bK-5b186b5;rport=5060
From: 2224440133 <sip:2224440133 at cl1.glphone.com>;tag=cff8d63370ff3ed5o0
To: <sip:2224440131 at cl1.glphone.com>;tag=26001139010904
Call-ID: 9b54d80b-81b366dd at 172.16.15.51
CSeq: 101 ACK
Max-Forwards: 15
Contact: 2224440133 <sip:2224440133 at 172.16.15.51:5060>
User-Agent: Linksys/PAP2-3.1.5(LS)
Content-Length: 0
------------------------------------------------------------------------
---------------------------------------------------
ACK sip:10.1.10.65;ftag=cff8d63370ff3ed5o0 SIP/2.0
Record-Route: <sip:10.1.10.65;ftag=cff8d63370ff3ed5o0;lr=on>
Record-Route: <sip:10.1.10.65;ftag=cff8d63370ff3ed5o0;lr=on>
Record-Route: <sip:10.1.10.65;ftag=cff8d63370ff3ed5o0;lr=on>
Via: SIP/2.0/UDP 10.1.10.65;branch=0
Via: SIP/2.0/UDP 10.1.10.65;branch=0
Via: SIP/2.0/UDP 10.1.10.65;branch=0
Via: SIP/2.0/UDP 172.16.15.51:5060;branch=z9hG4bK-5b186b5;rport=5060
From: 2224440133 <sip:2224440133 at cl1.glphone.com>;tag=cff8d63370ff3ed5o0
To: <sip:2224440131 at cl1.glphone.com>;tag=26001139010904
Call-ID: 9b54d80b-81b366dd at 172.16.15.51
CSeq: 101 ACK
Max-Forwards: 14
Contact: 2224440133 <sip:2224440133 at 172.16.15.51:5060>
User-Agent: Linksys/PAP2-3.1.5(LS)
Content-Length: 0
I put some debug messages in rr and this is what I get:
DEBUG: -ramin- modules/rr/loose_route: jumping to after_strict
after_strict: No next URI found
It seems as if the after_strict is invoked and it can not find the next
URI!
Can you please tell me why SER can not route this properly!
Thank you so much for your kind help
ramin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060309/97792c6a/attachment.htm>
More information about the sr-users
mailing list