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