Displaying 1 result from an estimated 1 matches for "contno".
Did you mean:
confno
2006 Mar 01
0
perl AGI won't run from extensions.conf
...and) it executes. I know this because it leaves data in TEST.txt. However, when I try to execute it via extensions.conf the CLI says it executes returning 0, but it does not dump data into TEST.txt. Can anyone help me determine why?
extensions.conf (snippet)
exten => 830,1,Read(Contno,enterpono,6,s)
exten => 830,2,Wait(1.2)
exten => 830,3,SatDigits(${Contno:0:6})
exten => 830,4,AGI(AP_info.agi|${Contno})
PO_info.agi
#!/usr/bin/perl
use Asterisk::AGI->new();
my ($contno) = $ARGV[0];
open (TEST, ">>/home/richard/TEST.txt&quo...