Phone_dial dial the telephony interface, Description, Examples – Polycom C16 User Manual

Page 386

Advertising
background image

Design Guide for the Polycom SoundStructure C16, C12, C8, and SR12

A - 44

phone_dial Dial The Telephony Interface

Description

This command dials the specified string of digits on the telephony interface.

This parameter can be used to dial one digit at a time or many digits all at once.

For the PSTN interface, valid digits are '0' through '9', '*', '#', and ',' (delay).
If the telephony interface is not connected (see the phone_connect parameter)

when this parameter is set, the digits will not be dialed. The phone must be

taken off hook by setting phone_connect to 1 before the digits can be dialed.

Examples

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

Virt Chans

Mono

System Limits

Max String Length: 32

Command

Response

Description

set phone_dial "Phone
Out" "9,18009322774"

val phone_dial "Phone
Out" "9,18009322774"

Dials the phone line associated with the virtual channel
"Phone Out" with the digit string "9,18009322774". The
phone line must be offhook for the digits to be dialed -
see phone_connect. Note that the phone out virtual
channel name must be used, not the phone input virtual
channel name.

Advertising
This manual is related to the following products:

C8, SR12, C12