I need to play a pre recorded vox file using C

This is a discussion on I need to play a pre recorded vox file using C within the C Programming forums, part of the General Programming Boards category; hi all, kindly and/or patiently read atleast first few lines and can help me by giving any suggession/soluion for this ...

  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    10

    Thumbs up I need to play a pre recorded vox file using C

    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.

  2. #2
    Registered User
    Join Date
    Jul 2006
    Posts
    10

    standard frequency and duration of the beep in the end of any Answering Machine messa

    Hi all,

    previous Title: I need to play a pre recorded vox file using C

    With above title I have placed a blog just before an Hour,Please any one can help me.

    I have got some idea just now regarding the previous blog placed by me with title: I need to play a pre recorded vox file using C that is ,

    I got a function for beep is
    Beep(int frequency,int 'duration in milli sec')

    Now the updated Issue: I am assuming that you have read my previous blog just before this with a title: I need to play a pre recorded vox file using C
    If I can get the the frequency and duration of the beep which is playing at the end of Answering Machine message then by comparing those frequency and duration fo beep with our function with those parameters Beep( frequency , duration ) and then we can Play the vox file. So...............

    So I want the standard frequency and duration of the beep in the end of any Answering Machine message

    I hope U all got this....waiting for reply,



    Thanking U,
    yours
    m.sudhakar

  3. #3
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Um, lol? You want us to do you job for you? Your homework for you? What exactly? Wait a minute... You want me to help you make a tele-marketing machine? Are you out of you mind?


    Quzah.
    Hope is the first step on the road to disappointment.

  4. #4
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,383
    m.sudhakar, I think I'm going to put your whole message in my sig

    EDIT: Not anymore after the merge. But let it be recorded that I found your request for the standard frequency of the beep at the end of any answering machine a real keeper. Sig stuff.
    Last edited by Mario F.; 11-17-2006 at 06:10 PM.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  5. #5
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,006
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need Help Fixing My C Program. Deals with File I/O
    By Matus in forum C Programming
    Replies: 7
    Last Post: 04-29-2008, 07:51 PM
  2. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 04:02 AM
  3. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 08:39 AM
  4. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 08:19 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21