[Asterisk-Users] AddQueueMember and Local channels

2006-06-14 Thread Julian Lyndon-Smith
Following on from a posting yesterday from Kevin, I have the following 
in the dialplan:


exten = 709,1,AddQueueMember(SomeQueue|Local/[EMAIL PROTECTED])

I am on extension 706.

From the CLI:

SomeQueue has 0 calls (max unlimited) in 'rrmemory' strategy (0s 
holdtime), W:0, C:0, A:3, SL:0.0% within 60s

   No Members
   No Callers

I call 709, get a console message


 NOTICE[30879]: app_queue.c:3122 aqm_exec: Added interface 
'Local/[EMAIL PROTECTED]' to queue 'SomeQueue'


from the CLI:

SomeQueue has 0 calls (max unlimited) in 'rrmemory' strategy (0s 
holdtime), W:0, C:0, A:3, SL:0.0% within 60s

   Members:
  Local/[EMAIL PROTECTED] (dynamic) (In use) has taken no calls yet
   No Callers


Notice the (In use) on the member. When I call the queue, the call is 
not passed onto the member, and there is no activity on the cli. 
Eventually the call times out.


If I add SIP/706 instead of Local/[EMAIL PROTECTED] then it all works as 
expected.

Any clues or help ? Many thanks !

Julian.

Kevin P. Fleming wrote:
 - Julian Lyndon-Smith [EMAIL PROTECTED] wrote:
 Now, I want to be able to use a device, rather than agents. So I can
 use addQueueMember and add my SIP device. However, I still want to 
do a couple of things before the device is called.


 This is what the Local channel (chan_local) is for.

 If your SIP device is called myfancyphone, then instead of adding 
SIP/myfancyphone to the queue using AddQueueMember, add (instead) 
Local/[EMAIL PROTECTED], and then in your dialplan:


 [members]
 exten = myfancyphone,1,...
 exten = myfancyphone,n,...
 exten = myfancyphone,n,Dial(SIP/${EXTEN})
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] AddQueueMember and Local channels

2006-06-14 Thread Julian Lyndon-Smith
Further to my post, I was going to revert SVN backwards until I got to a 
point where AddQueueMember works with the local channel


To this end, if anyone is using this functionality would they send me 
the version number and prefably svn number so that I can track things down.


It may be a config problem on my end - that's why I need to know a 
working version so that I can check my config on that version.


Many thanks.

Julian.

Julian Lyndon-Smith wrote:
Following on from a posting yesterday from Kevin, I have the following 
in the dialplan:


exten = 709,1,AddQueueMember(SomeQueue|Local/[EMAIL PROTECTED])

I am on extension 706.

 From the CLI:

SomeQueue has 0 calls (max unlimited) in 'rrmemory' strategy (0s 
holdtime), W:0, C:0, A:3, SL:0.0% within 60s

   No Members
   No Callers

I call 709, get a console message


 NOTICE[30879]: app_queue.c:3122 aqm_exec: Added interface 
'Local/[EMAIL PROTECTED]' to queue 'SomeQueue'


from the CLI:

SomeQueue has 0 calls (max unlimited) in 'rrmemory' strategy (0s 
holdtime), W:0, C:0, A:3, SL:0.0% within 60s

   Members:
  Local/[EMAIL PROTECTED] (dynamic) (In use) has taken no calls yet
   No Callers


Notice the (In use) on the member. When I call the queue, the call is 
not passed onto the member, and there is no activity on the cli. 
Eventually the call times out.


If I add SIP/706 instead of Local/[EMAIL PROTECTED] then it all works as 
expected.

Any clues or help ? Many thanks !

Julian.

Kevin P. Fleming wrote:
  - Julian Lyndon-Smith [EMAIL PROTECTED] wrote:
  Now, I want to be able to use a device, rather than agents. So I can
  use addQueueMember and add my SIP device. However, I still want to 
do a couple of things before the device is called.

 
  This is what the Local channel (chan_local) is for.
 
  If your SIP device is called myfancyphone, then instead of adding 
SIP/myfancyphone to the queue using AddQueueMember, add (instead) 
Local/[EMAIL PROTECTED], and then in your dialplan:

 
  [members]
  exten = myfancyphone,1,...
  exten = myfancyphone,n,...
  exten = myfancyphone,n,Dial(SIP/${EXTEN})
___
--Bandwidth and Colocation provided by Easynews.com --

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




___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] AddQueueMember and Local channels

2006-06-14 Thread Kevin P. Fleming
- Julian Lyndon-Smith [EMAIL PROTECTED] wrote:

 It may be a config problem on my end - that's why I need to know a 
 working version so that I can check my config on that version.

No, it's a bug, and we'll get it addressed today.

-- 
Kevin P. Fleming
Senior Software Engineer
Digium, Inc.

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] AddQueueMember and Local channels

2006-06-14 Thread Julian Lyndon-Smith
FWIW, the bug may have been introduced between r24293 (which works) and 
r24566 (which doesn't).


Julian.

Kevin P. Fleming wrote:

- Julian Lyndon-Smith [EMAIL PROTECTED] wrote:

It may be a config problem on my end - that's why I need to know a 
working version so that I can check my config on that version.


No, it's a bug, and we'll get it addressed today.



___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] AddQueueMember and Local channels

2006-06-14 Thread Julian Lyndon-Smith

This has been fixed for me in r34162

Many thanks.

Julian.

Julian Lyndon-Smith wrote:
FWIW, the bug may have been introduced between r24293 (which works) and 
r24566 (which doesn't).


Julian.

Kevin P. Fleming wrote:

- Julian Lyndon-Smith [EMAIL PROTECTED] wrote:

It may be a config problem on my end - that's why I need to know a 
working version so that I can check my config on that version.


No, it's a bug, and we'll get it addressed today.



___
--Bandwidth and Colocation provided by Easynews.com --

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




___
--Bandwidth and Colocation provided by Easynews.com --

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