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

Report information
The Basics
Id:
99348
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
lagutas [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: originate async bug
Date: Tue, 7 Oct 2014 20:25:39 +0600
To: bug-Asterisk-AMI@rt.cpan.org
From: Сергей Лагута <lagutas@gmail.com>
Asterisk-AMI-v0.2.8.tar.gz
my perl v5.10.1 (*) built for x86_64-linux-thread-multi
my OS CentOS release 6.5 (Final)

i used to do async=1, and everything was good, but new version of asterisk 11.10.2 have a problem with your library. 
If i set aysnc=1, perl program make originate and asterisk make call, but perl program  get lock. 

If i set aysnc='true' everything work fine, but perl program get warning 
Argument "true" isn't numeric in numeric eq (==) at /usr/local/share/perl5/Asterisk/AMI.pm line 1166.

I deleted now this string from the library
elsif ($lkey eq 'async' && $value == 1) {
                        $async = 1;

but I would like to actual that your library is relevant to the modern version of asterisk.





This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.