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@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@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@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