callthemonline / react-sip

React wrapper for jssip
https://www.npmjs.com/package/react-sip
MIT License
50 stars 46 forks source link

adding sipRegister() and sipUnregister() for advanced registration me… #5

Closed denisnikulin closed 7 years ago

denisnikulin commented 7 years ago

register and unregister methods

kachkaev commented 7 years ago

I guess there should be some handling of calling register / unregister / other methods when the registration is in the wrong state. Also probably need a boolean autoregister in props (true by default, set to false for those who want to call sipRegister / sipUnregister afterwards).