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 <[email protected]> on behalf of Rodrigo R Passos 
<[email protected]>
Date: Wednesday, October 18, 2023 at 3:56 PM
To: OpenSIPS users mailling list <[email protected]>
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 
<[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to