Frank:
use this into your originate request:
Timeout: 30000
Variable: TIMEOUT(absolute)=900
The first is the Dial time out in milliseconds
The second is the TOTAL time possible for one call and the timer is set in
seconds.
Regards... Fernando "El Pop" Romo
On Jul 1, 2011, at 11:54 AM, Frank DiGennaro 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
>