Re: Generate Custom Frequency Tones with TAPI3
- From: "Grant Schenck" <schenckg@xxxxxxxxxxxxx>
- Date: Tue, 18 Oct 2005 11:17:14 -0400
I'm pretty sure Unimodem does NOT support tone generation even if the modem
itself support tone generation via AT Commands. Can you invoke this via the
TAPI Browser?
Can you reproduce the crash (or generate the tones) via the TAPI Browser?
--
Grant Schenck
http://grantschenck.tripod.com
"jcl" <res1vo1d@xxxxxxxxxxx> wrote in message
news:xq65f.4388$t12.1274@xxxxxxxxxxx
> I am writing a TAPI application to generate tones with custom frequency
> using vb.net and TAPI3. I am using
> TAPI3Lib.ITLegacyCallMediaControl2.GenerateCustomTonesByCollection to
> generate this custom tone. The code is as follows:
>
> ' Create the custom tone collection
> Dim col As ITCollection2 = New ToneCollection
> Dim tone1 As TAPI_CUSTOMTONE = New TAPI_CUSTOMTONE
> tone1.dwCadenceOff = UInt32.Parse("0")
> tone1.dwCadenceOn = UInt32.Parse("100")
> tone1.dwFrequency = UInt32.Parse("1400")
> col.Add(0, tone1)
> ' Generate the tone
> gobjMediaControl.GenerateCustomTonesByCollection(col, 60)
>
> But I have the following error:
>
> A first chance exception of type
> 'System.Runtime.InteropServices.COMException' occurred in Incoming.exe.
> Additional information: This implementation doesn't take advises
>
> I thought that my modem maybe not support this function. I then opened
> HyperTerminal and typed in the following command:
>
> AT+FCLASS=8
> AT+VGT=128
> AT+VTS=[1400,0,60]
>
> The modem did work. It did produced the custom tone.
>
> Anybody knows why I had this error. Thank you!
>
>
.
- Prev by Date: Re: Can TAPI2.x transmit data With TAPI1.4
- Next by Date: Nortel Meridian CTIA
- Previous by thread: IVR
- Next by thread: Re: Generate Custom Frequency Tones with TAPI3
- Index(es):
Relevant Pages
|