Thank you Ben. I got it. Regards, Agalya
From: [email protected] [mailto:[email protected]] On Behalf Of Newlin, Ben Sent: Monday, July 25, 2016 1:32 PM To: OpenSIPS users mailling list <[email protected]> Subject: Re: [OpenSIPS-Users] Response handling for Re-INVITE and BYE Failure routes, reply routes, and branch routes are all transaction specific and will only be triggered for the specific transaction for which they have been armed; in this case, the initial INVITE. If you want replies to sequential requests to also hit the reply route, you must add t_on_reply(“handle_nat”) in all places where you process sequential requests as well. And if you want replies to BYEs then you must include that in the method check. Ben Newlin From: <[email protected]<mailto:[email protected]>> on behalf of "Ramachandran, Agalya (Contractor)" <[email protected]<mailto:[email protected]>> Reply-To: OpenSIPS users mailling list <[email protected]<mailto:[email protected]>> Date: Monday, July 25, 2016 at 1:25 PM To: OpenSIPS users mailling list <[email protected]<mailto:[email protected]>> Subject: [OpenSIPS-Users] Response handling for Re-INVITE and BYE Hi team, I have a query regarding response handling for Re-Invite and Bye request. In route relay, I have the following snippet in my config file. route[relay] { # for INVITEs enable some additional helper routes if (is_method("INVITE")) { t_on_branch("per_branch_ops"); t_on_reply("handle_nat"); t_on_failure("missed_call"); xlog("INFO:opensips:route[relay]:Initializing Handlers"); } … } onreply_route[handle_nat] { … .. xlog("INFO: incoming reply : reason is $rr; status is $rs [from=$fu;to=$tu;rUri=$ru;callId=$ci]\n"); } And I could able to see all the incoming response for INVITE message in onreply_route. (100,180,200OK) But am not seeing response logged in for 200 OK for Re-INVITE and for response for BYE. I hope all responses will hit “onreply_route” routine even after call is established. How can I log those information? I have enabled record_route (), so till BYE for all request and responses opensips sits in between end points. Please let me know if am missing something. Regards, Agalya
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
