stevenmirabito / asterisk-picotts

Asterisk AGI script to use SVOX Pico TTS in dialplans.
GNU General Public License v2.0
11 stars 7 forks source link

It doesn't work, no audio #7

Open pilovis opened 5 years ago

pilovis commented 5 years ago

It doesn't work, no audio

pilovis commented 5 years ago

Core debug is 5.

== Using SIP RTP CoS mark 5

0x7f6c015010 -- Strict RTP learning after remote address set to: 192.168.1.67:8000 -- Executing [1234@from-internal:1] Answer("SIP/200-00000000", "") in new stack 0x7f6c015010 -- Strict RTP switching to RTP remote address 192.168.1.67:8000 as source -- Executing [1234@from-internal:2] AGI("SIP/200-00000000", "picotts.agi,"This is a simple google text to speech test in english.",en") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/picotts.agi -- <SIP/200-00000000>AGI Script picotts.agi completed, returning 0 -- Executing [1234@from-internal:3] AGI("SIP/200-00000000", "picotts.agi,"Esta es una simple prueba en español.",es") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/picotts.agi -- <SIP/200-00000000>AGI Script picotts.agi completed, returning 0 -- Executing [1234@from-internal:4] AGI("SIP/200-00000000", "picotts.agi,"Αυτό είναι ένα απλό τέστ στα ελληνικά.",el") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/picotts.agi -- <SIP/200-00000000>AGI Script picotts.agi completed, returning 0 -- Executing [1234@from-internal:5] Wait("SIP/200-00000000", "4") in new stack 0x7f6c015010 -- Strict RTP learning complete - Locking on source address 192.168.1.67:8000 -- Executing [1234@from-internal:6] Hangup("SIP/200-00000000", "") in new stack == Spawn extension (from-internal, 1234, 6) exited non-zero on 'SIP/200-00000000

pilovis commented 5 years ago

; Picotts exten => 1234,1,Answer() ;;Play mesage in English: exten => 1234,n,agi(picotts.agi,"This is a simple google text to speech test in english.",en) ;;Play message in Spanish exten => 1234,n,agi(picotts.agi,"Esta es una simple prueba en español.",es) ;;Play message in Greek exten => 1234,n,agi(picotts.agi,"Αυτό είναι ένα απλό τέστ στα ελληνικά.",el) exten => 1234,n,Wait(4) exten => 1234,n,Hangup()

pilovis commented 5 years ago

"picospeaker -l en-US test" works

pilovis commented 5 years ago

Ubuntu 16.04.5 LTS Asterisk GIT-11-f3cdc37 currently running on odroid64

pilovis commented 5 years ago

sox is already the newest version (14.4.1-5) perl is already the newest version (5.22.1-9ubuntu0.5) libttspico-utils is already the newest version (1.0+git20130326-3) libttspico-data is already the newest version (1.0+git20130326-3)

locate picospeaker

/usr/bin/picospeaker /usr/src/picospeaker

ldconfig executed