I originally wrote ChanIsAvail to be for Zap devices, and then with some
ideas from Mark I made it generic enough to work for any channel driver.
Unfortunately for the voip protocols it doesn't really work very well.
It basically grabs starts a call but never actually makes a call, and I
don't know
With sip and h323 * works fine ... but when I use MGCP endpoints :
with this config:
exten => 1001,1,ChanIsAvail(MGCP/aaln/[EMAIL PROTECTED])
exten => 1001,2,Ringing()
#exten => 1001,3,Wait(1)
exten => 1001,3,Dial,MGCP/aaln/[EMAIL PROTECTED]
exten => 1001,102,Busy()
when I dial 1001 , the phone