google speech recognition install issue

VitalPBX Community Support General Discussion google speech recognition install issue

  • Post
    DannyLarsen
    Participant
    none

    When running the install script the extensions__60-google_asr.conf is missing, installed manually

    Also the googletts.agi is missing, so I got it from the github for the Text to speech version and installed in /var/lib/asterisk/agi-bin/  and changed permissions etc

    The mp3123 was not installed by the script

    If I load it manually and do the rest of the install, the *277 answers and plays the prompt but does not beep or play back audio. Immediately says “You Said -1” and hangs up. 

    Can you help

    Thanks

    0
Viewing 15 replies - 1 through 15 (of 16 total)
  • Replies
    Rodrigo Cuadra
    Keymaster
    NI
    Up
    0
    Down

    Hi Danny,
    Sorry for the inconvenience, it is already fixed, download the install.sh again.
    Remember that for everything to work well in the ASR you have to have installed the TTS first.

    0
    DannyLarsen
    Participant
    none
    Up
    0
    Down

    I removed the files and started over, installed the tts first, then the speech rec, Also edited the file googleasr.agi to add the google password. Using the *277 or the *2770 does not return a beep or give me a chance to speak.

    0
    Rodrigo Cuadra
    Keymaster
    NI
    Up
    0
    Down

    Could you send me the Asterisk log?, please

    0
    DannyLarsen
    Participant
    none
    Up
    0
    Down

    Here is a test call to *277 and *2770

    Thanks

    0
    DannyLarsen
    Participant
    none
    Up
    0
    Down

    Didn’t like the attachment trying again

    0
    DannyLarsen
    Participant
    none
    Up
    0
    Down

    [2019-06-13 11:40:09] VERBOSE[31581][C-0000002b] pbx.c: Executing [*277@cos-all:1] Answer(“SIP/10-00000053”, “”) in new stack
    [2019-06-13 11:40:09] VERBOSE[31581][C-0000002b] pbx.c: Executing [*277@cos-all:2] AGI(“SIP/10-00000053”, “googletts.agi,”After de beep say something in English, when done press the pound key.”,en”) in new stack
    [2019-06-13 11:40:09] VERBOSE[31581][C-0000002b] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
    [2019-06-13 11:40:09] VERBOSE[31581][C-0000002b] res_agi.c: <SIP/10-00000053> Playing ‘/tmp/3bd3d16712243f9680d41fe0826b0258.slin’ (escape_digits=) (sample_offset 0) (language ‘en’)
    [2019-06-13 11:40:13] VERBOSE[31581][C-0000002b] res_agi.c: <SIP/10-00000053>AGI Script googletts.agi completed, returning 0
    [2019-06-13 11:40:13] VERBOSE[31581][C-0000002b] pbx.c: Executing [*277@cos-all:3] AGI(“SIP/10-00000053”, “googleasr.agi,en-US”) in new stack
    [2019-06-13 11:40:13] VERBOSE[31581][C-0000002b] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/googleasr.agi
    [2019-06-13 11:40:13] VERBOSE[31581][C-0000002b] res_agi.c: <SIP/10-00000053>AGI Script googleasr.agi completed, returning 0
    [2019-06-13 11:40:13] VERBOSE[31581][C-0000002b] pbx.c: Executing [*277@cos-all:4] Verbose(“SIP/10-00000053”, “1,The text you just said is: -1”) in new stack
    [2019-06-13 11:40:13] VERBOSE[31581][C-0000002b] app_verbose.c: The text you just said is: -1
    [2019-06-13 11:40:13] VERBOSE[31581][C-0000002b] pbx.c: Executing [*277@cos-all:5] Verbose(“SIP/10-00000053”, “1,The probability to be right is: -1”) in new stack
    [2019-06-13 11:40:13] VERBOSE[31581][C-0000002b] app_verbose.c: The probability to be right is: -1
    [2019-06-13 11:40:13] VERBOSE[31581][C-0000002b] pbx.c: Executing [*277@cos-all:6] AGI(“SIP/10-00000053”, “googletts.agi,”You said… ” -1,en”) in new stack
    [2019-06-13 11:40:13] VERBOSE[31581][C-0000002b] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
    [2019-06-13 11:40:13] VERBOSE[31581][C-0000002b] res_agi.c: <SIP/10-00000053> Playing ‘/tmp/971e15a5267e1ef990e84855f7450469.slin’ (escape_digits=) (sample_offset 0) (language ‘en’)
    [2019-06-13 11:40:15] VERBOSE[31581][C-0000002b] res_agi.c: <SIP/10-00000053>AGI Script googletts.agi completed, returning 4
    [2019-06-13 11:40:15] VERBOSE[31581][C-0000002b] pbx.c: Spawn extension (cos-all, *277, 6) exited non-zero on ‘SIP/10-00000053’
    [2019-06-13 11:40:15] VERBOSE[31581][C-0000002b] pbx.c: Executing [h@cos-all:1] Hangup(“SIP/10-00000053”, “”) in new stack
    [2019-06-13 11:40:15] VERBOSE[31581][C-0000002b] pbx.c: Spawn extension (cos-all, h, 1) exited non-zero on ‘SIP/10-00000053’
    [2019-06-13 11:40:15] VERBOSE[8358] chan_sip.c: Extension Changed 10[extension-hints] new state Idle for Notify User 11
    [2019-06-13 11:40:15] VERBOSE[8358] chan_sip.c: Extension Changed 10[extension-hints] new state Idle for Notify User 11_1
    [2019-06-13 11:40:15] VERBOSE[8358] chan_sip.c: Extension Changed 10[extension-hints] new state Idle for Notify User 10
    [2019-06-13 11:40:21] VERBOSE[8350] asterisk.c: Remote UNIX connection
    [2019-06-13 11:40:26] VERBOSE[8407][C-0000002c] netsock2.c: Using SIP VIDEO TOS bits 136
    [2019-06-13 11:40:26] VERBOSE[8407][C-0000002c] netsock2.c: Using SIP VIDEO CoS mark 4
    [2019-06-13 11:40:26] VERBOSE[8407][C-0000002c] netsock2.c: Using SIP RTP TOS bits 184
    [2019-06-13 11:40:26] VERBOSE[8407][C-0000002c] netsock2.c: Using SIP RTP CoS mark 5
    [2019-06-13 11:40:26] WARNING[8407][C-0000002c] res_format_attr_siren7.c: Got Siren7 offer at 24000 bps, but only 32000 bps supported; ignoring.
    [2019-06-13 11:40:26] VERBOSE[8407][C-0000002c] res_rtp_asterisk.c: 0x7f4ae80a2800 — Strict RTP learning after remote address set to: 192.168.0.233:50006
    [2019-06-13 11:40:26] VERBOSE[31633][C-0000002c] pbx.c: Executing [*277@cos-all:1] Answer(“SIP/10-00000054”, “”) in new stack
    [2019-06-13 11:40:26] VERBOSE[8358] chan_sip.c: Extension Changed 10[extension-hints] new state InUse for Notify User 11
    [2019-06-13 11:40:26] VERBOSE[8358] chan_sip.c: Extension Changed 10[extension-hints] new state InUse for Notify User 11_1
    [2019-06-13 11:40:26] VERBOSE[8358] chan_sip.c: Extension Changed 10[extension-hints] new state InUse for Notify User 10
    [2019-06-13 11:40:26] VERBOSE[31633][C-0000002c] res_rtp_asterisk.c: 0x7f4ae80a2800 — Strict RTP switching to RTP target address 192.168.0.233:50006 as source
    [2019-06-13 11:40:26] VERBOSE[31633][C-0000002c] pbx.c: Executing [*277@cos-all:2] AGI(“SIP/10-00000054”, “googletts.agi,”After de beep say something in English, when done press the pound key.”,en”) in new stack
    [2019-06-13 11:40:26] VERBOSE[31633][C-0000002c] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
    [2019-06-13 11:40:26] VERBOSE[31633][C-0000002c] res_agi.c: <SIP/10-00000054> Playing ‘/tmp/3bd3d16712243f9680d41fe0826b0258.slin’ (escape_digits=) (sample_offset 0) (language ‘en’)
    [2019-06-13 11:40:31] VERBOSE[31633][C-0000002c] res_agi.c: <SIP/10-00000054>AGI Script googletts.agi completed, returning 0
    [2019-06-13 11:40:31] VERBOSE[31633][C-0000002c] pbx.c: Executing [*277@cos-all:3] AGI(“SIP/10-00000054”, “googleasr.agi,en-US”) in new stack
    [2019-06-13 11:40:31] VERBOSE[31633][C-0000002c] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/googleasr.agi
    [2019-06-13 11:40:31] VERBOSE[31633][C-0000002c] res_agi.c: <SIP/10-00000054>AGI Script googleasr.agi completed, returning 0
    [2019-06-13 11:40:31] VERBOSE[31633][C-0000002c] pbx.c: Executing [*277@cos-all:4] Verbose(“SIP/10-00000054”, “1,The text you just said is: -1”) in new stack
    [2019-06-13 11:40:31] VERBOSE[31633][C-0000002c] app_verbose.c: The text you just said is: -1
    [2019-06-13 11:40:31] VERBOSE[31633][C-0000002c] pbx.c: Executing [*277@cos-all:5] Verbose(“SIP/10-00000054”, “1,The probability to be right is: -1”) in new stack
    [2019-06-13 11:40:31] VERBOSE[31633][C-0000002c] app_verbose.c: The probability to be right is: -1
    [2019-06-13 11:40:31] VERBOSE[31633][C-0000002c] pbx.c: Executing [*277@cos-all:6] AGI(“SIP/10-00000054”, “googletts.agi,”You said… ” -1,en”) in new stack
    [2019-06-13 11:40:31] VERBOSE[31633][C-0000002c] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
    [2019-06-13 11:40:31] VERBOSE[31633][C-0000002c] res_agi.c: <SIP/10-00000054> Playing ‘/tmp/971e15a5267e1ef990e84855f7450469.slin’ (escape_digits=) (sample_offset 0) (language ‘en’)
    [2019-06-13 11:40:31] VERBOSE[31633][C-0000002c] res_rtp_asterisk.c: 0x7f4ae80a2800 — Strict RTP learning complete – Locking on source address 192.168.0.233:50006
    [2019-06-13 11:40:33] VERBOSE[31633][C-0000002c] res_agi.c: <SIP/10-00000054>AGI Script googletts.agi completed, returning 0
    [2019-06-13 11:40:33] VERBOSE[31633][C-0000002c] pbx.c: Executing [*277@cos-all:7] Hangup(“SIP/10-00000054”, “”) in new stack
    [2019-06-13 11:40:33] VERBOSE[31633][C-0000002c] pbx.c: Spawn extension (cos-all, *277, 7) exited non-zero on ‘SIP/10-00000054’
    [2019-06-13 11:40:33] VERBOSE[31633][C-0000002c] pbx.c: Executing [h@cos-all:1] Hangup(“SIP/10-00000054”, “”) in new stack
    [2019-06-13 11:40:33] VERBOSE[31633][C-0000002c] pbx.c: Spawn extension (cos-all, h, 1) exited non-zero on ‘SIP/10-00000054’
    [2019-06-13 11:40:33] VERBOSE[8358] chan_sip.c: Extension Changed 10[extension-hints] new state Idle for Notify User 11
    [2019-06-13 11:40:33] VERBOSE[8358] chan_sip.c: Extension Changed 10[extension-hints] new state Idle for Notify User 11_1
    [2019-06-13 11:40:33] VERBOSE[8358] chan_sip.c: Extension Changed 10[extension-hints] new state Idle for Notify User 10
    [2019-06-13 11:40:38] VERBOSE[8407][C-0000002d] netsock2.c: Using SIP VIDEO TOS bits 136
    [2019-06-13 11:40:38] VERBOSE[8407][C-0000002d] netsock2.c: Using SIP VIDEO CoS mark 4
    [2019-06-13 11:40:38] VERBOSE[8407][C-0000002d] netsock2.c: Using SIP RTP TOS bits 184
    [2019-06-13 11:40
    :38] VERBOSE[8407][C-0000002d] netsock2.c: Using SIP RTP CoS mark 5
    [2019-06-13 11:40:38] WARNING[8407][C-0000002d] res_format_attr_siren7.c: Got Siren7 offer at 24000 bps, but only 32000 bps supported; ignoring.
    [2019-06-13 11:40:38] VERBOSE[8407][C-0000002d] res_rtp_asterisk.c: 0x7f4ae80a2800 — Strict RTP learning after remote address set to: 192.168.0.233:50008
    [2019-06-13 11:40:38] VERBOSE[8358] chan_sip.c: Extension Changed 10[extension-hints] new state InUse for Notify User 11
    [2019-06-13 11:40:38] VERBOSE[8358] chan_sip.c: Extension Changed 10[extension-hints] new state InUse for Notify User 11_1
    [2019-06-13 11:40:38] VERBOSE[8358] chan_sip.c: Extension Changed 10[extension-hints] new state InUse for Notify User 10
    [2019-06-13 11:40:38] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:1] Answer(“SIP/10-00000055”, “”) in new stack
    [2019-06-13 11:40:38] VERBOSE[31667][C-0000002d] res_rtp_asterisk.c: 0x7f4ae80a2800 — Strict RTP switching to RTP target address 192.168.0.233:50008 as source
    [2019-06-13 11:40:38] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:2] AGI(“SIP/10-00000055”, “googletts.agi,”PLease say the number you want to dial.”,en”) in new stack
    [2019-06-13 11:40:38] VERBOSE[31667][C-0000002d] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
    [2019-06-13 11:40:38] VERBOSE[31667][C-0000002d] res_agi.c: <SIP/10-00000055> Playing ‘/tmp/6ec1e92493ec4fcce8e67e3f293b125b.slin’ (escape_digits=) (sample_offset 0) (language ‘en’)
    [2019-06-13 11:40:41] VERBOSE[31667][C-0000002d] res_agi.c: <SIP/10-00000055>AGI Script googletts.agi completed, returning 0
    [2019-06-13 11:40:41] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:3] AGI(“SIP/10-00000055”, “googleasr.agi,en-US”) in new stack
    [2019-06-13 11:40:41] VERBOSE[31667][C-0000002d] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/googleasr.agi
    [2019-06-13 11:40:41] VERBOSE[31667][C-0000002d] res_agi.c: <SIP/10-00000055>AGI Script googleasr.agi completed, returning 0
    [2019-06-13 11:40:41] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:4] GotoIf(“SIP/10-00000055”, “0?success:retry”) in new stack
    [2019-06-13 11:40:41] VERBOSE[31667][C-0000002d] pbx_builtins.c: Goto (cos-all,*2770,6)
    [2019-06-13 11:40:41] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:6] AGI(“SIP/10-00000055”, “googletts.agi,”Can you please repeat?”,en”) in new stack
    [2019-06-13 11:40:41] VERBOSE[31667][C-0000002d] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
    [2019-06-13 11:40:41] VERBOSE[31667][C-0000002d] res_agi.c: <SIP/10-00000055> Playing ‘/tmp/ggl_89CdGIML.slin’ (escape_digits=) (sample_offset 0) (language ‘en’)
    [2019-06-13 11:40:43] VERBOSE[31667][C-0000002d] res_agi.c: <SIP/10-00000055>AGI Script googletts.agi completed, returning 0
    [2019-06-13 11:40:43] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:7] Goto(“SIP/10-00000055”, “record”) in new stack
    [2019-06-13 11:40:43] VERBOSE[31667][C-0000002d] pbx_builtins.c: Goto (cos-all,*2770,3)
    [2019-06-13 11:40:43] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:3] AGI(“SIP/10-00000055”, “googleasr.agi,en-US”) in new stack
    [2019-06-13 11:40:43] VERBOSE[31667][C-0000002d] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/googleasr.agi
    [2019-06-13 11:40:43] VERBOSE[31667][C-0000002d] res_agi.c: <SIP/10-00000055>AGI Script googleasr.agi completed, returning 0
    [2019-06-13 11:40:43] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:4] GotoIf(“SIP/10-00000055”, “0?success:retry”) in new stack
    [2019-06-13 11:40:43] VERBOSE[31667][C-0000002d] pbx_builtins.c: Goto (cos-all,*2770,6)
    [2019-06-13 11:40:43] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:6] AGI(“SIP/10-00000055”, “googletts.agi,”Can you please repeat?”,en”) in new stack
    [2019-06-13 11:40:43] VERBOSE[31667][C-0000002d] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
    [2019-06-13 11:40:43] VERBOSE[31667][C-0000002d] res_agi.c: <SIP/10-00000055> Playing ‘/tmp/b70a2b4f0891b80fb0211747e1f0fc78.slin’ (escape_digits=) (sample_offset 0) (language ‘en’)
    [2019-06-13 11:40:43] VERBOSE[31667][C-0000002d] res_rtp_asterisk.c: 0x7f4ae80a2800 — Strict RTP learning complete – Locking on source address 192.168.0.233:50008
    [2019-06-13 11:40:45] VERBOSE[31667][C-0000002d] res_agi.c: <SIP/10-00000055>AGI Script googletts.agi completed, returning 0
    [2019-06-13 11:40:45] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:7] Goto(“SIP/10-00000055”, “record”) in new stack
    [2019-06-13 11:40:45] VERBOSE[31667][C-0000002d] pbx_builtins.c: Goto (cos-all,*2770,3)
    [2019-06-13 11:40:45] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:3] AGI(“SIP/10-00000055”, “googleasr.agi,en-US”) in new stack
    [2019-06-13 11:40:45] VERBOSE[31667][C-0000002d] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/googleasr.agi
    [2019-06-13 11:40:45] VERBOSE[31667][C-0000002d] res_agi.c: <SIP/10-00000055>AGI Script googleasr.agi completed, returning 0
    [2019-06-13 11:40:45] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:4] GotoIf(“SIP/10-00000055”, “0?success:retry”) in new stack
    [2019-06-13 11:40:45] VERBOSE[31667][C-0000002d] pbx_builtins.c: Goto (cos-all,*2770,6)
    [2019-06-13 11:40:45] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:6] AGI(“SIP/10-00000055”, “googletts.agi,”Can you please repeat?”,en”) in new stack
    [2019-06-13 11:40:45] VERBOSE[31667][C-0000002d] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
    [2019-06-13 11:40:45] VERBOSE[31667][C-0000002d] res_agi.c: <SIP/10-00000055> Playing ‘/tmp/b70a2b4f0891b80fb0211747e1f0fc78.slin’ (escape_digits=) (sample_offset 0) (language ‘en’)
    [2019-06-13 11:40:47] VERBOSE[31667][C-0000002d] res_agi.c: <SIP/10-00000055>AGI Script googletts.agi completed, returning 0
    [2019-06-13 11:40:47] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:7] Goto(“SIP/10-00000055”, “record”) in new stack
    [2019-06-13 11:40:47] VERBOSE[31667][C-0000002d] pbx_builtins.c: Goto (cos-all,*2770,3)
    [2019-06-13 11:40:47] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:3] AGI(“SIP/10-00000055”, “googleasr.agi,en-US”) in new stack
    [2019-06-13 11:40:47] VERBOSE[31667][C-0000002d] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/googleasr.agi
    [2019-06-13 11:40:47] VERBOSE[31667][C-0000002d] res_agi.c: <SIP/10-00000055>AGI Script googleasr.agi completed, returning 0
    [2019-06-13 11:40:47] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:4] GotoIf(“SIP/10-00000055”, “0?success:retry”) in new stack
    [2019-06-13 11:40:47] VERBOSE[31667][C-0000002d] pbx_builtins.c: Goto (cos-all,*2770,6)
    [2019-06-13 11:40:47] VERBOSE[31667][C-0000002d] pbx.c: Executing [*2770@cos-all:6] AGI(“SIP/10-00000055”, “googletts.agi,”Can you please repeat?”,en”) in new stack
    [2019-06-13 11:40:47] VERBOSE[31667][C-0000002d] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
    [2019-06-13 11:40:47] VERBOSE[31667][C-0000002d] res_agi.c: <SIP/10-00000055> Playing ‘/tmp/b70a2b4f0891b80fb0211747e1f0fc78.slin’ (escape_digits=) (sample_offset 0) (language ‘en’)
    [2019-06-13 11:40:48] VERBOSE[31667][C-0000002d] res_agi.c: <SIP/10-00000055>AGI Script googletts.agi completed, returning 4
    [2019-06-13 11:40:48] VERBOSE[31667][C-0000002d] pbx.c: Spawn extension (cos-all, *2770, 6) exited non-zero on ‘SIP/10-00000055’
    [2019-06-13 11:40:48] VERBOSE[31667][C-0000002d] pbx.c: Executing [h@cos-all:1] Hangup(“SIP/10-00000055”, “”) in new stack
    [2019-06-13 11:40:48] VERBOSE[31667][C-0000002d] pbx.c: Spawn extension (cos-all, h, 1) exited non-zero on ‘SIP/10-00000055’
    [2019-06-13 11:40:48] VERBOSE[8358] chan_sip.c: Extension Changed 10[extension-hints] new state Idle for Notify User 11
    [2019-06-13 11:40:48] VERBOSE[8358] chan_
    sip.c: Extension Changed 10[extension-hints] new state Idle for Notify User 11_1
    [2019-06-13 11:40:48] VERBOSE[8358] chan_sip.c: Extension Changed 10[extension-hints] new state Idle for Notify User 10

    0
    Rodrigo Cuadra
    Keymaster
    NI
    Up
    0
    Down

    Did you configure the API key in the AGI /var/lib asterisk/agi-bin/googleasr.agi file?

    0
    DannyLarsen
    Participant
    none
    Up
    0
    Down

    Yes

    0
    Rodrigo Cuadra
    Keymaster
    NI
    Up
    0
    Down

    The agi has access and execution permissions from Asterisk?

    From cosole:

    cd /var/lib/asterisk/agi-bin/
    	chown asterisk:asterisk googleasr.agi
    	chmod +x googleasr.agi
    0
    DannyLarsen
    Participant
    none
    Up
    0
    Down

    Yes I followed those steps 

    0
    Up
    0
    Down

    I think all is working but Google is not understanding what are you saying, the score return is -1

    [2019-06-13 11:40:13] VERBOSE[31581][C-0000002b] pbx.c: Executing [*277@cos-all:4] Verbose("SIP/10-00000053", "1,The text you just said is: -1") in new stack
    [2019-06-13 11:40:13] VERBOSE[31581][C-0000002b] app_verbose.c: The text you just said is: -1
    [2019-06-13 11:40:13] VERBOSE[31581][C-0000002b] pbx.c: Executing [*277@cos-all:5] Verbose("SIP/10-00000053", "1,The probability to be right is: -1") in new stack
    [2019-06-13 11:40:13] VERBOSE[31581][C-0000002b] app_verbose.c: The probability to be right is: -1

    You may try to get a log after enabling the debug of the AGI

    vitalpbx*CLI> agi set debug on

     

    0
    DannyLarsen
    Participant
    none
    Up
    0
    Down

    Do I need certain ports open in order for this to connect

    0
    DannyLarsen
    Participant
    none
    Up
    0
    Down

    — Executing [*277@cos-all:1] Answer(“SIP/10-0000005a”, “”) in new stack
    > 0x7f4ae809b650 — Strict RTP switching to RTP target address 192.168.0.233:50016 as source
    — Executing [*277@cos-all:2] AGI(“SIP/10-0000005a”, “googletts.agi,”After de beep say something in English, when done press the pound key.”,en”) in new stack
    — Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
    <SIP/10-0000005a>AGI Tx >> agi_request: googletts.agi
    <SIP/10-0000005a>AGI Tx >> agi_channel: SIP/10-0000005a
    <SIP/10-0000005a>AGI Tx >> agi_language: en
    <SIP/10-0000005a>AGI Tx >> agi_type: SIP
    <SIP/10-0000005a>AGI Tx >> agi_uniqueid: 1560450865.228
    <SIP/10-0000005a>AGI Tx >> agi_version: 16.4.0
    <SIP/10-0000005a>AGI Tx >> agi_callerid: 10
    <SIP/10-0000005a>AGI Tx >> agi_calleridname: Danny Larsen
    <SIP/10-0000005a>AGI Tx >> agi_callingpres: 0
    <SIP/10-0000005a>AGI Tx >> agi_callingani2: 0
    <SIP/10-0000005a>AGI Tx >> agi_callington: 0
    <SIP/10-0000005a>AGI Tx >> agi_callingtns: 0
    <SIP/10-0000005a>AGI Tx >> agi_dnid: *277
    <SIP/10-0000005a>AGI Tx >> agi_rdnis: unknown
    <SIP/10-0000005a>AGI Tx >> agi_context: cos-all
    <SIP/10-0000005a>AGI Tx >> agi_extension: *277
    <SIP/10-0000005a>AGI Tx >> agi_priority: 2
    <SIP/10-0000005a>AGI Tx >> agi_enhanced: 0.0
    <SIP/10-0000005a>AGI Tx >> agi_accountcode:
    <SIP/10-0000005a>AGI Tx >> agi_threadid: 139957766825728
    <SIP/10-0000005a>AGI Tx >> agi_arg_1: After de beep say something in English, when done press the pound key.
    <SIP/10-0000005a>AGI Tx >> agi_arg_2: en
    <SIP/10-0000005a>AGI Tx >>
    <SIP/10-0000005a>AGI Rx << CHANNEL STATUS
    <SIP/10-0000005a>AGI Tx >> 200 result=6
    <SIP/10-0000005a>AGI Rx << GET FULL VARIABLE ${CHANNEL(audionativeformat)}
    <SIP/10-0000005a>AGI Tx >> 200 result=1 ((ulaw))
    <SIP/10-0000005a>AGI Rx << STREAM FILE /tmp/3bd3d16712243f9680d41fe0826b0258 “”
    — <SIP/10-0000005a> Playing ‘/tmp/3bd3d16712243f9680d41fe0826b0258.slin’ (escape_digits=) (sample_offset 0) (language ‘en’)
    <SIP/10-0000005a>AGI Tx >> 200 result=0 endpos=36672
    — <SIP/10-0000005a>AGI Script googletts.agi completed, returning 0
    — Executing [*277@cos-all:3] AGI(“SIP/10-0000005a”, “googleasr.agi,en-US”) in new stack
    — Launched AGI Script /var/lib/asterisk/agi-bin/googleasr.agi
    <SIP/10-0000005a>AGI Tx >> agi_request: googleasr.agi
    <SIP/10-0000005a>AGI Tx >> agi_channel: SIP/10-0000005a
    <SIP/10-0000005a>AGI Tx >> agi_language: en
    <SIP/10-0000005a>AGI Tx >> agi_type: SIP
    <SIP/10-0000005a>AGI Tx >> agi_uniqueid: 1560450865.228
    <SIP/10-0000005a>AGI Tx >> agi_version: 16.4.0
    <SIP/10-0000005a>AGI Tx >> agi_callerid: 10
    <SIP/10-0000005a>AGI Tx >> agi_calleridname: Danny Larsen
    <SIP/10-0000005a>AGI Tx >> agi_callingpres: 0
    <SIP/10-0000005a>AGI Tx >> agi_callingani2: 0
    <SIP/10-0000005a>AGI Tx >> agi_callington: 0
    <SIP/10-0000005a>AGI Tx >> agi_callingtns: 0
    <SIP/10-0000005a>AGI Tx >> agi_dnid: *277
    <SIP/10-0000005a>AGI Tx >> agi_rdnis: unknown
    <SIP/10-0000005a>AGI Tx >> agi_context: cos-all
    <SIP/10-0000005a>AGI Tx >> agi_extension: *277
    <SIP/10-0000005a>AGI Tx >> agi_priority: 3
    <SIP/10-0000005a>AGI Tx >> agi_enhanced: 0.0
    <SIP/10-0000005a>AGI Tx >> agi_accountcode:
    <SIP/10-0000005a>AGI Tx >> agi_threadid: 139957766825728
    <SIP/10-0000005a>AGI Tx >> agi_arg_1: en-US
    <SIP/10-0000005a>AGI Tx >>
    <SIP/10-0000005a>AGI Rx << SET VARIABLE “utterance” “-1”
    <SIP/10-0000005a>AGI Tx >> 200 result=1
    <SIP/10-0000005a>AGI Rx << SET VARIABLE “confidence” “-1”
    <SIP/10-0000005a>AGI Tx >> 200 result=1
    — <SIP/10-0000005a>AGI Script googleasr.agi completed, returning 0
    — Executing [*277@cos-all:4] Verbose(“SIP/10-0000005a”, “1,The text you just said is: -1”) in new stack
    The text you just said is: -1
    — Executing [*277@cos-all:5] Verbose(“SIP/10-0000005a”, “1,The probability to be right is: -1”) in new stack
    The probability to be right is: -1
    — Executing [*277@cos-all:6] AGI(“SIP/10-0000005a”, “googletts.agi,”You said… ” -1,en”) in new stack
    — Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
    <SIP/10-0000005a>AGI Tx >> agi_request: googletts.agi
    <SIP/10-0000005a>AGI Tx >> agi_channel: SIP/10-0000005a
    <SIP/10-0000005a>AGI Tx >> agi_language: en
    <SIP/10-0000005a>AGI Tx >> agi_type: SIP
    <SIP/10-0000005a>AGI Tx >> agi_uniqueid: 1560450865.228
    <SIP/10-0000005a>AGI Tx >> agi_version: 16.4.0
    <SIP/10-0000005a>AGI Tx >> agi_callerid: 10
    <SIP/10-0000005a>AGI Tx >> agi_calleridname: Danny Larsen
    <SIP/10-0000005a>AGI Tx >> agi_callingpres: 0
    <SIP/10-0000005a>AGI Tx >> agi_callingani2: 0
    <SIP/10-0000005a>AGI Tx >> agi_callington: 0
    <SIP/10-0000005a>AGI Tx >> agi_callingtns: 0
    <SIP/10-0000005a>AGI Tx >> agi_dnid: *277
    <SIP/10-0000005a>AGI Tx >> agi_rdnis: unknown
    <SIP/10-0000005a>AGI Tx >> agi_context: cos-all
    <SIP/10-0000005a>AGI Tx >> agi_extension: *277
    <SIP/10-0000005a>AGI Tx >> agi_priority: 6
    <SIP/10-0000005a>AGI Tx >> agi_enhanced: 0.0
    <SIP/10-0000005a>AGI Tx >> agi_accountcode:
    <SIP/10-0000005a>AGI Tx >> agi_threadid: 139957766825728
    <SIP/10-0000005a>AGI Tx >> agi_arg_1: You said… -1
    <SIP/10-0000005a>AGI Tx >> agi_arg_2: en
    <SIP/10-0000005a>AGI Tx >>
    <SIP/10-0000005a>AGI Rx << CHANNEL STATUS
    <SIP/10-0000005a>AGI Tx >> 200 result=6
    <SIP/10-0000005a>AGI Rx << GET FULL VARIABLE ${CHANNEL(audionativeformat)}
    <SIP/10-0000005a>AGI Tx >> 200 result=1 ((ulaw))
    <SIP/10-0000005a>AGI Rx << STREAM FILE /tmp/971e15a5267e1ef990e84855f7450469 “”
    — <SIP/10-0000005a> Playing ‘/tmp/971e15a5267e1ef990e84855f7450469.slin’ (escape_digits=) (sample_offset 0) (language ‘en’)
    > 0x7f4ae809b650 — Strict RTP learning complete – Locking on source address 192.168.0.233:50016
    <SIP/10-0000005a>AGI Tx >> 200 result=0 endpos=15936
    — <SIP/10-0000005a>AGI Script googletts.agi completed, returning 0
    — Executing [*277@cos-all:7] Hangup(“SIP/10-0000005a”, “”) in new stack
    == Spawn extension (cos-all, *277, 7) exited non-zero on ‘SIP/10-0000005a’
    — Executing [h@cos-all:1] Hangup(“SIP/10-0000005a”, “”) in new stack
    == Spawn extension (cos-all, h, 1) exited non-zero on ‘SIP/10-0000005a’
    == Extension Changed 10[extension-hints] new state Idle for Notify User 11
    == Extension Changed 10[extension-hints] new state Idle for Notify User 11_1
    == Extension Changed 10[extension-hints] new state Idle for Notify User 10
    vitalpbx*CLI> agi set debug off

    0
    DannyLarsen
    Participant
    none
    Up
    0
    Down

    It does not beep Or give me a chance to speak

    0
    Rodrigo Cuadra
    Keymaster
    NI
    Up
    0
    Down

    Hi, please try to install this from console

    yum install flac

    0
Viewing 15 replies - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.