Using Speakerphone

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Mujtaba (tomujtaba_at_hotmail.com)
Date: 04/08/04


Date: 8 Apr 2004 08:46:24 -0700

hi
i want to use speakerphone using tapi2. i am calling functions in the
following sequence

lineInitialize()
lineNegotiateApiVersion()
lineOpen()
LineGetId("tapi/phone")
phoneInitialize() ------------------------> error here not returning
success
phoneNegotiateApiVersion()
phoneOpen()
phoneSetHookSwitch()

phoneInitialize() return success when i use it with tapi browser 2.
But in my application it does not succeed, Although i set appropriate
arguments

like
            nRetCode = phoneInitialize(&m_HPhoneApp,dwApiversion1,
etc)

but it fails.

Could anybody plz help me out.

Thanx