TUTORIAL Deploy Lenny & TTS Apps with iPBX 2026

@KNERD: You have to get rid of the old way first using steps above. Then the record option is in the MySQL asterisk.itslenny table. Setting the record field to CHECKED is supposed to enable recordings.
 
I got the system working but cannot reach many of the destinations.

THE NEWS

Running as user 'asterisk'
Running under group 'asterisk'
Connected to Asterisk 22.10.0 currently running on noreply (pid = 2073)

Code:
  == Using SIP RTP Audio TOS bits 184

  == Using SIP RTP Audio TOS bits 184 in TCLASS field.

  == Using SIP RTP Audio CoS mark 5

    -- Executing [951@from-internal:1] Answer("PJSIP/703-00000042", "") in new stack

       > 0x7fe768128be0 -- Strict RTP learning after remote address set to: 192.168.0.9:41298

    -- Executing [951@from-internal:2] Wait("PJSIP/703-00000042", "1") in new stack

       > 0x7fe768128be0 -- Strict RTP qualifying stream type: audio

       > 0x7fe768128be0 -- Strict RTP switching source address to 65.131.250.76:41298

    -- Executing [951@from-internal:3] Set("PJSIP/703-00000042", "TIMEOUT(digit)=7") in new stack

    -- Digit timeout set to 7.000

    -- Executing [951@from-internal:4] Set("PJSIP/703-00000042", "TIMEOUT(response)=10") in new stack

    -- Response timeout set to 10.000

    -- Executing [951@from-internal:5] Playback("PJSIP/703-00000042", "/var/lib/asterisk/agi-bin/pleaseholdyahoo") in new stack

    -- <PJSIP/703-00000042> Playing '/var/lib/asterisk/agi-bin/pleaseholdyahoo.slin' (language 'en')

       > 0x7fe768128be0 -- Strict RTP learning complete - Locking on source address 65.131.250.76:41298

    -- Executing [951@from-internal:6] AGI("PJSIP/703-00000042", "nv-news-yahoo.php,8") in new stack

    -- Launched AGI Script /var/lib/asterisk/agi-bin/nv-news-yahoo.php

    -- <PJSIP/703-00000042>AGI Script nv-news-yahoo.php completed, returning 0

    -- Executing [951@from-internal:7] NoOp("PJSIP/703-00000042", "News: This Top Stories news update brought to you by Yahoo and Nerd Viddles.  From Reuters: US appeals court blocks Trump admin from enacting new plans to slash consumer watchdog staff. From Fox News: Body found in South Carolina ID’d as missing fitness trainer who told friend she was 'scared for her life'. From Fox News: Dem who sued to remove Trump's name from Kennedy Center now says venue becoming 'lifeless husk' in fresh fight. From Associated Press: Trump deepens the dustup with Italy's Meloni  who says his 'unprovoked attacks are senseless'. From Fox News: North Carolina furniture manufacturer allegedly kills business partner hours after losing contract dispute. From CNN: Senate’s likely next No. 2 warns Trump if Democrats take the majority: ‘It’s going to be a fight’ on key values. From Associated Press: Nigerian migrants returning from South Africa face the same economic issues they left behind. Have a nice day. Goodbye.") in new stack

    -- Executing [951@from-internal:8] AGI("PJSIP/703-00000042", "speechgen.php,"This Top Stories news update brought to you by Yahoo and Nerd Viddles.  From Reuters: US appeals court blocks Trump admin from enacting new plans to slash consumer watchdog staff. From Fox News: Body found in South Carolina ID’d as missing fitness trainer who told friend she was 'scared for her life'. From Fox News: Dem who sued to remove Trump's name from Kennedy Center now says venue becoming 'lifeless husk' in fresh fight. From Associated Press: Trump deepens the dustup with Italy's Meloni  who says his 'unprovoked attacks are senseless'. From Fox News: North Carolina furniture manufacturer allegedly kills business partner hours after losing contract dispute. From CNN: Senate’s likely next No. 2 warns Trump if Democrats take the majority: ‘It’s going to be a fight’ on key values. From Associated Press: Nigerian migrants returning from South Africa face the same economic issues they left behind. Have a nice day. Goodbye.","en"") in new stack

    -- Launched AGI Script /var/lib/asterisk/agi-bin/speechgen.php

    -- <PJSIP/703-00000042>AGI Script speechgen.php completed, returning 0

    -- Executing [951@from-internal:9] Playback("PJSIP/703-00000042", "/tmp/spokentext") in new stack

