cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5892
Views
9
Helpful
24
Replies

Courtesy Call Back- CCB

Ahmed Adeyemi
Level 4
Level 4

Having issue setting up a new CCB. I've deployed the CCB scripts located in OpsConsole but keep getting a a "480 - Temporarily Not Available" which in return i get the CVP Error Message. Attached below are the CVP Logs and Error Log. The call is not getting to the VXML Application so there is no log in that aspect.

Call Flow: 

Cell Phone-->SIP Trunk-->Ingress GW-->CVP Call Server--> ICM-->CVP Call Server-->VVB or VXML GW-->CVP VXML Server-->ICM.

On the Script Editor, I see the call fail at the initial "Run External Script" CallBackEntry

0C1F41D6700B11E792ED9A81BF21FA90 LEGID = CB92451-700B11E7-92F39A81-BF21FA90 - [INBOUND]: Refer failed with 480 - Temporarily Not Available. May be a problem with Routing Configuration or Gateway Dial-Peer. [id:5004]


805: 172.19.110.52: Jul 24 2017 19:11:03.312 -0600: %CVP_11_5_SIP-3-SIP_CALL_ERROR: CALLGUID = 0C1F41D6700B11E792ED9A81BF21FA90 LEGID = CB92451-700B11E7-92F39A81-BF21FA90 - [INBOUND] - ABNORMALLY ENDING - SIP code [38], Reason Hdr [Q.850;cause=38] Q850 Reason [38 - Network out of order, typically a TCL script abnormal disconnect.], GW call using SURV TCL flag [false], NON NORMAL flag [true], DNIS [7207442898], ANI [7207442898] with AGE (msecs) 6860 and Call History : 7777777777712|-1; [id:5004]

In the Gateway, i have The VXML Parameters for CCB as  configured as 

voice service voip
no ip address trusted authenticate
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
redirect ip2ip
signaling forward unconditional
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
bind control source-interface loop0
bind media source-interface loop0
header-passing
registrar server expires max 3600 min 600
midcall-signaling passthru
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g729r8

voice class sip-profiles 103
request INVITE sip-header Call-Info add "X-Cisco-CCBProbe:id:172.19.127.2;loc:onlwcce;trunks:10"--> This is the IP Address for gi0/0

application
service new-call flash:bootstrap.vxml
!
service survivability flash:survivability.tcl
paramspace english index 0
paramspace english location flash:
paramspace english english en
paramspace english prefix en
!
service cvp-survivability flash:survivability.tcl
paramspace english index 0
paramspace english location flash:
paramspace english prefix en
paramspace english english en
!

dial-peer voice 50 voip
description *** 11 Digit Calls ***
destination-pattern 011T
session protocol sipv2
session target sip-server
voice-class codec 10
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
no vad
!
dial-peer voice 2 voip
description *** 10 Digit Calls ***
service cvp-survivability
session protocol sipv2
session transport tcp
incoming called-number 7207442898
voice-class codec 10
voice-class sip profiles 103
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
no vad
!
dial-peer voice 10 voip
description *** CUCM Calls Agent Extension***
destination-pattern 1303555600.
session protocol sipv2
session target ipv4:172.19.110.65
session transport tcp
voice-class codec 10
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
no vad
!
dial-peer voice 9 voip
description External Calls to CVP for CCB
destination-pattern 7207442898
session protocol sipv2
session target ipv4:172.19.110.52
session transport tcp
voice-class codec 10
voice-class sip asserted-id pai
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
no vad
!
dial-peer voice 11 voip
description *** CUCM DID Calls ***
destination-pattern +1303500600.
session protocol sipv2
session target ipv4:172.19.110.65
session transport tcp
voice-class codec 10
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
no vad

2 Accepted Solutions

Accepted Solutions

Chintan Gajjar
Level 8
Level 8

I haven't much worked on CCB, but from your CVP logs it looks like you are getting no_session_error. so do you have all the CCB application deployed and running on VXML server?

