Message |
[+]
Avaya Orchestration Designer
» CCXML redirect - how to pass ANI?, 04/02/2014 14:08:40
» Go to message
|
|
Yes, 6908 is the extension I'm routing to. I can provide whatever logs you'd like... other than the CXI logs, what other logs can I provide?
|
|
[+]
Avaya Orchestration Designer
» CCXML redirect - how to pass ANI?, 04/02/2014 13:15:44
» Go to message
|
|
Sure, I kept it *really* simple since I was only testing. Here's the full CCXML that I used:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ccxml PUBLIC "-//W3C//DTD CCXML 1.0//EN" "http://www.w3.org/TR/ccxml/ccxml.dtd">
<ccxml version="1.0" xmlns="http://www.w3.org/2002/09/ccxml">
<meta http-equiv="Cache-Control" content="no-cache"/>
<script>
function objectToString( obj ) {
var result = " [\n";
result += extractprops( "", obj);
result += " ]";
return result;
}
function extractprops ( parent, obj ) {
var prop, name, result = "";
var count = 1;
if ( typeof ( obj ) == "object" ) {
for ( prop in obj ) {
name = parent + prop;
if ( typeof ( obj [ prop ] ) == "object" ) {
result += extractprops( name+".", obj [ prop ] );
} else {
result += " " + name + ":" + obj [ prop ] + "\n";
}
count = count + 1;
}
} else {
if (obj == undefined ) {
result += "___undefined";
} else {
result += obj;
}
}
return result;
}
function transitionDetails( ) {
return '\n-- ' + event$.name +' --> [' + state +']\n url [' + session.uri + ']\n eventdata... \n' + objectToString(event$);
}
</script>
<!-- Initialize the state for this page -->
<var name="state" expr="''" />
<eventprocessor statevariable="state">
<transition event="ccxml.loaded" >
<log expr="transitionDetails() + '\n sessiondetails ' + objectToString(session)" />
<var name="status" expr="''" />
<send name="'avaya.launchresponse'" targettype="'avaya_platform'" target="session.id" namelist="status" />
<createcall dest="'tel:918583802496'" />
</transition>
<transition event="connection.connected" >
<log expr="transitionDetails()" />
<redirect dest="'6908'" connectionid="event$.connectionid" />
</transition>
<!--
Catch-all account for anything that's not defined.
-->
<transition event="" >
<log expr="transitionDetails()" />
</transition>
</eventprocessor>
</ccxml>
|
|
[+]
Avaya Orchestration Designer
» EP Outbound application CCXML/VXML definition, 04/02/2014 12:57:39
» Go to message
|
|
In the Experience Portal, there is the option to specify both a CCXML and a VXML application for either inbound or outbound calls. For inbound calls, I can obtain the VXML url during the "connection.alerting" transition event by inspecting the event$.info.appuri variable. How would I obtain the URL during an outbound call? I don't see the URL anywhere in the logs for any event.
Thank you,
Michael
|
|
[+]
Avaya Orchestration Designer
» CCXML redirect - how to pass ANI?, 04/02/2014 12:38:48
» Go to message
|
|
I have an outbound CCXML application that eventually transfers the caller to another extension, which has a VXML application assigned to it. The receiving VXML application uses the recipients phone number. When I issue a redirect from within my CCXML, the call transfers correctly to the VXML application, however the phone number is changed to the VDN that transferred the call.
How do I pass the real phone number in the transfer?
Michael
Forgot to mention, we don't use SIP. This is all done via H.323.
|
|
[+]
Avaya Orchestration Designer
» Return node output expression does not work correctly, 30/01/2014 10:53:47
» Go to message
|
|
Ross,
I created a simple test application and just emailed it to you. In the simulator, I get an error.semantic thrown. When executed from the EP, I get no error. The application simply says "The application is having a problem..." and then it hangs up. In looking at the generated VXML, the single quotes are converted to '. Single quotes a quite valid in an ECMA script. Double quotes, however, are not. Could the framework be inadvertently converting the single quotes to their HTML-safe equivalent?
Thanks for your help with this.
Michael
|
|
[+]
Avaya Orchestration Designer
» Return node output expression does not work correctly, 29/01/2014 17:56:54
» Go to message
|
|
There is no "actual" error. :(
I get the canned system error and then the call hangs up. When I check the ccxml logs, the dialog.exit event does not contain either of the output variables. When I check the VXML logs, no errors show, however the last VXML that is sent is an empty <vxml> </vxml> block.
|
|
[+]
Avaya Orchestration Designer
» Return node output expression does not work correctly, 29/01/2014 16:51:46
» Go to message
|
|
I have a Return node in my application with 2 output parameters. The 1st is named "VxmlResult" and is assigned a variable value. The 2nd is named "VxmlResult_Module" and is an expression, which is valid in CCXML, but does not work in VXML. I have tried the following expressions to no avail.
try { VxmlResult == '' ? '' : 'dnc.handler' } catch (errMsg) { '' }
if (VxmlResult == '') { '' } else { 'dnc.handler' }
What is wrong with the expression? If I change the expression to just "VxmlResult", I get the same value as assigned to the output variable "VxmlResult". I'm assuming this is suppose to be an ECMAScript expression, but I could be wrong.
Orchestration Designer version 6.0.13.01
Michael
|
|
[+]
Avaya Orchestration Designer
» How to access ccxml dialogstart name list parameters from vxml code?, 23/01/2014 16:24:51
» Go to message
|
|
Thanks Ross! That was it... and this solution is now in this forum for future reference. :)
|
|
[+]
Avaya Orchestration Designer
» How to access ccxml dialogstart name list parameters from vxml code?, 23/01/2014 16:03:46
» Go to message
|
|
In CCXML, I'm passing some parameters to my VXML application using the namelist attribute of the dialogstart element. How can I access these variables in an ecmascript from my VXML application?
Sending from CCXML:
<transition event="connection.connected" >
<var name="specialvariable" expr="'I am special'" />
<dialogstart namelist="specialvariable" connectionid="..." src="<...>" type="'application/voicexml+xml'" />
</transition>
Receiving in VXML:
if (session.values.specialvariable) { do something }
Obviously, the VXML ecmascript is invalid, and only serves as an example. What's the full variable name in VXML?
Thanks,
Michael
|
|
[+]
Avaya Orchestration Designer
» PDC how-to: Add code snippet to CCXML snippets, 02/12/2013 13:55:57
» Go to message
|
|
|
|
[+]
Avaya Orchestration Designer
» PDC how-to: Add code snippet to CCXML snippets, 02/12/2013 11:54:14
» Go to message
|
|
What is the process for adding a code snippet to the list of CCXML code snippets? Several of our PDC's include CCXML proxies, and we would like to also provide the snippet the developer can select to add the code block. I haven't been able to figure out how this is accomplished.
Thanks,
Michael
|
|
[+]
Avaya Orchestration Designer
» Avaya Experience Portal Event Handler, 26/11/2013 11:03:33
» Go to message
|
|
You need to create a new error handler (CCXML or VXML, depending on your app). You can download the current error handlers by logging into your Experience Portal, selecting MPP Servers, then Event Handlers button. From there, you'll see the tabs for VXML and CCXML. Download the current error handler, make your modifications, than upload the new version (it's best to give it a unique name so as not to over-write the default).
Once you've uploaded the new version, you have to set your application definition to use the new error handler. From the EP, select Application, then select your application. Scroll to the last section (Advanced Parameters). Under this section, select your new error handler in the appropriate section.
NOTE: The error handlers are CCXML code. Be sure to test extensively to be sure you're handling things appropriately. CCXML can be extremely finicky.
Good luck,
Michael
|
|
[+]
Avaya Orchestration Designer
» ddrt.properties file - retain new values, 26/11/2013 10:51:06
» Go to message
|
|
You have to change your perspective to Java (or something that will show the "data" folder). Once that's shown, open the ddrt.properties file and/or the ddlog4j.properties files, update as necessary and save.
When exporting, be sure to uncheck the option to "Reset tracing in the deployed application to the default (disabled) settings" or logging will be disabled.
HTH,
Michael
|
|
[+]
Avaya Orchestration Designer
» How to set PDC resource to specific target nature?, 22/11/2013 09:44:50
» Go to message
|
|
Thanks Neil.
Where would I do this? Since the current process is automatic, I've never tried to control what resources are copied and what aren't, so I'm at a loss as to where to start.
Michael
|
|
[+]
Avaya Orchestration Designer
» How to set PDC resource to specific target nature?, 21/11/2013 18:38:53
» Go to message
|
|
I have a PDC that is available for both Speech and Call Control natures. When the nature is Call Control, I'd like to place an additional ccxml file in the ccxml/ folder. If the nature is Speech, I don't want the resource copied into the project. I'm familiar with the "item" element in the pluggableConnector, but I can't seem to choose when the file is copied and when it isn't.
Thanks,
Michael
|
|