Menu

astshpinx

Help
Anonymous
2011-08-09
2012-09-22
  • Anonymous

    Anonymous - 2011-08-09

    Hi
    I used http://scribblej.com/svn/ and successfully
    integrated CMU Sphinx Speech Reconition System with the Digium Asterisk PBX.
    Now I'm running astsphinx and astersik simultanously. I'm using a sip client
    to connect to asterisk where the connection is happening appropriately while
    astsphinx is giving no response, it is always "waiting on connection" and
    nothing is happening while asterisk is communicating with the sip client.
    I used this test dial plan in the configured context of the channel on which
    sip client is connecting:
    exten => s,1,Answer()
    exten => s,n,SpeechCreate(Sphinx)
    exten => s,n,AGI(say.pl|'Welcome to the Sphinx and Asterisk integration
    test.')
    exten => s,n,SpeechActivateGrammar(yesno)
    exten => s,n,AGI(say.pl|'Please say yes or no.'|1|yornprompt)
    exten => s,n,SpeechStart()
    exten => s,n,SpeechBackground(/tmp/yornprompt|10)
    exten => s,n,SpeechDeactivateGrammar(yesno)
    exten => s,n,Log(NOTICE,${SPEECH_TEXT(0)})
    exten => s,n,AGI(say.pl|'You said: ${SPEECH_TEXT(0)}')
    exten => s,n,SpeechActivateGrammar(compass)
    exten => s,n,AGI(say.pl|'Please say a compass direction.'|1|compassprompt)
    exten => s,n,SpeechStart()
    exten => s,n,SpeechBackground(/tmp/compassprompt,20)
    exten => s,n,SpeechDeactivateGrammar(compass)
    exten => s,n,AGI(say.pl|'You said: ${SPEECH_TEXT(0)}')
    exten => s,n,Goto(4)

    but on asterisk CLI I got extension not found when trying to call any of the
    configured extensions. Also, astsphinx is still waiting on connection with no
    response.
    I need to know how to make astshinx works and communicate with asterisk? I
    feel that something is missing between asteriks and astsphinx to be able to
    communicate!!
    Would you advice? how to get this dial plan working and invoke the speech
    recognition???
    Thanks in advance

     
  • Anonymous

    Anonymous - 2011-08-09

    Thanks for reply
    Do you mean that the tutorial
    http://scribblej.com/svn/ is not sufficient or it
    is completely obsolete and I have to start a new integration using the link
    you provided UniMRCP? This is important to understand because I've seen in one
    of your replies before that UniMRCP is an another option than
    http://scribblej.com/svn/. Are they completely
    independent projects?
    Thanks

     
  • Nickolay V. Shmyrev

    Project are independent

    scribblej thing is sort of a hack

    I recommend you to use unimrcp

     

Log in to post a comment.