[asterisk-users] How to know if the current call has been answer()'ed

Joshua Colp jcolp at digium.com
Wed Jul 9 16:17:34 CDT 2014

Justin Killen wrote:
> Is there a channel variable / status indicator / function that indicates
> if the current channel has been answer()’ed?

${CHANNEL(state)} will return the state the channel is currently in. If 
the channel is answered the state will be "Up".


Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

More information about the asterisk-users mailing list