Created by: Farhang Farid on 04-02-2010 09:37:57 PM Hi All, We came across this issue in our development environment, we are finding that sometimes (randomly) the activity file entries are not sorted in chronological order. I have attached an example:
Subject: RE: CVP Activity log is not sorted by timestamp Replied by: Janine Graves on 04-02-2010 10:23:56 PM It looks like the vxml server logs things to the activity log in a specific order: 1) First it logs the entry to an element 2) Then it logs anything YOU add to the log in the GENERAL 'Add to Log' where you specify to Create BEFORE 3) Then it logs Element data that you create in that element's Data tab, where you specify to Create BEFORE, and specify Add to Log 4) Then it logs Custom content that you add to the log (General settings tab) where you specify to Add AFTER 5) Then it logs Custom Element data created in the Data tab, where you specify to Create AFTER, and specify Add to Log 6) Then it logs Data - variables created based upon caller collected data (value, value_confidence, etc) 7) Then it logs Interaction with the caller (initial audio prompt, nomatch or noinput prompts, collected information, confidence, etc) Notice that it logs (4) and (5) are logged before (6) and (7) into the log; even though they don't actually occur before 6, 7. Also notice that it logs (6) the data collected from the caller before it logs (7) which includes the initial prompt to the caller - obviously 6 must occur after the initial prompt in 7. I can't explain why they do it this way, but I think that it's always been done this way and will probably continue... Janine
Subject: RE: CVP Activity log is not sorted by timestamp Replied by: Farhang Farid on 10-02-2010 09:30:30 PM
6) Then it logs Data - variables created based upon caller collected data (value, value_confidence, etc) 7) Then it logs Interaction with the caller (initial audio prompt, nomatch or noinput prompts, collected information, confidence, etc)
Quick question on 6 and 7, looking at the log files data variables seems to be logged after caller interactions. Do these need to be reversed? Also is there a document on this? appreciate your help
Subject: Re: New Message from Farhang Farid in Customer Voice Portal (CVP) - CVP - A Replied by: Janine Graves on 10-02-2010 11:29:11 PM No I don't know of any document on this, just my observation. But, you could look at the Studio Users Guide and/or the Vxml Server Programming Guide where they talk about Loggers. That might help you understand what the Activity Logger is doing.
In reality, the order of the activity is something like this: Vxml Server creates any data that's in the Data tab, marked to be created Before. Vxml Server logs anything that's in the General tab, Add to Log, marked Before, Vxml Server executes the runtime portion of the element, which includes sending Vxml to the gateway Gateway interprets the vxml by interacting with the caller and then sends data back to Vxml Server (the data sent back to VxmlServer includes what the caller entered, the confidence value, the order of noinput/nomatch events, etc. - much of what goes into the Interaction field in the log) Vxml Server creates any variables it needs to create (value, value_confidence, etc) Vxml Server creates any data that's in the Data tab, marked to be created After Vxml Server logs anything that's in the General tab, Add to Log, marked After Vxml Server logs the Interaction that occurred on the gateway based upon what it received back from the gateway
Cisco Developer Community Forums wrote: > Farhang Farid has created a new message in the forum "CVP - All Versions": > > -------------------------------------------------------------- > > 6) Then it logs Data - variables created based upon caller collected > data (value, value_confidence, etc) > 7) Then it logs Interaction with the caller (initial audio prompt, > nomatch or noinput prompts, collected information, confidence, etc) >  > >  >  > Quick question on 6 and 7, looking at the log files data variables > seems to be logged after caller interactions. > Do these need to be reversed? >  >  > Also is there a document on this? >  > appreciate your help > -- > To respond to this post, please click the following link: > > <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/1959888> > > or simply reply to this email.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: