Displaying 3 results from an estimated 3 matches for "devicestate_8h".
2007 Jan 22
1
QueueMemberStatus/Status Field
Hi all,
Where can I find the status definitions for the status field below?
Googled /web/voip-info.org and can't seem to find anything.
Event: QueueMemberStatus
Privilege: agent,all
Queue: support
Location: SIP/111
Membership: dynamic
Penalty: 0
CallsTaken: 0
LastCall: 0
Status: 1
Paused: 0
Thank you!
--
Warm Regards,
Lee
2007 Mar 03
0
creating new asterisk application
Hi,
I'm writing asterisk application in C language. I need to know what is
state of my asterisk user, so I have found command: ast_device_state(data);
. So if my IP phone is reachable I get status 1
(AST_DEVICE_NOT_INUSE<http://www.asteriskpbx.com/doxygen/1.2/devicestate_8h.html#42ea804da1426b4117686332400b27c2>).
But when I have unplugged my phone's cable , and sip show peer command shows
status UNREACHABLE , but my application again shows status 1 (not in use).
My question ,is it OK? Maybe is better to use another sollution to check
channels status?
Thanks
--...
2008 Dec 22
1
AMI and ExtensionState command returning bogus 'status' number
...mething like:
"Notes: The following are the possible extension states:
-2 Extension removed
-1 Extension hint not found
0 Idle
1 In use
2 Busy"
I have confirmed that it is returning the 'Status' as described in
'devicestate.h'
( http://www.asterisk.org/doxygen/1.4/devicestate_8h-source.html ) ,
part of Asterisk source files.
Something like this:
/**
* Device is valid but channel didn't know state
* AST_DEVICE_UNKNOWN 0
*
* Device is not used
* AST_DEVICE_NOT_INUSE 1
*
* Device is in use
* AST_DEVICE_INUSE 2
*
* Device is busy
* AST_DEVICE_BUSY 3
*...