Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TAPI test environment

38 views
Skip to first unread message

Sergey

unread,
Dec 30, 2009, 4:54:02 AM12/30/09
to
Hello everybody,
I need your help with some problems.
I'm working on a TAPI project. I'd like to use TAPI 2.0 via C# and some
steps have already been done.
Firstly, I implemented a .Net wrapper over TAPI 2.0 (I intend to use this
wrapper in my further applications).
After that, a small tool was created. This tool is called CallNotificator,
it catches line events and sends e-mails about unanswered calls.
During development period, some tsp emulators, tapi browser(TB20) and h323
tsp were used.
It seems that everything works fine, but unfortunatelly I have no ability to
check my tool via a real pbx or a phone device.
I tried to use an unimodem tsp but I could not catch events even by TB20.
Frankly speaking, my modem is quite old (Rockwell 33.6k), can it be a reason?
Could somebody advise me which modem works properly with the unimodem tsp?
Also, I would be very appreciated if somebody helps me to test my tool via a
real tsp, you can find it here: http://www.cbusinesstools.com
Please, pay attention that .Net framework 2.0 is required.

Andreas Marschall [exMVP TAPI]

unread,
Dec 30, 2009, 1:10:51 PM12/30/09
to
"Sergey" <Ser...@discussions.microsoft.com> schrieb im Newsbeitrag
news:02677AF2-02C1-4E70...@microsoft.com...

> I'm working on a TAPI project. I'd like to use TAPI 2.0 via C# and some
> steps have already been done.
> Firstly, I implemented a .Net wrapper over TAPI 2.0 (I intend to use this
> wrapper in my further applications).
> After that, a small tool was created. This tool is called CallNotificator,
> it catches line events and sends e-mails about unanswered calls.
> During development period, some tsp emulators, tapi browser(TB20) and h323
> tsp were used.
> It seems that everything works fine, but unfortunatelly I have no ability
> to
> check my tool via a real pbx or a phone device.
> I tried to use an unimodem tsp but I could not catch events even by TB20.
> Frankly speaking, my modem is quite old (Rockwell 33.6k), can it be a
> reason?
> Could somebody advise me which modem works properly with the unimodem tsp?

Sergey,
is your modem listed in Phone And Modem Options / Modems ?
Can you make outbound calls vit it via TB20 ?
What OS/SP are you using?


> Also, I would be very appreciated if somebody helps me to test my tool via
> a
> real tsp, you can find it here: http://www.cbusinesstools.com
> Please, pay attention that .Net framework 2.0 is required.

I just downloaded and installed your CallNotificator and made some simple
tests with the
Siemens HiPath TAPI 170 TSP.
It worked: emails about unanswered calls arrived.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
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.

Sergey

unread,
Dec 31, 2009, 4:47:01 AM12/31/09
to
Thank you Andreas for your replay!
Some years ago you already answered my question about CallBridge for
HiPath4000 and now you are helping me again! I very much appreciate your
assistance.


> Sergey,
> is your modem listed in Phone And Modem Options / Modems ?

As far as I remember, in this list there are no any points associated with
my modem.
I will check it later, now I have no ability to do it.

> Can you make outbound calls vit it via TB20 ?

Yes, I can make outbound calls, but it works unstable.
For example, the first call is made and I can see some events.
but there are no any events when the called party hangs up.
I invokes lineDrop(...) for the current call and then I can't do anything.
I can't even make outbound call for this oppened line !
I think, the best way is to try another modem :)

> What OS/SP are you using?

WinXP SP3



> I just downloaded and installed your CallNotificator and made some simple
> tests with the
> Siemens HiPath TAPI 170 TSP.
> It worked: emails about unanswered calls arrived.

Thanks again and happy new year !


Best Regards,
Sergey, Communication Business Tools
www.cbusinesstools.com

Andreas Marschall [exMVP TAPI]

