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

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 2 14:45:49 CET 2009


Hello,

do you do record route in config file? Do you have Route headers in ACK?

Why the PBX is setting the contact to be the IP address of the sip 
server? Should be the IP address of PBX. Check the config of pbx, maybe 
is someting wrong there.

Cheers,
Daniel


On 03/02/2009 02:46 PM, Geir O. Jensen wrote:
> Hi, we have a problem with OpenSER not relaying ACKs.
>
> The problem arises because we have a connection to a PBX that sends SIP
> uri's like this;
>
> Contact: sip:192.168.1.1
>
> So for instance when we get a
> SIP/2.0 200 OK
> (...)
> Contact: sip:192.168.1.1
>
> OpenSER relays this to the client (SIP phone) which tries to respond
>
> ACK sip:192.168.1.1 SIP/2.0
> (...)
>
> This causes my $ru to be sip:domain.net whereas normally it would be
> sip:user at domain.net.
>
> And for somereason t_relay simply fails... I've done tcpdump on the server,
> and what it does is try to look for NAPTR/SRV to DNS name (domain.net) which
> resolves to itself.
>
> Not sure why it would do that, as the PBX sends a different IP address than
> that of the OpenSER server.
>
> Any ideas?
>
> Anyone experienced anything similar?
>
> (Running on Ubuntu with OpenSER 1.3.0-tls)
>
> Thanks in advance,
> //gojensen
>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com





More information about the sr-users mailing list