cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
287
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Eric Tanney on 19-05-2009 07:56:51 PM
Here's the situation. A call is delivered to a CVP application from an ICM script. While in CVP the call begins at a subdialog_start then goes to a three option menu. The caller doesn't press anything and the menu repeats 3 times, as configured in the Max NoInput Count.
 
Now the call has reached the Max NoInput Count and takes the exit state of NoInput. I'm routing the call through a page entry to a disconnect page (which multiple elements use with no problem). The disconnect page plays an announcement through a Voice Element, then does a Disconnect_Subdialog_Return. The subdialog return does not pass any VXML variables back into CVP, however; it does pass Caller Input = disconnect.

The call now returns to ICM. The first ICM node it hits in if Call.user.microapp.caller_input=="disconnect" then release the call.
 
Now that you have an overview of how the actual routing takes place, there is a problem. On one element, when the call goes down the NoInput path, it fails somehow and returns to the beginning of the CVP application. Using this same exit state/path in other elements works without a problem.
 
Below is a copy of the CVP log for one call. The session ID changes when the call starts back at the CVP application. The only way we were able to find this issue was by using CVP Reporting and tracing the CallGUID.
 
Any help you can provide on this would be very helpful. TAC case has been opened, but most times this forum is quicker to help resolve.

10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,,start,newcall,
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,,start,ani,NA
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,,start,areacode,NA
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,,start,exchange,NA
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,,start,dnis,NA
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,,start,uui,NA
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,,start,iidigits,NA
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,,start,parameter,ICMInfoKeys=7148-149156-0
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,,start,parameter,ani=4258822040
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,,start,parameter,callid=91ABFBA8433911DE926E001AA2BDCA1E
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,,start,parameter,region=USA
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,,start,parameter,subtype=800US
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,,start,parameter,statusFlag=AH
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,,start,parameter,dnis=
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,COMINGFROM_DSiWIFI,enter,
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,COMINGFROM_DSiWIFI,element,warning,A substitution representing Session data named "WIFI_COMINGFROM_DSiWIFI" referred to non-existent information. An empty string was substituted instead.
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,COMINGFROM_DSiWIFI,exit,done
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,COMINGFROM_WIFI,enter,
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,COMINGFROM_WIFI,element,warning,A substitution representing Session data named "WIFI_COMINGFROM_WIFI" referred to non-existent information. An empty string was substituted instead.
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,COMINGFROM_WIFI,exit,done
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,IS_COMINGFROM_WIFI,enter,
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,IS_COMINGFROM_WIFI,exit,NO
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,IS_COMING_FROM_DSiWIFI,enter,
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,IS_COMING_FROM_DSiWIFI,exit,no
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.422,800USMain_Subdialog_Start,enter,
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.453,800USMain_Subdialog_Start,exit,done
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.453,Set_Main_800_Spanish_Audio,enter,
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.453,Set_Main_800_Spanish_Audio,exit,done
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.453,800USMain_Check_Status,enter,
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.453,800USMain_Check_Status,exit,afterHour
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.453,NOA_AH,enter,
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.453,NOA_AH,exit,done
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.453,1_800_AH_MENU,enter,
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:22:22.453,1_800_AH_MENU,interaction,audio_group,initial_audio_group
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:23:22.354,1_800_AH_MENU,interaction,noinput,1
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:23:22.354,1_800_AH_MENU,interaction,audio_group,noinput_audio_group
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:24:22.246,1_800_AH_MENU,interaction,noinput,2
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:24:22.246,1_800_AH_MENU,interaction,audio_group,noinput_audio_group
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:25:22.142,1_800_AH_MENU,interaction,noinput,3
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:25:22.142,1_800_AH_MENU,interaction,audio_group,noinput_audio_group
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:25:22.166,1_800_AH_MENU,exit,max_noinput
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:25:22.166,Clean_Disconnect,enter,
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:25:22.166,Clean_Disconnect,interaction,audio_group,initial_audio_group
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:25:22.166,Clean_Disconnect,exit,done
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:25:22.166,Disconnect_Subdialog_Return,enter,
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:25:24.557,Disconnect_Subdialog_Return,exit,
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:25:24.557,,end,how,app_session_complete
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:25:24.557,,end,result,normal
10.1.91.31.1242688942422.188521.800USMain,05/18/2009 16:25:24.557,,end,duration,182

