Can you paste a snipped of how you use it?

On Wed, 7 Aug 2019 at 17:04, Duarte Rocha <duarteroch...@gmail.com> wrote:

> 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@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
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-- 
Regards,

David Villasmil
email: david.villasmil.w...@gmail.com
phone: +34669448337
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to