dcodof Report post Posted 05/19/2006 03:01 PM Hello. My external application needs to provide the following data to Voice Guide: - The list of people to be notified - The message to be played (dynamically generated) Then, it needs to receive the following feedback from Voice Guide: - The number of people successfully notified - The minimum predicted time to anyone get to the lab (from the call menu, the person will choose if he/she is going to show up in 15, 30, or 60 minutes). What would be the most recommended way of performing this communication? By writing to and reading from files? Using the ActiveX/COM interface? Directly entering data into the OutDialQue database? Thank you. Daniel Share this post Link to post
SupportTeam Report post Posted 05/22/2006 09:04 AM There are many ways to do this and any way that works is fine... Loading of new calls into VG is covered here: http://www.voiceguide.com/vghelp/html/DialListInto.htm Messages can be dynamically generated using TTS and Result Variables (http://www.voiceguide.com/vghelp/html/ResultVariables.htm) Upon acceptance you can do a variety of actions as well, from saving responses in a database to running programs or VBScripts. It's really up to you as to what you want to do... Share this post Link to post
dcodof Report post Posted 05/22/2006 03:17 PM I see. I was taking a better look on the "Dialer_OutDialQueAdd" function, but I didn't understand how exactly it would work with escalations. How would all the escalated numbers be entered/specified in this function call? (the help file send us to the Out Dial File information, which is straitforward but I can't see the direct relation between the procedures). Regarding the response, if I choose to store the response status in a excel sheet, for instance, I would simply use VG's "Database" module (or the VBScript module) inside the script called? What are the pros and cons of each solution? Thanks. Share this post Link to post
SupportTeam Report post Posted 05/24/2006 08:48 AM The escalation calls in the sEscalationCalls field are specified in the same format as the OutDial file. eg: <OutDialEntry> <PhoneNumber>5551111</PhoneNumber> <OnAnswer>d:\scripts\alert.vgs</OnAnswer> <CallRetries>2</CallRetries> <RetryDelay>5</RetryDelay> <RV>[ClientID]{554}[severity]{2}[ContactTel]{5559743}</RV> <Escalation> <OutDialEntry> <PhoneNumber>5552222</PhoneNumber> <OnAnswer>d:\scripts\alert.vgs</OnAnswer> <OnAnswerMachine>retry</OnAnswerMachine> <CallRetries>2</CallRetries> <RetryDelay>5</RetryDelay> <RV>[ClientID]{554}[severity]{2}[ContactTel]{5559743}</RV> <OnNotConnected>d:\scripts\nosupport.vbs</OnNotConnected> </OutDialEntry> </Escalation> </OutDialEntry> if I choose to store the response status in a excel sheet, for instance, I would simply use VG's "Database" module (or the VBScript module) inside the script called? Yes. What are the pros and cons of each solution? VBScript usually gives you more options and hence greater flexibility. Share this post Link to post
dcodof Report post Posted 05/24/2006 01:25 PM I'm sorry, but I didn't understand what you mean. The example provided in your documentation shows the function call without the use of escalation: set vg = CreateObject("VoiceGuide.CommandLink") vg.Dialer_OutDialQueAdd "0,5551234", 0, 0, 0, "", "", 1, "c:\sendinfo\announce.wav", "c:\sendinfo\InfoMenu.vgs", "c:\sendinfo\CallBackDetails.wav", "[CustomerID]{44563}", 0, 2, 5, "" set vg = Nothing You showed me the OutDile file format, which is fine. But now, if I use the escalation on this call, how should include the info there? Could you please give me an example for that? Thank you. Share this post Link to post
SupportTeam Report post Posted 05/24/2006 05:01 PM set vg = CreateObject("VoiceGuide.CommandLink") strEscalation="<OutDialEntry><PhoneNumber>5551111</PhoneNumber><OnAnswer>d:\scripts\alert.vgs</OnAnswer><CallRetries>2</CallRetries><RetryDelay>5</RetryDelay><RV>[ClientID]{554}[Severity]{2}[ContactTel]{5559743}</RV><Escalation><OutDialEntry><PhoneNumber>5552222</PhoneNumber><OnAnswer>d:\scripts\alert.vgs</OnAnswer><OnAnswerMachine>retry</OnAnswerMachine> <CallRetries>2</CallRetries><RetryDelay>5</RetryDelay><RV>[ClientID]{554}[Severity]{2}[ContactTel]{5559743}</RV><OnNotConnected>d:\scripts\nosupport.vbs</OnNotConnected></OutDialEntry></Escalation></OutDialEntry>" vg.Dialer_OutDialQueAdd "0,5551234", 0, 0, 0, "", "", 1, "c:\sendinfo\announce.wav", "c:\sendinfo\InfoMenu.vgs", "c:\sendinfo\CallBackDetails.wav", "[CustomerID]{44563}", 0, 2, 5, strEscalation set vg = Nothing Share this post Link to post