AddQueueMember( ) Dynamically adds queue members to the specified call queue

AddQueueMember(queuename[,interface[,penalty]])

 

Dynamically adds the specified interface to an existing queue named queuename, as specified in queues.conf. If specified, penalty sets the penalty for queues to use this member. Members with a lower penalty are called before members with a higher penalty.

If interface is already a member of the queue and there exists an n+101 priority (where n is the number of the current priority), the call will continue at that priority. Otherwise, it will return an error.

Calling AddQueueMember( ) without an interface argument will use the interface that the caller is currently using.

    ; add SIP/3000 to the techsupport queue, with a penalty of 1
    exten => 123,1,AddQueueMember(techsupport,SIP/3000,1)

 

See Also

RemoveQueueMember( ), queues.conf