flutter-webrtc / dart-sip-ua

A dart-lang version of the SIP UA stack.
MIT License
339 stars 269 forks source link

Can we have an unregister system? #450

Open samiulislamlive opened 4 months ago

samiulislamlive commented 4 months ago

What I want is that if i click on a button it will unregister me. That means it will unregister me from system so that I do not receive call.

victortive commented 3 months ago

There is functionality to unregister on the SIPUAHelper class.

SIPUAHelper helper = SIPUAHelper();
if (helper.registered) {
  helper.unregister();
}