Line
This section lists the constructor, fields, methods, callback event methods, and returns (if applicable) associated with this class.
Constructor
| Constructor | Returns |
|---|---|
|
Line() |
Line object |
Fields
| Field | Type |
|---|---|
|
call |
Object |
|
caps |
Object |
|
connectionId |
String |
|
id |
String |
|
isMuted |
Boolean |
|
state |
String of the following constants:
|
Methods
| Method | Returns |
|---|---|
|
alternate(reason) |
None |
|
answer(reason) |
None |
|
attachUserData(userdata, reason) |
None |
|
clear(reason) |
None |
|
complete(reason) |
None |
|
conference(destination, reason, userdata, calldata) |
None |
|
conferenceSingle(destination, reason, userdata, calldata) |
None |
|
dial(number, reason, userdata) |
None |
|
dropParty(destination, reason) |
None |
|
getAni() |
String |
|
getDescr() |
String |
|
getDnis() |
String |
|
getReferenceId() |
String |
|
getUrl(defaultUrl) |
String |
|
grabCall(destination, reason) |
String |
|
hold(reason) |
String |
|
join (reason, conferenceId ) |
None |
|
mute (reason) |
None |
|
park(destination, reason) |
None |
|
reconnect(reason) |
None |
|
reject(reason) |
None |
|
release(reason) |
None |
|
retrieve(reason) |
None |
|
sendDTMF(reason, stringDTMF) |
None |
|
setcallresult(result) |
None |
|
setcallresultDNC(reason, number) |
None |
|
setcallresultReschedule(hours, minutes,day, month,year) |
None |
|
transfer(destination, reason, userdata, calldata) |
None |
|
transferMute(destination, reason, userdata, calldata) |
None |
|
unmute(reason) |
None |
|
updateCallData(calldata, reason) |
None |
Callback Event Methods
| Callback Event Method | Returns |
|---|---|
|
onAlternating(event) |
None |
|
onAnswering(event) |
None |
|
onAttachingUD(event) |
None |
|
onCallDataChanged(event) |
None |
|
onCapabilitiesChanged(event) |
None |
|
onClearing(event) |
None |
|
onCompleting(event) |
None |
|
onConferencing(event) |
None |
|
onDialing(event) |
None |
|
onDropped(event) |
None |
|
onError(event) |
None |
|
onGrabbing(event) |
None |
|
onHeld(event) |
None |
|
onHolding(event) |
None |
|
onJoining(event) |
None |
|
onMuted(event) |
None |
|
onOffHook(event) |
None |
|
onOnHook(event) |
None |
|
onParking(event) |
None |
|
onPartyAdded(event) |
None |
|
onPartyChanged(event) |
None |
|
onPartyRemoved(event) |
None |
|
onReconnecting(event) |
None |
|
onRejected(event) |
None |
|
onRejecting(event) |
None |
|
onReleasing(event) |
None |
|
onRetrieving(event) |
None |
|
onRinging(event) |
None |
|
onSetcallresult(event) |
None |
|
onSetcallresultDNC(event) |
None |
|
onSetcallresultReschedule(event) |
None |
|
onTalking(event) |
None |
|
onTransfering(event) |
None |
|
onUnmuted(event) |
None |
|
onUpdatingCD(event) |
None |
|
onUserDataChanged(event) |
None |