MySQL Forums
Forum List  »  Perl

Passing Argument from Asterisk to Perl
Posted by: Padmaja T N
Date: September 26, 2007 05:35AM

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|${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.



Edited 1 time(s). Last edit at 09/26/2007 05:36AM by Padmaja T N.

Options: ReplyQuote


Subject
Written By
Posted
Passing Argument from Asterisk to Perl
September 26, 2007 05:35AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.