Re: Manager.pm

2009-01-28 Thread Fredrik Liljegren
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 it

Re: Manager.pm

2009-01-28 Thread Alejandro Mejía Evertsz
Frank: There's a simple example included on source (missing some documentation/explanation I think). If you installed via cpan, it should be on: ~/.cpan/build/asterisk-perl-0.10/examples/manager-test.pl (where ~ is your home folder) Fredrik: I applied the patch you sent, but now I'm unable to

Re: Manager.pm

2009-01-28 Thread Alejandro Mejía Evertsz
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

Re: Manager.pm

2009-01-28 Thread Fredrik Liljegren
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