mehdi_h Report post Posted 06/14/2007 07:45 PM Hi I would like to do this: I'm asking 4 questions one after the other. The next question is not the result of the previous one I'm always asking these 4 question in the same order I would like to record the anwser "1" or "2" for each of these 4 questions How can I strore these 4 anwsers for one same called number.? Thanks MH Share this post Link to post
mehdi_h Report post Posted 06/14/2007 08:33 PM I mean , do I have tiç use 5 Play module with between them access to DB query to record that Or do I have to use Get number. In that second case how can I record the result in a DB or a text file ? Tkx MH Share this post Link to post
SupportTeam Report post Posted 06/15/2007 12:21 AM You should use a sequence of Play modules one after another. Then to obtain a string of what was pressed in these modules just concatenate the Result Variables from the Play modules together. Eg. if the Play modules are titled "Question 1", "Question 2", "Question 3" and "Question 4" then use the expression to obtain the entered number string: $RV[Question 1]$RV[Question 2]$RV[Question 3]$RV[Question 4] Use this expression in your Database SQL string or VBScripts or parameter to a called program etc. Share this post Link to post
mehdi_h Report post Posted 06/15/2007 09:29 AM I'm sorry, but I need your help to setup this?. What do I have to define in the Path for each of the play modules. If I wnat to use a DB query to store the values in an access DB, could you please give a concret example using the scipt attached. I mean what shoub be the trigger to run the DB query. It would be nice if you could help me complete this script Tkx MH CCI_IMMO2.vgs Share this post Link to post
SupportTeam Report post Posted 06/15/2007 11:00 AM Have a look at attached script. This will get you pretty close. Looks like you still need to create the actual database into which the data will be saved... Let us know if you still have any questions. CCI_IMMO2.vgs Share this post Link to post
mehdi_h Report post Posted 06/15/2007 12:48 PM Thnks I 'll try this and let you.. This is what I call efficient Support !!!!!!!!!!! :-) Share this post Link to post
mehdi_h Report post Posted 06/16/2007 10:05 AM hi I have tried this, it works, but: - if a called presses 1 for the first play module and hangs up on the second, no information is kept .. How can I store the informationeven if he hangs up. Tkx MH Share this post Link to post
SupportTeam Report post Posted 06/16/2007 10:34 AM Move the database module which saves the information to an "On Hangup" script. See: http://www.voiceguide.com/vghelp/html/Call%20Finish.htm Share this post Link to post
mehdi_h Report post Posted 06/16/2007 11:11 AM it work thank you !! Another point I'm trying to send email. There is an error that I do not understand. Pleae find bellow logs. Thkx MH 0616es.txt 0616vgm.txt 0616tw.txt CCI_IMMO3_sendmail.vgs Share this post Link to post
SupportTeam Report post Posted 06/17/2007 12:54 AM I'm trying to send email. There is an error that I do not understand. You specified "http://193.252.107.113" as the smtp server address.... That is not a valid stmp server address expression... Share this post Link to post