[Asterisk-Users] Bug in 1.2rc1

Waldo Rubinstein waldo at trianet.net
Thu Nov 10 12:18:49 MST 2005


I had the same problem when I upgraded and fixed it by using the  
following syntax:

AddQueueMember({queue_name}|{channel})

So, before when I had:

AddQueueMember(Ventas),

Now, I need to have:

AddQueueMember(Ventas|SIP/1234).

Because I don't know of a function that will just give me the  
channel, I do:

Cut(temp1=CHANNEL,@,1)
Cut(temp2=temp1,-,1)

So, now I have in ${temp2} the actual channel and I do:

AddQueueMember(Ventas|${temp2})

Hope this helps.

- Waldo

On Nov 10, 2005, at 12:29 PM, BJ Weschke wrote:

>  Anton -
>
>  Thanks for the report. I've just posted a bug for you on the bug  
> tracker at
>
>  http://bugs.digium.com/view.php?id=5705
>
>  Please refer to that URL for further information/resolution.
>
> On 11/10/05, Anton Krall <akrall-lists at intruder.com.mx> wrote:
>> Guys.
>> I just discovered a bug in rc1, whenever We try to do an  
>> addqueuemember,
>> asterisk core dumps.
>>
>> Here is the dialplan:
>>
>> exten => 766,1,AddQueueMember(Ventas)
>> exten => 766,2,AddQueueMember(Soporte-Tecnico)
>> exten => 766,3,AddQueueMember(Soporte-Contrato)
>> exten => 766,4,UserEvent(Agentlogin|Agent: ${CALLERIDNUM})
>> exten => 766,5,Playback(agent-loginok)
>> exten => 766,6,Playback(vm-goodbye)
>>
>> [Nov 10 11:15:41]     -- Executing AddQueueMember("SIP/201-5a35",  
>> "Ventas")
>> in new stack
>> voip*CLI>
>> Disconnected from Asterisk server
>> [Nov 10 11:15:41] Executing last minute cleanups
>> [Nov 10 11:15:41] Asterisk cleanly ending (0).
>>
>> Any more info I can provide to help debug this?
>>
>> _______________________________________________
>> --Bandwidth and Colocation sponsored by Easynews.com --
>>
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> --
> Bird's The Word Technologies, Inc.
> http://www.btwtech.com/
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list