Final reply timeout: https://opensips.org/docs/modules/3.6.x/tm.html#param_fr_timeout https://opensips.org/docs/modules/3.6.x/tm.html#pv_T_fr_timeout
Final reply timeout (invite specific): https://opensips.org/docs/modules/3.6.x/tm.html#param_fr_inv_timeout https://opensips.org/docs/modules/3.6.x/tm.html#pv_T_fr_inv_timeout If you are using dialog module, that also has a timeout: https://opensips.org/docs/modules/3.6.x/dialog.html#pv_DLG_timeout We don’t use b2b module so ymmv, but it appears to also have a timeout: https://opensips.org/docs/modules/3.6.x/b2b_logic.html#param_b2bl_th_init_timeout B2B and dialog modules also have functions to terminate calls: https://opensips.org/docs/modules/3.6.x/b2b_logic.html#mi_b2b_terminate_call https://opensips.org/docs/modules/3.6.x/dialog.html#mi_dlg_end_dlg You could set a timer externally and call those functions via MI. Or you could use the mi_script module to call them from the scrip: https://opensips.org/docs/modules/3.6.x/mi_script.html This could be triggered by a timer_route, a script sleep (not ideal), or the event_routing module which also has a timeout: https://www.opensips.org/Documentation/Script-Routes-3-6#toc8 https://opensips.org/docs/modules/3.6.x/cfgutils.html#func_sleep https://opensips.org/docs/modules/3.6.x/event_routing.html Ben Newlin From: Users <[email protected]> on behalf of Sasmita Panda via Users <[email protected]> Date: Friday, December 12, 2025 at 5:50 AM To: OpenSIPS users mailling list <[email protected]> Subject: [OpenSIPS-Users] Need some help around mi_datagram module . EXTERNAL EMAIL - Please use caution with links and attachments ________________________________ Hi , Below is the opensips configuration used as a b2b user agent , I am using for voice connector app . Below is the configuration . loadmodule "event_datagram.so" loadmodule "mi_datagram.so" loadmodule "b2b_entities.so" modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo") modparam("tm", "fr_timeout", 2) modparam("tm", "fr_inv_timeout", 3) modparam("tm", "restart_fr_on_each_reply", 0) modparam("tm", "onreply_avp_mode", 1) modparam("mi_datagram", "socket_name", "udp:127.0.0.1:8002<http://127.0.0.1:8002>") ####### Routing Logic ######## route { if (!is_method("INVITE") || has_totag()) { send_reply(405, "Method not allowed!\n"); exit; } ua_session_server_init($var(b2b_key), "drbh"); xlog("Started new call for $var(b2b_key)\n"); exit; } I am facing one issue . In case the voice connector app is not running . Opensips published the event and hence the Invite to opensips wont get answered as the application subscribed the event and answering to the Invite request is not working . Is there any option opensips terminate the call if that won't get answered in a stipulated time frame ? Thanks & Regards Sasmita Panda Senior Network Testing and Software Engineer 3CLogic , ph:07827611765
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
