I have been trying to get AddQueueMember to work under Asterisk v1.2, but no matter how I code it, and no matter how I set the agents.conf and queues.conf files, it crashes Asterisk when executed.
Here is what I get in my full log file when executing either of these commands;
exten => 86512,1,AddQueueMember(it-queue)
or
exten => 9903,1,AddQueueMember(it-queue|SIP/6512)
full log
Dec 12 16:11:08 DEBUG[3495] chan_sip.c: Auto destroying call '6c49735781f1e039@172.16.100.230’
Dec 12 16:11:08 DEBUG[3495] chan_sip.c: Setting NAT on RTP to 524288
Dec 12 16:11:08 DEBUG[3495] chan_sip.c: Stopping retransmission on ‘92038d15b734a156@172.16.100.232’ of Response 121: Match Found
Dec 12 16:11:08 DEBUG[3495] chan_sip.c: Setting NAT on RTP to 524288
Dec 12 16:11:08 DEBUG[3495] chan_sip.c: Checking SIP call limits for device 6512
Dec 12 16:11:08 DEBUG[3495] chan_sip.c: build_route: Contact hop: sip:6512@172.16.100.232
Dec 12 16:11:08 DEBUG[3483] channel.c: Avoiding initial deadlock for 'SIP/6512-0d10’
Dec 12 16:11:08 VERBOSE[4652] logger.c: – Executing AddQueueMember(“SIP/6512-0d10”, “it-queue”) in new stack
agents.conf
agent => 6512,6512,Brian Meyer
queues.conf
[it-standard]
music = default
strategy = ringall
timeout = 15
retry = 5
maxlen = 0
announce-frequency = 30
announce-holdtime = once
queue-youarenext = silence
wrapuptime=10
leavewhenempty=yes
member=>Agent/6519,0
member=>Agent/6521,0
member=>Agent/6512,1
Does anyone have any clues as to why this is happening?