[Serusers] loose_route's bug?

Jan Janak jan at iptel.org
Thu Mar 9 20:27:33 CET 2006


The incoming ACK contains the IP address of SER in the Request-URI (I am
guessing based on the IP address in Route headers) which confuses the record
routing functions in SER. The Request-URI of ACK should contain the Contact
received in 200 OK from callee. Is this true ?

If so, why does the callee's user agent put the IP address of SER in Contact ?

  Jan.

Ramin Nikaeen wrote:
>  
> 
>  
> 
> 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 at 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 at host.domain.com>;tag=692c5bafde7b5655o0
> 
> To: <sip:2224449999 at host.domain.com>;tag=3b968d2d
> 
> Call-ID: c813c237-8673e16d at 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 at 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 at host.domain.com>;tag=692c5bafde7b5655o0                                   
> 
> 
> To:
> <sip:2224449999 at host.domain.com>;tag=3b968d2d                                                          
> 
> 
> Call-ID: c813c237-8673e16d at 172.16.15.51               
>                                                      
> 
> CSeq: 101
> ACK                                                                                              
> 
> 
> Max-Forwards: 16
> 
> Route:
> 
> Contact: 2224440133 <sip:2224440133 at 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 at host.domain.com>;tag=692c5bafde7b5655o0                                   
> 
> 
> To:
> <sip:2224449999 at host.domain.com>;tag=3b968d2d                                                          
> 
> 
> Call-ID:
> c813c237-8673e16d at 172.16.15.51                                                                    
> 
> 
> CSeq: 101 ACK                             
>                                                                  
> 
> Max-Forwards:
> 15                                                                                           
> 
> 
> Route:                                                                          
>                            
> 
> 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=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 at host.domain.com>;tag=692c5bafde7b5655o0
> 
> To:
> <sip:2224449999 at host.domain.com>;tag=3b968d2d                                                          
> 
> 
> Call-ID:
> c813c237-8673e16d at 172.16.15.51                                                                    
> 
> 
> CSeq: 101
> ACK                                                                                              
> 
> 
> Max-Forwards:
> 14                                                                                           
> 
> 
> Route:                                   
>                                                                   
> 
> Contact: 2224440133
> <sip:2224440133 at 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
> 
>  
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers





More information about the sr-users mailing list