NO JOY Asterisk Speech Recognition No Worky

vgabbott

New Member
Joined
Jun 23, 2014
Messages
24
Reaction score
2
Thanks, Ward -- That was it. Evidently it jumed to creating a project and bypassed the group (Or I got stupid and forgot to click it :smile5: ) either way the Speech API shows up now. Continuing the process now. Thanks again.
Kevin:
I am trying to install Google voice recognition. I was able to get the key. However, when I plug it into -w speech-recog.agi in my $key, it "does not work. I tried it with and without the "" .
Did you finally get it to work? Did you place it inside the " "? or " "r?
I double and triple checked the google key and I have it correct.
Any suggestions would be welcome.
Thank you.
Van Abbott
Ketchikan
 

vgabbott

New Member
Joined
Jun 23, 2014
Messages
24
Reaction score
2
Goes between the quotation marks


Thank you. I have a fresh install with Incredible on Beaglebone Black. Have added the voice recognition and key. I get beep on weather 949 but it does not recognize city and state and then repeats script and beep in continuous manner. Here is the log posting: Any help would be appreciated.

[2014-06-26 06:57:44] VERBOSE[2951][C-00000000] pbx.c: -- Goto (from-internal,949,6)
[2014-06-26 06:57:44] VERBOSE[2951][C-00000000] pbx.c: -- Executing [949@from-internal:6] AGI("SIP/701-00000000", "googletts.agi,"After the beep say the city and state or province of the weather report you wish to retrieve. Then press pound.",en") in new stack
[2014-06-26 06:57:44] VERBOSE[2951][C-00000000] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
[2014-06-26 06:57:47] VERBOSE[2951][C-00000000] res_agi.c: -- Playing '/tmp/ggl_XEUNLu' (escape_digits=) (sample_offset 0)
[2014-06-26 06:57:48] VERBOSE[2951][C-00000000] res_agi.c: -- <SIP/701-00000000>AGI Script googletts.agi completed, returning 4
[2014-06-26 06:57:48] VERBOSE[2951][C-00000000] pbx.c: == Spawn extension (from-internal, 949, 6) exited non-zero on 'SIP/701-00000000'
[2014-06-26 06:57:48] VERBOSE[2951][C-00000000] pbx.c: -- Executing [h@from-internal:1] Hangup("SIP/701-00000000", "") in new stack
[2014-06-26 06:57:48] VERBOSE[2951][C-00000000] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/701-00000000'
[2014-06-26 06:58:11] VERBOSE[2880][C-00000001] netsock2.c: == Using SIP RTP TOS bits 184
[2014-06-26 06:58:11] VERBOSE[2880][C-00000001] netsock2.c: == Using SIP RTP CoS mark 5
[2014-06-26 06:58:11] VERBOSE[2970][C-00000001] pbx.c: -- Executing [949@from-internal:1] Answer("SIP/701-00000001", "") in new stack
[2014-06-26 06:58:11] VERBOSE[2970][C-00000001] pbx.c: -- Executing [949@from-internal:2] Wait("SIP/701-00000001", "1") in new stack
[2014-06-26 06:58:12] VERBOSE[2970][C-00000001] pbx.c: -- Executing [949@from-internal:3] BackGround("SIP/701-00000001", "custom/chime") in new stack
[2014-06-26 06:58:12] VERBOSE[2970][C-00000001] file.c: -- <SIP/701-00000001> Playing 'custom/chime.gsm' (language 'en')
[2014-06-26 06:58:19] VERBOSE[2970][C-00000001] pbx.c: -- Executing [949@from-internal:4] Set("SIP/701-00000001", "TIMEOUT(digit)=7") in new stack
[2014-06-26 06:58:19] VERBOSE[2970][C-00000001] func_timeout.c: -- Digit timeout set to 7.000
[2014-06-26 06:58:19] VERBOSE[2970][C-00000001] pbx.c: -- Executing [949@from-internal:5] Set("SIP/701-00000001", "TIMEOUT(response)=10") in new stack
[2014-06-26 06:58:19] VERBOSE[2970][C-00000001] func_timeout.c: -- Response timeout set to 10.000
[2014-06-26 06:58:19] VERBOSE[2970][C-00000001] pbx.c: -- Executing [949@from-internal:6] AGI("SIP/701-00000001", "googletts.agi,"After the beep say the city and state or province of the weather report you wish to retrieve. Then press pound.",en") in new stack
[2014-06-26 06:58:19] VERBOSE[2970][C-00000001] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
[2014-06-26 06:58:22] VERBOSE[2970][C-00000001] res_agi.c: -- Playing '/tmp/ggl_ppaf8u' (escape_digits=) (sample_offset 0)
[2014-06-26 06:58:28] VERBOSE[2970][C-00000001] res_agi.c: -- Playing '/tmp/ggl_hYSAxK' (escape_digits=) (sample_offset 0)
[2014-06-26 06:58:29] VERBOSE[2970][C-00000001] res_agi.c: -- <SIP/701-00000001>AGI Script googletts.agi completed, returning 0
[2014-06-26 06:58:29] VERBOSE[2970][C-00000001] pbx.c: -- Executing [949@from-internal:7] AGI("SIP/701-00000001", "speech-recog.agi,en-US") in new stack
[2014-06-26 06:58:29] VERBOSE[2970][C-00000001] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/speech-recog.agi
[2014-06-26 06:58:30] VERBOSE[2970][C-00000001] file.c: -- <SIP/701-00000001> Playing 'beep.ulaw' (language 'en')
[2014-06-26 06:58:35] VERBOSE[2970][C-00000001] res_agi.c: -- speech-recog.agi,en-US: Unable to get recognition data.
[2014-06-26 06:58:35] VERBOSE[2970][C-00000001] res_agi.c: -- <SIP/701-00000001>AGI Script speech-recog.agi completed, returning 0
[2014-06-26 06:58:35] VERBOSE[2970][C-00000001] pbx.c: -- Executing [949@from-internal:8] NoOp("SIP/701-00000001", "= Script returned: , , -1 , -1 =") in new stack
[2014-06-26 06:58:35] VERBOSE[2970][C-00000001] pbx.c: -- Executing [949@from-internal:9] GotoIf("SIP/701-00000001", "0?proceed:retry") in new stack
[2014-06-26 06:58:35] VERBOSE[2970][C-00000001] pbx.c: -- Goto (from-internal,949,6)
[2014-06-26 06:58:35] VERBOSE[2970][C-00000001] pbx.c: -- Executing [949@from-internal:6] AGI("SIP/701-00000001", "googletts.agi,"After the beep say the city and state or province of the weather report you wish to retrieve. Then press pound.",en") in new stack
[2014-06-26 06:58:35] VERBOSE[2970][C-00000001] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
[2014-06-26 06:58:38] VERBOSE[2970][C-00000001] res_agi.c: -- Playing '/tmp/ggl_Bv5xBq' (escape_digits=) (sample_offset 0)
[2014-06-26 06:58:42] VERBOSE[2970][C-00000001] res_agi.c: -- <SIP/701-00000001>AGI Script googletts.agi completed, returning 4
[2014-06-26 06:58:42] VERBOSE[2970][C-00000001] pbx.c: == Spawn extension (from-internal, 949, 6) exited non-zero on 'SIP/701-00000001'
[2014-06-26 06:58:42] VERBOSE[2970][C-00000001] pbx.c: -- Executing [h@from-internal:1] Hangup("SIP/701-00000001", "") in new stack
[2014-06-26 06:58:42] VERBOSE[2970][C-00000001] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/701-00000001'
[2014-06-26 07:05:48] VERBOSE[2847] asterisk.c: -- Remote UNIX connection
[2014-06-26 07:05:48] VERBOSE[3061] asterisk.c: -- Remote UNIX connection disconnected
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,219
Try setting NAT=yes in your extension 701 settings.
 

vgabbott

New Member
Joined
Jun 23, 2014
Messages
24
Reaction score
2
Try setting NAT=yes in your extension 701 settings.

Just tried that suggestion. Checked back into 701 to make sure it got changed and it did. No change. Same condition as shown above.

I assume it works on everyone else's installation. Should I change Nat back to NO and see if anyone else has suggestions.
I done several clean loads to make sure I got everything else working on initial install.
Here is another error I got in same log as above:
[2014-06-26 06:40:29] ERROR[2845] res_corosync.c: Failed to initialize cfg (6)
It is in red. Does it mean anything?

Thank you in advance for your time.
Van Abbott
Ketchikan
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,219
Can you make outbound calls with two-way audio??
 

Members online

Forum statistics

Threads
25,810
Messages
167,754
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top