you can do status.bat to confirm.

 
5074: 172.19.110.52: Jul 24 2017 19:17:46.461 -0600: %CVP_11_5_IVR-7-CALL:  {Thrd=Event-router-group-0} CALLGUID=FAEE57A8700B11E792FA9A81BF21FA90 CALLID=FAEE57A8700B11E792FA9A81BF21FA90-150094545683613@172.19.110.52 [IVR]  [Publishing to ICM_SS] [RUN_SCRIPT_RESULT] DialogID=0 SendSeqNo=0 InvokeID=1 Result=0 CED=no_session_error newTransaction=0 ECC variables=user.microapp.error_code: 44,user.microapp.caller_input: no_session_error,  ECC arrays= Peripheral Variables=  
5075: 172.19.110.52: Jul 24 2017 19:17:46.461 -0600: %CVP_11_5_IVR-7-CALL:  {Thrd=Event-router-group-0} CallServerReportingProvider:sendRunScriptResult: CALLGUID=FAEE57A8700B11E792FA9A81BF21FA90 DNIS=7777777777713 Publishing RunScriptResult message: >>HEADERS: (JMSType)=MsgBus:SCRIPT_RESULT (AppName)=IVR >>BODY: callguid=FAEE57A8700B11E792FA9A81BF21FA90 floatingvars=>>HEADERS: (JMSType)=MsgBus:FLOATINGVARS >>BODY: user.microapp.caller_input=no_session_error user.microapp.error_code=44  >>STATE: isTabular=false isWriteable=true cursor=-1 dnis=7777777777713 resultcode=true timezone=America/Denver version=CVP_11_5 calldate=Mon Jul 24 19:17:46 MDT 2017 localOffset=-360 calllegid=FAEE57A8700B11E792FA9A81BF21FA90-150094545683613@172.19.110.52 requestid=1  >>STATE: isTabular=false isWriteable=true cursor=-1 

also from logs i see you are not setting up user.microapp.ToExtVXML params in ICM script, which actually tells CVP which VXML application to invoke.

Along with CCB vxml application, you also sample CCB ICM script available in CVP repository, which you may want to look at.

View solution in original post

also if possible please collect ccsip debugs from the gateway where ccb is getting invoked and called out.

View solution in original post

24 Replies 24

Chintan Gajjar
Level 8
Level 8

I haven't much worked on CCB, but from your CVP logs it looks like you are getting no_session_error. so do you have all the CCB application deployed and running on VXML server?

you can do status.bat to confirm.

 
5074: 172.19.110.52: Jul 24 2017 19:17:46.461 -0600: %CVP_11_5_IVR-7-CALL:  {Thrd=Event-router-group-0} CALLGUID=FAEE57A8700B11E792FA9A81BF21FA90 CALLID=FAEE57A8700B11E792FA9A81BF21FA90-150094545683613@172.19.110.52 [IVR]  [Publishing to ICM_SS] [RUN_SCRIPT_RESULT] DialogID=0 SendSeqNo=0 InvokeID=1 Result=0 CED=no_session_error newTransaction=0 ECC variables=user.microapp.error_code: 44,user.microapp.caller_input: no_session_error,  ECC arrays= Peripheral Variables=  
5075: 172.19.110.52: Jul 24 2017 19:17:46.461 -0600: %CVP_11_5_IVR-7-CALL:  {Thrd=Event-router-group-0} CallServerReportingProvider:sendRunScriptResult: CALLGUID=FAEE57A8700B11E792FA9A81BF21FA90 DNIS=7777777777713 Publishing RunScriptResult message: >>HEADERS: (JMSType)=MsgBus:SCRIPT_RESULT (AppName)=IVR >>BODY: callguid=FAEE57A8700B11E792FA9A81BF21FA90 floatingvars=>>HEADERS: (JMSType)=MsgBus:FLOATINGVARS >>BODY: user.microapp.caller_input=no_session_error user.microapp.error_code=44  >>STATE: isTabular=false isWriteable=true cursor=-1 dnis=7777777777713 resultcode=true timezone=America/Denver version=CVP_11_5 calldate=Mon Jul 24 19:17:46 MDT 2017 localOffset=-360 calllegid=FAEE57A8700B11E792FA9A81BF21FA90-150094545683613@172.19.110.52 requestid=1  >>STATE: isTabular=false isWriteable=true cursor=-1 

also from logs i see you are not setting up user.microapp.ToExtVXML params in ICM script, which actually tells CVP which VXML application to invoke.

