Re: problem with second call



Andreas .. first of all, let me thank you for your help/guidance. I'm
extremely impressed with your diligence and support in this news group. I'm
reporting back what I found in the hopes that someone else may benefit ..

As it turned out, the reason that lineOpen was failing on the second attempt
was because I had used LINECALLPRIVILEGE_OWNER |
LINECALLPRIVILEGE_MONITOR on the lineOpen command. When I changed this to
LINECALLPRIVILEGE_NONE, the second lineOpen succeeded. At that point, I
started seeing a failure on the second call to lineMakeCall
(LINEERR_RESOURCEUNAVAIL). A little digging found that the hComm handle
was not being closed properly on the disconnect, making it unavailable for
use on subsequent calls. At this point I can connect/disconnect repeatedly
without any problems.

Thanks again.

Jerry


"Andreas Marschall [MVP TAPI]" <Andreas.Marschall@xxxxxxxxxx> wrote in
message news:#7yfrDK4FHA.3292@xxxxxxxxxxxxxxxxxxxxxxx
> "Jerry" <jvelders@xxxxxxxxxxxxxx> schrieb im Newsbeitrag
> news:11mki45mbqlbrf8@xxxxxxxxxxxxxxxxxxxxx
> > I'm new to tapi so I know I must be doing something dumb here, but after
> > several days I'm not making progress .. thus the call for help.
> >
> > I've been asked to convert some old (15 yr old) DOS legacy home-brew
> > networking software to work under windows. It requires that I dial from
a
> > current Windows machine TO a 2400 baud hayes-compatible modem. In the
old
> > version, I just opened the comm port and sent AT commands to the modem.
> > Obviously, in the Windows world, this doesn't fly, so I've turned to
TAPI.
>
> Jerry,
> another option might be LINEBEARERMODE_PASSTHROUGH.
> Please see MSDN for details.
>
> --
> Best Regards
> Andreas Marschall
> Microsoft MVP for TAPI / Windows SDK
> TAPI / TSP Developer and Tester
> http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
> * 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.
>
>


.



Relevant Pages

  • Re: Help regarding setting up a Customer Care
    ... Amilan, you are welcome. ... Andreas Marschall ... Microsoft MVP for TAPI / Windows SDK ... >> * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: DTMF Detection in H323 Line connected to NetMeeting
    ... > Thanks Andreas & Matthias for your replies. ... > Client B NetMeeting to Server A running TB3x. ... Microsoft MVP for TAPI / Windows SDK ...
    (microsoft.public.win32.programmer.tapi)
  • Re: When TSP starts ?
    ... >> Your replies on this news group is impressive. ... >> On some of my machines, my TSP starts immediately as soon as ... > If there is any app or service that is using TAPI and is ... > Andreas Marschall ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Call Center application in Visual Basic
    ... 100E PBX support TAPI Extended Services. ... Andreas Marschall ... >> * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Siemens TAPI 120 - CSTA
    ... > All what I need is one computer that can get the CallerID/TrunkID that are ... > installing the HT 170 requires a windows 2000 server also, ... Andreas Marschall ... Microsoft MVP for TAPI / Windows SDK ...
    (microsoft.public.win32.programmer.tapi)