system
1
Hi Guys,
I dont know if you can help me.
Where can I get all the status number in asterisk? Please see below:
1 - Not in Use
2 - In Use
3 - Busy
4 -
5 - Unavailable
6 - Ringing
I want to know all the status number in asterisk. Im using 1.8 right now.
Thanks,
airbase
david55
2
include/asterisk/devicestate.h
You may also want include/asterisk/channel.h
system
3
Hi Thanks a lot.
For others who were looking also for this.
Here’s the code.
AST_DEVICE_UNKNOWN - 0
AST_DEVICE_NOT_INUSE - 1
AST_DEVICE_INUSE - 2
AST_DEVICE_BUSY - 3
AST_DEVICE_INVALID - 4
AST_DEVICE_UNAVAILABLE - 5
AST_DEVICE_RINGING - 6
AST_DEVICE_RINGINUSE - 7
AST_DEVICE_ONHOLD - 8
AST_DEVICE_TOTAL - 9
airbase