unread,
Dec 31, 2009, 10:07:27 AM12/31/09
to
"Sergey" <Ser...@discussions.microsoft.com> schrieb im Newsbeitrag
news:5191A958-1104-4119...@microsoft.com...

> Thank you Andreas for your replay!
> Some years ago you already answered my question about CallBridge for
> HiPath4000 and now you are helping me again! I very much appreciate your
> assistance.

Sergey, you are welcome.

>> is your modem listed in Phone And Modem Options / Modems ?
>
> As far as I remember, in this list there are no any points associated with
> my modem.
> I will check it later, now I have no ability to do it.

If your modem is not listed there
then it is not properly installed.
Only modem listed there are supported by UniModem TSP.


>> Can you make outbound calls vit it via TB20 ?
>
> Yes, I can make outbound calls, but it works unstable.

If you can make outbound calls with that modem via TAPI then it must be
installed and listed like mentioned above.


> For example, the first call is made and I can see some events.
> but there are no any events when the called party hangs up.
> I invokes lineDrop(...) for the current call and then I can't do anything.
> I can't even make outbound call for this oppened line !

Do you do a lineDeallocateCall() after the call has reached
LINECALLSTATE_IDLE ?
This is absolutely required to free call related resources.
UniModem TSP only supports one call handle at a time,
so if you don't deallocate the old hCall you won't be able to (implicitely)
allocate a new hCall, i.e. make or receive the next call.

> I think, the best way is to try another modem :)

If the issue is caused by missing lineDeallocateCall() then another modem
won't change anything.


> Thanks again and happy new year !

Thanks and happy new year too :-)

Sergey

unread,
Jan 6, 2010, 8:40:01 AM1/6/10
to

> >> is your modem listed in Phone And Modem Options / Modems ?
> >
> > As far as I remember, in this list there are no any points associated with
> > my modem.
> > I will check it later, now I have no ability to do it.
>
> If your modem is not listed there
> then it is not properly installed.
> Only modem listed there are supported by UniModem TSP.
>
>
> >> Can you make outbound calls vit it via TB20 ?
> >
> > Yes, I can make outbound calls, but it works unstable.
>
> If you can make outbound calls with that modem via TAPI then it must be
> installed and listed like mentioned above.

Andreas, you are right, my modem is listed in Phone And Modem Options /
Modems.

>
> > For example, the first call is made and I can see some events.
> > but there are no any events when the called party hangs up.
> > I invokes lineDrop(...) for the current call and then I can't do anything.
> > I can't even make outbound call for this oppened line !
>
> Do you do a lineDeallocateCall() after the call has reached
> LINECALLSTATE_IDLE ?
> This is absolutely required to free call related resources.
> UniModem TSP only supports one call handle at a time,
> so if you don't deallocate the old hCall you won't be able to (implicitely)
> allocate a new hCall, i.e. make or receive the next call.
>
> > I think, the best way is to try another modem :)
>
> If the issue is caused by missing lineDeallocateCall() then another modem
> won't change anything.

About lineDeallocateCall, you are right too.
The next call can be made after lineDeallocateCall() is done,
but call events are not received.

Thank you Andreas for your help.

Best Regards,
Sergey, Communication Business Tools

http://www.cbusinesstools.com

Andreas Marschall [exMVP TAPI]

unread,
Jan 7, 2010, 12:48:01 PM1/7/10
to
"Sergey" <Ser...@discussions.microsoft.com> schrieb im Newsbeitrag
news:A004AFDB-081F-437B...@microsoft.com...

> About lineDeallocateCall, you are right too.
> The next call can be made after lineDeallocateCall() is done,
> but call events are not received.
>
> Thank you Andreas for your help.

Sergey, you are welcome.

Did you lineOpen() the device with LINECALLPRIVILEGE_OWNER + _MONITOR ?
With UniModem TSP LINECALLPRIVILEGE_MONITIOR is not sufficient to get
notified about incoming calls.

0 new messages