[asterisk-users] adding agent with 2 phones to a queue - SOLVED
Rob Hillis
rob at hillis.dyndns.org
Sun Mar 14 08:53:06 CDT 2010
Glad to see I was able to point you in the right direction.
On 03/14/10 23:56, Magnus Benngård wrote:
>
> queue add member Local/1 at agents to 0317998989 penalty 1 as "Magnus
> Benngard" state_interface hint:1 at agents <- did the trick :)
>
> On Sun, 14 Mar 2010 11:38:13 +0100, Magnus Benngård
> <magnus.b at inputinterior.se> wrote:
>
> 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&SIP/0 State:InUse Watchers 0
>
> Looks correct to me... but:
> 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
>
> Do understand that I have missed something here, shouldn't it be
> InUse?, Calling the queue (both phone are ringing) and answer gives:
> sip*CLI> queue show 0317998989
> 0317998989 has 0 calls (max unlimited) in 'rrmemory' strategy (1s
> 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
>
> I am completly lost. :(
>
> On Sun, 14 Mar 2010 01:08:53 +1100, Rob Hillis wrote:
>
> 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
>
>
>
>
>
>
>
More information about the asterisk-users
mailing list