Re: [SR-Users] Sipt redirection number retrieves old values

2019-08-07 Thread Duarte Rocha
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  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: 

Re: [SR-Users] Sipt redirection number retrieves old values

2019-08-07 Thread David Villasmil
Can you paste a snipped of how you use it?

On Wed, 7 Aug 2019 at 17:04, Duarte Rocha  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: 

[SR-Users] Sipt redirection number retrieves old values

2019-08-07 Thread Duarte Rocha
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: