[asterisk-users] adding agent with 2 phones to a queue

Magnus Benngård magnus.b at inputinterior.se
Sun Mar 14 05:38:13 CDT 2010



I tried,

[agents]
exten => 1,hint,SIP/0317998975&SIP/0317998985
exten => 1,1,Dial(SIP/0317998975&SIP/0317998985)
and
queue add member Local/1 at agents to 0317998989

sip*CLI> queue show 0317998989
0317998989 has 0 calls (max unlimited) in 'rrmemory' strategy (0s
holdtime, 109s talktime), W:0, C:1, A:0, SL:0.0% within 0s
 Members:
 Local/1 at agents (dynamic) (Not in use) has taken no calls yet
 No Callers

did call out from 0317998975
sip*CLI> core show hints
 0317998975 at inputinterior.se : SIP/0317998975 State:InUse Watchers 0
 0317998985 at inputinterior.se : SIP/0317998985 State:Idle Watchers 0
 1 at agents : SIP/0317998975 padding-left: 5px; margin-left: 5px; width:
100%;"> 

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
>

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
 http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100314/55d02e3d/attachment.htm 


More information about the asterisk-users mailing list