Command Protocol Reference Guide
A - 45
phone_connect
Connect Or Disconnect Telephony Interface
Description
This parameter sets the connection status of the telephony interface. Setting
the phone_connect status to 1 connects the call, while setting it to 0 disconnects
the call.
Examples
phone_dial
Dial The Telephony Interface
Argument Argument value
Channel Type Virtual Channel
Value Type Boolean
Read/Write Mode Read/Write
Phys Chans Analog Telephony Output, VoIP Telephony Output
Virt Chans Mono
Default 0
Event Source Yes
Command Response Description
set phone_connect
"Phone Out" 1
val phone_connect
"Phone Out" 1
Takes the phone output channel "Phone Out" offhook.
Note that the phone out virtual channel name must be
used, not the phone input virtual channel name.
get phone_connect
"Phone Out" 0
val phone_connect
"Phone Out" 0
Hangs up the phone line associated with the virtual
channel "Phone Out". Note that the phone out virtual
channel name must be used, not the phone input virtual
channel name.
Argument Argument value
Channel Type Virtual Channel
Value Type String
Read/Write Mode Write-Only
Phys Chans Analog Telephony Output, VoIP Telephony Output
Virt Chans Mono
System Limits Max String Length: 32
Event Source No