Intel 05-2352-005 manual „ Errors

Page 36

When recording VOX files, the data format is specified in DC_XPB rather than through the dx_setparm( ) function.

Voice data files that are specified in the DX_IOTT structure must be opened with the O_BINARY flag.

If both time slots transmit a DTMF digit at the same time, the recording will contain an unintelligible result.

Since this function uses dx_listen( ) to connect the channel to the first specified time slot, any error returned from dx_listen( ) will terminate the function with the error indicated.

This function connects the channel to the time slot specified in the SC_TSINFO data structure sc_tsarrayp[0] field and remains connected after the function has completed. Both sc_tsarrayp[0] and sc_tsarrayp[1] must be within the range allowed in SC_TSINFO. No checking is done to verify that sc_tsarrayp[0] or sc_tsarrayp[1] has been connected to a valid channel.

Upon termination of the dx_mreciottdata( ) function, the recording channel continues to listen to the first time slot (pointed to by sc_tsarray[0]).

The application should check for a TDX_RECORD event with T_STOP event data after executing a dx_stopch( ) function during normal and transaction recording. This will ensure that all data is written to the disk.

When using dx_mreciottdata( ) and a dial tone is present on one of the time slots, digits will not be detected until dial tone is no longer present. This is because the DSP cannot determine the difference between dial tone and DTMF tones.

Tone termination conditions such as DTMF and TONE apply only to the primary input of the function; that is, the TDM time slot specified in the SC_TSINFO data structure sc_tsarrayp[0] field.

„Errors

If the function returns -1, use the Standard Runtime Library (SRL) Standard Attribute function ATDV_LASTERR( ) to obtain the error code or use ATDV_ERRMSGP( ) to obtain a descriptive error message. One of the following error codes may be returned:

EDX_BADDEV Invalid device handle

EDX_BADIOTT

Invalid DX_IOTT entry

EDX_BADPARM

Invalid parameter passed

EDX_BADTPT

Invalid DV_TPT entry

EDX_BUSY

Busy executing I/O function

EDX_SYSTEM

Error from operating system

HMP Linux 1.2 Release Update, Rev 05 — September 2006September 2006

36

Image 36
Contents Release Update SeptemberHMP Linux 1.2 Release Update, Rev 05 September How to Use This Publication PurposeIntended Audience Related Information Updated for Service Update Document Rev 05, published SeptemberDocument Rev 04, published December Document Rev 03, published JuneDocument Rev 02, published January Document Revision HistoryDocument Rev 01, published October Service Update Software Installation Release DevelopmentsOrder of Procedures Assumptions and PrerequisitesInstalling the Service Update Following messages are displayedHMP Verification Demo Environment VariablesSupport for Red Hat Enterprise Linux Update Support for Suse Linux Enterprise ServerSupport for 120 Low Bit Rate Channels Transaction RecordHMP Linux 1.2 Release Update, Rev 05 September Issues Issue TypeDefect Number PTR Number Product or ComponentIssues Resolved in HMP DescriptionFcdgen error while loading shared Dataformatmulaw Known Issues in HMP Restrictions and LimitationsGeneral Conferencing FaxGlobal Call, IP, and Ipml Voice DemosResolved Restrictions and Limitations Host-based H.323 Protocol StackEcho Cancellation With Continuous Speech Processing Echo Cancellation With ConferencingConfiguring UDP/RTP Port Range Compatibility NotesConfiguring T.38 Service Port Range Coder Negotiation with Third Party Stacks SIP Call ControlExample Using Multiple NICs Under Heavy Loads Elvtune Using IoctlsSolutions Operating System NotesDocumentation3 Updates Release DocumentationIncorrect Correct, Development Software, the following apply , Release Documentation, the following applyInstallation Documentation Operating Software DocumentationHost Media Processing Diagnostics Guide Development Software Documentation Original RevisedFax Software Reference for Linux and Windows Global Call API for Host Media Processing Library ReferenceGlobal Call IP for Host Media Processing Technology Guide HMP Linux 1.2 Release Update, Rev 05 September 2006September Voice API for Host Media Processing Library Reference Dxmreciottdata„ Description „ Cautions„ Errors „ Example Following example is for Linux applicationsFollowing example is for Windows applications HMP Linux 1.2 Release Update, Rev 05 September 2006September „ See Also Voice API for Host Media Processing Programming Guide Transaction RecordDemonstration Software Documentation Audio Conferencing API for Host Media Processing Demo GuideIP Media Server for Host Media Processing Demo Guide $INTELDIALOGICDIR/demos/IPMediaServerGlobal Call API Demo Guide