Guest Dave Report post Posted 09/06/2005 12:21 PM How do I cycle through a list in a database to call. it seems that the getquery is made for one call or the script for that matter...I want to cycle through a list and the list is in a database. I don't want to use that dialer thing that loads phone numbers. Share this post Link to post
SupportTeam Report post Posted 09/06/2005 01:05 PM Can you please explain in more detail what you want to achieve - perhaps giving a specific example as well. Share this post Link to post
Guest Dave Report post Posted 09/06/2005 02:31 PM I have a list of numbers in a database. I want to cycle through the numbers. It will dial number ask user code code and then put the code back into the database. Share this post Link to post
SupportTeam Report post Posted 09/06/2005 02:42 PM If you do not want to use the "VoiceGuide Telephone Number Loader" GUI application then you can add the numbers to be dialed into VGDialer using either: 1. OutDial_New.xml file, see: http://www.voiceguide.com/vghelp/html/DialListInto.htm or 2. Dialer_OutDialQueAdd COM function, see: http://www.voiceguide.com/vghelp/html/com_...tDialQueAdd.htm From inside the VoiceGuide script you can access your own database to update any values etc. Share this post Link to post
Guest Guest Report post Posted 09/06/2005 11:48 PM But how do I cycle and repeat the script for each record. Where would I put the code that says.. While Read Rec Play script Next Rec End While Share this post Link to post
SupportTeam Report post Posted 09/07/2005 12:06 AM Inside your application/script which would be responsible for generating the OutDial_New.xml file or calling the Dialer_OutDialQueAdd COM function. (suggest you use the Dialer_OutDialQueAdd COM function) Share this post Link to post
Guest Dave Report post Posted 09/07/2005 01:16 PM When you say inside my application. Do you mean inside of the script editor. How? Can you show a small example? Share this post Link to post
SupportTeam Report post Posted 09/07/2005 09:01 PM What event would start off the process of going through your database and selecting the outbound calls to be made? Is this something you want to do in response to the callers' selection (in which case you can do it using a loop of DB Query modules and Send Phone Message modules). If you want to load the number of calls to be made from some external program/script then you have to write all that yourself in the programming language of your choice. Either way the approach is to load all the numbers at once - not load one, then call, then load another. You load them all in and then you let VG make the calls and handle redials on no-answer etc etc. If the purpose of the while loop is to keep control of escalations then there is another way of doing this in VG - please read the section on escalations in the VG Help file: http://www.voiceguide.com/vghelp/html/DialListInto.htm Share this post Link to post