[Asterisk-Users] AGI->Exec Problem

James Golovich james at wwnet.net
Mon Jun 28 11:13:28 MST 2004

On Mon, 28 Jun 2004, Tom Daly wrote:

> Hello,
> I am having some trouble with the Asterisk::AGI perl library. It seems
> that the AGI->Exec() command is causing me a problem.
> Here's the line in my AGI code: $AGI->exec('Record',"$vmfile:wav, 30");

The proper usage would be:
$AGI->exec('Record', "$vmfile:wav|30");

I guess it isn't clearly documented in my code/examples so I'll try to add
some in before the next release.  When it was implemented the | was the
only seperator in asterisk, it wasn't until many months later that the
(,,,) args were implemented



More information about the asterisk-users mailing list