====== sipAuthName ====== wrtc.sipAuthName is a string parameter containing user's SIP authentication name. It is mostly used in SIP systems there [[ixnx:wrtc:js:api:wrtc:addressname|wrtc.addressName]] contains user's SIP address and wrtc.sipAuthName contains user's login name:\\ wrtc.addressName = "adam@foo.com";\\ wrtc.sipAuthName = "adam"; (In most SIP implementations the login name is the same as the username part of the SIP address, though it is not mandated and thus may differ on some systems.) ===== Value ===== String containing a user's SIP authentication (login) name. ===== Default value ===== Undefined. ===== Usage ===== wrtc.sipAuthName is used by [[ixnx:wrtc:js:api:line:authenticate|line.authenticate()]]. Usually you set wrtc.sipAuthName in [[ixnx:wrtc:js:api:wrtc:onauthenticate|wrtc.onAuthenticate]] before it calls [[ixnx:wrtc:js:api:line:authenticate|obj.authenticate()]]. However if you want to change value of wrtc.sipAuthName at some other time you must call wrtc.changeName() to trigger a new SIP authentication (a new [[ixnx:wrtc:js:api:wrtc:onauthenticate|wrtc.onAuthenticate()]] event). ===== See also ===== [[ixnx:wrtc:js:api:wrtc:addressname|wrtc.addressName]] [[ixnx:wrtc:js:api:wrtc:sippassword|wrtc.sipPassword]]