[OpenSIPS-Users] Orderly shutdown

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Oct 26 14:49:44 UTC 2022


Hi,

Sending a sig TERM to the opensips processes will trigger a controlled 
shutdown of opensips (meaning with flushing data to DB, if needed, 
cleanup, etc). Nevertheless, the opensips shutdown does not ends the 
call, as the calls may be continued after restarting opensips.

Still, if you want to terminate all ongoing calls before shutting down, 
better use dialog module and check these MI cmds:
https://opensips.org/html/docs/modules/3.2.x/dialog.html#mi_dlg_end_dlg
https://opensips.org/html/docs/modules/3.2.x/dialog.html#mi_profile_end_dlgs

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Bootcamp 5-16 Dec 2022, online
   https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/

On 10/25/22 2:15 PM, Saint Michael wrote:
> Dear friends
> is there a command I can send to Opensips 3.1, so all calls are shut
> down and BYEs are sent to both the caller and the callee? Then of
> course, opensips closes down.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list