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

Alexey Kazantsev kurgan-rus at inbox.ru
Fri Jun 17 04:47:59 UTC 2022


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.
 
[1]  https://www.opensips.org/Documentation/Script-Routes-3-3#toc4
[2]  https://opensips.org/docs/modules/3.3.x/sl.html#func_sl_send_reply
[3]  https://opensips.org/docs/modules/3.3.x/signaling.html#func_send_reply
 
-----------------------------------------------
BR, Alexey
https://alexeyka.zantsev.com/
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220617/9502298b/attachment.html>


More information about the Users mailing list