SangAstra Report post Posted 12/08/2005 12:56 PM Hello support, We need to record the voicemessage and email that message as an attachment. This was working earlier but has stopped now after we changed some settings. While testing we found that it was giving an error "silence path not found". so we set the silence path to the next module that emails the recording. But it still does not continue to the next module and just disconnects after voice recording. Please check this log if its of any help. 123023.56 7 [VoiceMessage] Recording 123023.56 7 play set playid=675093 123023.56 7 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\beep1.wav] 123023.56 7 timer clear 123023.56 7 wa(186,67509300) 123023.56 7 callinfo MONITORMODES 123023.80 7 wb(67509300) 123023.84 7 play end current play (playid=675093) 123023.84 7 ScriptEventCode 8001 iLineState=1200 123023.84 7 LsRecPlayBeep EV_PLAY_FINISHED 123023.84 7 rv lg add [VoiceMessage]{C:\vgscript\1208123023_7_.wav} 123023.86 7 RecSoundStart file[C:\vgscript\1208123023_7_.wav] ok 123023.86 7 eng RecSoundStart after beep [C:\vgscript\1208123023_7_.wav] 123023.86 7 timer set 30 EV_TIMEOUT_GOTOMODULE 123036.92 7 callstate DISCONNECTED 66080 0 0 123036.92 7 ScriptEventCode 9250 iLineState=1201 123036.92 7 LsRecRecording EV_REMOTEPARTY_DISCONNECT 123036.97 7 RecSoundStopTruncBytes ok 123036.97 7 rec length RV: VoiceMessage_RecLen100ms = 131 123036.98 7 rv lg add [VoiceMessage_RecLen100ms]{131} 123036.98 7 rv lg add [VoiceMessage_EndRecCause]{disconnect} 123036.98 7 rv lg add [Hangup Time]{08/12/2005 12:30:36} 123036.98 7 Hanging up call... [During LsRecRecording] 123036.98 7 RecSoundStop ok 123036.98 7 PlaySoundStop err=0 123036.98 7 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 123036.98 7 fnHangupCall end 123036.98 7 ScriptEventCode 8003 iLineState=900 123036.98 7 LsAwaitingCalls EV_REC_FINISHED 123037.02 7 linedevstate 2048 0 0 123037.02 7 callstate IDLE 66080 0 0 123037.02 7 WorkingMode@Idle= 123037.02 7 timer clear 123037.20 7 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 123037.20 7 tapi Reply (LineEvReply) ok 66305 0 123038.19 7 timer fired EV_TIMEOUT_TIMETOREINITLINE 123038.19 7 ScriptEventCode 9008 iLineState=900 123038.19 7 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 123038.19 7 ReinitTelephony due to IDLE 123038.19 7 tapic lineDeallocateCall(MainCall:66080) 0 123038.34 7 lineOpen(7)=> 123038.34 7 Waiting for a call... 123038.34 7 LineHandle=65776 123038.34 7 amchk set AMdet=False in Reinit@idle 123038.34 7 timer set 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 123038.34 0 dial start any summary:|6:idx=0|7:rdy=0|8:idx=0|9:idx=0| 123041.63 7 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 123041.63 7 ScriptEventCode 9013 iLineState=900 123042.36 0 dial start any summary:|6:idx=0|7:idx=0|8:idx=0|9:idx=0| Share this post Link to post
SupportTeam Report post Posted 12/08/2005 09:40 PM Trace shows call was ended as a busy signal was detected. You should look into using "After Hangup" scripts - see: http://www.voiceguide.com/vghelp/html/Call...ll%20Finish.htm or you could just use a voicemail box and use it's email forwarding properties. Share this post Link to post
SangAstra Report post Posted 12/12/2005 10:30 AM As per the link you have suggested, it is possible to run scripts after hangup. So I can write a separate script to email the voicemessage if the caller hangs up abruptly. The only problem is the reference of voicemessage attachment name. Currently suppose the name of the module is voice1, I can directly use the name $RV[voice1] in the attachment property of the emailvoicemessage. But if this is an external script, how can I refer to the module name. kindly advise. Share this post Link to post
SupportTeam Report post Posted 12/12/2005 08:36 PM You need to know in what RV the filename of the recorded message will be stored... So you need to know the actual RV name, or have the various recording scripts set a specific RV to hold that information. Share this post Link to post