AddQueueMember crashes Asterisk 1.2

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?

BUMP!

HELLO? Hello? hello?

Nice echo in here, anybody around?

I need to be able to offer 1-button login and logout of a queue. Using AgentCallbackLogin stinks. You have to enter your user id, then password, then tell it what extension you are at. All I want is, one speed dial button that logs the agent into the phone where he pressed the button from.

HELP!

Really strange… All of the documentation and examples for AddQueueMember show that you can simply execute AddQueueMember(queuename) and it will work fine. Every time I execute that, my Asterisk process crashes. I added a Playback command and a Hangup command after the AddQueueMember, and now Asterisk is happy to add the agent to the queue. Weird.

The problem I have now is that the agents appear to silently log themselves out after some period of time, and, again, I don’t find anythign in the documentation that says they will do this, or how to keep it from happening.

Thanks in advance…

This forum is not the bug tracker :wink:

try bugs.digium.com