<div dir="ltr">Ben,<div><br></div><div>Thank you. Now, we put RLC</div><div><br></div><div>The code: </div><div>onreply_route[global] {<br> if (t_check_status("200")) {<br> xlog("L_INFO","[$ci] - Reply Global - $fU - O: $si - D: $rr - RM: $rm - Code: $T_reply_code - RS: $rs\n");<br> if ($rm == "BYE") {<br> if ($si == "xxx.xxx.xxx.xxx") {<br> add_isup_part("Release complete");<br> }<br> }<br> }<br>}<br></div><div><br></div><div><div id="gmail-panel-19365-outerCt" class="gmail-x-autocontainer-outerCt" role="presentation" style="box-sizing:border-box;display:table;color:rgb(0,0,0);font-family:courier;font-size:11px;width:778px;height:573px"><div id="gmail-panel-19365-innerCt" role="presentation" class="gmail-x-autocontainer-innerCt" style="box-sizing:border-box;display:table-cell;height:573px;vertical-align:top"><pre style="box-sizing:border-box">SIP/2.0 200 OK
CSeq: 342021 BYE
P-RTP-Stat: PS=4611,OS=737760,PR=4618,OR=736108,PL=0
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO
Content-Length: 2
Content-Type: application/ISUP;base=itu-t92+;version=itu-t
Content-Disposition:signal;handling=optional</pre></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qua., 18 de out. de 2023 às 17:08, Ben Newlin <<a href="mailto:Ben.Newlin@genesys.com">Ben.Newlin@genesys.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div class="msg8707918149034279696">
<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="m_8707918149034279696WordSection1">
<p class="MsoNormal"><span style="font-size:11pt">Are you using the global onreply_route? All replies should end up there. If you are using a named reply route, you will need to “arm” the route during processing of the BYE using t_on_reply.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><a href="https://www.opensips.org/Documentation/Script-Routes-3-2#toc4" target="_blank">https://www.opensips.org/Documentation/Script-Routes-3-2#toc4</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><a href="https://opensips.org/docs/modules/3.2.x/tm.html#func_t_on_reply" target="_blank">https://opensips.org/docs/modules/3.2.x/tm.html#func_t_on_reply</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:black">Ben Newlin</span><span style="font-size:11pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<div id="m_8707918149034279696mail-editor-reference-message-container">
<div>
<div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(181,196,223) currentcolor currentcolor;padding:3pt 0in 0in">
<p class="MsoNormal" style="margin-bottom:12pt"><b><span style="font-size:12pt;color:black">From:
</span></b><span style="font-size:12pt;color:black">Users <<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>> on behalf of Rodrigo R Passos <<a href="mailto:rodrigopassos@gmail.com" target="_blank">rodrigopassos@gmail.com</a>><br>
<b>Date: </b>Wednesday, October 18, 2023 at 3:56 PM<br>
<b>To: </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>
<b>Subject: </b>Re: [OpenSIPS-Users] RLC in 200 OK after BYE<u></u><u></u></span></p>
</div>
<div>
<div>
<div>
<table border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:medium">
<tbody>
<tr>
<td style="border:1pt solid rgb(182,0,0);background:repeat white;padding:0.75pt">
<p class="MsoNormal"><b><span style="font-size:12pt;color:rgb(182,0,0)"> EXTERNAL EMAIL - Please use caution with links and attachments <u></u><u></u></span></b></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Helvetica;color:black"><u></u> <u></u></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:11pt">
<hr size="0" width="100%" align="center">
</span></div>
</div>
<p class="MsoNormal"><span style="font-size:11pt">Hi Karsten,<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt">We couldn't see 200 OK after BYE in onreply_route. </span><span style="font-size:11pt;font-family:"Apple Color Emoji"">😭😭</span><span style="font-size:11pt"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt">BR, <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt">Rodrigo<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11pt">Em qua., 18 de out. de 2023 às 14:41, Karsten Wemheuer <<a href="mailto:kwem@gmx.de" target="_blank">kwem@gmx.de</a>> escreveu:<u></u><u></u></span></p>
</div>
<blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal"><span style="font-size:11pt">Hi Rodrigo,<br>
<br>
Am Mittwoch, dem 18.10.2023 um 13:40 -0300 schrieb Rodrigo R Passos:<br>
> Hi,<br>
><br>
> How can i capture 200 OK after BYE (REL) from Interconnection to send<br>
> RLC on reply message?<br>
><br>
> I'm trying to get the message on loose_route, but without success.<br>
> Anyone could help me or share with us an example of a route script?<br>
<br>
I think, You should use on_reply_route to get response to the BYE<br>
request. Than check status and method with equal to "BYE".<br>
<br>
HTH,<br>
<br>
Karsten<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><u></u><u></u></span></p>
</blockquote>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></blockquote></div>