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


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to