[asterisk-users] AST_DEVICE_UNAVAILABLE vs. AST_DEVICE_UNKNOWN for new loaded realtime peers

Kristijan Vrban vrban.lkml at googlemail.com
Tue Jul 5 07:22:18 CDT 2011


Hello is use realtime sip-peers in 1.8, and have the problem, that when a peer
is loaded from database, the devstate is "AST_DEVICE_UNAVAILABLE" and
the the peers
can not be called from the queue. because the app_queue only calls
agens in state
AST_DEVICE_NOT_INUSE or AST_DEVICE_UNKNOWN.

My question: is this behavior configurable, or is s scource code
change necessary?
My opinion is, that when a sip peer is loaded from database, and it is
not a dynamic
host, the the devstate should be AST_DEVICE_UNKNOWN, because in this
moment it is
UNKNOWN, and the app_queue whould try to call the peer.

Kristijan



More information about the asterisk-users mailing list