i mean AGI->database_get() ----- Original Message ----- From: "Muhammad Nasim" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 23, 2003 6:41 PM Subject: Re: [Asterisk-Users] perl database get
> I've used both the syntax you have given and the perl module. AGI->getvar() > returns nothing for arguments that work from the CLI > > (Also when I run agi-test.agi, the only thing that works is the SAY NUMBER. > SEND TEXT doesn't work and nothing at all is printed to teh console) > > I am using redhat 8. Could it be a redhat 8 problem do you think? > > ----- Original Message ----- > From: "Tilghman Lesher" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, December 23, 2003 6:07 PM > Subject: Re: [Asterisk-Users] perl database get > > > > On Tuesday 23 December 2003 10:20, Muhammad Nasim wrote: > > > Does anyone have any example perl agi script that does a database > > > get. I am being thick and can't seem to get the return value: > > > > > > print "DATABASE PUT big bigger biggest \n"; This bit works > > > fine print "DATABASE GET big bigger \n"; > > > Now what do I do to get the my value from the database get?? > > > > $result = <>; > > or more explicitly: > > $result = <STDIN>; > > > > The real answer, though, is to point you to the Perl module at > > http://asterisk.gnuinter.net and tell you that all of these issues > > have already been solved. > > > > -Tilghman > > > > _______________________________________________ > > Asterisk-Users mailing list > > [EMAIL PROTECTED] > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users