invoso.com Report post Posted 01/26/2018 10:01 AM How to ad to json log file connection ID to track connection from log to log file? or How to track connection across multiple scripts log files? Share this post Link to post
SupportTeam Report post Posted 01/26/2018 11:51 AM The .json log file referred to would be the script's log file, yes? So you would like to add some ID that would allow you to link up the entries in various script .json log files (and the .csv/.vgl/.xml formats as well) as belonging to same call, yes? The simplest way to achieve this would be to use an Evaluate Expression module in each script to evaluate an $RV that holds some ID for the call (generated by you in the script that answers the call). then each log file will contain the entry. eg. if you assign some ID to $RV[id_sess] then evaluate $RV[id_sess] in all other scripts, and select select the 'save to log' option in the Evaluate Expression module. Share this post Link to post
SupportTeam Report post Posted 01/26/2018 12:02 PM Also, all the $RVs created during the call can be saved in the CDR log entry, regardless of how many scripts were used during the call. So the CDR entry can be made to contain the collation of data that is saved in the individual script log files. Please see: http://www.voiceguide.com/vghelp/source/html/log_cdrs.htm Share this post Link to post