User`s guide

Dialogic
®
System Release 6.0 PCI for Windows
®
Release Update, Rev 62 — January 30, 2008 218
Dialogic Corporation
Termination Events
In asynchronous mode, the function returns 0 if the operation was initiated successfully.
Completion of the operation is indicated by receipt of a termination event:
IPMEV_MODIFY_MEDIA
Indicates successful completion; that is, modified media information was set and the session
has been started.
IPMEV_MODIFY_MEDIA_FAIL
Indicates that the modify media operation failed. The characteristics of the media session
remain as they were before the function was called.
Cautions
None.
Errors
If the function returns -1 to indicate failure, call ATDV_LASTERR( ) and ATDV_ERRMSGP( )
to return one of the following errors:
EIPM_BADPARM
Invalid parameter
EIPM_BUSY
Channel is busy
EIPM_INTERNAL
Internal error
EIPM_INV_MODE
Invalid mode
eDirection media operation enumeration
The eIPM_DATA_DIRECTION data type is an enumeration which
defines the following values:
DATA_IP_RECEIVEONLY – receive data from the IP network but do
not send data
DATA_IP_SENDONLY – send data to the IP network but do not
receive data
DATA_IP_TDM_BIDIRECTIONAL – full duplex data path between
IP network and TDM
DATA_IP_INACTIVE – allow RTCP while blocking RTP packets
DATA_IP_NULL – do not modify the direction of the current session;
the previous direction remains in effect. This value is used when
changing the coder and/or IP address without changing the direction.
usMode operation mode
Set to EV_ASYNC for asynchronous execution or to EV_SYNC for
synchronous execution
Parameter Description