junction/jn-tapi

do we need to unsubscribe? possibly when the TSP driver is removed

Opened this issue · 4 comments

when the TSP driver is removed from the control panel the driver should issue an unsubscribe from it's node.

when you say "unsubscribe", do you mean unsubscribe from call events using the pubsub?

If so, I wouldn't see specifically that we would do this when removing the TSP driver, but possibly when the TAPI line is closed. When the TAPI line is opened, we do the subscribe, then when closing, we currently just disconnect the XMPP connection. Should we unsubscribe here?

when the XMPP connection is disconnected the unsubscribe should be done

when TAPI line is closed, it will do the unsubscribe.

made new TSP release on 7/7, please review