Along with CCB vxml application, you also sample CCB ICM script available in CVP repository, which you may want to look at.

Thanks for the response Chintan. I am actually using the same script from the CVP repository and on the ICM script, i just modified the media server and all the associated skill groups.

can you attach logs from CVP after the modification you made, also do you all the VXML applications related to callback are deployed and running on VXML server at

172.19.110.52

also i dont see ToExtVXML params are passed, try to hard-code ewt instead and see if it works.

Below is the ICM Call flow from the screenshot and the CVP Log. 

In looking at the CVP log, it looks like after the call gets back from VVB, its terminating and using the correlation ID to generate a new call. 

On line 129 of the CVP log below, you see that its using the correlation ID to generate a new call DNIS=777777779 ANI=7207442898

From the log, the calling number is 7709406657; the called number is 7207442898. my VRU label is 7777777 (7 digits which on my CVP Opscon, i also have the DNIS as 7 digit length)

Check the Activity Logs of the CCB VXML apps - CallbackEntry, CallbackWait etc.

Also, use the servlet on the CVP reporting server to verify the CCB queue behavior.

http://<RptServer>:8000/cvp/CallbackServlet?method=Diag

Regards,
Geoff

Hello Geoff,

    The call is not getting to the activity log. Also, in this setup, i don't have a CVP reporting server

Sorry mate - you must have a CVP Reporting Server for Courtesy Callback. That's where it all happens. That is the engine.

If you are just playing with those in order to understand how ICM, CVP and Studio Apps work together, you have chosen a difficult path.

Regards,
Geoff

Thanks Geoff. i will install one now.

Apart from what Geoff said that the reporting server is must requirement, do you even see calls passing Send To VRU node in ICM script?

I dont see that behavior from the logs, whats there at

172.19.110.61? VVB? can you post config of VVB?

yes, .61 is VVB. 

On the VVB, i have 3 items: CVP Ring tone- 919191*, Error tone--929292*, and 777777* Attached below are the screenshots.

On the ICM Script, the call leg is currently failing on the initial Send to VRU. I previously had my Label and ICM Tab (OpsCon) as 11 digit. At that point when i had it as 11 digit, the call was failing at the first run ext script ("Run CallbackEntry). 

CCB-icm.png--> Current State

cab.png--> Previous state with 11digit VRU Label and 11 digit ICM tab on OpsCon.

ok so you have to troubleshoot that first instead on jumping to CCB.

1. on VVB first try changing 777777* to 7777777! pattern.

2. fix the MAX DNIS length, you MAX DNIS should be atleast greater the max size of DN your ICM is handling and so should be the size of VRU label.

so lets lay the longest dialed number configured on ICM is 9 digit lengthy, then the value of MAX DNIS on CVP should be set to 9 or greater and the size of the VRU label should also be 9 digit.

you were using 11 digit before, try to fall back to that config first and see how it goes.

also configuration on ops console alone is not going to work, you also have apply those configs to CVP by doing SAVE and DEPLOY each time you change the config.

I made the recommended changes above:

CVP Ops- 11 Digit + Save and Deploy

ICM VRU Label- 11 Digit

VVB- 7777777!

Below is the screenshot of the ICM Script and the CVP Log.

ok so now Send To VRU issue is gone but you are once again back to no_session_error.

So multiple reason could be there, but the one main reason i am seeing is no ToExtVXML params reaching to CVP and that must be because one or more invalid conditions you might be having in set variable node in ICM script.

1. Hardcode the EWT value in set variable node as in attached to something like "20" or "30". if you used script available from CVP repository and did not update that node then node will use default config which will not necessarily match your system configs like Skill group name and will cause it fail having nothing passed to CVP.

2. Make sure you read the CVP guide on how to implement the courtesy call back. please go through guide step by step and perform configuration including reporting server setup:

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cust_contact/contact_center/pcce/pcce_11_5_1/maintenance/Guide/PCCE_BK_P5FE2CBD_00_pcce-features-guide-11-5/PCCE_BK_P5FE2CBD_00_pcce-features-guide-11-5_chapter_0100.pdf

3. Make sure you see calls hitting CCB applications.

Getting Started

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: