Cant help without config (did u do record_route() before relying INVITE?)

 

 


From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Ramin Nikaeen
Sent: Thursday, March 09, 2006 2:17 PM
To: Serusers
Subject: [Serusers] loose_route's bug?

 

 

 

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: 2010000002.

 

 

ACK sip:2010000002@10.1.10.65:5060 SIP/2.0

Via: SIP/2.0/UDP 172.16.15.51:5060;branch=z9hG4bK-5fb5b16;rport

From: 2224440133 <sip:2224440133@host.domain.com>;tag=692c5bafde7b5655o0

To: <sip:2224449999@host.domain.com>;tag=3b968d2d

Call-ID: c813c237-8673e16d@172.16.15.51

CSeq: 101 ACK                                                                                              

Max-Forwards: 70                                                                                           

Route: <sip:10.1.10.65;ftag=692c5bafde7b5655o0;lr>, <sip:10.1.10.65;ftag=692c5bafde7b5655o0;lr>

Contact: 2224440133 <sip:2224440133@172.16.15.51:5060>

User-Agent: Linksys/PAP2-3.1.5(LS)

Content-Length: 0    

 

 

But SER’s loose_route incorrectly modifies this ACK as follows:

 

ACK sip:10.1.10.65;ftag=692c5bafde7b5655o0;lr SIP/2.0                                                      

Record-Route: <sip:10.1.10.65;ftag=692c5bafde7b5655o0;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-5fb5b16;rport=5060                                       

From: 2224440133 <sip:2224440133@host.domain.com>;tag=692c5bafde7b5655o0                                   

To: <sip:2224449999@host.domain.com>;tag=3b968d2d                                                          

Call-ID: c813c237-8673e16d@172.16.15.51                                                                     

CSeq: 101 ACK                                                                                              

Max-Forwards: 16

Route:

Contact: 2224440133 <sip:2224440133@172.16.15.51:5060>

User-Agent: Linksys/PAP2-3.1.5(LS)

Content-Length: 0

 

Which causes the ACK to keep looping through SER:

 

ACK sip:10.1.10.65;ftag=692c5bafde7b5655o0;lr SIP/2.0                                                      

Record-Route: <sip:10.1.10.65;ftag=692c5bafde7b5655o0;lr=on>                                               

Record-Route: <sip:10.1.10.65;ftag=692c5bafde7b5655o0;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-5fb5b16;rport=5060                                       

From: 2224440133 <sip:2224440133@host.domain.com>;tag=692c5bafde7b5655o0                                   

To: <sip:2224449999@host.domain.com>;tag=3b968d2d                                                          

Call-ID: c813c237-8673e16d@172.16.15.51                                                                    

CSeq: 101 ACK                                                                                               

Max-Forwards: 15                                                                                           

Route:                                                                                                      

Contact: 2224440133 <sip:2224440133@172.16.15.51:5060>                                                     

User-Agent: Linksys/PAP2-3.1.5(LS)                                                                         

Content-Length: 0

 

 

ACK sip:10.1.10.65;ftag=692c5bafde7b5655o0;lr SIP/2.0

Record-Route: <sip:10.1.10.65;ftag=692c5bafde7b5655o0;lr=on>

Record-Route: <sip:10.1.10.65;ftag=692c5bafde7b5655o0;lr=on>                                               

Record-Route: <sip:10.1.10.65;ftag=692c5bafde7b5655o0;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-5fb5b16;rport=5060

From: 2224440133 <sip:2224440133@host.domain.com>;tag=692c5bafde7b5655o0

To: <sip:2224449999@host.domain.com>;tag=3b968d2d                                                          

Call-ID: c813c237-8673e16d@172.16.15.51                                                                    

CSeq: 101 ACK                                                                                              

Max-Forwards: 14                                                                                           

Route:                                                                                                      

Contact: 2224440133 <sip:2224440133@172.16.15.51:5060>                                                     

User-Agent: Linksys/PAP2-3.1.5(LS)                                                                          

Content-Length: 0   

 

 

 

 

I am really stuck.

 

Can anyone tell me what is happening?!

 

Thanks

 

ramin