08.01.2013 Views

Dialogic IP Media Library API Programming Guide and Library ...

Dialogic IP Media Library API Programming Guide and Library ...

Dialogic IP Media Library API Programming Guide and Library ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Contents<br />

22 Building Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118<br />

22.1 Compiling <strong>and</strong> Linking under Linux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118<br />

22.1.1 Include Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118<br />

22.1.2 Required Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118<br />

22.2 Compiling <strong>and</strong> Linking under Windows® . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119<br />

22.2.1 Include Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119<br />

22.2.2 Required Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119<br />

23 Function Summary by Category . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120<br />

23.1 System Control Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120<br />

23.2 I/O (Input/Output) Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121<br />

23.3 <strong>Media</strong> Session Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121<br />

23.4 Quality of Service (QoS) Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121<br />

23.5 <strong>Dialogic</strong> ® <strong>IP</strong> <strong>Media</strong> <strong>Library</strong> <strong>API</strong> Function Support by Platform . . . . . . . . . . . . . . . . . . . . . 122<br />

24 Function Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124<br />

24.1 Function Syntax Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124<br />

ipm_Close( ) – close an <strong>IP</strong> channel device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125<br />

ipm_DisableEvents( ) – disable <strong>IP</strong> notification events. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127<br />

ipm_EnableEvents( ) – enable <strong>IP</strong> notification events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131<br />

ipm_GenerateIFrame( ) – generate an I-Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135<br />

ipm_GetCapabilities( ) – retrieve capability (for example, coder) information . . . . . . . . . . . . . . . 138<br />

ipm_GetCTInfo( ) – return information about a voice channel of an <strong>IP</strong>M device. . . . . . . . . . . . . 141<br />

ipm_GetLocal<strong>Media</strong>Info( ) – retrieve properties for the local media channel . . . . . . . . . . . . . . . 143<br />

ipm_GetParm( ) – retrieve the current value of a parameter. . . . . . . . . . . . . . . . . . . . . . . . . . . . 147<br />

ipm_GetQoSAlarmStatus( ) – retrieve ON/OFF state of QoS alarms . . . . . . . . . . . . . . . . . . . . . 150<br />

ipm_GetQoSThreshold( ) – retrieve QoS alarm threshold settings . . . . . . . . . . . . . . . . . . . . . . . 153<br />

ipm_GetSessionInfo( ) – retrieve statistics for a session. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157<br />

ipm_GetSessionInfoEx( ) – retrieve RTCP data for a session . . . . . . . . . . . . . . . . . . . . . . . . . . 161<br />

ipm_GetXmitSlot( ) – return TDM time slot information for an <strong>IP</strong> channel. . . . . . . . . . . . . . . . . . 165<br />

ipm_InitResponseSend( ) – send a response to an Nb UP invitation . . . . . . . . . . . . . . . . . . . . . 168<br />

ipm_InitSend( ) – send an Nb UP initialization message to a remote party . . . . . . . . . . . . . . . . 174<br />

ipm_Listen( ) – connect an <strong>IP</strong> channel to a TDM time slot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180<br />

ipm_Modify<strong>Media</strong>( ) – modify properties of active media session . . . . . . . . . . . . . . . . . . . . . . . . 183<br />

ipm_Open( ) – open an <strong>IP</strong> channel device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188<br />

ipm_ReceiveDigits( ) – enable the <strong>IP</strong> channel to receive digits. . . . . . . . . . . . . . . . . . . . . . . . . . 191<br />

ipm_ResetQoSAlarmStatus( ) – reset QoS alarm(s) to the OFF state . . . . . . . . . . . . . . . . . . . . 195<br />

ipm_SecurityGenMasterKeys( ) – generate master <strong>and</strong> salt keys . . . . . . . . . . . . . . . . . . . . . . . 198<br />

ipm_SendDigits( ) – generate digits to the TDM bus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202<br />

ipm_SetParm( ) – set value for specified parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205<br />

ipm_SetQoSThreshold( ) – change QoS alarm threshold settings . . . . . . . . . . . . . . . . . . . . . . . 208<br />

ipm_Start<strong>Media</strong>( ) – set media properties <strong>and</strong> start the session . . . . . . . . . . . . . . . . . . . . . . . . . 211<br />

ipm_Stop( ) – stop operations on the specified <strong>IP</strong> channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216<br />

ipm_UnListen( ) – stop listening to the TDM time slot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219<br />

25 Events. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222<br />

26 Data Structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226<br />

6 <strong>Dialogic</strong> ® <strong>IP</strong> <strong>Media</strong> <strong>Library</strong> <strong>API</strong> <strong>Programming</strong> <strong>Guide</strong> <strong>and</strong> <strong>Library</strong> Reference<br />

<strong>Dialogic</strong> Corporation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!