Message |
[+]
Avaya Orchestration Designer
» Nuance speech timeout, 19/02/2020 07:37:52
» Go to message
|
|
Hi Wilson,
Thanks for pointer, I didn't have a properties item and was assuming defaults would suffice.
There is no interdigittimeout for ASR but I set some timings against the ASR properties and now appears to be working.
Thanks again for quick reply, not sure what this forum would do without you :)
As a part time script developer, relatively new to OD again (I did one script 10 years ago!) I found the training course we took woefully inadequate and the eclipse built in OD documentation very matter of fact, lacking examples and real world scenarios.
The sample apps help a little but again they are limited in document quality.
Any pointers to decent material/Samples on OD script design and development appreciated.
Thanks
Simon
|
|
[+]
Avaya Orchestration Designer
» Nuance speech timeout, 17/02/2020 05:13:15
» Go to message
|
|
Getting a speech timeout error according to session report
SpeechFail TIMEOUT Language: en-gb
I have Nuance 11 ASR with script on EP 7.2.3
I prompt for a card number (19 digits). I can say the 19 digits but the moment I say the last digit the call disconnects.
I do not get any exception or error showing in the trace log.
The prompt has grammars;
speech grammar for 19 digits
speech grammar for saying "no card"
19 digit dtmf grammar - builtin (which works)
With the simulator this works fine although I appreciate the simulator is somewhat different.
I have the prompt timeout set to 20seconds
I am saying the number < 14seconds
Not sure how to diagnose this, no error in trace, only indication is the session report detail showing the above timeout message.
For the application in AEP manager I have left all speech fields blank except the "speech complete timeout" which is set to 0.
Project was exported with EP, Tomcat9, Nuance 10 and above, grammar caching: none, dtmf compatibility: local SRGS-SISR
Any advise?
Simon
|
|
[+]
Avaya Orchestration Designer
» Grammar: voice recognition to date, 09/01/2020 06:47:29
» Go to message
|
|
Old post but same challenge...
I need to accept Date of Birth with ASR. I will have a Nuance server at some point but not provisioned yet.
I am writing script and trying to accept a DoB entry. I have tried the built-in date grammar but it never gets it right in the simulator. Is this a simulator issue?
I saw attachment so downloaded.
I tried to copy/paste logic into static type, I also tried editing the java for built-in derived file, neither compile and I get warnings.
I was able to add as external grammar by dropping the date.xml into root of my test box website, the "Test" button in the external editor shows the content. However, when I try to say a date I get no response, as though it has no ASR grammar for the input.
Can I ask how this is supposed to be used?
as a note, I am using en-gb for script
/edit: I do get a response now with simulator (forgot to change language from en-us to en-gb in date.xml)
However, the value is not formatted as would expect if using built-in date (yyyymmdd)
What I get in log is, last 3 lines are trace output for the var;
Storing :DOBCapture___utterance to complex: DOBCapture:utterance as [sixteen September nineteen ninety six]
Storing :DOBCapture___value to complex: DOBCapture:value as [16]
Date Value | DOBCapture:value : 16
Date Utterance | DOBCapture:utterance : sixteen September nineteen ninety six
Date interpretation | DOBCapture:interpretation : 16
Looking at OD help (dark art....) it mentions a cxtag but not worked out how to incorporate that into the date.xml (if that is required)
/edit2:
Found and realised the date.xml you linked is same as the one found in OD plugins and it does not appear to handle naturally spoken (at least in English) day i.e. "First", "eighth", "fourteenth"
Not sure how OD wrapping up builtin version to yield correct Value property over an external file yet, tried cxtag basics but that returns just the cxtag itself.
RossYakulis wrote:Dates are tricky. If you use the "builtin" date type, please see here https://www.w3.org/TR/voicexml20/#dmlABuiltins. Note:
"The set of accepted spoken input for each builtin type is platform dependent and will vary by language.
The value returned by a builtin type can be read out using the <say-as> element. VoiceXML extends <say-as> in [SSML] by adding 'interpret-as' values corresponding to each builtin type. These values take the form "vxml:<type>" where type is a builtin type. The precise rendering of builtin types is platform-specific and will vary by language.
date Valid spoken inputs include phrases that specify a date, including a month day and year. DTMF inputs are: four digits for the year, followed by two digits for the month, and two digits for the day. The result is a fixed-length date string with format yyyymmdd, e.g. "20000704". If the year is not specified, yyyy is returned as "????"; if the month is not specified mm is returned as "??"; and if the day is not specified dd is returned as "??". If the value is subsequently used in <say-as> with the interpret-as value "vxml:date", it will be spoken as date phrase appropriate to the current language."
I have attached the grammar used for english in simulation. This may not match the platform exactly.
|
|
[+]
Avaya Orchestration Designer
» AAEP 7.1 and Tomcat 8.5 compatibility, 12/07/2019 07:11:31
» Go to message
|
|
We are using Tomcat 8.0 with no issue.
Export shows 8.x so would imagine would work.
|
|
[+]
Avaya Orchestration Designer
» REST output parameter query, 12/07/2019 07:00:46
» Go to message
|
|
If I recall I got a "working by design" type statement even though to me, its clearly not correctly handling valid json format.
We had to Java this which was a pain.
|
|
[+]
Avaya Aura Contact Center APIs
» CCT SDK Multimedia information (Email specifically) when task given to agent, 07/05/2019 09:58:20
» Go to message
|
|
Hi,
Thanks for response but possibly at cross purposes.... or my knowledge of API options and where they fit in the task flow is still limited?
Email open interfaces look to be at email point of entry processing (Mailbox polled), NOT when given to agent to handle.
CCMM Screen pop only allows one Intrinsic (can't combine all email info, i.e. the Body content) and attachment(s) not accessible.
Why do I want to go out to OD, not sure how that helps in anyway, this is when email given to an agent? (so I have email detail and know who handling)
Only logical place I could see was using CCT SDK, at time of agent receiving email to handle, using the event information and (assuming right now) get email detail as part of the allocation, FROM, TO, BODY etc
Thanks
Simon
|
|
[+]
Avaya Aura Contact Center APIs
» CCT SDK Multimedia information (Email specifically) when task given to agent, 26/04/2019 09:07:30
» Go to message
|
|
Hi
Can anyone advise if CCT SDK supports the Avaya multimedia tasks when given to an agent? i.e.
Agent gets email task allocated, they will deal with email in AAD, require app to get event for the email task and collect the email information; From, To, CC, Subject, EmailBody AND any attachments.
The purpose is to perform some CRM integration and add the email information to that CRM.
Looking at CCT SDK windows help file from SDK installation but difficult to drill down to email task information. The sample app is completely voice centric, no multimedia.
Environment:
AACC 7.0.3
Agents use AAD
Thanks
Simon
|
|
[+]
Avaya Orchestration Designer
» REST-Webservice: HTTP status code, 17/08/2018 10:57:44
» Go to message
|
|
@WilsonYu
Thanks, that patch does fix trace option issue. I assume it will get rolled into future updates naturally?
@RajatVerma
Use try/catch then look at ddLastExcption variable, the message field has fault in it;
ddLastException:object : org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized
Thanks
Simon
|
|
[+]
Avaya Orchestration Designer
» REST-Webservice: HTTP status code, 15/08/2018 04:34:57
» Go to message
|
|
|
|
[+]
Avaya Orchestration Designer
» Get String From Collection By Index, 14/08/2018 03:46:00
» Go to message
|
|
@WilsonYu
Can you provide any guides to working with Java in OD. It quite frequently gets referred too as option to resolve problems.
I have looked through the developer guide and there is no mention on how. I have looked at the main OD web site https://www.devconnectprogram.com/site/global/products_resources/avaya_aura_orchestration_designer/overview/index.gsp and cannot find any material.
Need to understand;
How to hook into Java with OD.
What classes are available and how I can use them, is there intellisense, reference documentation?
How to effect OD from Java, ideally, am I able to extend the palette of options?
I don't know Java directly, more a c# coder, but happy to pick up if can help get over all these deficiencies in OD development.
A direct example for this would be extending the functions to have an indexOf method for a collection search and a SetIndex to position collection.
|
|
[+]
Avaya Orchestration Designer
» REST-Webservice: HTTP status code, 14/08/2018 03:32:47
» Go to message
|
|
Hi
I mentioned purpose in previous post.
We also wanted to try/catch and capture http status code (errors), e.g. 401 and 500
Customer web service will return 401 if not authorised and other possible http status errors.
You can see effect of the trace settings in previous reply.
not sure what you mean by showing code that is generated in the data node, sorry. still new to this.
|
|
[+]
Avaya Orchestration Designer
» Get String From Collection By Index, 10/08/2018 13:09:39
» Go to message
|
|
I don't think you can, happy to be corrected though.
New to OD as well and wanted to do same thing. Appears collection access is quite primitive. You have to loop over to find match.
Does not seem to have a function like IndexOf.
When you locate a collection item the variable refers to the current item. There does not seem to be a concept of true collection/array with position syntax e.g. MyCollection[1]
|
|
[+]
Avaya Orchestration Designer
» REST output parameter query, 10/08/2018 10:04:13
» Go to message
|
|
in case anyway from Avaya reads, or other gets similar issue, this is what I found...
OD REST connector does not seem to handle flat JSON structure as depicted in opening post.
I had to add a parent object to the response (I can mock this but customer REST service does not have this...)
so, changing to;
{ "response" : {
"market": "cz",
"langCd": "cs",
"operatorVDN": "100111",
"messageCount": 2,
"orderPlaceDate": true,
"creditForNegative": true,
"messagePin": 3456,
"playTemp1": true,
"playTemp2": true }
}
and changing output params to;
response/langCd
yielded correct responses and placed JSON values into my OD variables.
This feels like a bug in the REST object, my flat JSON is perfectly valid JSON response in any other, or online JSON interpreter.
|
|
[+]
Avaya Orchestration Designer
» REST output parameter query, 09/08/2018 07:22:47
» Go to message
|
|
To add;
I can see my (ALL) response in trace
Storing [{"mrktCd":"gb","defaultLangCd":"en","operatorVDN":"100101","messageCount":1,"orderPlaceDate":true,"creditForNegative":true,"messagePin":6543,"playTemp1":true,"pupDigitNumber":0,"pinForPersonal":true,"personalMenu":"1111111","hasAlternativeLanguages":true,"playTemp2":true}] to: RESTVars:Response
Just tried the "????" button below the "Delete" button in the REST editor UI, not sure what button says as using higher DPI in windows and eclipse is not rendering button correctly, I only get top few pixels of button.
faked values to get response from Web service inside Eclipse and the returned view ONLY shows the first entry in the JSON screen, in above that's "mrktCd". The rest of the fields are not shown.
This makes be think the REST parser is not collecting the other fields? (or eclipse button to query REST is buggy)
The JSON is a valid format, checked that with JSON Editor online
Quite confused on this, is the REST object fussy on JSON format?
Any tips appreciated, wasted far too much time on this already but need to get structure right for rest of script REST calls
|
|
[+]
Avaya Orchestration Designer
» REST output parameter query, 08/08/2018 11:58:19
» Go to message
|
|
I have a REST service which returns a simple JSON format response.
I can see the response in a variable if I create an output variable using the (ALL)
However, when I try to create output variables for the response I don't get the, the log shows storing nothing [] to my destination variables.
Example JSON response is;
{
"market": "cz",
"langCd": "cs",
"operatorVDN": "100111",
"messageCount": 2,
"orderPlaceDate": true,
"creditForNegative": true,
"messagePin": 3456,
"playTemp1": true,
"playTemp2": true
}
I understand it is case sensitive so checked that.
I have tried specifying variable as (taking second item as example);
langCd
$langCd
.langCd
$.langCd
/langCd
//langCd
These are various json path syntax options from what I can see online.
The sample REST application (which no longer works) has output variables looking like //name/variable
Can anyone explain what the syntax should be, or point me to some valid documentation, so I can directly output REST response to my complex variable
Thanks
|
|