Re: Generate Custom Frequency Tones with TAPI3

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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


.



Relevant Pages

  • Re: Fax is pending, sent before
    ... You don't indicate if you could hear the relay click when the modem went off hook, dial tones or touch tone sounds from the computer speaker or a mini speaker on the modem board. ... When modem is "on hook" the two jacks are connected to each other, allowing you to hear a dial tone or talk on a phone attached to the modem. ... This allows multiple area codes in your toll free calling area and frees up a few more number combinations for exchanges to accommodate additional customers in each area code. ...
    (microsoft.public.windowsxp.print_fax)
  • Re: History AT&T early modem developments? [telecom]
    ... The TWX version of the ... ringing, busy tone, reorder, connected, etc. ... ever developed a modem that could reliably recognize all these conditions. ... Concerning time sharing, a lot of the early time sharing systems were ...
    (comp.dcom.telecom)
  • Re: No Dialtone when send/receive fax
    ... I'd followed your suggestion and swapped the line/phone cables connection. ... I purchased a USB modem for diagnostics of just ... em can't detect tone then, ... Apparently a relay disconnects the telephone jack when the modem ...
    (microsoft.public.windowsxp.print_fax)
  • Re: No Dialtone when send/receive fax
    ... view log>"review the modem response log for error". ... That means that my tone was detectable, ... cycle that modem's initialization, it would not longer ... terminates your dial up ISP connection up and establishes a new data ...
    (microsoft.public.windowsxp.print_fax)
  • Re: modem dials, but dial tone is still there like it never dialed
    ... What you describe would indicate that the phone system is not "hearing" the "tones" generated by the modem so perhaps "pulse" would work. ... I would be able to hear the dial tone ... It's just it dials and then ... ...
    (microsoft.public.windowsxp.general)