Subject: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - General D
Replied by: Janine Graves on 19-05-2009 08:34:34 PM
Is there any way that you can actually send your app or some screen
shots? It's really hard to debug it this way.
One question is, are you using a CVP_Subdialog_Return (correct) or a
Subdialog_Return (incorrect)?
Also, you should be using CVP_Subdialog_Start (not Subdialog_Start).

Janine
[email protected]



Cisco Developer Community Forums wrote:
> Eric Tanney has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> Here's the situation. A call is delivered to a CVP application from an
> ICM script. While in CVP the call begins at a subdialog_start then
> goes to a three option menu. The caller doesn't press anything and the
> menu repeats 3 times, as configured in the Max NoInput Count.
> Â
> Now the call has reached the Max NoInput Count and takes the exit
> state of NoInput. I'm routing the call through a page entry to a
> disconnect page (which multiple elements use with no problem). The
> disconnect page plays an announcement through a Voice Element, then
> does a Disconnect_Subdialog_Return. The subdialog return does not pass
> any VXML variables back into CVP, however; it does pass Caller Input =
> disconnect.
>
> The call now returns to ICM. The first ICM node it hits in if
> Call.user.microapp.caller_input=="disconnect" then release the call.
> Â
> Now that you have an overview of how the actual routing takes place,
> there is a problem. On one element, when the call goes down the
> NoInput path, it fails somehow and returns to the beginning of the CVP
> application. Using this same exit state/path in other elements works
> without a problem.
> Â
> Below is a copy of the CVP log for one call. The session ID changes
> when the call starts back at the CVP application. The only way we were
> able to find this issue was by using CVP Reporting and tracing the
> CallGUID.
> Â
> Any help you can provide on this would be very helpful. TAC case has
> been opened, but most times this forum is quicker to help resolve.
>
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,,start,newcall,
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,,start,ani,NA
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,,start,areacode,NA
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,,start,exchange,NA
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,,start,dnis,NA
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,,start,uui,NA
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,,start,iidigits,NA
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,,start,parameter,ICMInfoKeys=7148-149156-0
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,,start,parameter,ani=4258822040
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,,start,parameter,callid=91ABFBA8433911DE926E001AA2BDCA1E
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,,start,parameter,region=USA
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,,start,parameter,subtype=800US
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,,start,parameter,statusFlag=AH
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,,start,parameter,dnis=
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,COMINGFROM_DSiWIFI,enter,
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,COMINGFROM_DSiWIFI,element,warning,A substitution
> representing Session data named "WIFI_COMINGFROM_DSiWIFI" referred to
> non-existent information. An empty string was substituted instead.
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,COMINGFROM_DSiWIFI,exit,done
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,COMINGFROM_WIFI,enter,
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,COMINGFROM_WIFI,element,warning,A substitution
> representing Session data named "WIFI_COMINGFROM_WIFI" referred to
> non-existent information. An empty string was substituted instead.
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,COMINGFROM_WIFI,exit,done
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,IS_COMINGFROM_WIFI,enter,
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,IS_COMINGFROM_WIFI,exit,NO
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,IS_COMING_FROM_DSiWIFI,enter,
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,IS_COMING_FROM_DSiWIFI,exit,no
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.422,800USMain_Subdialog_Start,enter,
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.453,800USMain_Subdialog_Start,exit,done
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.453,Set_Main_800_Spanish_Audio,enter,
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.453,Set_Main_800_Spanish_Audio,exit,done
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.453,800USMain_Check_Status,enter,
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.453,800USMain_Check_Status,exit,afterHour
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.453,NOA_AH,enter,
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.453,NOA_AH,exit,done
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.453,1_800_AH_MENU,enter,
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:22:22.453,1_800_AH_MENU,interaction,audio_group,initial_audio_group
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:23:22.354,1_800_AH_MENU,interaction,noinput,1
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:23:22.354,1_800_AH_MENU,interaction,audio_group,noinput_audio_group
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:24:22.246,1_800_AH_MENU,interaction,noinput,2
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:24:22.246,1_800_AH_MENU,interaction,audio_group,noinput_audio_group
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:25:22.142,1_800_AH_MENU,interaction,noinput,3
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:25:22.142,1_800_AH_MENU,interaction,audio_group,noinput_audio_group
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:25:22.166,1_800_AH_MENU,exit,max_noinput
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:25:22.166,Clean_Disconnect,enter,
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:25:22.166,Clean_Disconnect,interaction,audio_group,initial_audio_group
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:25:22.166,Clean_Disconnect,exit,done
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:25:22.166,Disconnect_Subdialog_Return,enter,
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:25:24.557,Disconnect_Subdialog_Return,exit,
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:25:24.557,,end,how,app_session_complete
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:25:24.557,,end,result,normal
> 10.1.91.31.1242688942422.188521.800USMain,05/18/2009
> 16:25:24.557,,end,duration,182
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/1382407>
>
> or simply reply to this email.

