[OpenSIPS-Users] Drop the call from onreply_route with cause code

Mehdi Shirazi m.shirazi at gmail.com
Fri Jun 17 05:49:50 UTC 2022


*Hi Alexey*

*Thanks for the reply, so how can we read a reply message(even outside
reply_route) and based on the information in it, decide to send a
reply with special cause code and terminate the initiated call ? *

Regards

M.Shirazi

>Hi Mehdi,

>onreply_route [1] is used not for generating replies by your OpenSIPS,
>it it used for actions to be taken for SIP replies which are going towards OpenSIPS
>from other VoIP entities.

>To drop a call with some code you may use these functions:

>    sl_send_reply();    [2]
>    send_reply();         [3]

>but according to the documentation neither of them can be used from onreply_route.

>>Hi

>>How can we disconnect a call from on reply_route with a cause value ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220617/7e480bc8/attachment.html>


More information about the Users mailing list