From: johny j. <joh...@gm...> - 2010-01-14 18:19:44
|
Hello! It looks like there is PROBLEM WITH ASTERISKCONNECTOR.SH, which I cannot fix (I show only parts indicating errors or warnings): Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@b8deef] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@4a6cbf] ... Starting up the main Server... ***: 127.0.0.1 Connecting to 192.168.0.103:5038 IO Excepton while loging in to asterisk manager interface. Call control services is disabled. ... THE PROBLEM IS HERE - I OBTAIN THIS ERROR IN TERMINAL. The above was shown after running asteriskConnector (of course I run those three other sh files before connector), the below appears when I call Zanzibar from Twinkle. It looks like everything is all right from Asterisk point of view, however it is not all right for Zanzibar part. I think so because in verbose mode of Asterisk I see that Twinkle calls Zanzibar properly but Zanzibar cannot receive the call. So it is ringing and cannot connect. Got an invite request javax.sip.SipException: IO Error sending request at gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(SIPClientTransaction.java:940) at org.speechforge.cairo.sip.SipAgent.sendInviteWithoutProxy(SipAgent.java:443) at org.speechforge.zanzibar.sip.SipServer.processInviteRequest(SipServer.java:372) at org.speechforge.cairo.sip.SipListenerImpl.processInvite(SipListenerImpl.java:446) at org.speechforge.cairo.sip.SipListenerImpl.processRequest(SipListenerImpl.java:123) at gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:223) at gov.nist.javax.sip.EventScanner.run(EventScanner.java:492) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: Invalid argument at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:612) at gov.nist.javax.sip.stack.UDPMessageChannel.sendMessage(UDPMessageChannel.java:641) at gov.nist.javax.sip.stack.MessageChannel.sendMessage(MessageChannel.java:183) at gov.nist.javax.sip.stack.SIPTransaction.sendMessage(SIPTransaction.java:734) at gov.nist.javax.sip.stack.SIPClientTransaction.sendMessage(SIPClientTransaction.java:480) at gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(SIPClientTransaction.java:936) ... 7 more Got a dialog terminated event And my second question - is there any way to create very simple grammar like <words> = word_one | ... | word_last, very simple vxml file (how should it look like?) and move the whole logic of the talk from grammar and vxml to .java source code? I mean - in similar way to how it is handled in Sphinx4, which doesn't require vxml. I would be grateful for little example. For more details (answers to your questions, content of .conf files etc) you can have a look at my previous message. Thank you for your time! Regards! |