Queue Member Penalty

  1. 14 years ago

    It would be helpful when adding members to a queue that you could also set the members penalty. You can currently set the members “Queue Channel”, maybe some syntax “Queue Channel, Penalty” to allow FOP2 to set the members penalty level. “Queue Channel” without the extra option wouldn’t set a penalty and would function as is. Penalty is an integer zero or greater.

    All you would need to do is add one additional parameter to your AddQueueMember call.

    Asterisk <=1.4
    AddQueueMember(queuename[|interface[|penalty
    Asterisk >=1.6
    AddQueueMember(queuename[,interface[,penalty

    Full functions.
    AddQueueMember(queuename[|interface[|penalty]]): (1.0)
    AddQueueMember(queuename[|interface[|penalty[|options]]]): (1.2)
    AddQueueMember(queuename[|interface[|penalty[|options[|membername]]]]): (1.4)
    AddQueueMember(queuename[,interface[,penalty[,options[,membername[,stateinterface]]]]])): (1.6+)

  2. I also need this one!
    We would pay for adding this feature...

  3. admin

    20 Sep 2010 Administrator

    Implemented on FOP 2.20, you can pass the options like:

    Penalty, MemberName, StateInterface and Paused states

    queuechannel=Local/123@from-queue/n|Penalty=3|MemberName=John

or Sign Up to reply!