[2026-06-21 17:46:08] WARNING[220617][C-00000038]: file.c:832 openstream_internal: File /tmp/spokentext does not exist in any format

[2026-06-21 17:46:08] WARNING[220617][C-00000038]: file.c:1342 ast_streamfile: Unable to open /tmp/spokentext (format (ulaw)): No such file or directory

[2026-06-21 17:46:08] WARNING[220617][C-00000038]: app_playback.c:523 playback_exec: Playback failed on PJSIP/703-00000042 for /tmp/spokentext

    -- Executing [951@from-internal:10] Hangup("PJSIP/703-00000042", "") in new stack

  == Spawn extension (from-internal, 951, 10) exited non-zero on 'PJSIP/703-00000042'

    -- Executing [h@from-internal:1] Gosub("PJSIP/703-00000042", "macro-hangupcall,s,1") in new stack

    -- Executing [s@macro-hangupcall:1] Set("PJSIP/703-00000042", "__MCVMSTATUS=") in new stack

    -- Executing [s@macro-hangupcall:2] Gosub("PJSIP/703-00000042", "app-missedcall-hangup,s,1()") in new stack

    -- Executing [s@app-missedcall-hangup:1] NoOp("PJSIP/703-00000042", "Dialed: s") in new stack

    -- Executing [s@app-missedcall-hangup:2] NoOp("PJSIP/703-00000042", "Caller: ") in new stack

    -- Executing [s@app-missedcall-hangup:3] GotoIf("PJSIP/703-00000042", "0?exit") in new stack

    -- Executing [s@app-missedcall-hangup:4] Set("PJSIP/703-00000042", "EXTENNUM=s") in new stack

    -- Executing [s@app-missedcall-hangup:5] Set("PJSIP/703-00000042", "FEXTENNUM=s") in new stack

    -- Executing [s@app-missedcall-hangup:6] GotoIf("PJSIP/703-00000042", "0?exit") in new stack

    -- Executing [s@app-missedcall-hangup:7] AGI("PJSIP/703-00000042", "missedcallnotify.php,s,,s,0,,PJSIP/703-00000042,,,,") in new stack

    -- Launched AGI Script /var/lib/asterisk/agi-bin/missedcallnotify.php

    -- <PJSIP/703-00000042>AGI Script missedcallnotify.php completed, returning 0

    -- Executing [s@app-missedcall-hangup:8] Return("PJSIP/703-00000042", "") in new stack

    -- Executing [s@macro-hangupcall:3] GotoIf("PJSIP/703-00000042", "1?theend") in new stack

    -- Goto (macro-hangupcall,s,5)

    -- Executing [s@macro-hangupcall:5] ExecIf("PJSIP/703-00000042", "0?Set(CDR(recordingfile)=)") in new stack

    -- Executing [s@macro-hangupcall:6] Hangup("PJSIP/703-00000042", "") in new stack

  == Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'PJSIP/703-00000042'

I did not hear anything except "Please wait a minute while we retrieve the latest yahoo headlines" Similar problems other codes

TIA

Jeff
Looks like the Yahoo RSS feed or TTS script is failing. Test the feed independently and check whether Yahoo has changed its response format.
 

Forum statistics

Threads
26,848
Messages
175,536
Members
20,393
Latest member
mchiampo
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