It sounds like the patch got applied wrong or against another version of
Manager.pm...
Try getting this instead: http://fredrik.liljegren.org/Manager.pm
I tried manager-test.pl and I just get a connection refused on
duff:5038, but my own program works well with my changed Manager.pm and
I use
unable to run manager-test.pl
It complaints like this:
# ./manager-test.pl
Odd number of elements in hash assignment at ../lib/Asterisk/Manager.pm
line 292, line 5.
Use of uninitialized value in string eq at ../lib/Asterisk/Manager.pm
line 296, line 5.
Odd number of elements in hash assignment
Excellent!
Thanks for the improvements.
I'm also new to Asterisk::Manager and found it very usefull. But I
think it's lack of documentation makes it hard to use/understand for a
person like me (low perl knowledge).
I was having problems with responses after sending a command, so I'll
test your
And ah, a change in splitresult,
from
$val = $2 if ($2);
to
$val = $2 if (defined $2);
...to get e.g. Status: 0 to Status => 0 instead of Status => ''
/F
Fredrik Liljegren wrote:
> Hello list.
>
> I'm new on this list. I'm working with asterisk at a call center
> company and recent
Hello list.
I'm new on this list. I'm working with asterisk at a call center
company and recently started using asterisk perl to get better control.
I've been using Asterisk::AGI for a while, but just started using
Asterisk::Manager yesterday, and it seems quite in the rough.
I added a few comm
I am getting that eror when using
$astman->command('show channels');
Odd number of elements in hash assignment at /usr/local/share/perl/
5.8.8/Asterisk/Manager.pm line 267, line 7.
Use of uninitialized value in concatenation (.) or string at /usr/
local/share/perl/5.8.8/Asteri