The methods in Asterisk::AMI::Common are not mean to be an exhaustive
interface to their respective commands, but rather just a quick way to
get the most common functionality done. If they don't expose
functionality you require you are encouraged to build your own actions
and methods to accommodate your needs.
Now if the problem is that you want your own Async originates action to
return immediately, which is admittedly is not a readily available
option I can look into tying that to the OriginateHack option (0 would
allow for immediate response, 1 would wait for the event)?
Regards,
Ryan Bullock
On Mon Feb 27 14:11:44 2012, cbbs70a wrote:
Show quoted text> In Asterisk::AMI::Common, the method originate_async does not allow the
> option of sending an arrayref of variables to be set similiar to the way
> its done in the Asterisk::AMI send_action() method. The ability to set
> vars that way is crucial. Within originate_async it is trivial to add
> the line Variable => $variable in the %action hash.
> Thanks;
> FSD