Dialogic 6.2 Manuale Utente

Pagina di 441
Managing Calls Using IP Telephony
November 2009
217
Outgoing IP Calls
Your application manages outgoing calls if it performs the following:
„
Uses the function calls from the table below
„
Does not do syntax validation of the dial string
„
Relies on the return status from the BfvLineOriginateCall 
function to determine call completion success. 
In this case the application is unaware of the mode of transport 
(PSTN or IP): 
using Bfv function calls.
BfvCallDisconnect 
Starts the process of terminating a telephone call.
BfvCallSetup
Starts the process of dialing an outgoing 
telephone call.
BfvCallStatus
Retrieves the channel’s current call state.
BfvLineDialString
Places the line in an OFF_HOOK state, dials the 
digits specified, and returns after dialing the last 
digit.
BfvLineOrigCallDB
Checks the specified dialing database for the 
specified telephone number, returns the amount 
of time to wait before dialing, and then places the 
call on an outgoing line and updates the dialing 
database.
BfvLineOriginateCall 
Dials an outgoing call (equivalent to the 
BfvCallSetup
 and 
BfvCallWaitForComplete
 lower 
level function calls.)
BfvLineTerminateCall
Terminates the current call (equivalent to the 
BfvCallDisconnect
 and 
BfvCallWaitForRelease 
lower level function calls.)
BfvLineTransfer
 
CapabilityQuery
Indicates the transfer capability of a channel. 
Also provides an application with information to 
determine whether two particular lines are paired 
to perform a two B-channel call transfer.
BfvWaitForComplete
Waits for the outgoing telephone call to finish.
BfvWaitForRelease
Waits for the termination of a telephone call to 
finish.