SOLVED Google Voice Recognition not working on BBB RevC

vgabbott

New Member
Joined
Jun 23, 2014
Messages
24
Reaction score
2
I applied latest fix from Ward but still have problem. Here is the log file:
Appreciate any help I can get ......... I am a Newbie with no Linux programming experience.
Although it looks like I need to study up to stay in the game.

Log files:
[2014-06-29 17:14:49] VERBOSE[5992][C-00000001] netsock2.c: == Using SIP RTP TOS bits 184
[2014-06-29 17:14:49] VERBOSE[5992][C-00000001] netsock2.c: == Using SIP RTP CoS mark 5
[2014-06-29 17:14:49] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:1] Answer("SIP/701-00000001", "") in new stack
[2014-06-29 17:14:49] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:2] Wait("SIP/701-00000001", "1") in new stack
[2014-06-29 17:14:50] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:3] BackGround("SIP/701-00000001", "custom/chime") in new stack
[2014-06-29 17:14:50] VERBOSE[12698][C-00000001] file.c: -- <SIP/701-00000001> Playing 'custom/chime.gsm' (language 'en')
[2014-06-29 17:14:57] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:4] Set("SIP/701-00000001", "TIMEOUT(digit)=7") in new stack
[2014-06-29 17:14:57] VERBOSE[12698][C-00000001] func_timeout.c: -- Digit timeout set to 7.000
[2014-06-29 17:14:57] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:5] Set("SIP/701-00000001", "TIMEOUT(response)=10") in new stack
[2014-06-29 17:14:57] VERBOSE[12698][C-00000001] func_timeout.c: -- Response timeout set to 10.000
[2014-06-29 17:14:57] VERBOSE[12698][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-29 17:14:57] VERBOSE[12698][C-00000001] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
[2014-06-29 17:15:00] VERBOSE[12698][C-00000001] res_agi.c: -- Playing '/tmp/ggl__ei4qu' (escape_digits=) (sample_offset 0)
[2014-06-29 17:15:07] VERBOSE[12698][C-00000001] res_agi.c: -- Playing '/tmp/ggl_DgEjrq' (escape_digits=) (sample_offset 0)
[2014-06-29 17:15:08] VERBOSE[12698][C-00000001] res_agi.c: -- <SIP/701-00000001>AGI Script googletts.agi completed, returning 0
[2014-06-29 17:15:08] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:7] AGI("SIP/701-00000001", "speech-recog.agi,en-US") in new stack
[2014-06-29 17:15:08] VERBOSE[12698][C-00000001] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/speech-recog.agi
[2014-06-29 17:15:09] VERBOSE[12698][C-00000001] file.c: -- <SIP/701-00000001> Playing 'beep.ulaw' (language 'en')
[2014-06-29 17:15:14] VERBOSE[12698][C-00000001] res_agi.c: -- speech-recog.agi,en-US: Unable to get recognition data.
[2014-06-29 17:15:14] VERBOSE[12698][C-00000001] res_agi.c: -- <SIP/701-00000001>AGI Script speech-recog.agi completed, returning 0
[2014-06-29 17:15:14] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:8] NoOp("SIP/701-00000001", "= Script returned: , , -1 , -1 =") in new stack
[2014-06-29 17:15:14] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:9] GotoIf("SIP/701-00000001", "0?proceed:retry") in new stack
[2014-06-29 17:15:14] VERBOSE[12698][C-00000001] pbx.c: -- Goto (from-internal,949,6)
[2014-06-29 17:15:14] VERBOSE[12698][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-29 17:15:14] VERBOSE[12698][C-00000001] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
[2014-06-29 17:15:17] VERBOSE[12698][C-00000001] res_agi.c: -- Playing '/tmp/ggl_ZBKVmW' (escape_digits=) (sample_offset 0)
[2014-06-29 17:15:23] VERBOSE[12698][C-00000001] res_agi.c: -- Playing '/tmp/ggl__Dd6Cn' (escape_digits=) (sample_offset 0)
[2014-06-29 17:15:25] VERBOSE[12698][C-00000001] res_agi.c: -- <SIP/701-00000001>AGI Script googletts.agi completed, returning 0
[2014-06-29 17:15:25] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:7] AGI("SIP/701-00000001", "speech-recog.agi,en-US") in new stack
[2014-06-29 17:15:25] VERBOSE[12698][C-00000001] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/speech-recog.agi
[2014-06-29 17:15:25] VERBOSE[12698][C-00000001] file.c: -- <SIP/701-00000001> Playing 'beep.ulaw' (language 'en')
[2014-06-29 17:15:38] VERBOSE[12698][C-00000001] res_agi.c: -- speech-recog.agi,en-US: Unable to get recognition data.
[2014-06-29 17:15:38] VERBOSE[12698][C-00000001] res_agi.c: -- <SIP/701-00000001>AGI Script speech-recog.agi completed, returning 0
[2014-06-29 17:15:38] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:8] NoOp("SIP/701-00000001", "= Script returned: , , -1 , -1 =") in new stack
[2014-06-29 17:15:38] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:9] GotoIf("SIP/701-00000001", "0?proceed:retry") in new stack
[2014-06-29 17:15:38] VERBOSE[12698][C-00000001] pbx.c: -- Goto (from-internal,949,6)
[2014-06-29 17:15:38] VERBOSE[12698][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-29 17:15:38] VERBOSE[12698][C-00000001] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
[2014-06-29 17:15:42] VERBOSE[12698][C-00000001] res_agi.c: -- Playing '/tmp/ggl_c4ud9s' (escape_digits=) (sample_offset 0)
[2014-06-29 17:15:44] VERBOSE[12698][C-00000001] res_agi.c: -- <SIP/701-00000001>AGI Script googletts.agi completed, returning 4
[2014-06-29 17:15:44] VERBOSE[12698][C-00000001] pbx.c: == Spawn extension (from-internal, 949, 6) exited non-zero on 'SIP/701-00000001'
[2014-06-29 17:15:44] VERBOSE[12698][C-00000001] pbx.c: -- Executing [h@from-internal:1] Hangup("SIP/701-00000001", "") in new stack
[2014-06-29 17:15:44] VERBOSE[12698][C-00000001] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/701-00000001'
 
