Microsoft TAPI (en)
 

How reconnect to telephony server without tcmsetup /c


 
How reconnect to telephony server without tcmsetup /c Post Reply
19.11.2008 06:43 xdejf

Hi,
I have an tapi application, that communication with PBX through network. If
I unplug network cable and after 30s plug back to PC, then my tapi app lose
all PBX lines. I must run tcmsetup /c and app run again
correctly. I serch for workaround how reconnect to telephony server without
tcmsetup from my application, because tcmsetup require administration right.
Thank for any reasons
Re: How reconnect to telephony server without tcmsetup /c Post Reply
19.11.2008 19:05 Matthias Moetje [MVP]

Hi,

you can try to do lineClose on all lines and then re-open.

If that doesn't work you'll probably have to restart the
Telephony Service (which requires admin rights, too).


Best regards,

Matthias Moetje
-------------------------------------
TAPI WIKI: http://www.tapi.info
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
e-mail: moetje at terasens dot com
www:   www.terasens.com
-------------------------------------
"xdejf" wrote in message
news:20098364-D910-48D3-BB92-723E4CB7A3DD@microsoft.com...
> Hi,
> I have an tapi application, that communication with PBX through network.
> If
> I unplug network cable and after 30s plug back to PC, then my tapi app
> lose
> all PBX lines. I must run tcmsetup /c and app run again
> correctly. I serch for workaround how reconnect to telephony server
> without
> tcmsetup from my application, because tcmsetup require administration
> right.
> Thank for any reasons

Re: How reconnect to telephony server without tcmsetup /c Post Reply
20.11.2008 13:33 Andreas Marschall [MVP TAPI]

"xdejf" schrieb im Newsbeitrag
news:20098364-D910-48D3-BB92-723E4CB7A3DD@microsoft.com...
> I have an tapi application, that communication with PBX through network. If
> I unplug network cable and after 30s plug back to PC, then my tapi app lose
> all PBX lines. I must run tcmsetup /c and app run again
> correctly. I serch for workaround how reconnect to telephony server without
> tcmsetup from my application, because tcmsetup require administration right.

xdejf,
you may want to try tcmsetup /X /c

The /x option is for lossy networks.

--
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