[Asterisk-Users] Channel Status in AGI

Martin Pycko martinp at digium.com
Fri May 23 12:27:52 MST 2003


You can look at application ChanIsAvail

Martin

On Fri, 23 May 2003, asterisk wrote:

> 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
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list