[asterisk-dev] Why is status of the dynamic agent always 0
	(unknown)?
    Asterisk 
    asterisk at abraxas.si
       
    Thu Aug  3 09:49:04 MST 2006
    
    
  
Hi guys,
I have just switched from static agents to dynamic ones and have noticed
one thing: in v1.2.10 all dynamic agents have always status 0 (unknown).
It seems as if every time ast_device_state is being called, status
changes to 0 - also status is never initialized in add_to_queue.
Is this a bug, or is this how it's supposed to work? I'm asking this
because certain patches (like http://bugs.digium.com/view.php?id=5577
for example) don't work as they rely on agent's status.
Any ideas how could I make Asterisk properly handle statuses of dynamic
agents?
Regards,
Alex
    
    
More information about the asterisk-dev
mailing list