Jump to content
Tom Wellige

PBXCall.Disconnect

Recommended Posts

This functions disconnects the current call.

 

PBXCall.Disconnect ([cause])

 

This function returns an integer value of  PBXSuccess (0) on success. See list of defined return values.

 

This function can be called before the call is connected to a user (by using e.g. the Connect To block in the GSE) or even after the call was connected.

 

 

Parameter

 

cause

 

Optional. Default: PBXCallTermNormalCallClearing

 

This parameter takes the cause that is signalled to the other side (pstn/sip provider) and can be any of the following values:

PBXCallTermNormalCallClearing
PBXCallTermDestinationBusy
PBXCallTermReject
PBXCallTermCancelled
PBXCallTermTransferred
PBXCallTermJoinedConference
PBXCallTermNoAnswer
PBXCallTermToLate
PBXCallTermDirectCallImpossible
PBXCallTermWrongNumber
PBXCallTermIgnoreCall

 

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.