Table of Contents

onSIPRegistration()

wrtc.onSIPRegistration() is an event function called when SIP registration process is finished. After you have logged in to a SIP server.

Usually this event occurs a short time after line.authenticate() but "UNREGISTER" can come at any time a SIP server has timeout for registrations.

You can use this event to tell user if SIP login succeeded or not.

You can also use this event to store the SIP password hash sum wrtc.sipHa1 into a cookie if you want to.

Occurs

SIP registration finished.

Arguments

wrtc.onSIPRegistration(result)

Return value

Ignored.

See also

line.authenticate()