Magnus BenngÄrd
2010-Mar-13 13:03 UTC
[asterisk-users] adding agent with 2 phones to a queue
Hi! We have alot of users who are having 2 phones, 1 fixed and 1 DECT. I am looking for a way to log them into a queue and let both phone rings. Let me try to explain: 0317998975 is a fixed phone, 0317998985 is a DECT. 0317998989 is a queue. queue add member SIP/0317998975 to 0317998989 works ofc. sip*CLI> queue show 0317998989 0317998989 has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime, 0s talktime), W:0, C:0, A:1, SL:0.0% within 0s Members: SIP/0317998975 (dynamic) (Not in use) has taken no calls yet But what i would like to do is something like: queue add member SIP/0317998975&SIP/0317998985 to 0317998989 But that doesnt work. :( sip*CLI> queue show 0317998989 0317998989 has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime, 0s talktime), W:0, C:0, A:1, SL:0.0% within 0s Members: SIP/0317998975&SIP/0317998985 (dynamic) (Unknown) has taken no calls yet Did try to add a hint: "exten => kalle,hint,SIP/0317998975&SIP/0317998985" just for testing purposes, that did work: kalle at inputinterior.se : SIP/0317998975&SIP/0 State:Idle Watchers 0 But I cant figure out howto "connect" the queue with "kalle", or maybe it is not possible? /Magnus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100313/69971ecf/attachment.htm
Your best option is likely to be to create a separate context that calls both numbers, like so... [agents] exten => 1,Dial(SIP/0317998975&SIP/0317998985) ...then add Local/1 at agents to the queue. On 03/14/10 00:03, Magnus Benng?rd wrote:> > Hi! > > We have alot of users who are having 2 phones, 1 fixed and 1 DECT. > > I am looking for a way to log them into a queue and let both phone > rings. Let me try to explain: > > 0317998975 is a fixed phone, 0317998985 is a DECT. 0317998989 is a queue. > > queue add member SIP/0317998975 to 0317998989 works ofc. > > sip*CLI> queue show 0317998989 > 0317998989 has 0 calls (max unlimited) in 'rrmemory' strategy (0s > holdtime, 0s talktime), W:0, C:0, A:1, SL:0.0% within 0s > Members: > SIP/0317998975 (dynamic) (Not in use) has taken no calls yet > > But what i would like to do is something like: > > queue add member SIP/0317998975&SIP/0317998985 to 0317998989 > > But that doesnt work. :( > > sip*CLI> queue show 0317998989 > 0317998989 has 0 calls (max unlimited) in 'rrmemory' strategy (0s > holdtime, 0s talktime), W:0, C:0, A:1, SL:0.0% within 0s > Members: > SIP/0317998975&SIP/0317998985 (dynamic) (Unknown) has taken no > calls yet > > Did try to add a hint: "exten => > kalle,hint,SIP/0317998975&SIP/0317998985" just for testing purposes, > that did work: > > kalle at inputinterior.se : SIP/0317998975&SIP/0 > State:Idle Watchers 0 > > But I cant figure out howto "connect" the queue with "kalle", or maybe > it is not possible? > > /Magnus >