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 improvements an let you know. Thanks again! /Alex Fredrik Liljegren wrote: 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 comments, documentation and debugging-output (if you set $astman->debug(1)). Then, AMI sends a lot of messages, and I found that the answer to sendcommand often was a completely different message. I added ActionID to all in sendcommand, and check that the correct response is returned. Other responses are sent to eventcallback. Well, here's a diff, I hope it's useful. /Fredrik (fiddur on #asterisk) --------------------------------------------------------------------- To unsubscribe, e-mail: asterisk-perl-unsubscr...@lists.gnuinter.net For additional commands, e-mail: asterisk-perl-h...@lists.gnuinter.net |
- Manager.pm Fredrik Liljegren
- Re: Manager.pm Fredrik Liljegren
- Re: Manager.pm Alejandro Mejía Evertsz
- Re: Manager.pm Alejandro Mejía Evertsz
- Re: Manager.pm Fredrik Liljegren