[sr-dev] [kamailio/kamailio] Sipt Redirection Number Retrieves old values (#2030)

duarterocha91 notifications at github.com
Thu Aug 8 11:15:13 CEST 2019


Greetings,

I'm doing VoiceMail detection using $sipt(redirection_number) from SIPT
module and i've been having some false positives on the detection.

I inspected further and noticed that in some cases
$sipt(redirection_number) returns old values from previous messages, which
makes me think that it's value is not being correctly refreshed. I'm using
this variable on a on_reply_route.

As far as i know, $sipt(redirection_number) is read only and can't be
refreshed by me in the code.

Here is an example :

Aug  7 16:51:49 dev_sbc_a_vts01
/usr/local/kamailio-5.2/sbin/kamailio[4746]: ERROR: <script>: VMD2 : Reply
Code : 180 ;  Sipt Redir = 9610050000 and Call ID =
00158FED-98B7-E911-8B3B-4DA50AE2ED72 at 192.168.24.86 and Cseq = 83

Here is the JSON from the 180 message : https://pastebin.com/zFHKxyav

As you can see, there isn't any 9610050000 in the message. What can be
causing this issue ?

Best Regards,

Duarte Rocha

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190808/fe0de3b8/attachment-0001.html>


More information about the sr-dev mailing list