Subject: RE: max_noinput failure
Replied by: Kamesh Chidambaram on 19-05-2009 08:45:07 PM
From your mail, it does look like you are statically setting caller-input as "disconnect".   If you are using a variable instead do make sure that is has a non-null value populated for caller-input. 
 
There are two instances where the substitution fails in your log.   Do check why the substitution failed and if there is any other references to this variable.  From what I have seen, the call restarts for various other failures.  It doesn't have to be with the Subdialog Return alone.
 
regards,
Kamesh
 

Subject: RE: max_noinput failure
Replied by: Eric Tanney on 19-05-2009 08:58:35 PM
Thanks for your replies! Janine, attached is a screen shot I sent to Cisco. The application is relitively huge, so screen shot the key elements. I am using a CVP_Subdialog_End.
Kamesh, the two subsitutions failing in the logs are actually expected results. We have a seperate application which, if transferred into this application, will jet to a particular page entry. If the call was in facta transfer, these subsitutions work. In this instance, the variable is null.

Subject: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - General D
Replied by: Janine Graves on 19-05-2009 10:46:55 PM
Eric,
Does this only happen from one specific menu element in your
application? And does it occur every time?
If so, I would actually try deleting that menu element and dragging in a
new one, and reconfiguring it, and see if the same thing happens. I have
occasionally had an element that is corrupt at runtime, but for me, I've
always gotten a weird error (like 'that element returned a null exit
state').

In case this is a timing issue, I would change your CleanDisconnect
audio element into a Digits element (one usually used to collect input
from the caller) - it can speak the same audio prompt as your
CleanDisconnect, but set the MaxNoMatch and MaxNoInput settings to 1,
set the NoInput timeout to 100ms, and sets the Min and Max number of
digits to collect to 1.

The reason for this, is because the ONLY way to ensure the VG completely
speaks the prompt before returning back to ICM or to Vxml Server is to
tell the VG to play audio AND wait for caller input.  The caller won't
know that the system is waiting for input. So the gateway will play the
CleanDisconnect message, and wait 100ms, then throw the NoInput event,
causing the gateway to go back to VxmlServer and continue down the
NoInput path. In your Studio application, point all the exit states from
this Digits element to your DisconnectSubdialogReturn element.

This is often a useful trick in other scenarios when you want to force
the VG to speak something completely before continuing on. With the
Audio element, the VG hands the audio play request to some other process
on the VG and then immediately does an HTTP Submit back to Vxml Server
claiming that it completed the audio successfully. If the audio file is
missing, an error.badfetch is often reported in the Studio activity log 
as if it occurred in some other element because of this racing ahead.

Hope this helps!

Janine

Cisco Developer Community Forums wrote:
> Eric Tanney has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> Thanks for your replies! Janine, attached is a screen shot I sent to
> IBM. The application is relitively huge, so screen shot the key
> elements. I am using a CVP_Subdialog_End.
> Kamesh, the two subsitutions failing in the logs are actually expected
> results. We have a seperate application which, if transferred into
> this application, will jet to a particular page entry. If the call was
> in facta transfer, these subsitutions work. In this instance, the
> variable is null.
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/1382631>
>
> or simply reply to this email.

Subject: RE: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - Gener
Replied by: Eric Tanney on 20-05-2009 05:51:41 PM
Hi Janine,

That makes perfect sense to change that node. I come from an Aspect background and there were a lot of instances where you had to "trick the system". However, I did change that node and it still didn't work.
 
However, I did find the problem. Turns out the VXML app was failing in ICM. Looking into it more, I determined there was a typo in the disconnect subdialog return element. That was causing the announcement to play, the call to go back to ICM, then try and select our other CVP server. This is by design to manage CVP outages. So it was looping back and reselecting the script.
 
The weird thing is that my initial ICM script was not showing that particular call taking any branch out of my Run Ext. Script node. I rebuilt the script and it worked perfectly.
 
Thanks again, though! That is a useful trick you taught me!
 
Cheers,
Eric

Subject: RE: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - Gener
Replied by: Eric Tanney on 20-05-2009 07:39:33 PM
Ok Janine...this thing is driving me insane! Once I put my changes into production, they had failed again. I backed out each change I made individually and retested.

What I had done was changed the .WAV file to just play "ONE". I did it for efficiency so I didn't have to hear a minute long announcement loop 3 times (it was driving me insane). So in backing out my changes, I had changed the announcement back to the production announcement. Now my test app fails, too.

Now thinking that element is a problem (I already deleted and reconfigured) I changed the max_noinput, which was set at 3, to 1. Bingo, application works. Ok, so now I incremented it to 2... works again. Now I put it back to the original of three and sigh, it doesn't work.
 
Is there some kind of issue where the voice gateway just gets sick of repeating the announcement and decides to fail? This is all in placce with the menu option you had reccomended.

Subject: Re: New Message from Eric Tanney in Customer Voice Portal (CVP) - General D
Replied by: Janine Graves on 20-05-2009 08:18:55 PM
I don't know of any error like that.

But, if you are only getting that error on the 3rd noinput, and only
with a long audio (how many seconds is the audio) - maybe it's a memory
issue on the gateway.  Can you turn on error debugging on the gateway
and see what you get? Also, are you getting any errors in your
VxmlServer applications/appname/logs/ErrorLog folder?

You can also turn on debug logging and see all the http
request/responses between the gateway and the Vxml Server. In there
you'd see what the gateway is sending to vxml server that's causing it
to crash. Do you know how to enable debug logging? It's in the Vxml
Server and Studio Users Guide.pdf  under Application Debug Logger.

Janine



Cisco Developer Community Forums wrote:
> Eric Tanney has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> Ok Janine...this thing is driving me insane! Once I put my changes
> into production, they had failed again. I backed out each change I
> made individually and retested.
>
> What I had done was changed the .WAV file to just play "ONE". I did it
> for efficiency so I didn't have to hear a minute long announcement
> loop 3 times (it was driving me insane). So in backing out my changes,
> I had changed the announcement back to the production announcement.
> Now my test app fails, too.
>
> Now thinking that element is a problem (I already deleted and
> reconfigured) I changed the max_noinput, which was set at 3, to 1.
> Bingo, application works. Ok, so now I incremented it to 2... works
> again. Now I put it back to the original of three and sigh, it doesn't
> work.
> Â
> Is there some kind of issue where the voice gateway just gets sick of
> repeating the announcement and decides to fail? This is all in placce
> with the menu option you had reccomended.
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/1384913>
>
> or simply reply to this email.
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:

Quick Links