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/
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
