From david.villasmil.work@gmail.com Wed Aug 7 18:08:58 2019 From: David Villasmil To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] Sipt redirection number retrieves old values Date: Wed, 07 Aug 2019 17:08:45 +0100 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0738016887==" --===============0738016887== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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: