Guest anjupt Report post Posted 12/05/2006 12:38 PM Hi, I am developing an IVR system for a School ,one main feature they want is the system calling the parents of the students and give out a message .The message depend on certain conditions as in if the student is absent for more than 3 days contiunously a message should be played to the parent of that student likewise for poor marks ,behaviour etc ..Based on conditions set system should automatically call the respective parent.May i know how will i be able to do that Thank You Anju Share this post Link to post
SupportTeam Report post Posted 12/05/2006 08:17 PM How the telephone numbers to call are selected and when to call them is up to you. Sounds like you should be setting up some database queries which periodically run to select the phone numbers to call. Loading of selected phone numbers into VG is detailed here: http://www.voiceguide.com/vghelp/html/DialListInto.htm Share this post Link to post
Guest anjupt Report post Posted 12/23/2006 10:34 AM Hi, Is there a method for the telephone loader work or the system to make calls on a particular time with voiceguide. I would like to know how to make the automatic calling work. i need the system to automatically call the parent and the play the respective message.The script i have written when the call is answered is as follows. Version=5.0 DefaultModuleDisplayHeight= StartModule=Welcome RunAtHangup= StartWithoutAnswer=0 CtmAsiName= [Welcome] Type=Play DispSize=69 Txt=Play a sound file, then await a response... PlayFile1=D:\SchoolManagementSystem\audioFiles\Class91\Message\Welcome.wav Replay=1,5 strTtsText= on {timeout 0} goto [getAbsent] Position=40,48 [getAbsent] Type=Run VB Script DispSize=69 Txt=Run a VB Script. VbsFileToRun= VbsWait=2 VbScript= Const adOpenForwardOnly = 0 Const adOpenKeyset = 1 Const adOpenDynamic = 2 Const adOpenStatic = 3 set vg = CreateObject("VoiceGuide.CommandLink") set cn = CreateObject("ADODB.Connection") set rs = CreateObject("ADODB.Recordset") set rs1 = CreateObject("ADODB.Recordset") set rs2 = CreateObject("ADODB.Recordset") set rs3 = CreateObject("ADODB.Recordset") cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\SchoolManagementSystem\schoolDB.mdb" sNo = vg.RvGet($RV_LINEID, "RV_CALLEDNUMBER") str="" if cn.State = 1 then vg.Admin_TraceLogAdd $RV_LINEID, 5, "vbs connection to Ads.mdb made OK" set rs.ActiveConnection = cn rs.Open "Select * from QryStudAbsent", cn, adOpenStatic do while not rs.EOF vg.Admin_TraceLogAdd $RV_LINEID, 5, "vbs records found OK" iphone=rs.Fields("phone").Value if iphone = sNo then sFile = "D:\SchoolManagementSystem\audioFiles\Class91\Message\studentabsentmsg.wav" str = str + "," + sFile end if rs.MoveNext loop set rs1.ActiveConnection = cn rs1.Open "Select * from QryStudLate", cn, adOpenStatic do while not rs1.EOF vg.Admin_TraceLogAdd $RV_LINEID, 5, "vbs records found OK" iphone1=rs1.Fields("phone").Value if iphone1 = sNo then sFile1 = "D:\SchoolManagementSystem\audioFiles\Class91\Message\studlatemsg.wav" str = str + "," + sFile1 end if rs1.MoveNext loop set rs2.ActiveConnection = cn rs2.Open "Select * from QryStudMarkPhne", cn, adOpenStatic do while not rs2.EOF vg.Admin_TraceLogAdd $RV_LINEID, 5, "vbs records found OK" iphone2=rs2.Fields("phone").Value if iphone2 = sNo then sFile2 = "D:\SchoolManagementSystem\audioFiles\Class91\Message\studlowmarks.wav" str = str + "," + sFile2 end if rs2.MoveNext loop set rs3.ActiveConnection = cn rs3.Open "Select * from QryStudRemark", cn, adOpenStatic do while not rs3.EOF vg.Admin_TraceLogAdd $RV_LINEID, 5, "vbs records found OK" iphone3=rs3.Fields("phone").Value if iphone3 = sNo then sFile3 = "D:\SchoolManagementSystem\audioFiles\Class91\Message\studcomplaint.wav" str = str + "," + sFile3 end if rs3.MoveNext loop vg.Play_Start $RV_LINEID, str vg.Run_ResultReturn $RV_LINEID,"[EndMsg]" end if cn.Close Set rs = Nothing Set rs1 = Nothing Set rs2 = Nothing Set rs3 = Nothing Set cn = Nothing Set vg = Nothing VbsHoldPlay= on {success} goto [EndMsg] on {fail} goto [HangUp] on {timeout 0} goto [HangUp] Position=192,166 [HangUp] Type=Hangup the Call DispSize=69 Txt=Hangup the call. Position=425,297 [EndMsg] Type=Play DispSize=69 Txt=Play a sound file, then await a response... PlayFile1=D:\SchoolManagementSystem\audioFiles\Class91\Message\EndMsg.wav Replay=0,5 strTtsText= on {timeout 0} goto [HangUp] Position=201,297 I am facing mainily 2 problems 1)When the call is answered there is big silence before the Welcome messgae is played. 2)I want the telephone loader or voice guide to automatically make calls on a daily baisis or weekly basis without any interaction from the user thats once the voiceguide is configured to recieve calls from any other line voicguide should automaticall make calls one after the other Please help to find a solution for this problem ThankYou Anju Share this post Link to post
SupportTeam Report post Posted 12/23/2006 10:03 PM Is there a method for the telephone loader work or the system to make calls on a particular time with voiceguide.Yes. Calls can be scheduled to be made at a particular time. See the "Dialing Times Tab" in the Telephone Number Loader and the "CallTime" field in OutDial_New.xml and the "ActivateTime" field in Dialer_OutDialQueAdd COM function call. Share this post Link to post
Guest anjupt Report post Posted 12/24/2006 05:12 AM Hi, I tried doing in all the 3 you have suggested.In Dialing times tab even if set the time nothing happens unless i click on the start Dialing button.Same way I set the time in OutDial_new.xml,OutDial_New.txt but nothing happens untill i click on the button.I want the system to call on its own without any button click. Please help me to find a solution for this Thank you Anju Share this post Link to post
SupportTeam Report post Posted 12/25/2006 11:40 AM Make sure VG is running, then load the calls using the OutDial_New.xml or the Dialer_OutDialQueAdd COM function call... Share this post Link to post