[asterisk-users] AGI script commands
TTT
lists at telium.io
Fri Jun 30 20:52:08 CDT 2023
I have an AGI script written in PHP that worked great with Asterisk 13. I'm
porting it to an Asterisk 20 site and have a strange problem. I tried
running the script from the command line and it works fine; I see the script
commands written to stdout like
VERBOSE "SmartScreen v1"
But when run from asterisk the CLI shows:
[2023-06-30 15:50:47] VERBOSE[1264031][C-00000025] pbx.c: Executing
[s at function-smartscreen:2] EAGI("PJSIP/Twilio-NA-W-3-In-00000068",
"smartscreen/smartscreen.php,"GEORGE SMITH" <+1234567890>") in new stack
[2023-06-30 15:50:47] VERBOSE[1264031][C-00000025] res_agi.c: Launched AGI
Script /var/lib/asterisk/agi-bin/smartscreen/smartscreen.php
[2023-06-30 15:50:48] VERBOSE[1264031][C-00000025] res_agi.c:
<PJSIP/Twilio-NA-W-3-In-00000068>AGI Script smartscreen/smartscreen.php
completed, returning 0
I never see any messages or commands sent from the script to stdout (to
asterisk) Has the way EAGI operates changed? This script doesn't use any
AGI libraries.just simply read/write to stdin/stdout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230701/5713115f/attachment.html>
More information about the asterisk-users
mailing list