I think you can use this $AGI->exec($app, $options) using exec you can use
all asterisk commands....

check this link
http://search.cpan.org/dist/asterisk-perl/lib/Asterisk/AGI.pm


On Fri, Jul 1, 2011 at 10:24 PM, Frank DiGennaro <[email protected]>wrote:

> All;****
>
>    I’m trying to originate a call using the Asterisk::AMI module (congrats
> to the developer. It's an extremely useful module). What I have is this:**
> **
>
> ** **
>
>         my $response  = $astman->action( { Action   => 'Originate',****
>
>
>                                Channel  => $channel,****
>
>
>                                                                   Context
> => $defaults{ context },****
>
>
>                                Exten    => 's',****
>
>
>                                Priority => '1',****
>
>
>                                Callerid => $defaults{ callerid     },****
>
>
>                                Account  => $defaults{ account_code },****
>
>
>                                Async    => '1',****
>
>
>                                Variable => $arrayref }****
>
>         );****
>
> ** **
>
> Which works fine and is much better than using call files. My question is
> this. How do I set the wait time for the call? There doesn’t appear to be a
> parameter called Waittime that I can use in the above statement. Am I
> missing something obvious? Any insight at all would be greatly appreciated.
> ****
>
> Thanks;****
>
> Frank****
>
> ** **
>

Reply via email to