Page 396 - Asterisk™: The Future of Telephony
P. 396
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.
The AddQueueMember() application sets a channel variable named AQMSTATUS upon com-
pletion. The AQMSTATUS variable will be set to one of the following values:
ADDED
MEMBERALREADY
NOSUCHQUEUE
Calling AddQueueMember() without an interface argument will use the interface that the
caller is currently using.
If the option argument is set to j, Asterisk cannot add the interface to the specified
queue, and there exists an n+101 priority (where n is the number of the current priority),
the call will jump to that priority.
The membername argument may be set to the name of the queue member. Consequently,
this name will show up in the entries of the queue_log as well as Asterisk Manager
Interface events, making it easier to identify the agent for reporting purposes:
; add SIP/3000 to the techsupport queue, with a penalty of 1
exten => 123,1,AddQueueMember(techsupport,SIP/3000,1)
See Also
Queue(), RemoveQueueMember(), PauseQueueMember(), UnpauseQueueMember(), AgentLogin
() , queues.conf
ADSIProg() Loads an ADSI script into an ADSI-capable phone
ADSIProg(script)
Programs an Analog Display Services Interface (ADSI) phone with the given script. If
none is specified, the default script, asterisk.adsi, is used. The path for the script is
relative to the Asterisk configuration directory (usually /etc/asterisk/). You may also
provide the full path to the script.
To get the CPE ID and other information from your ADSI-capable phone, use the
GetCPEID() application:
; program the ADSI phone with the telcordia-1.adsi script
exten => 123,1,ADSIProg(telcordia-1.adsi)
See Also
GetCPEID(), adsi.conf
368 | Appendix B: Application Reference