Sure, here it is :
xerr("VMD2 : Reply Code : $rs ; Sipt Redir = $sipt(redirection_number) and
Call ID = $ci and Cseq = $cs");
A quarta, 7/08/2019, 17:02, Duarte Rocha <duarterocha91(a)gmail.com> escreveu:
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(a)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