[Kamailio-Users] Problem with sip uri in contact field

Geir O. Jensen geir.o.jensen at uninett.no
Tue Mar 3 12:22:51 CET 2009


I think maybe there's some misunderstanding here. We don't modify RURI in
the looseroute, it's quite simply 

if looseroute t_relay() 

We do modify the original INVITE's (basically adding prefixes and changing
domain to forward it to the correct gateway).

Thing is, the contact field from the PBX is
Contact: sip:192.168.20.1

This causes the phone to reply with 
ACK sip:192.168.20.1 SIP/2.0

And apparently OpenSER (our script?) doesn't know how to handle this when it
comes to looseroute so it looks at the To: header instead (which is the
original unmodified header i.e. To: number at sip.domain.no



More information about the Users mailing list