Quobis / QoffeeSIP

QoffeeSIP is a complete Javascript SIP stack that can be used in a website to exploit all the multimedia capabilities of WebRTC technology. Instead of using pure Javascript, QoffeeSIP has been coded with CoffeeScript so you can easily modify it to suit your needs.
GNU Lesser General Public License v3.0
27 stars 5 forks source link

Un/De-register in Qoffee #11

Open prasaddp5 opened 10 years ago

prasaddp5 commented 10 years ago

How can we achieve Un/De-Registeration in qoffee? I see Unregister method is not accessible from sipstack though it has reference in API/QS.

damianfral commented 10 years ago

Hi @prasaddp5.

Unregister method is created dynamically when the user gets registered (see states 1 and 2 in sipstack.coffee).

I should change it to be an object attribute that works depending on the current state (as hangup does). Anyway, you should be able to call unregister method when the user is registered.