Displaying 2 results from an estimated 2 matches for "devstatestring".
2007 Sep 19
2
AMI extension states
Hi,
Is there a list of all the extension states as sent by the
manager interface? (I know I could look them up in the source
but that involves some "backtracing".)
The ones I know are:
-1: no hint for the extension
0: registered && idle
1: busy
4: unreachable, not registered
8: ringing
I've recently seen 16 (== hold?) but can't find that value
documented anywhere.
2010 Mar 04
0
Availstatus returns 20 ?
...ting [1 at sin:8]
NoOp("IAX2/testlocal-14088", "chanisavail == 20") in new stack
What does it mean when ChanIsAvail returns '20' ???
This is what inside /usr/src/asterisk-1.4.25.1/main/devicestate.c :
/*! \brief Device state strings for printing */
static const char *devstatestring[] = {
/* 0 AST_DEVICE_UNKNOWN */ "Unknown", /*!< Valid, but
unknown state */
/* 1 AST_DEVICE_NOT_INUSE */ "Not in use", /*!< Not used */
/* 2 AST_DEVICE IN USE */ "In use", /*!< In use */
/* 3 AST_DEVI...