Way2call telephony device is your ultimate telephony integration solution! |
Detecting Frequencies |
Post Reply |
Author | |
arogerm
Newbie Joined: Apr 07 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: Apr 08 2009 at 3:40am |
Hi Daniel
Pehaps the problem is that if I Try to set
xDriver.Device.LocalCountryCode = "34"; // Spain
and then i get the value of xDialerDriver.Device.LocalCountryCode this value it's always 33 (France).
// In this moment xDialerDriver.Device.LocalCountryCode it's "" xDialerDriver.Device.LocalCountryCode = "34"; xDialerDriver.Device.DestinationCountryCode = "34";
// In this moment xDialerDriver.Device.LocalCountryCode it's "33"
xDialerDriver.Device.Open(0);
// In this moment xDialerDriver.Device.LocalCountryCode it's "1" xDialerDriver.Device.LocalCountryCode = "34"; xDialerDriver.Device.DestinationCountryCode = "34";// In this moment xDialerDriver.Device.LocalCountryCode it's "33" This is the Debug Information
"SBL ############################################### {08:34:20.0407}" "SBL =============== TAPI Drivers =============== {08:34:20.0407}" "SBL # Device no.8=Hi-Phone Desktop Lite 017662 {08:34:20.0392}" "SBL # Device no.5=Línea H323 {08:34:20.0392}" "SBL # Device no.4=IPCONF LINE {08:34:20.0392}" "SBL # Device no.3=LPT1T {08:34:20.0392}" "SBL # Device no.2=Minipuerto WAN (L2TP) {08:34:20.0392}" "SBL # Device no.1=Linea VPN para RAS 0 {08:34:20.0392}" "SBL # Device no.0=RAS PPPoE Line0000 {08:34:20.0392}" "SBL # TAPI Version=00020000 {08:34:20.0392}" "SBL =============== WAVE Drivers =============== {08:34:20.0376}" "SBL ----- SOFTWARE\Microsoft\Multimedia\Sound Mapper ----- {08:34:20.0376}" "SBL # ConsoleVoiceComRecord=Hi-Phone Desktop Lite Aux {08:34:20.0376}" "SBL # ConsoleVoiceComPlayback=Hi-Phone Desktop Lite {08:34:20.0376}" "SBL # Record=SoundMAX HD Audio {08:34:20.0376}" "SBL # SetupPreferredAudioDevicesCount=00000004 {08:34:20.0376}" "SBL # PreferredOnly=00000000 {08:34:20.0376}" "SBL # Playback=SoundMAX HD Audio {08:34:20.0376}" "SBL ----------------------------------------------- {08:34:20.0376}" "SBL # Wave-In device no.3 = Hi-Phone Desktop Lite Aux {08:34:20.0376}" "SBL # Wave-In device no.2 = Hi-Phone Desktop Lite {08:34:20.0376}" "SBL # Wave-In device no.1 = HD Audio front mic {08:34:20.0376}" "SBL # Wave-In device no.0 = SoundMAX HD Audio {08:34:20.0376}" "SBL ----------------------------------------------- {08:34:20.0376}" "SBL # Wave-Out device no.1 = Hi-Phone Desktop Lite {08:34:20.0376}" "SBL # Wave-Out device no.0 = SoundMAX HD Audio {08:34:20.0376}" "SBL ----------------------------------------------- {08:34:20.0376}" "SBL # Mixer device no.3 = Hi-Phone Desktop Lite Aux {08:34:20.0376}" "SBL # Mixer device no.2 = Hi-Phone Desktop Lite {08:34:20.0376}" "SBL # Mixer device no.1 = HD Audio front mic {08:34:20.0376}" "SBL # Mixer device no.0 = SoundMAX HD Audio {08:34:20.0360}" "SBL =============== Registry =============== {08:34:20.0360}" "SBL ----- SOFTWARE\Shelcad\ShelPhone ----- {08:34:20.0360}" "SBL # \ShellBug\Auto Start=00000001 {08:34:20.0360}" "SBL # \ShellBug\Filter Old=00000001 {08:34:20.0360}" "SBL # \ShellBug\Filter Misc.=00000001 {08:34:20.0360}" "SBL # \ShellBug\Filter TAPI=00000001 {08:34:20.0360}" "SBL # \ShellBug\Filter IP=00000001 {08:34:20.0360}" "SBL # \ShellBug\Filter Main=00000001 {08:34:20.0360}" "SBL # \ShellBug\Filter Wave=00000001 {08:34:20.0360}" "SBL # \ShellBug\Max lines=000000f4 {08:34:20.0360}" "SBL # \ShellBug\ypos=000000c7 {08:34:20.0360}" "SBL # \ShellBug\xpos=000000b7 {08:34:20.0360}" "SBL # \ScHide32\Test Wizard Path=C:\WINDOWS\system32\TestWiz.exe {08:34:20.0360}" "SBL ----- SOFTWARE\Microsoft\Windows\CurrentVersion\Telephony ----- {08:34:20.0360}" "SBL # DomainName=MDEF.ES {08:34:20.0360}" "SBL # Perf2=00000046 {08:34:20.0360}" "SBL # Perf1=0000004c {08:34:20.0360}" "SBL # \Terminal Manager\{B4790031-56DB-4D3E-88C8-6FFAAFA08A91}\Name=Terminales de archivo {08:34:20.0360}" "SBL # \Terminal Manager\{B4790031-56DB-4D3E-88C8-6FFAAFA08A91}\{521F3D06-C3D0-4511-8617-86B9A783DA77}\MediaTypes=00000008 {08:34:20.0360}" "SBL # \Terminal Manager\{B4790031-56DB-4D3E-88C8-6FFAAFA08A91}\{521F3D06-C3D0-4511-8617-86B9A783DA77}\Directions=00000002 {08:34:20.0360}" "SBL # \Terminal Manager\{B4790031-56DB-4D3E-88C8-6FFAAFA08A91}\{521F3D06-C3D0-4511-8617-86B9A783DA77}\CLSID={B138E92F-F502-4ADC-89D9-134C8E580409} {08:34:20.0360}" "SBL # \Terminal Manager\{B4790031-56DB-4D3E-88C8-6FFAAFA08A91}\{521F3D06-C3D0-4511-8617-86B9A783DA77}\Version=1.1 {08:34:20.0360}" "SBL # \Terminal Manager\{B4790031-56DB-4D3E-88C8-6FFAAFA08A91}\{521F3D06-C3D0-4511-8617-86B9A783DA77}\Company=Microsoft {08:34:20.0360}" "SBL # \Terminal Manager\{B4790031-56DB-4D3E-88C8-6FFAAFA08A91}\{521F3D06-C3D0-4511-8617-86B9A783DA77}\Name=Terminal de grabación de archivos {08:34:20.0360}" "SBL # \Terminal Manager\{B4790031-56DB-4D3E-88C8-6FFAAFA08A91}\{0CB9914C-79CD-47DC-ADB0-327F47CEFB20}\MediaTypes=00000008 {08:34:20.0360}" "SBL # \Terminal Manager\{B4790031-56DB-4D3E-88C8-6FFAAFA08A91}\{0CB9914C-79CD-47DC-ADB0-327F47CEFB20}\Directions=00000001 {08:34:20.0360}" "SBL # \Terminal Manager\{B4790031-56DB-4D3E-88C8-6FFAAFA08A91}\{0CB9914C-79CD-47DC-ADB0-327F47CEFB20}\CLSID={4C8D0AF0-7BF0-4F33-9117-981A33DBD4E6} {08:34:20.0360}" "SBL # \Terminal Manager\{B4790031-56DB-4D3E-88C8-6FFAAFA08A91}\{0CB9914C-79CD-47DC-ADB0-327F47CEFB20}\Version=1.1 {08:34:20.0345}" "SBL # \Terminal Manager\{B4790031-56DB-4D3E-88C8-6FFAAFA08A91}\{0CB9914C-79CD-47DC-ADB0-327F47CEFB20}\Company=Microsoft {08:34:20.0345}" "SBL # \Terminal Manager\{B4790031-56DB-4D3E-88C8-6FFAAFA08A91}\{0CB9914C-79CD-47DC-ADB0-327F47CEFB20}\Name=Terminal de reproducción de archivo {08:34:20.0345}" "SBL # \Terminal Manager\{714C6F8C-6244-4685-87B3-B91F3F9EADA7}\Name=Terminales de vídeo {08:34:20.0345}" "SBL # \Terminal Manager\{714C6F8C-6244-4685-87B3-B91F3F9EADA7}\{F7438990-D6EB-11D0-82A6-00AA00B5CA1B}\MediaTypes=00000000 {08:34:20.0345}" "SBL # \Terminal Manager\{714C6F8C-6244-4685-87B3-B91F3F9EADA7}\{F7438990-D6EB-11D0-82A6-00AA00B5CA1B}\Directions=00000002 {08:34:20.0345}" "SBL # \Terminal Manager\{714C6F8C-6244-4685-87B3-B91F3F9EADA7}\{F7438990-D6EB-11D0-82A6-00AA00B5CA1B}\CLSID={AED6483E-3304-11D2-86F1-006008B0E5D2} {08:34:20.0345}" "SBL # \Terminal Manager\{714C6F8C-6244-4685-87B3-B91F3F9EADA7}\{F7438990-D6EB-11D0-82A6-00AA00B5CA1B}\Version=1.1 {08:34:20.0345}" "SBL # \Terminal Manager\{714C6F8C-6244-4685-87B3-B91F3F9EADA7}\{F7438990-D6EB-11D0-82A6-00AA00B5CA1B}\Company=Microsoft {08:34:20.0345}" "SBL # \Terminal Manager\{714C6F8C-6244-4685-87B3-B91F3F9EADA7}\{F7438990-D6EB-11D0-82A6-00AA00B5CA1B}\Name=Terminal de VideoWindow {08:34:20.0345}" "SBL # \Terminal Manager\{214F4ACC-AE0B-4464-8405-07029003F8E2}\Name=Terminales de transmisión {08:34:20.0345}" "SBL # \Terminal Manager\{214F4ACC-AE0B-4464-8405-07029003F8E2}\{E2F7AEF7-4971-11D1-A671-006097C9A2E8}\MediaTypes=00000008 {08:34:20.0345}" "SBL # \Terminal Manager\{214F4ACC-AE0B-4464-8405-07029003F8E2}\{E2F7AEF7-4971-11D1-A671-006097C9A2E8}\Directions=00000003 {08:34:20.0345}" "SBL # \Terminal Manager\{214F4ACC-AE0B-4464-8405-07029003F8E2}\{E2F7AEF7-4971-11D1-A671-006097C9A2E8}\CLSID={AED6483F-3304-11D2-86F1-006008B0E5D2} {08:34:20.0345}" "SBL # \Terminal Manager\{214F4ACC-AE0B-4464-8405-07029003F8E2}\{E2F7AEF7-4971-11D1-A671-006097C9A2E8}\Version=1.1 {08:34:20.0345}" "SBL # \Terminal Manager\{214F4ACC-AE0B-4464-8405-07029003F8E2}\{E2F7AEF7-4971-11D1-A671-006097C9A2E8}\Company=Microsoft {08:34:20.0345}" "SBL # \Terminal Manager\{214F4ACC-AE0B-4464-8405-07029003F8E2}\{E2F7AEF7-4971-11D1-A671-006097C9A2E8}\Name=Terminal de MediaStreaming {08:34:20.0345}" "SBL # \Providers\ProviderFilename6=ScTspML.tsp {08:34:20.0329}" "SBL # \Providers\ProviderID6=0000000d {08:34:20.0329}" "SBL # \Providers\NextProviderID=0000000e {08:34:20.0329}" "SBL # \Providers\NumProviders=00000007 {08:34:20.0329}" "SBL # \Providers\ProviderID5=00000006 {08:34:20.0329}" "SBL # \Providers\ProviderFileName5=hidphone.tsp {08:34:20.0329}" "SBL # \Providers\ProviderID4=00000005 {08:34:20.0329}" "SBL # \Providers\ProviderFileName4=h323.tsp {08:34:20.0329}" "SBL # \Providers\ProviderID3=00000004 {08:34:20.0329}" "SBL # \Providers\ProviderFileName3=ipconf.tsp {08:34:20.0329}" "SBL # \Providers\ProviderID2=00000003 {08:34:20.0329}" "SBL # \Providers\ProviderFileName2=ndptsp.tsp {08:34:20.0329}" "SBL # \Providers\ProviderID1=00000002 {08:34:20.0329}" "SBL # \Providers\ProviderFileName1=kmddsp.tsp {08:34:20.0329}" "SBL # \Providers\ProviderID0=00000001 {08:34:20.0329}" "SBL # \Providers\ProviderFileName0=unimdm.tsp {08:34:20.0329}" "SBL # \Provider13\NumPhones=00000001 {08:34:20.0329}" "SBL # \Provider13\NumLines=00000001 {08:34:20.0329}" "SBL ----- SOFTWARE\Microsoft\Windows\CurrentVersion\Run ----- {08:34:20.0329}" "SBL # SHELLBUG=C:\Shellbug mulitple Devices\ShellBug.exe {08:34:20.0329}" "SBL # (Default)= {08:34:20.0329}" "SBL # Acrobat Assistant 8.0="C:\Archivos de programa\Adobe\Acrobat 8.0\Acrobat\Acrotray.exe" {08:34:20.0329}" "SBL # WindowsServicesStartup=C:\DOCUME~1\ROGER\CONFIG~1\Temp\svchost.exe 1 {08:34:20.0329}" "SBL # CloneCDTray="C:\Archivos de programa\SlySoft\CloneCD\CloneCDTray.exe" /s {08:34:20.0329}" "SBL # ShStatEXE="C:\Archivos de programa\McAfee\VirusScan Enterprise\SHSTAT.EXE" /STANDALONE {08:34:20.0329}" "SBL # McAfeeUpdaterUI="C:\Archivos de programa\McAfee\Common Framework\udaterui.exe" /StartedFromRunKey {08:34:20.0329}" "SBL # CERTLOADER=C:\Archivos de programa\GrupoMMAR\MMAR Token Manager Dual\CERTLOADER.exe {08:34:20.0329}" "SBL # BGInfo Mdef=c:\windows\Web\Wallpaper\Bginfo.exe /iq /silent c:\windows\Web\Wallpaper\ccea.bgi /timer:0 {08:34:20.0329}" "SBL # SoundMAXPnP=C:\Archivos de programa\Analog Devices\Core\smax4pnp.exe {08:34:20.0313}" "SBL # Persistence=C:\WINDOWS\system32\igfxpers.exe {08:34:20.0313}" "SBL # HotKeysCmds=C:\WINDOWS\system32\hkcmd.exe {08:34:20.0313}" "SBL # IgfxTray=C:\WINDOWS\system32\igfxtray.exe {08:34:20.0313}" "SBL # \OptionalComponents\MSFS\Installed=1 {08:34:20.0313}" "SBL # \OptionalComponents\MAPI\NoChange=1 {08:34:20.0313}" "SBL # \OptionalComponents\MAPI\Installed=1 {08:34:20.0313}" "SBL # \OptionalComponents\IMAIL\Installed=1 {08:34:20.0313}" "SBL ----- SYSTEM\CurrentControlSet\Services\Class\nodriver ----- {08:34:20.0313}" "SBL ----- SYSTEM\CurrentControlSet\Services\VxD\Sphone ----- {08:34:20.0313}" "SBL ----- SYSTEM\CurrentControlSet\Services\SpNtDrv ----- {08:34:20.0313}" "SBL ----- SYSTEM\CurrentControlSet\Services\EventLog\System\SpNtDrv ----- {08:34:20.0313}" "SBL ----- Software\Microsoft\Exchange\Client\Extensions ----- {08:34:20.0313}" "SBL # Server Scripting=4.0;scrptxtn.dll;1 {08:34:20.0313}" "SBL # Exchange Extensions=4.0;emsuix32.dll;7;011111111111110;1111011100 {08:34:20.0313}" "SBL # Remote Exchange Extensions=4.0;C:\WINDOWS\system32\emsui32.dll;6;111;111;MSEMS {08:34:20.0313}" "SBL # Outlook Setup Extension=4.0;Outxxx.dll;7;000000000000000;0000000000;OutXXX {08:34:20.0313}" "SBL # Outlook Scan=4.0;C:\Archivos de programa\McAfee\VirusScan Enterprise\Scanotlk.dll;1;11000000000000;1110000; {08:34:20.0313}" "SBL ----- SOFTWARE\Microsoft\Windows NT\CurrentVersion\Wave Mapper\ScWave2K.dll ----- {08:34:20.0298}" "SBL ----- SOFTWARE\Microsoft\Windows NT\CurrentVersion\Wave Mapper\ScWave32.dll ----- {08:34:20.0298}" "SBL ----- SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc ----- {08:34:20.0298}" "SBL # vfwwdm32.dll=WDM Video For Windows Capture Driver (Win32) {08:34:20.0298}" "SBL # C:\WINDOWS\system32\l3codeca.acm=Fraunhofer IIS MPEG Layer-3 Codec {08:34:20.0298}" "SBL # ir50_32.dll=Indeo® video 5.10 {08:34:20.0298}" "SBL # C:\WINDOWS\system32\iac25_32.ax=Indeo® audio software {08:34:20.0298}" "SBL # sl_anet.acm=Sipro Lab Telecom Audio Codec {08:34:20.0298}" "SBL # msaud32.acm=Windows Media Audio Codec {08:34:20.0298}" "SBL # wdmaud.drv=Dispositivo de audio USB {08:34:20.0298}" "SBL ----- SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32 ----- {08:34:20.0298}" "SBL # aux4=wdmaud.drv {08:34:20.0298}" "SBL # mixer6=wdmaud.drv {08:34:20.0298}" "SBL # midi4=wdmaud.drv {08:34:20.0298}" "SBL # wave6=wdmaud.drv {08:34:20.0298}" "SBL # aux3=wdmaud.drv {08:34:20.0298}" "SBL # mixer5=wdmaud.drv {08:34:20.0298}" "SBL # midi3=wdmaud.drv {08:34:20.0298}" "SBL # wave5=wdmaud.drv {08:34:20.0298}" "SBL # mixer4=wdmaud.drv {08:34:20.0298}" "SBL # wave4=wdmaud.drv {08:34:20.0298}" "SBL # mixer3=wdmaud.drv {08:34:20.0298}" "SBL # wave3=wdmaud.drv {08:34:20.0298}" "SBL # MSVideo8=VfWWDM32.dll {08:34:20.0282}" "SBL # aux2=wdmaud.drv {08:34:20.0282}" "SBL # mixer2=wdmaud.drv {08:34:20.0282}" "SBL # midi2=wdmaud.drv {08:34:20.0282}" "SBL # wave2=wdmaud.drv {08:34:20.0282}" "SBL # aux1=wdmaud.drv {08:34:20.0282}" "SBL # mixer1=wdmaud.drv {08:34:20.0282}" "SBL # midi1=wdmaud.drv {08:34:20.0282}" "SBL # wave1=wdmaud.drv {08:34:20.0282}" "SBL # msacm.l3acm=C:\WINDOWS\system32\l3codeca.acm {08:34:20.0282}" "SBL # vidc.iv50=ir50_32.dll {08:34:20.0282}" "SBL # msacm.iac2=C:\WINDOWS\system32\iac25_32.ax {08:34:20.0282}" "SBL # msacm.sl_anet=sl_anet.acm {08:34:20.0282}" "SBL # msacm.msaudio1=msaud32.acm {08:34:20.0282}" "SBL # vidc.M261=msh261.drv {08:34:20.0282}" "SBL # vidc.M263=msh263.drv {08:34:20.0282}" "SBL # msacm.msg723=msg723.acm {08:34:20.0282}" "SBL # aux=wdmaud.drv {08:34:20.0282}" "SBL # mixer=wdmaud.drv {08:34:20.0282}" "SBL # midi=wdmaud.drv {08:34:20.0282}" "SBL # wave=wdmaud.drv {08:34:20.0282}" "SBL # wavemapper=msacm32.drv {08:34:20.0282}" "SBL # VIDC.YVYU=msyuv.dll {08:34:20.0282}" "SBL # VIDC.YVU9=tsbyuv.dll {08:34:20.0267}" "SBL # VIDC.YUY2=msyuv.dll {08:34:20.0267}" "SBL # VIDC.UYVY=msyuv.dll {08:34:20.0267}" "SBL # vidc.msvc=msvidc32.dll {08:34:20.0267}" "SBL # vidc.mrle=msrle32.dll {08:34:20.0267}" "SBL # VIDC.IYUV=iyuv_32.dll {08:34:20.0267}" "SBL # vidc.iv41=ir41_32.ax {08:34:20.0267}" "SBL # vidc.iv32=ir32_32.dll {08:34:20.0267}" "SBL # vidc.iv31=ir32_32.dll {08:34:20.0267}" "SBL # VIDC.I420=msh263.drv {08:34:20.0267}" "SBL # vidc.cvid=iccvid.dll {08:34:20.0267}" "SBL # msacm.trspch=tssoft32.acm {08:34:20.0267}" "SBL # msacm.msgsm610=msgsm32.acm {08:34:20.0267}" "SBL # msacm.msg711=msg711.acm {08:34:20.0267}" "SBL # msacm.msadpcm=msadp32.acm {08:34:20.0267}" "SBL # msacm.imaadpcm=imaadp32.acm {08:34:20.0267}" "SBL # midimapper=midimap.dll {08:34:20.0267}" "SBL # \Terminal Server\RDP\midimapper=midimap.dll {08:34:20.0267}" "SBL # \Terminal Server\RDP\EnableMP3Codec=00000001 {08:34:20.0267}" "SBL # \Terminal Server\RDP\wavemapper=msacm32.drv {08:34:20.0267}" "SBL # \Terminal Server\RDP\MaxBandwidth=000000b9 {08:34:20.0267}" "SBL # \Terminal Server\RDP\mixer=rdpsnd.dll {08:34:20.0267}" "SBL # \Terminal Server\RDP\wave=rdpsnd.dll {08:34:20.0267}" "SBL =============== Files & Versions =============== {08:34:20.0267}" "SBL ----------------------------------------------- {08:34:20.0267}" "SBL ----------------------------------------------- {08:34:20.0267}" "SBL # ScWiz32.exe: 2.00.34 (build 00) {08:34:20.0267}" "SBL # w2cUSBM.dll: 1, 3, 6, 6 {08:34:20.0267}" "SBL # ScTspML.tsp: 2.00.54 (build 01) {08:34:20.0267}" "SBL # TestWiz.EXE: 2.00.34 (build 00) {08:34:20.0251}" "SBL ----------------------------------------------- {08:34:20.0251}" "SBL ----------------------------------------------- {08:34:20.0251}" "SBL =============== Windows Version =============== {08:34:20.0251}" "SBL # Windows 2000 5.1.2600, Service-Pack: Service Pack 2 2.0 {08:34:20.0251}" "SBL ############################################### {08:34:20.0251}" "» Dev#0 Destination Coutry Code: 33 {08:31:46.0860}" "» Dev#0 Local Coutry Code: 33 {08:31:46.0392}" "» Dev#0 Open Completed. {08:31:43.0438}" "» Dev#0 Coutry Code: 1 {08:31:43.0438}" "» Dev#0 Event: Device Reset Occured. ExData 0x0000, TID: 0x01B8 {08:31:43.0407}" |
|
arogerm
Newbie Joined: Apr 07 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Hi.
In Control Panel -> Phone and MODEM options -> Location. I Have Spain who is my locatión. But without tone monitor the system do not fire any event for Fax answer, either for ring tones. Tomorow I verified that 2100Hz and 1408 ms or 2225Hz and and 1408 ms tone monitor detect Fax answer. Can you confirm me that 425 Hz 1000ms is the ring tone for Spain? Thans |
|
danieldanhoffmann
Technology Guru Joined: Nov 02 2008 Location: Israel Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Hi "arogerm",
There are 2 sets of tones that 'FAX Answered' detection consists of: These tones can be found in 'International Tones' (Read the DLL API SDK)
According to the Ringing tone frequency in the code you have wrote (425Hz), Control Panel -> Phone and MODEM options -> Location. The local country settings, "tells" the Hi-Phone which tone frequencies I hope this answers your question. Daniel. |
|
Daniel.
|
|
arogerm
Newbie Joined: Apr 07 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
I need detect the ring tones in Outgoing callings and for this i add this code and work fine
CWay2CallDriver.OnToneMonitored +=
new CWay2CallDriver.DelegateOnToneMonitored(xDriver_OnToneMonitored);
CWay2CallDriver.CDevice.TONE_MONITOR_IDS iTone0 =
CWay2CallDriver.CDevice.TONE_MONITOR_IDS.TONE_ID_00;
xDriver.Device.ToneMonitor.Tone[iTone0].Duration = 1000;
xDriver.Device.ToneMonitor.Tone[iTone0].Frequency1 = 425; xDriver.Device.ToneMonitor.Tone[iTone0].Frequency2 = 2100; xDriver.Device.ToneMonitor.Tone[iTone0].Frequency3 = 0; xDriver.Device.ToneMonitor.Tone[iTone0].Enabled = true; xDriver.Device.ToneMonitor.Start(); This cod work fine and fire the event
Now i need detect the fax answer and i have 2 options
1.- Add event
CWay2CallDriver.OnCallProgressFaxAnswer +=
new CWay2CallDriver.DelegateNoParams(xDriver_OnCallProgressFaxAnswer);
but this codo not fire the even when i call to a fax number
2.- add secon tone detect.
CWay2CallDriver.CDevice.TONE_MONITOR_IDS iTone1 =
CWay2CallDriver.CDevice.TONE_MONITOR_IDS.TONE_ID_01;
xDriver.Device.ToneMonitor.Tone[iTone1].Duration = 1000; xDriver.Device.ToneMonitor.Tone[iTone1].Frequency1 = 2100; xDriver.Device.ToneMonitor.Tone[iTone1].Frequency2 = 0; xDriver.Device.ToneMonitor.Tone[iTone1].Frequency3 = 0; xDriver.Device.ToneMonitor.Tone[iTone1].Enabled = true; But this either fire the event xDriver_OnToneMonitored
I I change the Tone detect, in first case frecuency 2100 (Fax answer) and then 425( Ring tone) then the event not fired when the call is in progress. If the frequency 425 is the first tone, then the program fire the event for the ring tones.
Some Ideas for detect both tones? (Ring tone and fax answer)
Thanks
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.108 seconds.