[Asterisk-Users] Channel Status in AGI

asterisk asterisk at carhil.com
Fri May 23 11:50:19 MST 2003


I am looking for a way to quickly and easily test for on-hook channels 
from within a C-language AGI app. CHANNEL STATUS works but is a bit 
clumsy. I don't want to rely on strcmp'ing the returned '200 result=-1' 
as the meaning of this might change in the future. I am trying to create 
an ACD using MySQL and want to test each channel before I Dial it. Any 
ideas?

Jim Friedeck




More information about the asterisk-users mailing list