Table of Contents

line

line is an object of class lineObject that is automatically created by wrtc whenever it needs a new connection a new "telephone line" to the server

It takes care of one telephone connection, one "telephone line". To be able to call someone, or receive a call, you need to first have a line.

Users usually do not need to do anything with the line object, except in wrtc.onAuthenticate(), wrtc.onAuthenticateFailed() and wrtc.onRejected() there the line object is one of the function arguments.

line API

The line object can be controlled using function calls and properties.

Properties

Useful line object properties:

line.addressName username / SIP address given by server
line.call call object using this line
line.displayName user's informal, descriptive name given by server
line.nam line object name
line.objType object type
line.online logged in

In order to avoid malfunction please do not change any of the line object's properties.

Functions

Useful line object functions:

line.authenticate() log in user
ixnx/wrtc/js/api/line/start.txt · Last modified: by tibor
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0