Before reading further... Are you looking for great Linux hosting from a company that cares about GNU/Linux? Pick Dreamhost hosting, get a 10% bonus to the disk space (and support Free Software Magazine in the meantime!)

lost in asterisk's picture

Passing Asterisk value to Perl Script

Hi all,
I have acceted "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|${inti...

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.

Best answer

No BEST answer yet!
Provide your own answer, or vote for existing ones!