Post new topic Reply to topic  [ 2 posts ] 

Board index : TeleFlow Forums : TeleFlow Designer & Simulator

Author Message
 Post subject:
PostPosted: Thu Nov 18, 2004 10:58 am 
Offline

Joined: Mon Mar 15, 2004 3:55 pm
Posts: 35
Location: USA
When a "locally" define variable is used to point to a wav file via "Set Play Variable" and then the same variable is used in a "Play" step, the play step errors out with "undefined" variable. <br> <br>Is "Set Play Variable" limted to globally defined variables only? <br> <br>Nov 18 12:55:59.49: ==>PlayTest2 <br>Nov 18 12:55:59.49: [1] START <br>Nov 18 12:55:59.49: [11] Set Local Variable <br>Nov 18 12:55:59.49: Setting local variable '@LCL_SPEAK_MSG' to '' <br>Nov 18 12:55:59.49: [7] Global Event <br>Nov 18 12:55:59.49: Setting system variable '@HANGUP' to 'HANGUP' <br>Nov 18 12:55:59.49: [3] Wait for Call <br>Nov 18 12:55:59.50: WARNING: TIMEOUT '0' evaluates to 0 and is interpreted as no timeout <br>Nov 18 12:56:00.99: Wait for 1 rings and then pickup <br>Nov 18 12:56:03.30: Connection delay: 500 ms <br>Nov 18 12:56:03.80: [13] Set Global Variable <br>Nov 18 12:56:03.80: Setting global variable '@LCL_SPEAK_MSG' to 'Billion' <br>Nov 18 12:56:03.81: [17] Write Text <br>Nov 18 12:56:03.81: "LCL_SPEAK_MSG = " <br>Nov 18 12:56:03.81: [15] Play <br>Nov 18 12:56:03.81: Message Code: @LCL_SPEAK_MSG <br>Nov 18 12:56:03.81: ERROR: Message Code '@LCL_SPEAK_MSG' undefined <br>Nov 18 12:56:03.81: FATAL <br>Nov 18 12:56:03.81: Attempting to jump to Fatal Error Global Event label: '' <br>Nov 18 12:56:03.81: Fatal label undefined! <br>Nov 18 12:56:03.82: Shutting down... <br>Nov 18 12:56:03.82: XMLList destructor done


Back to top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 18, 2004 1:06 pm 
Offline

Joined: Wed Mar 19, 2003 4:28 pm
Posts: 510
Location: Canada
Yes, "Set Play Variable" is limited to globally defined variables only. <br> <br>This may be addressed in a future release, but is a limitation at this time. <br> <br>You can, however, use a Set Local Variable, and simply set it to the name of a script code you know exists in your Voice Script database. This doesn't provide the convenience of the Set Play Variable step, which has the drop-down, and also the automatic display of the related script in the flowchart, but it does at least allow you to use a local variable set to then play a script code. (if you have a need to use it this way, that is)


Back to top
 Profile WWW 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Board index : TeleFlow Forums : TeleFlow Designer & Simulator


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Style by Midnight Phoenix & N.Design Studio
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.