I have a confusion in the TSPI_lineGenerateDigits().
It says that it is used to generate the in-band digits for the call, i.e.,
the digits will be generated when the call state is Connected.
But in Remarks, it says that the call state of hdCall can be any state.
So how is it possible or where it is used to generate the Digits before call
state is other than Connected?
Thanks,
Mohit
Mohit,
does MSDN actually state the last part of your previous stratement?
I guess not!
> But in Remarks, it says that the call state of hdCall can be any state.
>
> So how is it possible or where it is used to generate the Digits before
> call
> state is other than Connected?
Maybe on ringback or busy to initiate a callback via DTMF.
--
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.
"Andreas Marschall [exMVP TAPI]" wrote:
> "Mohit" <Mo...@discussions.microsoft.com> schrieb im Newsbeitrag
> news:C8397D2D-9A8B-4912...@microsoft.com...
> > I have a confusion in the TSPI_lineGenerateDigits().
> >
> > It says that it is used to generate the in-band digits for the call, i.e.,
> > the digits will be generated when the call state is Connected.
>
> Mohit,
> does MSDN actually state the last part of your previous stratement?
> I guess not!
No, it does not state that the digits will be generated when the call state
is connected. it was my interpretation as it says that these functions are
used to generate the digits or tones in in-band and my interpretation of
in-band is within speech.
>
> > But in Remarks, it says that the call state of hdCall can be any state.
> >
> > So how is it possible or where it is used to generate the Digits before
> > call
> > state is other than Connected?
>
> Maybe on ringback or busy to initiate a callback via DTMF.
Yes, i had thaught of these two conditions but i was not fully satisfied
with it because it states that the hdCall can be any state, means it can be
used in any call state???
like one state is the dial state, so can TSPI_lineGenerateTones() can be
used to out dial the number in place of TSPI_lineDial() or
TSPI_lineMakeCall()?
Similerly, in Dialing, Proceeding, Disconneted and Idle states it is not
seems to be relevent.
So, I was just trying to elobarate it if any one had used these functions
before in their application.
> --
> 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.
>
>
> .
>
Thanks,
Mohit
Mohit,
from TAPISRV perspective there are no restrictions,
but of course from the telephony device.
So it is upto each TSP to support what is technical possible for itsdevice.
> like one state is the dial state, so can TSPI_lineGenerateTones() can be
> used to out dial the number in place of TSPI_lineDial() or
> TSPI_lineMakeCall()?
For TSPI_lineGenerateTone() / TSPI_lineGenerateDigits() you need a
pre-existing call (i.e. a hdCall),
so it cannot be a replacement for TSPI_lineMakeCall().
Infact TSPI_lineGenerateDigits() is (mis-)used by UniModem TSP as a
replacement for TSPI_lineDial() when doing partial dialling.
See my TAPI and TSPI FAQ:
Q: How do I partially dial with TAPI2 ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Who_do