cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2772
Views
0
Helpful
9
Replies

Get log detail to troubleshoot scrip uccx

quytx
Level 1
Level 1

HI every one. I am creating one scrip and have a issue, and i need collect log detail to troubleshoot from scrip. how to collect and read it ? i search get log UCCX Engina but when i get and open dont see log from scrip. Please help me 

Thanks

2 Accepted Solutions

Accepted Solutions

Hi,

Please make sure you disable all these checkboxes you have set right away since this will easily exhaust your server cpu/memory/desk resources. Select “Restore Defaults” then enable Debugging level ONLY for ENG (NO Xdebugging at all). You should get logs by collecting them using RTMT tool/plugin. Please follow the steps in below article to get logs then please check my older posts to read them:

 

https://community.cisco.com/t5/collaboration-voice-and-video/tech-tip-collecting-mivr-logs-in-uccx-ip-ivr-8-x-amp-later/ta-p/3111700

 

Thanks

Hamzeh

View solution in original post

You need "ignorecase" at the end of your command, since you typed it in lowercase, but in the logs it's Call.Received.

View solution in original post

9 Replies 9

Hamzeh Alzubi
Cisco Employee
Cisco Employee

Hi,

  To see Script steps in Engine logs (MIVR), you need to enable "ENG" level into Debugging from CCX Serviceability page --> Trace --> Configuration (no need to set any of XDebugging levels). Then place a test call and collect Engine logs. Search for your steps in logs using the Task ID (unique ID for each call). If you are not familair with reading MIVR logs, try to find your Task ID by looking for first step in your script inside log file, will be something like this:

 

Execute step of Task 34001517536 : Start

Execute step of Task 34001517536 : Set Enterprise Call Info (--Triggering Contact--)

...etc

 

Then search for the string: "Execute step of Task XXXXXXXXXXX" there Xs is the task you found.

 

Thanks,

Hamzeh

Hi Hamzeh

How to know task ID when test call ?

Can u help me how to know this

Thanks

Hi,

 

You may check the below trace analysis and find the same steps for your call:

 

http://docwiki.cisco.com/wiki/Guide_to_reading_MIVR_logs_for_Telephony_Issues_-_ICD_Call_Flow

 

Some hints:

 

- Use your Calling number to locate your "Call.received()" line. Search for the string "Cgn=XXXXX"  --> XXXX is your calling number.

- From "Call.received()" line get the "implId=" ID, this one is unique for the whole calls steps.

- Locate "Call.attributed()" line for the same "implId", which underneath you will find the Task ID. You can go from there to your script steps as explained before (check example in link above).

 

I suggest to use Notpad++ application to read logs, it makes search easier for you.

 

https://notepad-plus-plus.org/

 

Thanks,

Hamzeh

Hi Hamz

I dont see output. This is my picture when i test call. with calling number is 359108974 and called number is 862857290

Please help me

thanks1.png

1.png

Hi,

Please make sure you disable all these checkboxes you have set right away since this will easily exhaust your server cpu/memory/desk resources. Select “Restore Defaults” then enable Debugging level ONLY for ENG (NO Xdebugging at all). You should get logs by collecting them using RTMT tool/plugin. Please follow the steps in below article to get logs then please check my older posts to read them:

 

https://community.cisco.com/t5/collaboration-voice-and-video/tech-tip-collecting-mivr-logs-in-uccx-ip-ivr-8-x-amp-later/ta-p/3111700

 

Thanks

Hamzeh

You need "ignorecase" at the end of your command, since you typed it in lowercase, but in the logs it's Call.Received.

BalajiSivaraj49175
Spotlight
Spotlight

The Chat Subsystem (SS_CHAT) queues the chat contact and the Route and Queue Subsystem (SS_ROUTEANDQUEUE) allocates the chat to the agent. This is seen in the UCCX Engine logs (MIVR) with SS_CHAT and SS_ROUTEANDQUEUE enabled to debug.

3722751: Aug 06 09:32:39.144 IST %MIVR-SS_CHAT-7-UNK:[pool-8-thread-15] ChatSubsystemLogger: com.cisco.wf.subsystems.chat.observer.ContactNotificationObserver : Contact Notification received - ContactNotification [requestId=, contactId=0D66B2241000016500235A740A4E5BA6, contactState=QUEUED, handlerQueue=-1, startTime=1533528159105, endTime=-1, queueWaitDuration=0, handlingDuration=-1, terminalStateContact=ChatContact(Contact[id=0D66B2241000016500235A740A4E5BA6,state=QUEUED,dispReason=UNKNOWN]), dispositionReason=UNKNOWN, mediaType=CHAT, sequenceNumber=0, statusTimeStamp=1533528158756]. Notification Type UPDATE

3722752: Aug 06 09:32:39.144 IST %MIVR-SS_ROUTEANDQUEUE-7-UNK:[pool-8-thread-15] RouteAndQueueSubsystemLogger: ALLOCATED Contac

 

MIVR chat connection messages between the UCCX and MIVR logs

BalajiSivaraj49175
Spotlight
Spotlight

0000001149: 10.78.91.166: Aug 06 2018 09:32:46.842 +0530: %CCBU__CCPPUBLICAPPS-6-PRESENCE_EVENT_RECEIVED: %[CustomerNickname=Jayant Suneja][Nickname=Jabber@ge.nt1][SocialContactID=0D66B2241000016500235A740A4E5BA6][Status=joined][Username=socialminer_chat.16@conference.127.0.0.1/Jabber@ge.nt1]: Received presence event
0000001152: 10.78.91.166: Aug 06 2018 09:32:51.168 +0530: %CCBU__CCPPUBLICAPPS-6-TYPING_STATUS_RECEIVED: %[From=socialminer_chat.16@conference.127.0.0.1/Jabber@ge.nt1][Nickname=Jabber@ge.nt1][SocialContactID=0D66B2241000016500235A740A4E5BA6][Text=composing]: Typing Status received

 

Joins Session that chats joined started