bagalday Report post Posted 04/14/2006 03:15 PM We have 4 ports VoiceGuide with Dialogic board. We design an ACD script for the callcenter. We need a unique ID per call. Are there a Unique ID per call that we can get it within a VBScript. For example : $RV_CallID ?? Share this post Link to post
SupportTeam Report post Posted 04/14/2006 10:41 PM You can just create one of your own unique 'Call ID' at the beginning of the script, store it in an RV and use that RV through the remainder of the script. In VoiceGuide if reference is made to a call the reference is to the line on which the current calls is on - and the "$RV_LINEID" is used. Share this post Link to post
bagalday Report post Posted 04/15/2006 07:43 AM I have tried to call MS SQL Stored Procedure for the Inserted ID. But I couldn't run the SP upon the ODBC connection. INSERT INTO Call (CNumber, CTransfer) VALUES ('$RV_CIDNUMBER', 1) SELECT @@IDENTITY Share this post Link to post
bagalday Report post Posted 04/15/2006 03:36 PM I have created a Unique ID per call. Ath the begining of the script I write this ID in a database. How can I read this ID at the end of the database? Does anyone know how can I create a global constant in the script? Share this post Link to post
SupportTeam Report post Posted 04/16/2006 12:37 AM How can I read this ID at the end of the database? Do you mean how can you read back that information at the end of the call? You should use a Result VAraibale to just store your "CallID" generated value througout the call. Have a look at the two links below. Does anyone know how can I create a global constant in the script? Read these Help file sections: http://www.voiceguide.com/vghelp/html/Resu...ltVariables.htm http://www.voiceguide.com/vghelp/html/modEvalExpr.htm Share this post Link to post