I'm trying to add tts ans asr functionalities to an asterisk with
unimrcp in a linux machine. TTS (Nuance Recognizer 9.0) and ASR
(Nuance Vocalizer 5.0) are both installed in a windows machine,
Nuance Speech Server 5.1 is also installed in that machine.
There seems to be a problem when doing the RTP (For MRCP v1)
handshake, I've traced network packets in the windows machine, and I
can see Nuance Speech Server receives RTSP SETUP request and answers
the request. In the answer I can see client-ports [7890-7891] but then
unimrcp seems to begin scanning ports from 7892 and ahead showing a
lot of errors:
2011-11-29 12:49:48:750584 [DEBUG] Process Message [MediaEngine]
[1;0]
2011-11-29 12:49:48:750717 [DEBUG] Add Media Context 0x9706300
2011-11-29 12:49:48:752108 [DEBUG] Failed to Bind Socket to
172.27.6.62:7892
...
until it reaches the 7890:
2011-11-29 12:49:58:202430 [DEBUG] Failed to Bind Socket to
172.27.6.62:7890
2011-11-29 12:49:58:202449 [DEBUG] Failed to Create RTP Socket
an then shows this:
2011-11-29 12:49:58:202460 [WARN] Failed to Find Free RTP Port
172.27.6.62:[7892,7892]
Later on, I can see unimrcp and nuance speech server send some rtsp
requests each other.
I have the same problem both for MRCPRecog and MRCPSynth, but using
speechcreate, speech loadgrammar, .. works (the recognition does but
I'm having the SPEECH_TEXT(0) Issue).
¿which could be the problem?¿could be something related to config? I
have double checked the config files, and there is no reference to
7892 port
Thanks in advance
When I invoke the generic API most of the variables that carry the
results are empty, non the less, my ASR server has the audio and the
correct recognition logs. Ive also seen the packets that are flowing
from nuance to asterisk and the xml is indeed carring the recognition
results.
When I use MRCPRecog application, I see a lot of errors related to a
non funcional RTP connection. I dont know what ports asterisk is
requesting.
Maybe this issue is related to a new version of asterisk or something
like that.
OS: CentOS 5
Asterisk 1.6.2.30
Ast-unimrcp 0.32
Nuance 9
Thanks in advance!
I just installed the asterisk version that is included with the
package and it is now working as intended. This is both good and bad
news. Good due to the fact that I can now run recog apps and bad
considering I cannot update asterisk to a newer version.
Just to be clear, it is indeed working as intended while using
Asterisk 1.6.2.9. Newer versions are not working ok
As Assanta properly outlined you should set the local IP address and
port range on Asterisk to be used for the RTP streams.
rtp-ip =
rtp-port-min =
rtp-port-max =
2011/11/29 Angel Fernández <angelferna...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups "UniMRCP" group.
> To post to this group, send email to uni...@googlegroups.com.
> To unsubscribe from this group, send email to unimrcp+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/unimrcp?hl=en.
>
--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org
So, what are those new versions of Asterisk which don't work. And
could you provide corresponding logs to see what might be wrong?