Microsoft TAPI (en)
 

Tapi Call lineDrop API fails with LINEERR_OPERATIONFAILED


 
Tapi Call lineDrop API fails with LINEERR_OPERATIONFAILED Post Reply
09.11.2008 22:10 Arpit

Hello,

I am writing Dialer Application, which will monitor Tapi line. If user
dial any number from Native Dialer then it will Hangup the call and it
will be dialed from My application..

For First call this is working fine. I am able to drop the call and
able to dial from my application. But when second call the dialed from
user and when i try to drop the call i receive LINEERR_OPERATIONFAILED
in Line_Reply and First call is placed on Hold by OS.

My requirement is How can i make sec. call drop successfully? Is there
any procedure to drop sec. call?

Plz do help me?

Thanks in Advance
Re: Tapi Call lineDrop API fails with LINEERR_OPERATIONFAILED Post Reply
10.11.2008 14:03 Andreas Marschall [MVP TAPI]

"Arpit" schrieb im Newsbeitrag
news:c453b5ea-7b1f-45f5-9743-c0880efefcb6@q26g2000prq.googlegroups.com...
> I am writing Dialer Application, which will monitor Tapi line. If user
> dial any number from Native Dialer then it will Hangup the call and it
> will be dialed from My application..
>
> For First call this is working fine. I am able to drop the call and
> able to dial from my application. But when second call the dialed from
> user and when i try to drop the call i receive LINEERR_OPERATIONFAILED
> in Line_Reply and First call is placed on Hold by OS.
>
> My requirement is How can i make sec. call drop successfully? Is there
> any procedure to drop sec. call?

Arpit,
what OS/SP are you using?
What telephony device / TSP are you using?

With "Native Dialer" you refer to the MS Dialer.exe ?
Is it used directly (manually) by the user or via TapiRequestMakeCall() API
from another app?

Can you reproduce the issue with MS TAPI Browser TB20 ?
Please post a TB20.log and enable Options/LogParameters and /ShowTimeStamps in
TB20.
See my TAPI and TSPI FAQ:

Q: Where can I download TAPI Browser ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Where_can

Q: Is there a user guide available for TAPI Browser TB20 ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Is_there_1

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion.  Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.


Re: Tapi Call lineDrop API fails with LINEERR_OPERATIONFAILED Post Reply
10.11.2008 19:57 Arpit

On Nov 10, 6:03=A0pm, "Andreas Marschall [MVP TAPI]"
wrote:
> "Arpit" schrieb im Newsbeitragnews:c453b5ea-7=
b1f-45f5-9743-c0880efefcb6@q26g2000prq.googlegroups.com...
>
> > I am writing Dialer Application, which will monitor Tapi line. If user
> > dial any number from Native Dialer then it will Hangup the call and it
> > will be dialed from My application..
>
> > For First call this is working fine. I am able to drop the call and
> > able to dial from my application. But when second call the dialed from
> > user and when i try to drop the call i receive LINEERR_OPERATIONFAILED
> > in Line_Reply and First call is placed on Hold by OS.
>
> > My requirement is How can i make sec. call drop successfully? Is there
> > any procedure to drop sec. call?
>
> Arpit,
> what OS/SP are you using?
> What telephony device / TSP are you using?
>
> With "Native Dialer" you refer to the MS Dialer.exe ?
> Is it used directly (manually) by the user or via TapiRequestMakeCall() A=
PI
> from another app?
>
> Can you reproduce the issue with MS TAPI Browser TB20 ?
> Please post a TB20.log and enable Options/LogParameters and /ShowTimeStam=
ps in
> TB20.
> See my TAPI and TSPI FAQ:
>
> Q: Where can I download TAPI Browser ?http://www.i-b-a-m.de/Andreas_Marsc=
hall's_TAPI_and_TSPI_FAQ.htm#_Q:_W...
>
> Q: Is there a user guide available for TAPI Browser TB20 ?http://www.i-b-=
a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_I...
>
> --
> Best Regards
> Andreas Marschall
> Microsoft MVP for TAPI / Windows SDK / Visual C++
> TAPI / TSP Developer and Tester
> My TAPI and TSPI FAQ:http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_T=
SPI_FAQ.htm
> My Toto=AE Tools (a collection of free, mostly TAPI related tools):http:/=
/www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
> TAPI development around the world (Frappr! map):http://www.frappr.com/TAP=
IaroundTheWorld
> * Please post all messages and replies to the newsgroup so all may
> * benefit from the discussion. =A0Private mail is usually not replied to.
> * This posting is provided "AS IS" with no warranties, and confers no rig=
hts.

Hello Andreas,

I am working on HTC Tytn II with 6.1 Rom (Wince PPC).

Native Dialer means cprog.exe (App Name Phone)

Api used for Making call is lineMakeCall, to drop call  lineDrop.

I never use Tapi Browser before let me use that and will upload logs
for that.

Thanks

Re: Tapi Call lineDrop API fails with LINEERR_OPERATIONFAILED Post Reply
11.11.2008 14:00 Andreas Marschall [MVP TAPI]

"Arpit" schrieb im Newsbeitrag
news:824ab07c-44fc-4f96-899e-3bf00680015c@b38g2000prf.googlegroups.com...
> I am working on HTC Tytn II with 6.1 Rom (Wince PPC).
> Native Dialer means cprog.exe (App Name Phone)

Arpit,
ok, I thought you were on PC with Win32...

> Api used for Making call is lineMakeCall, to drop call  lineDrop.
> I never use Tapi Browser before let me use that and will upload logs for
that.

Unfortunately TB is only for TAPI on Win32.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion.  Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.


 
 
 Write Us|  Add to favorites
 
 
 ©2007 TERASENS GmbH. All rights reserved. Copyright Notice