nuecho / rivr Goto Github PK
View Code? Open in Web Editor NEWRivr is a lightweight open-source dialogue engine enabling Java developers to easily create enterprise-grade VoiceXML applications.
Home Page: http://rivr.nuecho.com
License: Other
Rivr is a lightweight open-source dialogue engine enabling Java developers to easily create enterprise-grade VoiceXML applications.
Home Page: http://rivr.nuecho.com
License: Other
Hi ,
May I know how is Unit testing performed over after building an VoiceXML Application.
It is given that ,its capable of doing unit testing,but I dont undestand where and how it is done.?
Thanks,
How to add multipe audio links (refer) in a single prompt tag?
Rivr based application is up and running , below is sample url
http://22.242.112.99:7777/xyz/vxml?intent=welcome, when we call it from Brower its generating vxml (only prompt) as in the attachment vxml-test.txt, our actual requirement is to execute it (by calling the url) from Avaya Experience Portal. but its not working. see the below one of errors in the logs. not sure what is exact issue ?
In what way we can use VoiceXmlDocumentAdapter and documentTurn, Is there any sample code ?
we need to return using namelist for a subdialouge in vxml
< return namelist="test test2 test3" />
java - using Return object as below
return new Return("namelist", returnValues);
or
return new Return("return", returnValues);
is the above code correct to send returnValues as namelist?
VoiceXmlInputTurn inputTurn = DialogueUtils.doTurn(subdialogueCall, context);
while we are calling the subdialogue (sample you gave in the examples) - getting the below exception
[org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]
I'm looking at the way to deploy code that uses rivr library in the multi-node environment for high availability purposes - the requirement is for a conversation session to survive a node crash/restart.
From what I can see DialogueServlet has support for Servlet's HttpSession and would save a Session object in HttpSession, which could be made persistent or stored out-of process (via spring-session library, for example). In my tests, when configured properly HttpSession would survive node restart, but if I read code correctly SessionContainer never reads from HttpSession - only from local sessions map (mSessions) so even so HttpSession is present after restart conversation cannot continue because of SessionNotFoundException.
I just want to confirm that what I need is indeed not supported by the current implementation?
Thanks.
we are trying to build application to generate voicexml using Spring Boot, looks like sample rivr-cookbook is not working or not loading the dialogue class. Can you please share sample spring boot - maven based project ?
we referred the above sample for user interruption while audio/message is playing, looks its not working.
we did as below as we dont need text message (just declared with single space) to be played. but message in the interaction is not getting interrupted even if barge-in is set to true. Anything is missing ?
String messageText = " ";
Message message = new Message("barge-in-message", new SpeechSynthesis(messageText));
message.setBargeIn(true);
DialogueUtils.doTurn(message, context);
DtmfRecognition configuration = new DtmfRecognition(new GrammarReference("builtin:dtmf/digits"));
Interaction interaction = interaction("interaction")
.addPrompt(configuration, new SpeechSynthesis("Enter a digit."))
.build(configuration, Duration.seconds(5));
DialogueUtils.doTurn(interaction, context);
Can we create two separate <form>
tags using fillVoiceXmlDocument
? if not, is there any other alternative for that?
Hi Jean-Philippe,
I was following the steps given to bootstrap the sample application given from the cookbook. I had deployed the application in Heroku and gave the deployed application URL in Voxeo's voice URL. When I call the application, I get 404 Error. Below is the excerpt from the log
Apr 11 22:12:03 GMT 2017 bro222.orl.voxeo.net CCX 187807 4e1be661f023b2e0b43e105fe4823285 0 1 Session log: dialog failed to start! Reason=Failed fetch with code: 404 (Not Found),\n URL: http://localhost:8080/rivr-cookbook-1.0.0/?session.callerid=4029357733&session.accountid=187807&session.sessionid=6e9355ceee103f588a852e48092d2dd0&session.parentsessionid=4e1be661f023b2e0b43e105fe4823285&session.virtualplatform=Staging-Nuance&session.calledid=9990109941
I had also attached the log file of my call
2017-04-11-2200.txt
Thanks,
Karthik.
Hi Rivr Team,,
Is there anyway rivr supports routing the callflow from one rivr application to other IVR application (non rivr vxml application)
Is there any way to call API (REST) and validate user provided input using Rivr?
Using Avaya experience portal in a tomcat 8.5 servlet container running on windows.
I can't run this example, the error always occurs.
When reaching out to:
/rivr-cookbook/dialogue/root/4e4e7586-4c7a-4288-b572-bd20afa99986
[apache-tomcat-8.5.23]: Dec 17, 2018 6:50:15 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [Dialogue] in context with path [/rivr-cookbook] threw exception [Cannot find session.] with root cause com.nuecho.rivr.core.servlet.session.SessionNotFoundException: Unable to find session [4e4e7586-4c7a-4288-b572-bd20afa99986] at com.nuecho.rivr.core.servlet.DialogueServlet.getExistingSession(DialogueServlet.java:512) at com.nuecho.rivr.core.servlet.DialogueServlet.getSession(DialogueServlet.java:495) at com.nuecho.rivr.core.servlet.DialogueServlet.process(DialogueServlet.java:376) at com.nuecho.rivr.core.servlet.DialogueServlet.doPost(DialogueServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source)
Hi Team, I am keeping two grammar files to recognize digits in dtmf mode.
Currently, when I entered "12345", second grammar file recognizing this and proceeding as it starts with "1".Rest of the inputs working fine except starting with "1". Tried setting inter digit timeout as well, but not worked out in this case.
"dtmfRecognition.setInterDigitTimeout(Duration.seconds(2));"
Please help on this!
In the debug log from rivr-voicexml we see
Content: <?xml version="1.0" encoding="UTF-8"?><vxml application="/rivr-prompt/root/85cef493-45bf-44d1-9d3f-a312643fd71a" version="2.1" xml:lang="en-US">
The root node is missing namespace attribute.
The broken vxml goes from dialogues to a VXML browser. It causes faults on IBM Websphere Voice Server.
Avaya Experience Portal [tack_trace":"c.n.r.c.s.s.SessionNotFoundException:]
RivrErrorLog.txt
{"ts":"2021-09-08T02:39:45.755Z","logLevel":"ERROR","logMessage":"Servlet.service() for servlet [voiceXmlDialogueServlet] threw exception","logThreadId":"http-nio-8090-exec-3","logClass":"o.a.juli.logging.DirectJDKLog","logMethod":"log","env":{"hostname":"8c30a61321d8","containerName":"containerName_IS_UNDEFINED","containerNamespace":"containerNamespace_IS_UNDEFINED"},"application":{"name":"appName_IS_UNDEFINED","version":"appVersion_IS_UNDEFINED"},"stack_trace":"c.n.r.c.s.s.SessionNotFoundException: Unable to find session [error]\n\tat c.n.r.c.s.DialogueServlet.getExistingSession(DialogueServlet.java:537)\n\tat c.n.r.c.s.DialogueServlet.getSession(DialogueServlet.java:520)\n\tat c.n.r.c.s.DialogueServlet.process(DialogueServlet.java:401)\n\tat c.n.r.c.s.DialogueServlet.doGet(DialogueServlet.java:270)\n\tat c.n.r.v.s.VoiceXmlDialogueServlet.doGet(VoiceXmlDialogueServlet.java:145)\n\tat j.s.http.HttpServlet.service(HttpServlet.java:626)\n\tat j.s.http.HttpServlet.service(HttpServlet.java:733)\n\tat o.a.c.c.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat o.a.c.c.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat o.s.w.f.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)\n\tat o.s.w.f.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\n\tat o.a.c.c.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat o.a.c.c.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat o.s.w.f.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)\n\tat o.a.c.c.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat o.a.c.c.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat o.s.c.s.i.w.s.TracingFilter.doFilter(TracingFilter.java:68)\n\tat o.s.c.s.a.i.w.LazyTracingFilter.doFilter(TraceWebServletConfiguration.java:121)\n\tat o.a.c.c.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat o.a.c.c.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat o.s.w.f.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)\n\tat o.a.c.c.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat o.a.c.c.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat o.a.c.c.ApplicationDispatcher.invoke(ApplicationDispatcher.java:710)\n\tat o.a.c.c.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)\n\tat o.a.c.c.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)\n\tat o.a.c.c.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)\n\tat o.a.c.c.StandardHostValve.custom(StandardHostValve.java:398)\n\tat o.a.c.c.StandardHostValve.status(StandardHostValve.java:257)\n\tat o.a.c.c.StandardHostValve.invoke(StandardHostValve.java:179)\n\tat o.a.c.v.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat o.a.c.c.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat o.a.c.c.CoyoteAdapter.service(CoyoteAdapter.java:346)\n\tat o.a.c.h.Http11Processor.service(Http11Processor.java:374)\n\tat o.a.c.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat o.a.c.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887)\n\tat o.a.t.u.n.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684)\n\tat o.a.t.u.n.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat j.u.c.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat j.u.c.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat o.a.t.u.t.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat java.lang.Thread.run(Thread.java:829)\n"},
How to get dialogue response content-type as application/xml
instead of application/voicexml+xml
?
How can we get/print the final VXML in the log before return/exit of voiceXmlLastTurn object from run method ?
How to maintain session across multiple images for an application running in container. ?
We have requirement to ask user to provide zipcode by playing audio "Please say or enter the zip code of your service address." User can either say or type zipcode. Is there any way common recognition logic to receive user input instead of using Speech and DTMF recognition separately or one after another ?
I am using this java library and I got an exception and next HTTP 500 error when Consult Transfer and destination number does not exist.
Debugging I have found that the method addTransferStatusInfo of the class VoiceXmlInputTurnFactory is not working properly when the duration property of the transfer property is retrieved.
Exactly the line 146 produces the exception:
durationValue = JsonUtils.getLongProperty(transferResultObject, TRANSFER_DURATION_PROPERTY);
Using rivr-voicexml-1.0.7.jar library (last version in the maven repository indeed).
This is the full log:
javax.servlet.ServletException: Error while rendering step.
at com.nuecho.rivr.core.servlet.DialogueServlet.process(DialogueServlet.java:421)
at com.nuecho.rivr.core.servlet.DialogueServlet.process(DialogueServlet.java:378)
at com.nuecho.rivr.core.servlet.DialogueServlet.doPost(DialogueServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:497)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
Caused by:
java.lang.ClassCastException: javax.json.JsonValue$1 cannot be cast to javax.json.JsonNumber
at org.glassfish.json.JsonObjectBuilderImpl$JsonObjectImpl.getJsonNumber(JsonObjectBuilderImpl.java:189)
at com.nuecho.rivr.voicexml.util.json.JsonUtils.getLongProperty(JsonUtils.java:96)
at com.nuecho.rivr.voicexml.servlet.VoiceXmlInputTurnFactory.addTransferStatusInfo(VoiceXmlInputTurnFactory.java:146)
at com.nuecho.rivr.voicexml.servlet.VoiceXmlInputTurnFactory.createInputTurn(VoiceXmlInputTurnFactory.java:106)
at com.nuecho.rivr.voicexml.servlet.VoiceXmlInputTurnFactory.createInputTurn(VoiceXmlInputTurnFactory.java:30)
at com.nuecho.rivr.core.servlet.DialogueServlet.createInputTurn(DialogueServlet.java:519)
at com.nuecho.rivr.core.servlet.DialogueServlet.continueDialogue(DialogueServlet.java:430)
at com.nuecho.rivr.core.servlet.DialogueServlet.process(DialogueServlet.java:398)
at com.nuecho.rivr.core.servlet.DialogueServlet.process(DialogueServlet.java:378)
at com.nuecho.rivr.core.servlet.DialogueServlet.doPost(DialogueServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:497)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
2017-02-16 15:05:53.726:WARN:oejs.ServletHandler:qtp1633508661-15:
javax.servlet.ServletException: Error while rendering step.
at com.nuecho.rivr.core.servlet.DialogueServlet.process(DialogueServlet.java:421)
at com.nuecho.rivr.core.servlet.DialogueServlet.process(DialogueServlet.java:378)
at com.nuecho.rivr.core.servlet.DialogueServlet.doPost(DialogueServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:497)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
Caused by:
java.lang.ClassCastException: javax.json.JsonValue$1 cannot be cast to javax.json.JsonNumber
at org.glassfish.json.JsonObjectBuilderImpl$JsonObjectImpl.getJsonNumber(JsonObjectBuilderImpl.java:189)
at com.nuecho.rivr.voicexml.util.json.JsonUtils.getLongProperty(JsonUtils.java:96)
at com.nuecho.rivr.voicexml.servlet.VoiceXmlInputTurnFactory.addTransferStatusInfo(VoiceXmlInputTurnFactory.java:146)
at com.nuecho.rivr.voicexml.servlet.VoiceXmlInputTurnFactory.createInputTurn(VoiceXmlInputTurnFactory.java:106)
at com.nuecho.rivr.voicexml.servlet.VoiceXmlInputTurnFactory.createInputTurn(VoiceXmlInputTurnFactory.java:30)
at com.nuecho.rivr.core.servlet.DialogueServlet.createInputTurn(DialogueServlet.java:519)
at com.nuecho.rivr.core.servlet.DialogueServlet.continueDialogue(DialogueServlet.java:430)
at com.nuecho.rivr.core.servlet.DialogueServlet.process(DialogueServlet.java:398)
at com.nuecho.rivr.core.servlet.DialogueServlet.process(DialogueServlet.java:378)
at com.nuecho.rivr.core.servlet.DialogueServlet.doPost(DialogueServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:497)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
Hi - mavenCentral pom tags are not recognized in Gradle latest version.
Could you please guide on How to substitute with?
maven {
url = "http://repo.maven.apache.org/maven2"
}
Files:
rivr-master\build-instructions.md
rivr-master\build.gradle
rivr-master\rivr-voicexml-dialogue-runner\build.gradle
repositories { mavenCentral() }
repositories {
mavenCentral{
pom.project{ packaging 'jar' }
}
}
repositories {
mavenCentral {
pom.project { packaging 'war' }
}
}
mavenDeployer(name: 'mavenCentral')
is it possible to set the content-type as "application/voicexml+xml" ?
One of IVR application is transfering call using subdialog option to our application developed using Rivr framework.
But they are getting "Dialog exiting" response from our application , even though rivr application logs shows control still processing the request. So before rivr application retrun the result back the cller application is terminating call saying they got the "Exit" response.
Is there any default timeout defined in thie rivr framework servlet "VoiceXmlDialogueServlet"
How to add audio file in the prompt as part of Interaction
Interaction interaction = interaction("get-dtmf")
.addPrompt(new SpeechSynthesis("say a number between 5 and 10 digits long."))
Also how to use the grammar file while taking user input and collecting user input by listening to his voice
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.