Design Guide for the Polycom SoundStructure C16, C12, C8, and SR12
12 - 80
# Once the call is on hold, you will get the confirmation with the
# voip_call_appearance_state acknowledgment
val voip_call_appearance_state "VoIP Out" 1 ncas_call_hold
# To resume the call, use the voip_resume command
set voip_resume “VoIP Out”
# Once you have the acknowledgment that the line is connected,
# then the call has resumed.
val voip_call_appearance_state "VoIP Out" 1 connected
# To hang up the phone
set phone_connect “VoIP Out” 0
Forwarding an Incoming Call
This example shows how to take an incoming call and forward it to different
extension. In this example, an incoming call from extension 2029 rings in the
local room and is forwarded to extension 5148.
# Incoming phone call generates a series phone_ring messages on
# the “VoIP In” channel
val phone_ring "VoIP In" 1
# To initiate the forward, send the voip_forward command
set voip_forward “VoIP Out”
val voip_forward "VoIP Out"
# dial the extension to transfer the call to
set phone_dial "VoIP Out" "5148"
val phone_dial "VoIP Out" "5148"
# Complete the forward by sending voip_forward again
set voip_forward "VoIP Out"
val voip_forward "VoIP Out"
# the call appearance information is cleared as the call is forwarded
# to the next extension
val voip_call_appearance_info "VoIP Out" 1 1 "2029"
val voip_call_appearance_info "VoIP Out" 1 1 ""
val voip_call_appearance_info "VoIP Out" 1 2 ""
val voip_call_appearance_state "VoIP Out" 1 free