Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

text file for log

Hi there !

I need to create an application that does not have CSQ... It will have only a menu and a call transfer...

As I cannot monitor CSQs, I'd like to log the calls with a .txt file. Is it possible?

Here is the file format that I'd like to write.

year;month;day;hour;minutes;seconds;menu_option;calling_number

I took a look in write document step, but I did not find how to write a variable with this information inside the .txt file.

Thanks.

Andrei.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: text file for log

Andrei,

There are a couple of other ways to perform this logging if you don't want to write a text file. One way would be to create dummy skill groups (???_Option1,etc.), use the select resource step, when the call is queued just dequeue the call and perform the transfer. You would then use the historical reporting tool to report on those calls.

If you decide that you want to use the text file then you can use the create document step and write document step. Use the create step to pull the current text document into a variable, append the new data to the varible, then use the write step to write it back to the server. The problem you will run into here is when multiple callers call in at the same time. You may end up trying to read and write the document at the same time and data may be lost.

2 REPLIES

Re: text file for log

Andrei,

There are a couple of other ways to perform this logging if you don't want to write a text file. One way would be to create dummy skill groups (???_Option1,etc.), use the select resource step, when the call is queued just dequeue the call and perform the transfer. You would then use the historical reporting tool to report on those calls.

If you decide that you want to use the text file then you can use the create document step and write document step. Use the create step to pull the current text document into a variable, append the new data to the varible, then use the write step to write it back to the server. The problem you will run into here is when multiple callers call in at the same time. You may end up trying to read and write the document at the same time and data may be lost.

New Member

Re: text file for log

Here is one thing that I wanted to do and now you answered me....

The Dequeue step before the call transfer !

I think this can solve my problem, and then I'll be able to use Historical Reports.

Thanks a lot.

Andrei.

117
Views
0
Helpful
2
Replies
CreatePlease login to create content