From: spencer l. <spe...@gm...> - 2010-01-14 18:45:07
|
Hi, Can you start by checking the zanzibar configuration file that your are using? Specifically the sipservice section. Make sure that the cairoSipAddress is set to the same machine that is running cairo (more specifically rserver.sh). If you can send the file to me I will take a look too. <bean id="sipService" class="org.speechforge.zanzibar.sip.SipServer" init-method="startup" destroy-method="shutdown"> ... </bean On Thu, Jan 14, 2010 at 10:19 AM, johny jj2 <joh...@gm...> wrote: > 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. > <words> = word_one|word_two|word_three; will let you say just one of the three words <words> = (word_one|word_two|word_three)+; will let you say each word, in any order, 1 or more times <words> = (word_one|word_two|word_three)*; will let you say each word, in any order, 0 or more times? <words> = (word_one word_two word_three); will let yous say word_one word_two word_three, once, in the order written Hope this helps. Let me know if you have any more questions. Also you can look here for more details. http://java.sun.com/products/java-media/speech/forDevelopers/JSGF/ I am thinking about adding a simple grammar feature, where you just supply a list of words. Would that be helpful? To answer your earlier question about getting results with plain old java -- without tags and grammars. You dont need to use tags -- you could analyze the raw string in java when you get the results. But at least with sphinx4, you need to either use a grammar or a language model to define what can be said. > 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! > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > cairo-user mailing list > cai...@li... > https://lists.sourceforge.net/lists/listinfo/cairo-user > |