Hi
I am getting this dreaded error on a asterisk box when call from one UA to another using Asterisk as a media relay and openser as a SBC and proxy. If I make a call from a UA to the PSTN through Asterisk all is fine. This only happens when calling from one UA to another on the same LAN.
I have posted an example sip trace here http://pastebin.com/m2262b0ef
My openser.cfg is here http://pastebin.com/d5e84aaf7
I realise this is a issue with Asterisk but I have not been able to find a fix. Therefore I figure there might be something I can do on openser. The problem seems to be with a ACK not being returned but my SIP knowledge is not good enough to know how to fix it. Any help is greatly appreciated.
Regards
Jon
In the proxy you are rewriting the Contact -> that causes the problem.
klaus
Am 05.02.2010 10:36, schrieb Jon Farmer:
Hi
I am getting this dreaded error on a asterisk box when call from one UA to another using Asterisk as a media relay and openser as a SBC and proxy. If I make a call from a UA to the PSTN through Asterisk all is fine. This only happens when calling from one UA to another on the same LAN.
I have posted an example sip trace here http://pastebin.com/m2262b0ef
My openser.cfg is here http://pastebin.com/d5e84aaf7
I realise this is a issue with Asterisk but I have not been able to find a fix. Therefore I figure there might be something I can do on openser. The problem seems to be with a ACK not being returned but my SIP knowledge is not good enough to know how to fix it. Any help is greatly appreciated.
Regards
Jon
Here the details:
U 2010/02/05 09:06:32.497347 10.100.0.101:5062 -> 10.0.255.10:5061 INVITE sip:12345@10.0.255.10:5061 SIP/2.0. Contact: sip:45400@10.100.0.101:5062.
U 2010/02/05 09:06:32.521248 10.0.255.10:5061 -> 10.100.0.106:5065 INVITE sip:12345@10.100.0.106:5065 SIP/2.0. Contact: sip:45400@10.0.255.10:5060.
Actually I do not see in your config that the Contact is rewritten. Either there is something strange with your config, or maybe there is a SIP ALG somewhere inbetween which mangels the contact headers.
regards klaus
PS: Please always Cc: the mailing list
U 2010/02/05 09:06:32.497347 10.100.0.101:5062 -> 10.0.255.10:5061 INVITE sip:12345@10.0.255.10:5061 SIP/2.0. Contact: sip:45400@10.100.0.101:5062.
So this is the invite from the calling party to openser
U 2010/02/05 09:06:32.521248 10.0.255.10:5061 -> 10.100.0.106:5065 INVITE sip:12345@10.100.0.106:5065 SIP/2.0. Contact: sip:45400@10.0.255.10:5060.
And this is the invite from openser to the called party.
The Contact is rewritten to openser. I don't see how this is causing a problem. The issue seems to arrive later when the ACK doesn't get picked up.
Regards
Jon
Am 05.02.2010 13:37, schrieb Jon Farmer:
U 2010/02/05 09:06:32.497347 10.100.0.101:5062 -> 10.0.255.10:5061 INVITE sip:12345@10.0.255.10:5061 SIP/2.0. Contact:sip:45400@10.100.0.101:5062.
So this is the invite from the calling party to openser
U 2010/02/05 09:06:32.521248 10.0.255.10:5061 -> 10.100.0.106:5065 INVITE sip:12345@10.100.0.106:5065 SIP/2.0. Contact:sip:45400@10.0.255.10:5060.
And this is the invite from openser to the called party.
The Contact is rewritten to openser. I don't see how this is causing a problem. The issue seems to arrive later when the ACK doesn't get
It does! The contact needs to addresses the user agent, not the proxy. (refer to RFC 3261)
klaus
picked up.
Regards
Jon
2010/2/5 Jon Farmer viperdudeuk@gmail.com:
The Contact is rewritten to openser. I don't see how this is causing a problem. The issue seems to arrive later when the ACK doesn't get picked up.
Please, read the RFC 3261, understand how SIP works and then you can ensure what the error is.