I applied latest fix from Ward but still have problem. Here is the log file:
Appreciate any help I can get ......... I am a Newbie with no Linux programming experience.
Although it looks like I need to study up to stay in the game.

Log files:
[2014-06-29 17:14:49] VERBOSE[5992][C-00000001] netsock2.c: == Using SIP RTP TOS bits 184
[2014-06-29 17:14:49] VERBOSE[5992][C-00000001] netsock2.c: == Using SIP RTP CoS mark 5
[2014-06-29 17:14:49] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:1] Answer("SIP/701-00000001", "") in new stack
[2014-06-29 17:14:49] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:2] Wait("SIP/701-00000001", "1") in new stack
[2014-06-29 17:14:50] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:3] BackGround("SIP/701-00000001", "custom/chime") in new stack
[2014-06-29 17:14:50] VERBOSE[12698][C-00000001] file.c: -- <SIP/701-00000001> Playing 'custom/chime.gsm' (language 'en')
[2014-06-29 17:14:57] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:4] Set("SIP/701-00000001", "TIMEOUT(digit)=7") in new stack
[2014-06-29 17:14:57] VERBOSE[12698][C-00000001] func_timeout.c: -- Digit timeout set to 7.000
[2014-06-29 17:14:57] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:5] Set("SIP/701-00000001", "TIMEOUT(response)=10") in new stack
[2014-06-29 17:14:57] VERBOSE[12698][C-00000001] func_timeout.c: -- Response timeout set to 10.000
[2014-06-29 17:14:57] VERBOSE[12698][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-29 17:14:57] VERBOSE[12698][C-00000001] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
[2014-06-29 17:15:00] VERBOSE[12698][C-00000001] res_agi.c: -- Playing '/tmp/ggl__ei4qu' (escape_digits=) (sample_offset 0)
[2014-06-29 17:15:07] VERBOSE[12698][C-00000001] res_agi.c: -- Playing '/tmp/ggl_DgEjrq' (escape_digits=) (sample_offset 0)
[2014-06-29 17:15:08] VERBOSE[12698][C-00000001] res_agi.c: -- <SIP/701-00000001>AGI Script googletts.agi completed, returning 0
[2014-06-29 17:15:08] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:7] AGI("SIP/701-00000001", "speech-recog.agi,en-US") in new stack
[2014-06-29 17:15:08] VERBOSE[12698][C-00000001] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/speech-recog.agi
[2014-06-29 17:15:09] VERBOSE[12698][C-00000001] file.c: -- <SIP/701-00000001> Playing 'beep.ulaw' (language 'en')
[2014-06-29 17:15:14] VERBOSE[12698][C-00000001] res_agi.c: -- speech-recog.agi,en-US: Unable to get recognition data.
[2014-06-29 17:15:14] VERBOSE[12698][C-00000001] res_agi.c: -- <SIP/701-00000001>AGI Script speech-recog.agi completed, returning 0
[2014-06-29 17:15:14] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:8] NoOp("SIP/701-00000001", "= Script returned: , , -1 , -1 =") in new stack
[2014-06-29 17:15:14] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:9] GotoIf("SIP/701-00000001", "0?proceed:retry") in new stack
[2014-06-29 17:15:14] VERBOSE[12698][C-00000001] pbx.c: -- Goto (from-internal,949,6)
[2014-06-29 17:15:14] VERBOSE[12698][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-29 17:15:14] VERBOSE[12698][C-00000001] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
[2014-06-29 17:15:17] VERBOSE[12698][C-00000001] res_agi.c: -- Playing '/tmp/ggl_ZBKVmW' (escape_digits=) (sample_offset 0)
[2014-06-29 17:15:23] VERBOSE[12698][C-00000001] res_agi.c: -- Playing '/tmp/ggl__Dd6Cn' (escape_digits=) (sample_offset 0)
[2014-06-29 17:15:25] VERBOSE[12698][C-00000001] res_agi.c: -- <SIP/701-00000001>AGI Script googletts.agi completed, returning 0
[2014-06-29 17:15:25] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:7] AGI("SIP/701-00000001", "speech-recog.agi,en-US") in new stack
[2014-06-29 17:15:25] VERBOSE[12698][C-00000001] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/speech-recog.agi
[2014-06-29 17:15:25] VERBOSE[12698][C-00000001] file.c: -- <SIP/701-00000001> Playing 'beep.ulaw' (language 'en')
[2014-06-29 17:15:38] VERBOSE[12698][C-00000001] res_agi.c: -- speech-recog.agi,en-US: Unable to get recognition data.
[2014-06-29 17:15:38] VERBOSE[12698][C-00000001] res_agi.c: -- <SIP/701-00000001>AGI Script speech-recog.agi completed, returning 0
[2014-06-29 17:15:38] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:8] NoOp("SIP/701-00000001", "= Script returned: , , -1 , -1 =") in new stack
[2014-06-29 17:15:38] VERBOSE[12698][C-00000001] pbx.c: -- Executing [949@from-internal:9] GotoIf("SIP/701-00000001", "0?proceed:retry") in new stack
[2014-06-29 17:15:38] VERBOSE[12698][C-00000001] pbx.c: -- Goto (from-internal,949,6)
[2014-06-29 17:15:38] VERBOSE[12698][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-29 17:15:38] VERBOSE[12698][C-00000001] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
[2014-06-29 17:15:42] VERBOSE[12698][C-00000001] res_agi.c: -- Playing '/tmp/ggl_c4ud9s' (escape_digits=) (sample_offset 0)
[2014-06-29 17:15:44] VERBOSE[12698][C-00000001] res_agi.c: -- <SIP/701-00000001>AGI Script googletts.agi completed, returning 4
[2014-06-29 17:15:44] VERBOSE[12698][C-00000001] pbx.c: == Spawn extension (from-internal, 949, 6) exited non-zero on 'SIP/701-00000001'
[2014-06-29 17:15:44] VERBOSE[12698][C-00000001] pbx.c: -- Executing [h@from-internal:1] Hangup("SIP/701-00000001", "") in new stack
[2014-06-29 17:15:44] VERBOSE[12698][C-00000001] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/701-00000001'

Have found the problem. Everything is working now! Thanks for checking
 
I am having the same issue. I enabled my key, placed it in the speech-recog.agi file. Still getting no response. What was your fix?
 
I did a number of reloads and last one where I applied Ward's fixit scrip, I messed up on entering Google Key. Had a 0 for and O. When another member told me Ward's fix had made him whole, I went back and found the error. You might look at this again. Ward says cut and paste works but I could not make it work for some reason so I hand entered which caused the error.
 
res_agi.c: -- speech-recog.agi,en-US: Unable to get recognition data.
res_agi.c: -- <SIP/5775-00000001>AGI Script speech-recog.agi completed

I am getting the same error. Can you please tell me what you did to check Google API is working?

Means, How can i see that my API is contacting google ?
Any tcpdump command between me and Google host? any trial ?
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
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.
Back
Top