Asterisk-AMI
view release on metacpan or search on metacpan
lib/Asterisk/AMI/Common.pm view on Meta::CPAN
CTIMEOUT + TIMEOUT will be used for the command timeout. For example if CTIMEOUT is 30 seconds and TIMEOUT is 5 seconds, the entire
command will timeout after 35 seconds.
Returns 1 on success 0 on failure, or undef on error or timeout.
WARNING: This method can block for a very long time (CTIMEOUT + TIMEOUT).
originate_async ( CHANNEL, CONTEXT, EXTEN [, CALLERID, CTIMEOUT, TIMEOUT ] )
Attempts to dial CHANNEL and then drops it into EXTEN@CONTEXT in the dialplan asynchronously. Optionally a CALLERID can be provided.
CTIMEOUT is optional and determines how long the call will dial/ring for in seconds. TIMEOUT is optional and only affects how long we will
wait for the initial response from Asterisk indicating if the call has been queued.
Returns 1 if the call was successfully queued, 0 on failure, or undef on error or timeout.
WARNING: A successfully queued call does not mean the call completed or even originated.
=head1 See Also
Asterisk::AMI, Asterisk::AMI::Common::Dev
( run in 0.252 second using v1.01-cache-2.11-cpan-0d8aa00de5b )