|Summary:||ASTERISK-00011: AGI channel_status failure|
|Date Opened:||2003-07-25 14:24:18||Date Closed:||2004-09-25 02:23:01|
|Description:||Here is a small excerpt from a Perl agi script of mine.|
my $result = $AGI->channel_status(Zap/1-1);
print STDERR "Channel Status is, $result\n";
the channel_status call doesn't seem to be functioning correctly. I have tried numerous different variations of Zap/1-1 in parentheses (Zap/1 ZAP/1 zap/1 ZAP/1-1, etc.) and no matter what I place there (I can put Junk/35234 for example) I always have 4 (channel is ringing) returned.
|Comments:||By: James Golovich (jamesgolovich) 2003-07-31 22:00:53|
This is actually a bug in Asterisk::AGI and not asterisk itself. That part of the module was written before specifying a channel in "CHANNEL STATUS" was an option. I'll update the module and release a new version sometime soon.
By: bbawkon (bbawkon) 2003-08-05 14:17:42
Well, thats good to know.. I'll be looking forward to the new release of Asterisk::AGI
By: James Golovich (jamesgolovich) 2003-08-07 13:46:03
I just released a new version of asterisk-perl to fix this, as well as another bug. It can be found at the usual place (http://asterisk.gnuinter.net)