[Kamailio-Users] Problem with sip uri in contact field
Geir O. Jensen
geir.o.jensen at uninett.no
Mon Mar 2 14:48:43 CET 2009
Yes, we do record routes and it's properly going into the loose route
section of the config.
The PBX is NOT setting the ip address of the SIP server. It's using it's
own, but when OpenSER tries to process the ACK it seems that when it doesn't
find a "proper" Contact field it looks at the original To: field maybe...
Anyways it tries to look up it's domain name and then just stops prosessing.
I may need to get deeper debug settings here - but it's a production system
so I can't really experiment much. (We've solve the problem by routing via
an ISDN gateway at the moment, which is rather unfortunate :D)
- Geir
> -----Original Message-----
> From: Daniel-Constantin Mierla [mailto:miconda at gmail.com]
> Sent: 2. mars 2009 14:46
> To: Geir O. Jensen
> Cc: 'kamailio'
> Subject: Re: [Kamailio-Users] Problem with sip uri in contact field
>
> 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