Reply To: RE: Google TTS Tutorial

VitalPBX Community Support General Discussion Google TTS Tutorial Reply To: RE: Google TTS Tutorial

    Antonio
    Participant
    Up
    0
    Down

    Hi,

    Now it´s connecting, but still isn´t working. I see the following message in the console:

    WARNING[5155][C-00000813]: res_agi.c:2217 launch_script: Failed to execute ‘/var/lib/asterisk/agi-bin/googletts.agi’: File does not exist.

    I installed the Google using the script into tutorial.

    Checking the extensions__60-google_tts.conf, I found some reference to googletts.agi. I changed to googleasr.agi

    Now the calls is being connected, when dial *277, but play a beep three times and hangup. Below the message in the console:

     

    — Executing [*277@T10_cos-all:1] Answer(“SIP/T10_1211-00000fcf”, “”) in new stack
    > 0x7efd0074f4f0 — Strict RTP qualifying stream type: audio
    > 0x7efd0074f4f0 — Strict RTP switching source address to X.X.X.X:43728
    — Executing [*277@T10_cos-all:2] AGI(“SIP/T10_1211-00000fcf”, “googleasr.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/googleasr.agi
    — <SIP/T10_1211-00000fcf> Playing ‘beep.ulaw’ (language ‘pt_BR’)
    — googleasr.agi,”After de beep say something in English, when done press the pound key.”,en: Unable to get recognition data.
    — <SIP/T10_1211-00000fcf>AGI Script googleasr.agi completed, returning 0
    — Executing [*277@T10_cos-all:3] AGI(“SIP/T10_1211-00000fcf”, “googleasr.agi,en-US”) in new stack
    — Launched AGI Script /var/lib/asterisk/agi-bin/googleasr.agi
    — <SIP/T10_1211-00000fcf> Playing ‘beep.ulaw’ (language ‘pt_BR’)
    > 0x7efd0074f4f0 — Strict RTP learning complete – Locking on source address X.X.X.X:43728
    — googleasr.agi,en-US: Unable to get recognition data.
    — <SIP/T10_1211-00000fcf>AGI Script googleasr.agi completed, returning 0
    — Executing [*277@T10_cos-all:4] Verbose(“SIP/T10_1211-00000fcf”, “1,The text you just said is: -1”) in new stack
    The text you just said is: -1
    — Executing [*277@T10_cos-all:5] Verbose(“SIP/T10_1211-00000fcf”, “1,The probability to be right is: -1”) in new stack
    The probability to be right is: -1
    — Executing [*277@T10_cos-all:6] AGI(“SIP/T10_1211-00000fcf”, “googleasr.agi,”You said… ” -1,en”) in new stack
    — Launched AGI Script /var/lib/asterisk/agi-bin/googleasr.agi
    — <SIP/T10_1211-00000fcf> Playing ‘beep.ulaw’ (language ‘pt_BR’)
    — <SIP/T10_1211-00000fcf>AGI Script googleasr.agi completed, returning 4
    == Spawn extension (T10_cos-all, *277, 6) exited non-zero on ‘SIP/T10_1211-00000fcf’

     

     

    0