Message |
[+]
Engagement Designer
» Make Call Task Question, 01/08/2022 16:07:50
» Go to message
|
|
Krishnakumar(KK) wrote:Hi Marcus,
Thanks for the file. I think it is solution design issue. If I understand the workflow correctly, you are creating the instance for the incoming calls and trying to make a new call to the number retrieved from the DB.
This is what I believe is happening,
Incoming call comes to Breeze. Breeze sends CALL_INTERCEPT_TO_CALLED_PARTY event to ED. ED creates the workflow instance. In the workflow, you are reading a number from DB and making a new call to this number. If this is internal call then it might be coming to Breeze as a new call and Breeze is sending the CALL_INTERCEPT_TO_CALLED_PARTY to ED. ED creates a new workflow instance. And this becomes a loop.
What is your intent for the incoming calls? If you need to forward to the internal number then you should use forward call task. MakeCall task is only be used to create a new call.
Thank you. Prior to reading this i did change to call forward and it did work. Didnt think make call would cause a loop and make tons of calls to the same phone number.
|
|
[+]
Engagement Designer
» Make Call Task Question, 19/07/2022 13:15:36
» Go to message
|
|
Krishnakumar(KK) wrote:Hi Marcus,
What is the version of ED?
Has the exported file been modified/saved by any other editor after the export?
Could you please export it again by selecting "export as" then select "Export as XML" and attach it. Please dont open this in any editor and save it.
Thanks!
Version of ED is 3.8.
|
|
[+]
Engagement Designer
» Make Call Task Question, 15/07/2022 10:38:55
» Go to message
|
|
|
|
[+]
Engagement Designer
» Make Call Task Question, 12/07/2022 11:25:58
» Go to message
|
|
MarcusHuang wrote:
Krishnakumar(KK) wrote:Hi Marcus, could you please export the workflow and share it. Thanks!
Will this work?
|
|
[+]
Engagement Designer
» Make Call Task Question, 12/07/2022 11:25:02
» Go to message
|
|
Krishnakumar(KK) wrote:Hi Marcus, could you please export the workflow and share it. Thanks!
|
|
[+]
Engagement Designer
» Make Call Task Question, 24/05/2022 13:51:50
» Go to message
|
|
I am using a Make Call Task in a workflow and getting the number to dial from a database. It is only 1 number retrieved, but what am running into is that it calls the same number repeatedly even though the workflow instance shows it made it to the end of the flow. Any idea why this happens?
|
|
[+]
Avaya Orchestration Designer
» CCXML Help - Call disconnecting cant figure out why, 24/03/2022 13:08:12
» Go to message
|
|
WilsonYu wrote:The ccxml log on the browser/mpp side should be able to tell you why the call gets disconnected.
I think i see the issue, but i got most of this code from the example. It seems the info.callprogress = start_of_voice, but CCXML is looking for live_voice. Do i need to update ccxml to look for start_of_voice instead?
Data from ccxml log
eventid:1308628586
eventsource:avayampp05-2022076151008-22
eventsourcetype:AvayaVoicePortal
info.callID:avayampp05-SM8-11-2022076151008
info.callprogress: start_of_voice
info.callprogresstime:3250
name:connection.signal
protocol:sip
CCXML code
<if cond="event$.connectionid == out_connectionid">
<if cond="event$.info.callprogress != undefined">
<if cond="event$.info.callprogress != ' live_voice'">
<log expr="' *** Oops no one there\n'"/>
<exit/>
<else/>
<log expr="' *** Got a live one\n'"/>
</if>
<else/>
<log expr="' *** No call progress in this connection.signal\n'"/>
</if>
<else/>
<log expr="' *** Not the out connection\n'"/>
</if>
|
|
[+]
Avaya Orchestration Designer
» CCXML Help - Call disconnecting cant figure out why, 21/03/2022 12:38:14
» Go to message
|
|
Hi All,
Can someone help me understand why my call would disconnect when answered? I say hello, so it should be a live voice. This is basically copied from the example, but getting the number to dial from a database call through JSP?
<?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">
<%@ page import="java.util.*"%>
<%@ page import="java.net.*"%>
<%@ page import="java.sql.*"%>
<%@ page contentType="application/ccxml+xml"%>
<%
/* do not want jsp content cached */
response.setHeader("Cache-Control", "no-store");
response.setHeader("Pragma", "no-cache");
response.setHeader("Expires", "1");
/*
* grab the host and save the app server host port for use later
* this makes the application urls "relative" to request so when
* we deploy this application we do not have to change the urls.
*/
//URL url = new URL (request.getRequestURL().toString());
//String host = url.getHost();
//String port = Integer.toString(url.getPort());
//String locationExt = "http://" + host + ":" + port;
//String locationLocal = "http://" + host + ":" + port + "/RouteToPhoneNumber";
//Setting Up JDBC Connection for MS Sql
String callerId = "8001234567";
String toUri = "";
String url = "jdbc:sqlserver://sqldbserver01:1433;databaseName=Database";
String userName = "user";
String passWord = "pass";
String sql = "SELECT OnCallNumber FROM dev.CompanyOnCall WHERE exits=?";
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
Connection con = DriverManager.getConnection(url,userName,passWord);
if(con!=null){
System.out.println("Database Connected");
}
PreparedStatement statement = con.prepareStatement(sql);
statement.setString(1, "OnCall");
ResultSet resultSet = statement.executeQuery();
if(resultSet.next()){
toUri=resultSet.getString("OnCallNumber");
}
System.out.println("To URI = " + toUri);
resultSet.close();
statement.close();
con.close();
%>
<!-- convert an object to a string by iterating through it structure -->
<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;
}
</script>
<var name="in_connectionid"/> <!-- The connectionid of the incoming call. -->
<var name="out_connectionid"/> <!-- The connectionid of the outgoing call. -->
<var name="dialogid"/> <!-- The id of the dialog we will run. -->
<var name="to_Uri" expr="'<%=toUri%>'+'@Company.com'"/>
<var name="caller_Id" expr="'<%=callerId%>'"/>
<!-- Initialize the state for this page -->
<var name="state" expr="'init'"/>
<!-- Possible states:
init - The initialized state, accept the call.
calling - Placing an outbound call
-->
<!-- Event processor -->
<eventprocessor statevariable="state">
<!-- STATE: init -->
<!-- New call is coming in, accept it blindly -->
<transition event="connection.alerting" state="init" >
<log expr="'-- ' + event$.name +' -- [' + state +']'"/>
<log expr="' eventdata... \n' + objectToString(event$)"/>
<assign name="in_connectionid" expr="event$.connectionid"/>
<accept/>
</transition>
<!-- Create a new call dialing a hardcoded # -->
<transition event="connection.connected" state="init" >
<log expr="'-- ' + event$.name +' -- [' + state +']'"/>
<log expr="' eventdata... \n' + objectToString(event$)"/>
<assign name="state" expr="'calling'"/>
<!--
enable call classification the call classification
will arrive in a connection.signal event.
-->
<var name="hints" expr="new Object();"/>
<assign name="hints.enable_call_classification" expr= "true"/>
<assign name="hints.call_classification_timeout" expr= "20000"/>
<createcall dest="'sip:'+to_Uri"
connectionid="out_connectionid"
timeout="30000"
callerid="caller_Id"
hints="hints" />
</transition>
<transition event="connection.connected" state="calling" >
<log expr="'-- ' + event$.name +' -- [' + state +']'"/>
<log expr="' eventdata... \n' + objectToString(event$)"/>
<log expr="'connected to caller, join the call!'"/>
<assign name="state" expr="'connected'"/>
<join id1="in_connectionid" id2="out_connectionid" duplex="'full'"/>
</transition>
<transition event="connection.signal" >
<log expr="'-- ' + event$.name +' -- [' + state +']'"/>
<log expr="' eventdata... \n' + objectToString(event$)"/>
<if cond="event$.connectionid == out_connectionid">
<if cond="event$.info.callprogress != undefined">
<if cond="event$.info.callprogress != 'live_voice'">
<log expr="' *** Oops no one there\n'"/>
<exit/>
<else/>
<log expr="' *** Got a live one\n'"/>
</if>
<else/>
<log expr="' *** No call progress in this connection.signal\n'"/>
</if>
<else/>
<log expr="' *** Not the out connection\n'"/>
</if>
</transition>
<transition event="connection.failed" state="calling" >
<log expr="'-- ' + event$.name +' -- [' + state +']'"/>
<log expr="' eventdata... \n' + objectToString(event$)"/>
<log expr="'failed to connect to caller'"/>
<exit expr="'Call Failed'"/>
</transition>
<transition event="connection.disconnected" state="">
<log expr="'-- ' + event$.name +' -- [' + state +']'"/>
<log expr="' eventdata... \n' + objectToString(event$)"/>
<if cond="event$.connectionid == in_connectionid">
<exit expr="'Caller Hungup'"/>
<else/>
<exit expr="'Called Number Hungup'"/>
</if>
</transition>
<!-- STATE: ANYSTATE. Catch all, aids in debugging and to see the missed events -->
<transition event="ccxml.exit" >
<log expr="'-- ' + event$.name +' -- [' + state +']'"/>
<log expr="' eventdata... \n' + objectToString(event$)"/>
</transition>
<transition event="ccxml.kill" >
<log expr="'-- ' + event$.name +' -- [' + state +']'"/>
<log expr="' eventdata... \n' + objectToString(event$)"/>
</transition>
<transition event="" >
<log expr="'-- missed ' + event$.name +' -- [' + state +']'"/>
<log expr="' eventdata... \n' + objectToString(event$)"/>
</transition>
</eventprocessor>
</ccxml>
|
|
[+]
Avaya Breeze
» SDK Install Error, 03/02/2022 14:08:42
» Go to message
|
|
Disregard. I missed adding a path option to Java_home/bin
|
|
[+]
Avaya Breeze
» SDK Install Error, 03/02/2022 10:01:56
» Go to message
|
|
Could someone help me resolve this error? Thanks.
Description Resource Path Location Type
Project build error: Non-resolvable parent POM for com.avaya.zephyr.services.sample_services:Callingpolicies:[unknown-version]: Failure to transfer com.avaya.zephyr.services:sample_services:pom:3.8.0.2.380204 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact com.avaya.zephyr.services:sample_services:pom:3.8.0.2.380204 from/to central ( https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target and 'parent.relativePath' points at wrong local POM pom.xml /Callingpolicies-war line 1 Maven pom Loading Problem
|
|
[+]
Avaya Breeze
» Breeze AMS, 21/01/2022 08:03:32
» Go to message
|
|
Hi,
Can someone explain how Breeze currently talks to AMS in the later versions of Breeze. In 3.3 it use to be via the regular expression defined in the Avaya Breeze->Configuration->Avaya Aura Media Server Configuration. But now the banner says not needed in Breeze > 3.3
** Starting with Breeze 3.3 the configuration on this page is generally not needed. Only select snap-ins require this page to be configured. Check the documentation and/or release notes for your snap-in to confirm if this configuration is needed. **
|
|
[+]
Engagement Designer
» Standard Engagement Designer Task Missing, 21/01/2022 08:04:11
» Go to message
|
|
Hi All,
I had some Breeze Servers re-installed by the APS team and now i am missing the "Telephony Communications" standard task in Engagement Designer. How can I get it or install it so it is available to use?
|
|
[+]
Avaya Breeze
» Database Connection to MS SQL Error, 05/10/2021 15:57:59
» Go to message
|
|
Went through the suggestions, both a working node and non working node had same config in the database for the jdbc url when i ran the query. I re-installed the service on the 2 non working nodes, denied service, rebooted them, put them back in service. Re-ran test and they both failed the test while the other 3 passed.
|
|
[+]
Avaya Breeze
» Database Connection to MS SQL Error, 05/10/2021 12:19:33
» Go to message
|
|
disregard, figured it out
|
|
[+]
Avaya Breeze
» Database Connection to MS SQL Error, 05/10/2021 10:50:59
» Go to message
|
|
[root@breezenode cust]# mgmtia
asm-> select * from zr_ext_jdbc_datasource
I get nothing from this command if this is how it is run.
|
|