ChanIsAvail

Command Type: 
Dialplan Application
Version: 
Trunk
Syntax: 

ChanIsAvail(Technology/Resource([Technology2/Resource2[&...]])[,options])

This application will check to see if any of the specified channels are available.

This application sets the following channel variables:

AVAILCHAN

The name of the available channel, if one exists

AVAILORIGCHAN

The canonical channel name that was used to create the channel

AVAILSTATUS

The status code for the available channel

Parameters: 
Technology/Resource:

Optional extra devices to check

options:
a

Check for all available channels, not only the first one

s

Consider the channel unavailable if the channel is in use at all

t

Simply checks if specified channels exist in the channel list

Command Reference

Dialplan Applications


Dialplan Functions