Guest vgfan Report post Posted 08/03/2005 11:29 AM Just want to clarify that by means of setting the Global Result Variables (in ini), it means any vgs can refer to those variables, and can update and modify it I assume there is no transaction logging mechanisms, and hence, if I retrieve a Global RV in Module_1, and co-incidently a module in ANOTHER vgs (i.e. call handling in another line) has changed the RV before Module_2 in the original vgs is executed, the Global RV in question will take on different values. Is my understanding correct? Kindly confirm. Thanks. Share this post Link to post
Guest vgfan Report post Posted 08/03/2005 11:36 AM Sorry ... I meant transaction 'locking', not 'logging'. Share this post Link to post
SupportTeam Report post Posted 08/03/2005 09:42 PM If the global RV is changed before Module_1 uses it then Module_1 will use new value. If the global RV is changed after Module_1 uses it then Module_1 will use old value. Share this post Link to post
Guest pai Report post Posted 08/09/2005 12:03 PM Dear Support Team! It's not clear to me, how could i get VG to set different RV array for every line. My problem is now, that if I call in on two or more lines at the same time, the one lines's Result Variables overwrite the other's, which causes a malfunction. I want to handle each line with separate variables. I have a Dialogic D4PCI, with 4 lines. Every line should run the same script. Thanks, peter Share this post Link to post
SupportTeam Report post Posted 08/09/2005 11:38 PM Sounds like you should not be looking at using Global Result Variables at all then, but just stick with using the normal Result Variables which are per-line. If a Result Variable has not explicitly been set as Global then it will mot be visible outside of the line on which the running script has set or changed it. Share this post Link to post
Guest pai Report post Posted 08/15/2005 03:43 PM Hi! Yes, that's what i'm looking for, but the problem is, that if I check out the RV to be Global, the FX module dosen't set the value even for the current line's script. In the log file I see, that it tries to set the correct value, but nothing happens, the variable value stays on it's current value, or just empty. If I check it to be Global, everything works fine again, but the other, above mentioned problem comes. For example I have an FX modul like this: I want to set '$RV[counter1] + 1' to the RV 'counter1'. If I do not check global, nothing happens, if I check it, it works, but overwrites the other lines' variable value too. What could be the problem, how could i solve it? Thanx. Share this post Link to post
SupportTeam Report post Posted 08/15/2005 09:43 PM Could you please post a copy of VoiceGuide's Debug Printout which captures the problem (ie. don't use the 'Global' option), this will allow us to see what is happening on your system. When running the script click on VoiceGuide's View menu and select 'Event Trace Log' option - any log information will then appear in this window. You must open the trace window before making the call. You can enable the automatic saving of the logs to files in \log\ directory as well. Please also post the script which you are using. Share this post Link to post