« Back to General Discussion - All Versions

XMPP Integration Custom Elements

Combination View Flat View Tree View
Threads [ Previous | Next ]
XMPP Integration Custom Elements is available for download in http://developer.cisco.com/web/cvp/download
 
This CVP Call Studio custom
element library enable simple direct integration with any XMPP server, CUPS
included, from VXML server application. A set of new Elements are now available
to open connections to the XMPP server, send IM to one or more buddies, receive
responses filtering by source buddy or regular expression, engage with
ChatRooms, etc. As part of the functionalities included,  when used in
conjunction with ParkCall element, it allows the implementation of a new
operational model for Contact Center Agents/Experts, where customers call enter
and wait into a chat room, where can be monitored and contacted by experts
through right click to talk.

Hi Tieying Xuan.
Are these elements that you are 'sharing' on the developer site created
and supported by Cisco? Or are they elements that you created and you
are sharing it with others?
Thanks, Janine

On 6/20/2011 10:14 PM, Cisco Developer Community Forums wrote:
> Tieying Xuan has created a new message in the forum "General
> Discussion - All Versions":
>
> --------------------------------------------------------------
> */XMPP Integration Custom Elements /*is available for download inÂ
> http://developer.cisco.com/web/cvp/download <../../../web/cvp/download>
> Â
> */This CVP Call Studio custom
> element library enable simple direct integration with any XMPP server,
> CUPS
> included, from VXML server application. A set of new Elements are now
> available
> to open connections to the XMPP server, send IM to one or more
> buddies, receive
> responses filtering by source buddy or regular expression, engage with
> ChatRooms, etc. As part of the functionalities included, Â when used in
> conjunction with ParkCall element, it allows the implementation of a new
> operational model for Contact Center Agents/Experts, where customers
> call enter
> and wait into a chat room, where can be monitored and contacted by experts
> through right click to talk./*
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/4090997>
>
> or simply reply to this email.

--
Janine Graves

The elements are created by Cisco CCBU. The BU provides the source codes as samples. It won't be supported officially. But you can put your questions here.

Hi Tieying Xuan,

Thanks for both Call Parking and XMPP custom elements. It would be good to have some real time cases where we can use this call parking and XMPP in contact center space.

Thanks!
-Sethu

RE: XMPP Integration Custom Elements
Answer
4/26/12 3:01 PM as a reply to Sethuramalingam Balasubramanian.
Hi,

I'm trying to implement this XMPP custom elements to integrate a CVP with a Presence server. But i'm always getting a java exception at the custom element sSendMessage, this exception says that it's not connected to the server and has the following stack overflow:

XMPP,04/24/2012 11:41:44.687,A custom element encountered an exception. The error was: java.lang.IllegalStateException: Not connected to server.
java.lang.IllegalStateException: Not connected to server.
at org.jivesoftware.smack.XMPPConnection.addPacketListener(XMPPConnection.java:747)
at org.jivesoftware.smack.ChatManager.<init>(ChatManager.java:100)
at org.jivesoftware.smack.XMPPConnection.getChatManager(XMPPConnection.java:575)
at com.cisco.cvp.vxml.xmpp.xmppSSendManager.Send(xmpp_sSendMessage.java:175)
at com.cisco.cvp.vxml.xmpp.xmpp_sSendMessage.doAction(xmpp_sSendMessage.java:121)
at com.audium.server.voiceElement.ActionElementBase.service(ActionElementBase.java:387)
at com.audium.server.controller.Controller.goToAction(Controller.java:2959)
at com.audium.server.controller.Controller.goToElement(Controller.java:2691)
at com.audium.server.controller.Controller.continueCall(Controller.java:2511)
at com.audium.server.controller.Controller.goToElement(Controller.java:2742)
at com.audium.server.controller.Controller.continueCall(Controller.java:2511)
at com.audium.server.controller.Controller.goToElement(Controller.java:2742)
at com.audium.server.controller.Controller.continueCall(Controller.java:2511)
at com.audium.server.controller.Controller.doPost(Controller.java:733)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:662)


Does anybody had the same problem as I have? Does anybody has actually implemented this XMPP custom elements with sucess?

Thanks!

Rodrigo Cortines

Hello Rodrigo

The SendMessage is failing because there is no active connections.
Ensure that the XMPP_sOpen was completed successfully.

Check if the CUPS security settings have "Enable XMPP Client To CUP Secure Mode" as enabled

You can check that looking at the C:\Cisco\CVP\VXMLServer\Tomcat\logs\stdout logs.

Send me an email if you need help.

Thanks
Marco

We have several example of this integration implemented in our demo labs.

For further info, please email to mpirrone@cisco.com.

Regards
Marco


On 4/26/12 4:01 PM, "Cisco Developer Community Forums"
<cdicuser@developer.cisco.com> wrote:

> Rodrigo Jose Goncalves Cortines Laxe has created a new message in the forum
> "General Discussion - All Versions":
>
> --------------------------------------------------------------
> Hi,
>
> I'm trying to implement this XMPP custom elements to integrate a CVP with a
> Presence server. But i'm always getting a java exception at the custom element
> sSendMessage, this exception says that it's not connected to the server and
> has the following stack overflow:
>
> XMPP,04/24/2012 11:41:44.687,A custom element encountered an exception. The
> error was: java.lang.IllegalStateException: Not connected to server.
> java.lang.IllegalStateException: Not connected to server.
> at
> org.jivesoftware.smack.XMPPConnection.addPacketListener(XMPPConnection.java:74
> 7)
> at org.jivesoftware.smack.ChatManager.<init>(ChatManager.java:100)
> at
> org.jivesoftware.smack.XMPPConnection.getChatManager(XMPPConnection.java:575)
> at com.cisco.cvp.vxml.xmpp.xmppSSendManager.Send(xmpp_sSendMessage.java:175)
> at
> com.cisco.cvp.vxml.xmpp.xmpp_sSendMessage.doAction(xmpp_sSendMessage.java:121)
> at
> com.audium.server.voiceElement.ActionElementBase.service(ActionElementBase.jav
> a:387)
> at com.audium.server.controller.Controller.goToAction(Controller.java:2959)
> at com.audium.server.controller.Controller.goToElement(Controller.java:2691)
> at com.audium.server.controller.Controller.continueCall(Controller.java:2511)
> at com.audium.server.controller.Controller.goToElement(Controller.java:2742)
> at com.audium.server.controller.Controller.continueCall(Controller.java:2511)
> at com.audium.server.controller.Controller.goToElement(Controller.java:2742)
> at com.audium.server.controller.Controller.continueCall(Controller.java:2511)
> at com.audium.server.controller.Controller.doPost(Controller.java:733)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
> lterChain.java:269)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
> n.java:188)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java
> :213)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java
> :172)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:1
> 08)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processCon
> nection(Http11BaseProtocol.java:665)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:
> 528)
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWork
> erThread.java:81)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:
> 689)
> at java.lang.Thread.run(Thread.java:662)
>
> Does anybody had the same problem as I have? Does anybody has actually
> implemented this XMPP custom elements with sucess?
>
> Thanks!
>
> Rodrigo Cortines
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/55239
> 30>
>
> or simply reply to this email.

--