[OpenSIPS-Users] ACK never leaves opensips

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Jan 23 15:44:29 CET 2015


Hello Stefano,

It looks like an ACK to a 200 OK reply (as it has Route headers). Such 
ACK is routed based on Route hdr + RURI. So, in script, this ACK should 
hit loose_route() and a t_relay().

To double check that, do a script_trace() - see 
http://www.opensips.org/Documentation/Script-CoreFunctions-1-11#toc42

put in the very begingin of your script:
     if (is_method("ACK"))
         script_trace(1,"RU=$ru , DU=$du", "ack");

And see what is going on.

PS: be sure the ACK is not looping on lo interface.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 22.01.2015 23:58, Stefano Pisani wrote:
> I have a strange issue with an ACK that never leaves Opensips. It 
> disappears.
> This is the ACK message incoming dumped with ngrep
>
> U publicIP1:32769 -> publicIPOpenSIPS:5172
> ACK sip:s at publicIP2:6050 SIP/2.0.
> Via: SIP/2.0/UDP 192.168.4.53:32769;branch=z9hG4bK-nt6kbhw2yq7b;rport.
> Route: 
> <sip:publicIPOpenSIPS:5172;lr;ftag=dwlhrdursy;vsf=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA>.
> From: "103" <sip:103 at publicIPOpenSIPS:5172>;tag=dwlhrdursy.
> To: <sip:5002362 at publicIPOpenSIPS:5172;user=phone>;tag=as24f5fc71.
> Call-ID: 313432313936303531313339303433-apx44rudybcq.
> CSeq: 1 ACK.
> Max-Forwards: 70.
> User-Agent: snom710/8.7.5.13.
> Contact: <sip:103 at 192.168.4.53:32769;line=a7hcmd7s>;reg-id=1.
> Content-Length: 0.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list