MayamaTakeshi / sip-lab

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

Disable auto-clean upon shutdown #11

Closed MayamaTakeshi closed 1 year ago

MayamaTakeshi commented 1 year ago

When a test finishes we currently check if there are active calls/registrations/subscriptions and terminate them. This was done as a convenience for the developer as the next test would not be affected by an unexpected state in the remote sip server under test. However this causes some issues:

So we will disable this. Then the writing of test scripts using sip-lab would be:

This way, debugging/troubleshooting will be eased.

Then, if in the future this becomes somehow necessary, we can add a flag to be used upon sip-lab initialization to permit to enable/disable it.