AddQueueMember()
AddQueueMember(Warteschleife
[,Interface
[,Malus
[|,Optionen
]]])
queues.conf
definiert wurde. Die Malus-Punkte
beeinflussen ggf. die Position bei der Abarbeitung. Agenten mit niedrigerem
Malus werden vor Einträgen mit höherem Malus aufgerufen.j
(jump) angegeben werden.)AddQueueMember()
ohne den Interface-Parameter
aufgerufen, findet das vom Teilnehmer zu diesem Zeitpunkt benutzte Interface
Verwendung.|
) auch Kommas verwenden.${AQMSTATUS}
auf ADDED
(hinzugefügt),
MEMBERALREADY
(ist bereits Mitglied) oder
NOSUCHQUEUE
(Warteschlange nicht vorhanden).; SIP/3000 zur "supportschlange" hinzufügen: exten => 123,1,AddQueueMember(supportschlange,SIP/3000) ; das aktuelle Interface mit Malus 2 hinzufügen: exten => 123,1,AddQueueMember(supportschlange,,2)
————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
-= Info about application 'AddQueueMember' =-
[Synopsis]
Dynamically adds queue members
[Description]
AddQueueMember(queuename[|interface[|penalty[|options[|membername]]]]):
Dynamically adds interface to an existing queue.
If the interface is already in the queue and there exists an n+101 priority
then it will then jump to this priority. Otherwise it will return an error
The option string may contain zero or more of the following characters:
'j' -- jump to +101 priority when appropriate.
This application sets the following channel variable upon completion:
AQMSTATUS The status of the attempt to add a queue member as a
text string, one of
ADDED | MEMBERALREADY | NOSUCHQUEUE
Example: AddQueueMember(techsupport|SIP/3000)
--- in Asterisk 1.2
+++ in Asterisk 1.4
@@ -4,7 +4,7 @@
Dynamically adds queue members
[Description]
- AddQueueMember(queuename[|interface[|penalty[|options]]]):
+ AddQueueMember(queuename[|interface[|penalty[|options[|membername]]]]):
Dynamically adds interface to an existing queue.
If the interface is already in the queue and there exists an n+101 priority
then it will then jump to this priority. Otherwise it will return an error
--- in Asterisk 1.4
+++ in Asterisk 1.6
@@ -4,14 +4,11 @@
Dynamically adds queue members
[Description]
- AddQueueMember(queuename[|interface[|penalty[|options[|membername]]]]):
+ AddQueueMember(queuename[,interface[,penalty[,options[,membername[,stateinterface]]]]]):
Dynamically adds interface to an existing queue.
- If the interface is already in the queue and there exists an n+101 priority
- then it will then jump to this priority. Otherwise it will return an error
- The option string may contain zero or more of the following characters:
- 'j' -- jump to +101 priority when appropriate.
+ If the interface is already in the queue it will return an error.
This application sets the following channel variable upon completion:
AQMSTATUS The status of the attempt to add a queue member as a
text string, one of
ADDED | MEMBERALREADY | NOSUCHQUEUE
- Example: AddQueueMember(techsupport|SIP/3000)
+ Example: AddQueueMember(techsupport,SIP/3000)