Dialogic DIALOGIC MULTIMEDIA SOFTWARE FOR ADVANCEDTCA RELEASE 1.0, 05-2548-006 IpmGetCapabilities

Page 27

ipm_GetCapabilities( )

Name: ipm_GetCapabilities(nDeviceHandle, a_CapType, a_num, a_CapabilitiesArray[], a_usMode);

Inputs: int nDeviceHandle

IP Media device handle

eCAPABILITY_TYPE a_CapType

capability type to be retrieved

unsigned int a_num

number of entries in the capability array

IPM_CAPABILITIES a_CapabilitiesArray[]

capability array

unsigned short a_usMode

async or sync mode setting

Returns: number of capabilities available

 

-1 on failure

 

Includes: srllib.h

 

ipmlib.h

 

Category: Media Session

 

Mode: synchronous

 

„Description

The ipm_GetCapabilities( ) function returns the number of capabilities of the specified type (for example, coders) and details of each capability supported by an active HMP software license. The number of capabilities available may be greater than the number specified by the a_num input parameter, therefore the following rules apply:

If a_num is zero and/or a_CapabilitiesArray[] is NULL, this function returns only the number of capabilities available; no capability detail is retrieved.

If a_num is larger than the number of capabilities available (the return value),

a_CapabilitiesArray[] is filled with details of all capabilities and the remaining allocated memory is unused.

If a_num is smaller than the number of capabilities available (the return value),

a_CapabilitiesArray[] is filled with details of a_num capabilities (that is, as many as will fit); details of the remaining capabilities are not retrieved.

Parameter

Description

n_DeviceHandle

handle of the IP Media device

a_CapType

capability type, for example CAPABILITY_CODERLIST

a_num

the number of entries in the capability array

a_CapabilitiesArray[]

the capability array

a_usMode

operation mode

 

Set to EV_SYNC for synchronous execution

Dialogic® Multimedia Software for ATCA Release 1.0 Release Update, Rev 06 — January 23, 2008

27

Dialogic Corporation

 

Image 27
Contents Dialogic Multimedia Software for AdvancedTCA Release Release UpdateDialogic Corporation How to Use This Publication PurposeIntended Audience See the following for additional information Related InformationDocument Rev 06 published January 23 Document Rev 05 published June 22Document Rev 04 published June 8 Document Rev 02 published March 30 Document Rev 03 published May 1Initial version of document Document Rev 01 published JanuaryRelease Developments Updates to Ipmaudiocoderinfo Summary of FeaturesUpdates to Ipmaudiocoderoptionsinfo 2Release.Issues2 CLI Issues Sorted by Type, Dialogic Multimedia PlatformAs the clock source instead of a previously recovered Msml Dlservices cli startEvrc IpmlPARMCHRFC2833EVTRXPLT CLI, SnmpRtfConfigLinux.xml for mediasvr Existent list when the cable is unplugged from a Pstn Issue Type Defect No Product or Description 3Documentation.Updates3 Dialogic Fax Software Reference Dialogic Conferencing CNF API Library ReferenceDialogic Conferencing CNF API Programming Guide Dialogic Device Management API Library ReferenceDialogic IP Media Library API Library Reference Dialogic Global Call IP Technology GuideParmchlatencyalgaudio Updates to the ipmSetParm and ipmGetParm functionsParmchlatencyframemaxaudio Parmchlatencyframeinitaudio Update to , Events Codertypeevrc CodertypeamrnbnonePage „ Description IpmGetCapabilities„ Cautions „ Example Ipmaudiocoderoptionsinfo „ Example Dialogic IP Media Library API Programming Guide Using AMR Coders for Narrow Band Audio DescriptionSupported RTP Payload Format Dialogic IP Media Library API SupportExample Local Side Remote SideIpmaudiocoderoptionsinfoversion Local Side Remote Side Coderoptamrcmrlimit Coderoptamrefficient Using Enhanced Variable Rate CodecsOutbound Call Resource Reservation of Audio CodersImplicit Release by a Subsequent Successful Reserve Call Inbound CallHandling a Resource Reservation Failure Application issues call to release resource RESOURCEIPMG726 Dialogic Multimedia API Programming Guide Dialogic Multimedia API Library ReferenceDialogic Voice API Programming Guide Dialogic Standard Runtime Library API Library ReferenceDialogic Standard Runtime Library API Programming Guide Dialogic Voice API Library Reference