Gettrunkaccesscode - Altigen AltiAgent ActiveX Programmer's Manual

Table of Contents

Advertisement

1 - Unknown error occurs
2 - Disconnect AltiAgent
999 - Exception occurred
VC++ Example
BOOL bstart= m_altictrl. MakeCall(L"101");
VB Example
Dim Result as Integer
Dim dirNum As String
dirNum = "101"
Result = AltiCtrl1.MakeCall(dirNum)

GetTrunkAccessCode

Description
Get default trunk access code set in AltiAgent.
VC++ Syntax
BSTR GetTrunkAccessCode ();
VB++ Syntax
object. GetTrunkAccessCode()
Return type
Default trunk access code set in AltiAgent
VC++ Example
CComBSTR bstrTrunkAccess= m_altictrl. GetTrunkAccessCode ();
VB Example
Dim data As String
data = AltiCtrl1.GetIVRData(ulSessionID)
Note: The ctrl will show a window in the client application. To hide the window, use the following
code
VC++ Example
m_altictrl.ShowWindow(SW_HIDE);
VB Sample
AltiCtrl1.Visible = TRUE
DropCall
Description
Drops the current call.
AltiAgent ActiveX Programmer's Guide
13

Advertisement

Table of Contents
loading

Table of Contents