MayamaTakeshi / sip-lab

A node module that helps to write SIP functional tests
3 stars 2 forks source link

Permit to enable/disable auto-cleanup upon shutdown #12

Open MayamaTakeshi opened 1 year ago

MayamaTakeshi commented 1 year ago

Permit to specify on sip-lab startup if auto-clean up upon shutdown must be done. Auto-clean up was disabled by #11.

However, some case will need it. For example, in a test environment, it is easy to as for example for freeswitch/asterisk/yate to terminate all calls. Or to clean up all registrations etc. However, the scripts could be used against a production system (to check for example if services are OK after system update) and in this case this would not be possible. So auto-clean up is still necessary.

However, let's try to make it more efficient and make sip-lab shutdown fast.