[asterisk-dev] expected hint value when multiple devices are combined (onHold)

Philippe Lindheimer p_lindheimer at yahoo.com
Thu May 7 16:27:44 CDT 2009


I ran into the following issue that I believe should be considered a bug and wanted to get the feedback of others.

If you have a hint with two (or more) devices or a device and a custom devstate that includes onHold, you get unexpected results. Two examples:

exten => 222,hint,SIP/222&SIP/211
exten => 333,hint,Custom:DND333&SIP/333

Here is what I find:

Idle & InUse= InUse
Idle & Ringing = Ringing
InUse & Ringing = InUse&Ringing
OnHold & Ringing = Ringing
OnHold & InUse = InUse
OnHold & Idle = Idle  (NOT WHAT ONE WOULD EXPECT)

I conjecture that one would expect any state that 'raises' the level of the combination above an idle state would return that state, and basically the 'less available'  (busier so to speak) that the state is, it would take precedence. Most of the behavior appears that way with the exception that Idle is taking precedence of onHold which seems very counter-intuitive.

Before filing this as a "bug" I would like to get the feedback of others what would be the proper value of such a combination.




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090507/0d1005fb/attachment.htm 


More information about the asterisk-dev mailing list