Hi,
My name is David -- team mate of Simon, working on the same project.
After doing the modifications on the related config files, I tested
again and have the following CLI output:
== Using SIP RTP CoS mark 5
-- Executing [6683@internal:1] Ringing("SIP/3004-0000001f", "") in
new stack
-- Executing [6683@internal:2] Wait("SIP/3004-0000001f", "2") in
new stack
-- Executing [6683@internal:3] Answer("SIP/3004-0000001f", "") in
new stack
-- Executing [6683@internal:4] Wait("SIP/3004-0000001f", "1") in
new stack
-- Executing [6683@internal:5] SpeechCreate("SIP/3004-0000001f",
"") in new stack
[Jun 19 01:33:22] NOTICE[12136]: app_unimrcp.c:4097 unimrcp_log:
Create MRCP Handle 0x8faf570 [nss2]
[Jun 19 01:33:22] NOTICE[23940]: app_unimrcp.c:4097 unimrcp_log: Add
Control Channel 0x8faf570 <new@speechrecog>
[Jun 19 01:33:22] NOTICE[23941]: app_unimrcp.c:4097 unimrcp_log: SIP
Call State 0x8faf570 [calling]
[Jun 19 01:33:22] NOTICE[23941]: app_unimrcp.c:4097 unimrcp_log: SIP
Call State 0x8faf570 [ready]
[Jun 19 01:33:22] NOTICE[23943]: app_unimrcp.c:4097 unimrcp_log:
Established TCP/MRCPv2 Connection
172.30.0.118:49331 <->
172.30.0.118:6075
[Jun 19 01:33:22] NOTICE[12136]: res_speech_unimrcp.c:203
uni_recog_create: Created speech instance '26'
[Jun 19 01:33:22] WARNING[12136]: res_speech_unimrcp.c:846
uni_recog_properties_set: Received failure response
-- Executing [6683@internal:6] SpeechLoadGrammar("SIP/
3004-0000001f", "digit,/etc/asterisk/grammar.xml") in new stack
[Jun 19 01:33:22] NOTICE[12136]: res_speech_unimrcp.c:334
uni_recog_load_grammar: Load grammar name:digit type:application/srgs
+xml path:/etc/asterisk/grammar.xml '26'
[Jun 19 01:33:22] WARNING[12136]: res_speech_unimrcp.c:357
uni_recog_load_grammar: Received failure response
== Spawn extension (internal, 6683, 6) exited non-zero on 'SIP/
3004-0000001f'
[Jun 19 01:33:22] NOTICE[12136]: res_speech_unimrcp.c:216
uni_recog_destroy: Destroy speech instance '26'
[Jun 19 01:33:22] NOTICE[23941]: app_unimrcp.c:4097 unimrcp_log: SIP
Call State 0x8faf570 [terminated]
[Jun 19 01:33:22] NOTICE[23940]: app_unimrcp.c:4097 unimrcp_log:
Destroy TCP/MRCPv2 Connection
172.30.0.118:49331 <->
172.30.0.118:6075
[Jun 19 01:33:22] NOTICE[12136]: app_unimrcp.c:4097 unimrcp_log:
Destroy MRCP Handle 0x8faf570
star1098*CLI>
Please notice that we got the following WARNING from
uni_recog_load_grammar::
[Jun 19 01:33:22] WARNING[12136]: res_speech_unimrcp.c:846
uni_recog_properties_set: Received failure response
and in /usr/local/Nuance/Speech_Server/server/logs/nss.log, we have
the following
0090619014216610| 97827728| 0| d2d36cdb-d6c9-122c-57b5-000c298e6403|
MyApp| ** ERROR => SVC AFFECT **| 4060| SWI_PARSER_XERCES_ERROR| XML
syntax error| STRING_GRAMMAR | In XML grammar at line 4 char 10:
Expected an attribute name
20090619014216613| 97827728| 0| d2d36cdb-d6c9-122c-57b5-000c298e6403|
MyApp| RecognizerErrorUnwind|| SWI error INVALID_DATA(8) detected in
gen_xerces.cpp:268
20090619014216613| 97827728| 0| d2d36cdb-d6c9-122c-57b5-000c298e6403|
MyApp| RecognizerErrorUnwind|| SWI error INVALID_DATA(8) detected in
gen_xerces.cpp:140
20090619014216613| 97827728| 0| d2d36cdb-d6c9-122c-57b5-000c298e6403|
MyApp| RecognizerErrorUnwind|| SWI error INVALID_DATA(8) detected in
gen_parser.c:246
20090619014216613| 97827728| 0| d2d36cdb-d6c9-122c-57b5-000c298e6403|
MyApp| RecognizerErrorUnwind|| SWI error INVALID_DATA(8) detected in
parser/SWIparserAPI.c:685
20090619014216613| 97827728| 0| d2d36cdb-d6c9-122c-57b5-000c298e6403|
MyApp| RecognizerErrorUnwind|| SWI error INVALID_DATA(8) detected in
SWIgrAPI.c:1738
20090619014216613| 97827728| 0| d2d36cdb-d6c9-122c-57b5-000c298e6403|
MyApp| RecognizerErrorUnwind|| SWI error INVALID_DATA(8) detected in
SWIgrAPI.c:1196
20090619014216614| 97827728| 0| d2d36cdb-d6c9-122c-57b5-000c298e6403|
MyApp| ** WARNING **| 27100| SWIREC| SWIrec API| SWIrecGrammarLoad |
Invalid data supplied to API call.
Thank you in advance for your help,
David
On 18 Haziran, 19:27, Arsen Chaloyan <
achalo...@gmail.com> wrote:
> Hi Simon,
>
> It seems instead of posting to the group you sent the message directly to me
> by accident. So, I'm answering here.
>
> Make sure the MRCP server is up and running and you have all the licenses
> properly installed for it. Enable the debug output
> (/etc/asterisk/logger/conf) and provide the logs.
>
> Regards,
>
> On Thu, Jun 17, 2010 at 10:40 PM, Arsen Chaloyan <
achalo...@gmail.com>wrote:
>
>
>
> > Hi Simon,
>
> > Chris is definitely right here, you should specify the port. Though you may
> > need to set in nuance.xml which is located in
> > /usr/local/unimrcp/conf/client-profiles directory. Also, I assume you have
> > already set
> > unimrcp-profile = nss2 ; Nuance MRCPv2 Server
>
> > from /etc/asterisk/res-speech-unimrcp.conf
>
> > Regards,
>
> > On Thu, Jun 17, 2010 at 8:49 PM, Christopher Rienzo <
cmrie...@gmail.com>wrote:
>
> >> Did you set <server-port>5770</server-port> in unimrcpclient.xml?
>
> >> On Thu, Jun 17, 2010 at 9:50 AM, wockster <
wocks...@gmail.com> wrote:
>
> >>> Hi,
>
> >>> I ave get an error when using uniMRCP that I'd like someone's help
> >>> with please.
>
> >>> I setup Asterisk Asterisk 1.6.2.7 , Nuance Recongizer 9.0.13/Speech
> >>> Server 5.1.1, uni-ast-package 0.20 on Centos 5.4 following the
> >>> instructions on:
>
> >>>
http://www.davidthomas.net.au/2010/03/voice-recognition-unimrcp-aster...
> >>>
unimrcp+u...@googlegroups.com<
unimrcp%2Bunsu...@googlegroups.com>
> >>> .
> >>
unimrcp+u...@googlegroups.com<
unimrcp%2Bunsu...@googlegroups.com>
> >> .