<p>Greetings,</p>
<p>I'm doing VoiceMail detection using $sipt(redirection_number) from SIPT<br>
module and i've been having some false positives on the detection.</p>
<p>I inspected further and noticed that in some cases<br>
$sipt(redirection_number) returns old values from previous messages, which<br>
makes me think that it's value is not being correctly refreshed. I'm using<br>
this variable on a on_reply_route.</p>
<p>As far as i know, $sipt(redirection_number) is read only and can't be<br>
refreshed by me in the code.</p>
<p>Here is an example :</p>
<p>Aug  7 16:51:49 dev_sbc_a_vts01<br>
/usr/local/kamailio-5.2/sbin/kamailio[4746]: ERROR: <script>: VMD2 : Reply<br>
Code : 180 ;  Sipt Redir = 9610050000 and Call ID =<br>
00158FED-98B7-E911-8B3B-4DA50AE2ED72 at 192.168.24.86 and Cseq = 83</p>
<p>Here is the JSON from the 180 message : <a href="https://pastebin.com/zFHKxyav" rel="nofollow">https://pastebin.com/zFHKxyav</a></p>
<p>As you can see, there isn't any 9610050000 in the message. What can be<br>
causing this issue ?</p>
<p>Best Regards,</p>
<p>Duarte Rocha</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2030?email_source=notifications&email_token=ABO7UZPAI2OYIOPJKA4INBDQDPP2DA5CNFSM4IKIDX72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HEC7TLA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZM6EHQVSW7AP4I23LTQDPP2DANCNFSM4IKIDX7Q">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZMUQ2YBOYEBLKLG5F3QDPP2DA5CNFSM4IKIDX72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HEC7TLA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2030?email_source=notifications\u0026email_token=ABO7UZPAI2OYIOPJKA4INBDQDPP2DA5CNFSM4IKIDX72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HEC7TLA",
"url": "https://github.com/kamailio/kamailio/issues/2030?email_source=notifications\u0026email_token=ABO7UZPAI2OYIOPJKA4INBDQDPP2DA5CNFSM4IKIDX72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HEC7TLA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>