Guest habao Report post Posted 11/21/2005 11:16 AM vg is a great software, but i have a Problem we use voicemodem and pbx, my pbx can set hookfash time 0.3 0.4 ..... 1 second, i can hearing the hold music ,The first Play module contain the hookflash, and the next module contain the DTMF string. i use a Timeout path to link the two modules together but vg do not play next play dtmf module, it hang up the call. why, i think the dtmf play ,this call can be transfer. 190002.09 0 state [Play 1] Playing 190002.09 0 state [Play 1] Playing (C:\Program Files\VoiceGuide\system\voice\15.wav) 190002.09 0 play set playid=197312 190002.55 0 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\15.wav] 190002.55 0 timer clear 190002.55 0 RunModule PLAY end 190003.27 0 play end current play (playid=197312) 190003.28 0 ScriptEventCode 8001 iLineState=1100 190003.28 0 LsPlayMsg EV_PLAY_FINISHED 190003.28 0 timer set 10 EV_TIMEOUT_HANGUP 190003.28 0 timer set 1 EV_TIMEOUT_GOTOMODULE 190004.27 0 timer fired EV_TIMEOUT_GOTOMODULE 190004.27 0 ScriptEventCode 9002 iLineState=1101 190004.27 0 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE 190004.27 0 rv lg add [Play 1]{timeout} 190004.27 0 timer clear 190004.27 0 state [Play2] Playing 190004.27 0 tapic lineGenerateDigits(66213 [!] 100) => ok 190004.28 0 RunModule PLAY end 190004.78 0 generate LINEGENERATETERM_DONE 190004.78 0 timer set 1 EV_TAPI_GENERATE 190005.81 0 timer fired EV_TAPI_GENERATE 190005.81 0 ScriptEventCode 9602 iLineState=1100 190005.81 0 LsPlayMsg EV_TAPI_GENERATE 190005.81 0 timer set 10 EV_TIMEOUT_HANGUP 190005.81 0 timer set 5 EV_TIMEOUT_GOTOMODULE 190005.81 0 tapi callstate start 190005.83 0 tapi callstate DISCONNECTED 66213 1 0 190005.83 0 ScriptEventCode 9250 iLineState=1101 190005.83 0 LsPlayMsgFinished EV_REMOTEPARTY_DISCONNECT 190005.83 0 rv lg add [Hangup Time]{2005-11-21 19:00:05} 190005.83 0 state Hanging up call... 190005.83 0 RecSoundStop ok 190005.84 0 PlaySoundStop err=0 190005.84 0 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 190005.84 0 fnHangupCall end 190006.78 0 tapi callstate start 190006.78 0 tapi callstate IDLE 66213 0 0 190006.78 0 WorkingMode@Idle= 190006.80 0 timer clear 190006.84 0 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 190006.86 0 tapi Reply (LineEvReply) ok 66127 0 190007.84 0 timer fired EV_TIMEOUT_TIMETOREINITLINE 190007.84 0 ScriptEventCode 9008 iLineState=900 190007.84 0 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 190007.84 0 ReinitTelephony due to IDLE 190007.84 0 tapic lineDeallocateCall(MainCall:66213) 0 190008.13 0 lineOpen(0)=> 190008.13 0 state Waiting for a call... 190008.13 0 LineHandle=66248 190008.13 0 amchk set AMdet=False in Reinit@idle 190008.13 0 timer set 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 190008.55 0 dial start any summary:|0:rdy=0| 190011.41 0 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 190011.41 0 ScriptEventCode 9013 iLineState=900 190011.56 0 dial start any summary:|0:idx=0| Regards, Share this post Link to post
SupportTeam Report post Posted 11/21/2005 07:42 PM About a second after playing the hookflash the modem informs VoiceGuide that the call has been disconnected: 190005.83 0 tapi callstate DISCONNECTED 66213 1 0 You'd need to speak with the modem manufactuer to find out why the modem behaves like that... Your best bet is to try another modem (or a Dialogic card). Share this post Link to post
Guest habao Report post Posted 11/22/2005 01:21 AM Thank you for the response i think we Can use the at command realization through a vb module? How realize hookflash by at command,If can provide a vb test code, I will feel grateful very Share this post Link to post
SupportTeam Report post Posted 11/22/2005 03:58 AM Not sure it's possible to send AT command from VBScript while some other app is using the modem... Share this post Link to post
Guest habao Report post Posted 11/22/2005 08:17 AM thanks i can do at d! at d123 (123 is phone number) with HyperTerminal call Transfers succeed now we like us vbs, anybody can tell me how vbs use mscomm32.ocx Share this post Link to post
SupportTeam Report post Posted 11/22/2005 08:36 AM See this setting in VG.INI file: TransferControl_Modem=Generate The recommended setting is Generate, but you can try setting it to other values as well... Share this post Link to post
Guest habao Report post Posted 11/22/2005 09:41 AM Discover an important problem The COM PORT can't be openned by two process in the meantime . VG Hang the telephone possibility because of my pbx stiring sound IS 450HZ or not Share this post Link to post
Guest habao Report post Posted 11/22/2005 10:03 AM we find this in vg.ini ,how use it ************************************************ ;*** "AT" is selected for Transfer Control ;************************************************ ModemTransferInit1=AT#VBT=1 ModemTransferHookflash=AT#VTS=! ;ModemTransferDialNumber: this command is suffixed with the destination number separated by commas ModemTransferDialNumber=AT#VTS= ModemTransferComplete=AT#VTS=! ;Commands issued to the modem duting a 3-way conference setup Modem3WayInit1=AT#VBT=1 Modem3WayHookflash=AT#VTS=! ;pause time after sending hookflash to allow PBX enough ;Modem3WayDialNumber : this command is suffixed with the destination number separated by commas Modem3WayDialNumber=AT#VTS= Modem3WayComplete=AT#VTS=! Share this post Link to post
Guest habao Report post Posted 11/22/2005 01:25 PM i Design a process with delphi and mscomm ,find a Strange problem my process is very Simple 1, open comport 2, at h1 (pick up call) 3, at d! (hookflash) 4, at d123 (transfer number) 5, close comport first call,and open comport ,the call transder suceess then first open comport,and telephone call in,do hookflash ,it Hang Up as vg. so i think transfer Problem with voicemodem is not hookfash length, we Should can find wrong source Share this post Link to post
SupportTeam Report post Posted 11/22/2005 08:53 PM Most likely it's the TAPI driver on the modem then... Share this post Link to post