hi all,
kindly and/or patiently read atleast first few lines and can help me by giving any suggession/soluion for this bellow mentioned issue.
THANKZ in advance
Issue:
I need to play a pre recorded vox file whenever we detects a Positive Answering Machine after dialing a telephone number.But here constraint is we need to play the vox file only after the beep which is at the end of the client's answering machine message.we have API functions to detect Answering Machine and as well as API function for playing a vox file.So here the major issue is how to identify or detect the beep in message from answering machine.
The two API functions used are :
1.For detecting Answering Machine :
Name : long ATDX_CONNTYPE(chdev)
ATDX_CONNTYPE( ) - returns the connection type for a completed call
Inputs: int chdev (valid Dialogic channel device handle )
Returns:
connection type (if succeess)
AT_FAILURE (if error)
Includes: srllib.h , dxxxlib.h
Category: Extended Attribute
Description : ATDX_CONNTYPE( chdev )
Above function Returns a connection named CON_PAMD when Answering machine detects
chdev : specifies the valid channel device handle obtained when the channel was opened using dx_open( ).
2.For playing a vox file :
Name: int dx_play(chdev,iottp,tptp,mode)
Inputs:
int chdev ( valid Dialogic channel device handle )
DX_IOTT *iottp (pointer to I/O Transfer Table Structure )
DV_TPT *tptp ( pointer to Termination Parameter Table Structure )
unsigned short mode (asynchronous/synchronous playing mode bit mask for this play session)
Returns:
0 if success
-1 if failure
Includes: srllib.h , dxxxlib.h
Category: I/O
Mode: synchronous/asynchronous
Whats all above means : I have involved in a softwares product development in telecommunications pertain to CTI(computer telephony integration).
The Things Used in Are :
Language : C
O.S : windows2000professional.
C compiler : VC++6.0
Boards Used for Dialing : Dialogic board(D/240SC-2T1)
softwares : System Release Software 5.1.1(Dialogic A.P.I) to operate dialogic boars for dialing , recording call conversation and for all other related purpose.
Special API used : Win32 API
I am hopefully awaiting for your response.
Thanking you.
yours
m.sudhakar.