[asterisk-dev] Feature Request: Change Devicestate of Local Channels
Michael Konietzny
asterisk at mms-dresden.de
Thu Aug 3 00:40:08 MST 2006
Hey guys,
I'm actually migrating from using chan_agent to AGI Script driven
chan_local channels caused by the locking problems
issued by chan_agent.
The problem i've ran into is that local channels can't get set to
UNAVAILABLE state as an agent behind the local
channel is "logged off". The Local channel then gets a call and will be
terminated while the AGI returns that he has logged off.
So my idea would be to set the device state by manager or CLI to
UNAVAILABLE if the
agent "logs in" and to UNKNOWN if the agent "logs in".
I've seen that Bristuff already implemented something like that for the
DS context, but i think it would be better to
make it possible in chan_local.
So how do you think about that one ?
Greetings,
Michael Konietzny
More information about the asterisk-dev
mailing list