[Asterisk-Users] AGI Problem

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Fri Dec 2 12:27:13 MST 2005


Hi!


> The first result is ok (-1) but not the second and the third.
> Why do I get different results for the same command?

Hm... u might want to try this:


# Check
print "EXEC ChanIsAvail IAX/24\n";
$result = <STDIN>;
print "VERBOSE \"$result\" 0\n";
$result = <STDIN>;

# Check
print "EXEC ChanIsAvail IAX/24\n";
$result = <STDIN>;
print "VERBOSE \"$result\" 0\n";
$result = <STDIN>;

# Check
print "EXEC ChanIsAvail IAX/24\n";
$result = <STDIN>;
print "VERBOSE \"$result\" 0\n";
$result = <STDIN>;


Philipp





More information about the asterisk-users mailing list