[sr-dev] Unwanted INVITE while using TMCB_ACK_NEG_IN callback

Ionut Razvan Ionita ionut-razvan.ionita at 1and1.ro
Tue Feb 26 18:05:30 CET 2019


Hi,


   My name is Ionut and I am a new developer in VoIP dev team in 1&1. Maybe you can help me with the following problem. I have the following scenario: UAC sends invite to UAS via Kamailio proxy, UAS responds with 491. I am trying to catch the ACK from the UAC in siptrace module using TMCB_ACK_NEG_IN. I successfully trace this message but there's one more unwanted call to this callback. It gets called for an INVITE request which I don't want to trace since the callback is called ACK_NEG_IN. From my understanding, this call is issued right after the ACK is sent to the UAS, which, for me, doesn't seem to be correct, since the callback should trace in ACKs not outs. TM code that's calling this callback is in t_reply.c:2291. Is this a bug? I can fix this issue easily in my code by checking whether or not the current message is an ACK in siptrace but it would be great if we would work for a fix to this issue.


Regards,

Ionut

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190226/ff9057fb/attachment.html>


More information about the sr-dev mailing list