Results 1 to 1 of 1
Hi all,
I have accepted "intime" as "Read(intime||4)" in extensions.conf.
After that, i'm passing as an argument to perl script.
exten => 444,18,AGI(insert_db.pl|${intime})
In insert_db.pl
******************
$statement = "INSERT into ...
- 09-26-2007 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 3
Passing Argument from Asterisk to Perl
Hi all,
I have accepted "intime" as "Read(intime||4)" in extensions.conf.
After that, i'm passing as an argument to perl script.
exten => 444,18,AGI(insert_db.pl|${intime})
In insert_db.pl
******************
$statement = "INSERT into $table_name values(....)";
As the scope of "intime" is in Asterisk only, not in database, I'm stuck with how to pass that in "INSERT into schedule values(....)".
Pls help me out in this
. Please.


Reply With Quote