[SR-Users] Sipt redirection number retrieves old values

Duarte Rocha duarterocha91 at gmail.com
Wed Aug 7 18:16:54 CEST 2019


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 at 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 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190807/d3dc3863/attachment.html>


More information about the sr-users mailing list