Skip Menu |

This queue is for tickets about the Asterisk-AMI CPAN distribution.

Report information
The Basics
Id: 75351
Status: rejected
Priority: 0/
Queue: Asterisk-AMI

People
Owner: Nobody in particular
Requestors: frank [...] digennaro.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Add Variable => $variables in originate_async
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
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