saeed Report post Posted 07/17/2004 10:51 AM I use a voice modem to test voiceguide, I have a problem in the announced transferring.it always detect hookfalsh(I here melody) but sometimes the call is transferred successfully and sometimes not. Is it related to the voice modem or not? Here you can see the log when the transfer is unsuccessful: 025440.76 0 Timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 025440.76 0 ScriptEventCode 9013 iLineState=900 025446.14 0 callstate OFFERING 65687 0 4 025446.16 0 ring 1 025446.16 0 No old processes from last call (could not obtain handle) 9604, 0 025446.16 0 Answer the call at 2004/07/17 02:54:46 ق.ظ 025446.17 0 lineAnswer(65687) => 65806 025446.17 0 callstate ACCEPTED 65687 0 0 025446.31 0 tapi Reply (LineEvReply) ok 65806 0 025446.34 0 callstate CONNECTED 65687,0,0 025446.34 0 WorkingModeTAPI@Connected= 025446.36 0 WorkingModeScript@Connected= 025446.38 0 Inband detection not enabled 025446.39 0 StartLoadedVgs at 2004/07/17 02:54:46 ق.ظ 025446.41 0 AddRVns [scriptsPath]{D:\Akbari\My Doc\call center\voiceguide\dpco\} 025446.41 0 rv add [$RV_STARTTIME]{2004/07/17 02:54:46 ق.ظ} 025446.42 0 rv add [$RV_DEVICEID]{0} 025446.44 0 rv add [$RV_CIDNAME]{} 025446.45 0 AddRVns [PathApp]{C:\Program Files\VoiceGuide\} 025446.45 0 rv add [$RV_CIDNUMBER]{} 025446.47 0 TimeoutClear 025446.48 0 [Welcome] Playing 025446.50 0 [Welcome] Playing (D:\Akbari\My Doc\call center\voiceguide\wav files\welcome.wav) 025446.58 0 PlaySoundStart ok [D:\Akbari\My Doc\call center\voiceguide\wav files\welcome.wav] 025446.59 0 TimeoutClear 025446.61 0 RunModule PLAY end 025446.63 0 wa(7996,93110900) 025449.38 0 dtmf 0 (65687,48,2) 025449.39 0 ScriptEventCode 48 iLineState=1100 025449.41 0 LsPlayMsg 0 025449.88 0 PlaySoundStop err=0 025449.89 0 rv add [Welcome]{0} 025449.92 0 TimeoutClear 025449.94 0 TimeoutSet 0.4 EV_TIMEOUT_READYTOBEGINTRANSFER 025450.36 0 Timer fired EV_TIMEOUT_READYTOBEGINTRANSFER 025450.38 0 ScriptEventCode 9012 iLineState=1900 025450.38 0 LsXferStart EV_TIMEOUT_READYTOBEGINTRANSFER 025450.41 0 TimeoutSet 30 EV_TIMEOUT_ANNOUNCED_TRANSFER_ATTEMPT_TOOK_TOO_LONG 025450.41 0 [Reception] Announced Transfer to 65 (Generate) 025450.44 0 tapic lineGenerateDigits(65687,!,0) => 0 025451.14 0 generate LINEGENERATETERM_DONE 025451.16 0 TimeoutSet 1 EV_TAPI_GENERATE 025452.20 0 Timer fired EV_TAPI_GENERATE 025452.20 0 ScriptEventCode 9602 iLineState=1900 025452.22 0 LsXferStart EV_TAPI_GENERATE 025452.23 0 TimeoutSet 1 EV_HOOKFLASHFINISHED 025453.34 0 Timer fired EV_HOOKFLASHFINISHED 025453.36 0 ScriptEventCode 9200 iLineState=1905 025453.38 0 LsXferPlayVts EV_HOOKFLASHFINISHED 025453.39 0 tapic lineGenerateDigits(65687,65,0) => 0 025453.64 0 generate LINEGENERATETERM_DONE 025453.66 0 TimeoutSet 1 EV_TAPI_GENERATE 025454.72 0 Timer fired EV_TAPI_GENERATE 025454.72 0 ScriptEventCode 9602 iLineState=1905 025454.73 0 LsXferPlayVts EV_TAPI_GENERATE 025454.75 0 fn PlaySoundStartNumbers TsfrCallFrom.wav, TsfrAskAccept.wav, , Digits 025454.78 0 sVbsFunctionToUse=Digits 025454.88 0 Started SayNumber VBScript OK. (C:\Program Files\VoiceGuide\data\vbs_0_SayNumber.vbs) 025455.14 0 cl Play_Start C:\Program Files\VoiceGuide\system\voice\TsfrCallFrom.wav,,C:\Program Files\VoiceGuide\system\voice\TsfrAskAccept.wav 025455.23 0 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\TsfrCallFrom.wav,C:\Program Files\VoiceGuide\system\voice\TsfrAskAccept.wav] 025455.25 0 TimeoutClear 025455.28 0 wa(6929,93975001) 025502.16 0 Play End line[0] (id=939750) 025502.19 0 ScriptEventCode 8001 iLineState=1906 025502.19 0 LsXferPlayAnn EV_PLAY_FINISHED 025502.22 0 LsXferPlayAnn EV_TIMEOUT_REPLAYMSG 025502.23 0 fn PlaySoundStartNumbers TsfrCallFrom.wav, TsfrAskAccept.wav, , Digits 025502.25 0 sVbsFunctionToUse=Digits 025502.34 0 Started SayNumber VBScript OK. (C:\Program Files\VoiceGuide\data\vbs_0_SayNumber.vbs) 025502.63 0 cl Play_Start C:\Program Files\VoiceGuide\system\voice\TsfrCallFrom.wav,,C:\Program Files\VoiceGuide\system\voice\TsfrAskAccept.wav 025502.73 0 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\TsfrCallFrom.wav,C:\Program Files\VoiceGuide\system\voice\TsfrAskAccept.wav] 025502.75 0 TimeoutClear 025502.76 0 wa(6929,94723401) 025509.64 0 Play End line[0] (id=947234) 025509.66 0 ScriptEventCode 8001 iLineState=1906 025509.67 0 LsXferPlayAnn EV_PLAY_FINISHED 025509.69 0 LsXferPlayAnn EV_TIMEOUT_REPLAYMSG 025509.72 0 fn PlaySoundStartNumbers TsfrCallFrom.wav, TsfrAskAccept.wav, , Digits 025509.73 0 sVbsFunctionToUse=Digits 025509.83 0 Started SayNumber VBScript OK. (C:\Program Files\VoiceGuide\data\vbs_0_SayNumber.vbs) 025510.08 0 cl Play_Start C:\Program Files\VoiceGuide\system\voice\TsfrCallFrom.wav,,C:\Program Files\VoiceGuide\system\voice\TsfrAskAccept.wav 025510.19 0 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\TsfrCallFrom.wav,C:\Program Files\VoiceGuide\system\voice\TsfrAskAccept.wav] 025510.20 0 TimeoutClear 025510.22 0 wa(6929,95470301) 025517.11 0 Play End line[0] (id=954703) 025517.13 0 ScriptEventCode 8001 iLineState=1906 025517.14 0 LsXferPlayAnn EV_PLAY_FINISHED 025517.16 0 LsXferPlayAnn EV_TIMEOUT_REPLAYMSG 025517.17 0 fn PlaySoundStartNumbers TsfrCallFrom.wav, TsfrAskAccept.wav, , Digits 025517.20 0 sVbsFunctionToUse=Digits 025517.28 0 Started SayNumber VBScript OK. (C:\Program Files\VoiceGuide\data\vbs_0_SayNumber.vbs) 025517.55 0 cl Play_Start C:\Program Files\VoiceGuide\system\voice\TsfrCallFrom.wav,,C:\Program Files\VoiceGuide\system\voice\TsfrAskAccept.wav 025517.66 0 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\TsfrCallFrom.wav,C:\Program Files\VoiceGuide\system\voice\TsfrAskAccept.wav] 025517.67 0 TimeoutClear 025517.69 0 wa(6929,96217101) 025524.56 0 Play End line[0] (id=962171) 025524.59 0 ScriptEventCode 8001 iLineState=1906 025524.61 0 LsXferPlayAnn EV_PLAY_FINISHED 025524.63 0 LsXferPlayAnn EV_PLAY_FINISHED 025524.64 0 tapic lineGenerateDigits(65687,!,0) => 0 025525.36 0 generate LINEGENERATETERM_DONE 025525.38 0 TimeoutSet 1 EV_TAPI_GENERATE 025526.41 0 Timer fired EV_TAPI_GENERATE 025526.42 0 ScriptEventCode 9602 iLineState=1906 025526.44 0 LsXferPlayAnn EV_TAPI_GENERATE 025526.45 0 PlayFinishCause=CallRejected 025526.47 0 Fail path not defined - hanging up (iXferType=1) 025526.48 0 rv add [Hangup Time]{2004/07/17 02:55:26 ق.ظ} 025526.51 0 Hanging up call... [xfer play ann 2] 025526.53 0 RecSoundStop ok 025526.55 0 PlaySoundStop err=0 025526.58 0 TimeoutSet 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 025526.59 0 fnHangupCall end 025526.67 0 callstate DISCONNECTED 65687,1,0 025526.69 0 ScriptEventCode 9250 iLineState=900 025526.70 0 LsAwaitingCalls EV_REMOTEPARTY_DISCONNECT 025526.72 0 rv add [Hangup Time]{2004/07/17 02:55:26 ق.ظ} 025526.73 0 Hanging up call... 025526.75 0 RecSoundStop ok 025526.76 0 PlaySoundStop err=0 025526.78 0 TimeoutSet 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 025526.80 0 fnHangupCall end 025526.81 0 callstate IDLE 65687 0 0 025526.83 0 WorkingMode@Idle= 025526.84 0 TimeoutClear 025526.86 0 TimeoutSet 1 EV_TIMEOUT_TIMETOREINITLINE 025526.88 0 tapi Reply (LineEvReply) ok 66097 0 025526.89 0 tapi Reply (LineEvReply) ok 66472 0 025527.88 0 Timer fired EV_TIMEOUT_TIMETOREINITLINE 025527.88 0 ScriptEventCode 9008 iLineState=900 025527.89 0 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 025527.91 0 ReinitTelephony due to IDLE 025527.92 0 tapic lineDeallocateCall(MainCall:65687) 0 025528.17 0 lineOpen(0)=> 025528.19 0 Waiting for a call... The second problem is when it transfers the call successfully,it doesn't detect busy or reject call, how can I detect that the phone is busy?by timeout? how can I find that it is a rejected call or busy call? Share this post Link to post
SupportTeam Report post Posted 07/17/2004 09:53 PM Trace shows that the 'announce transferred' call was not successful as the call was not accepted by recipient of the call, and after playing the sound files TsfrCallFrom.wav and TsfrAskAccept.wav 3 times over VG retrieved the attempted transfer: 025524.64 0 tapic lineGenerateDigits(65687,!,0) => 0 and then hung up. how can I detect that the phone is busy?by timeout? Yes. In the TAPI version of VoiceGuide that's how it works. how can I find that it is a rejected call or busy call? If the recipient of transfer pressed a key then there should be a Result Variable created for this module, containing which key was pressed. Check the value of $RV[Reception] if the transfer is not successful. Share this post Link to post
saeed Report post Posted 07/18/2004 04:59 AM Trace shows that the 'announce transferred' call was not successful as the call was not accepted by recipient of the call it is because the phone didn't ring and the connection didn't establish. So,you mean that VG works properly,but there is a problem in PBX? I told you,in the same conditions,once it works correctly (the phone rings) and once not. Share this post Link to post
SupportTeam Report post Posted 07/18/2004 06:10 AM The trace shows VG went though the whole process of hookflash->dial->play announcement etc. with no problems. If the call transfers sometimes work for you and sometimes do not then this suggests that the hookflash length that is generated by the modem is on the borderline of what the PBX is set up to detect as a valid hookflash. voice modems cannot usually have their hookflash length changed - that is why we recommend using Dialogic cards for any applications where call transfers are required (Dialogic cards can have the hookflash length set by user). Share this post Link to post
saeed Report post Posted 07/19/2004 06:25 AM this suggests that the hookflash length that is generated by the modem is on the borderline of what the PBX is set up to detect as a valid hookflash But caller always hears melody on the phone after tarnsferring,so I think the flashhook is detected by PBX,but the problem is when VG is dialing the extension number. Maybe PBX dosen't detect TONE dialing of VG, What is your idea? Share this post Link to post
SupportTeam Report post Posted 07/19/2004 07:04 AM Have you tried adding a pause before the number being dialed (use a comma: , ) ? Maybe the number is being dialed too soon after hookflash is issued and the PBX is not always ready when the destination extension has been dialed. If specifying ",65" as the number to transfer to does not work for you (may be problems if you use a Voice Modem) then try just creating a transfer sequence using Play modules, which will allow you to specify the delay between the hookflash and the number being dialed by using a timeout path between two modules. Share this post Link to post