[OpenSIPS-Users] RLC in 200 OK after BYE

Rodrigo R Passos rodrigopassos at gmail.com
Wed Oct 18 22:27:01 UTC 2023


Ben,

Thank you. Now, we put RLC

The code:
onreply_route[global] {
   if (t_check_status("200")) {
    xlog("L_INFO","[$ci] - Reply Global - $fU - O: $si - D: $rr - RM: $rm -
Code: $T_reply_code - RS: $rs\n");
    if ($rm == "BYE") {
    if ($si == "xxx.xxx.xxx.xxx") {
    add_isup_part("Release complete");
    }
    }
   }
}

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


Em qua., 18 de out. de 2023 às 17:08, Ben Newlin <Ben.Newlin at genesys.com>
escreveu:

> 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.
>
>
>
> https://www.opensips.org/Documentation/Script-Routes-3-2#toc4
>
> https://opensips.org/docs/modules/3.2.x/tm.html#func_t_on_reply
>
>
>
> Ben Newlin
>
>
>
> *From: *Users <users-bounces at lists.opensips.org> on behalf of Rodrigo R
> Passos <rodrigopassos at gmail.com>
> *Date: *Wednesday, October 18, 2023 at 3:56 PM
> *To: *OpenSIPS users mailling list <users at lists.opensips.org>
> *Subject: *Re: [OpenSIPS-Users] RLC in 200 OK after BYE
>
> * EXTERNAL EMAIL - Please use caution with links and attachments *
>
>
> ------------------------------
>
> Hi Karsten,
>
>
>
> We couldn't see 200 OK after BYE in onreply_route. 😭😭
>
>
>
> BR,
>
> Rodrigo
>
>
>
> Em qua., 18 de out. de 2023 às 14:41, Karsten Wemheuer <kwem at gmx.de>
> escreveu:
>
> Hi Rodrigo,
>
> Am Mittwoch, dem 18.10.2023 um 13:40 -0300 schrieb Rodrigo R Passos:
> > Hi,
> >
> > How can i capture 200 OK after BYE (REL) from Interconnection to send
> > RLC on reply message?
> >
> > I'm trying to get the message on loose_route, but without success.
> > Anyone could help me or share with us an example of a route script?
>
> I think, You should use on_reply_route to get response to the BYE
> request. Than check status and method with equal to "BYE".
>
> HTH,
>
> Karsten
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20231018/9380d042/attachment.html>


More information about the Users mailing list