Re: [Asterisk-Users] Re: Polycom and call waiting again..

2005-01-26 Thread Kevin P. Fleming
Noah Miller wrote:
I think the problem is that these functions only work from the 
dialplan.  In this case, Sean is trying to get calls from a Queue (and 
not the dialplan) to the correct line on the phone. 
I was thinking about implementing a queue for our receptionists, but 
this problem prevents me from doing that, and I haven't figured out any 
way around it.  Maybe the new 1.4.1 firmware provides a way to disable 
that horrid call-waiting "feature"?  Has anybody gotten it to run 
successfully?
But you _can_ use SetGroup/CheckGroup/GetGroupCount if you don't put the 
SIP peer directly into the queue, but instead add a Local/.. channel 
that makes the Queue call out to the agent via a special context in your 
dialplan. This special context can then do anything it wants, including 
returning Busy/Congestion back to the Queue app if needed.
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Re: Polycom and call waiting again..

2005-01-26 Thread Sean A. Newton
On Wed, 26 Jan 2005, Noah Miller wrote:

> > Have you tried adding SetGroup(), and CheckGroup() functions 
> > to the dialplan that rings the phone?  It maybe something to try.  
> 
> I think the problem is that these functions only work from the dialplan.  In 
> this case, Sean is trying to get calls from a Queue (and not the dialplan) to 
> the correct line on the phone.  
> 
> I was thinking about implementing a queue for our receptionists, but this 
> problem prevents me from doing that, and I haven't figured out any way around 
> it.  Maybe the new 1.4.1 firmware provides a way to disable that horrid 
> call-waiting "feature"?  Has anybody gotten it to run successfully?

Exactly.. SetGroup was suggested by someone on the irc channel.. I looked
at it briefly. I was then shot down by someone saying to save my effort,
it didn't work.

I suspected as much, due to the fact that the Queue function doesn't use
the exten config for that phone. And it shouldn't.. The phone should be
able to take care of this problem..

I've unfortunately got myself into a bind because I've bought ~35 of
these phones. :eek:

If everyone thinks SetGroup and CheckGroup will work, I will spend the
next days working with it, but I don't want to go barking up the tree of
something that doesn't look like it will work. :|

I'm also interested to try out the 1.4.1 firmware. Just need to procure a
copy of it.. 

--Sean



 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 sean a. newton  [EMAIL PROTECTED]
 louisville, ky, usa http://wewt.net 

 Another day, another convertible and another hotel 
 full of cops.-- Hunter S. Thompson
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Re: Polycom and call waiting again..

2005-01-26 Thread Sean A. Newton
On Wed, 26 Jan 2005, Kevin P. Fleming wrote:

> But you _can_ use SetGroup/CheckGroup/GetGroupCount if you don't put the 
> SIP peer directly into the queue, but instead add a Local/.. channel 
> that makes the Queue call out to the agent via a special context in your 
> dialplan. This special context can then do anything it wants, including 
> returning Busy/Congestion back to the Queue app if needed.

I understand the concept of what your saying, but I can't seem to
visualize how to implement it. Do you have an example of this? 

I would very much appreciate it.

--Sean

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 sean a. newton  [EMAIL PROTECTED]
 louisville, ky, usa http://wewt.net 

 Another day, another convertible and another hotel 
 full of cops.-- Hunter S. Thompson
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Re: Polycom and call waiting again..

2005-01-27 Thread Adam Goryachev
On Wed, 2005-01-26 at 17:58 -0500, Sean A. Newton wrote:
> On Wed, 26 Jan 2005, Kevin P. Fleming wrote:
> 
> > But you _can_ use SetGroup/CheckGroup/GetGroupCount if you don't put the 
> > SIP peer directly into the queue, but instead add a Local/.. channel 
> > that makes the Queue call out to the agent via a special context in your 
> > dialplan. This special context can then do anything it wants, including 
> > returning Busy/Congestion back to the Queue app if needed.
> 
> I understand the concept of what your saying, but I can't seem to
> visualize how to implement it. Do you have an example of this? 
> 
> I would very much appreciate it.
> 

I haven't had time to actually do this yet, it's on my 'list' but
something like this:

[local-stuff]
; This is where we pretend a channel is an extension

exten => 1234,1,SetGroup(SIP1234)
exten => 1234,2,CheckGroup(1)
exten => 1234,3,Dial(SIP/1234,15)
exten => 1234,104,Busy

[queue-stuff]
exten => 6939,1,AddQueueMember(Local/${CALLERIDNUM})

Something like that Obviously requires certain configs in sip.conf
etc...

PS, This could be totally outrageously wrong, so don't blame me if it
breaks.

Regards,
Adam


___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Re: Polycom and call waiting again..

2005-01-27 Thread Kevin P. Fleming
Adam Goryachev wrote:
[local-stuff]
; This is where we pretend a channel is an extension
exten => 1234,1,SetGroup(SIP1234)
exten => 1234,2,CheckGroup(1)
exten => 1234,3,Dial(SIP/1234,15)
exten => 1234,104,Busy
[queue-stuff]
exten => 6939,1,AddQueueMember(Local/${CALLERIDNUM})
You are close... that should be:
AddQueueMember(Local/[EMAIL PROTECTED])
That way when the queue app tries to call the agent, it will have an 
extension _and_ a context to deliver the call to.
___
Asterisk-Users mailing list
Asterisk-Users@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


RE: [Asterisk-Users] Re: Polycom and call waiting again..

2005-01-27 Thread Eric Rees
Here is what I have done to get around the call waiting problem.
This is for a Polycom 500.  This is kind of a pain, but it works.

Exten.conf
exten => 1051,1,Dial(SIP/1051,20,tTr)
exten => 1051,2,Voicemail(u${EXTEN})
exten => 1051,102,Dial(SIP/1051b,20,tTr)
exten => 1051,103,Dial(SIP/1051c,20,tTr)
exten => 1051,104,Voicemail(b${EXTEN})

Sip.conf
[1051]
type=friend
username=1051c
callerid="NMS001"<1051>
host=dynamic
dtmfmode=rfc2833
mailbox=1051
context=sip
callgroup=1
pickupgroup=1
canreinvite=no
imcominglimit=1
[1051b]
type=friend
username=1051c
callerid="NMS001"<1051>
host=dynamic
dtmfmode=rfc2833
mailbox=1051
context=sip
callgroup=1
pickupgroup=1
canreinvite=no
imcominglimit=1
[1051c]
type=friend
username=1051c
callerid="NMS001"<1051>
host=dynamic
dtmfmode=rfc2833
mailbox=1051
context=sip
callgroup=1
pickupgroup=1
canreinvite=no
imcominglimit=1

-Original Message-
From: Kevin P. Fleming [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 27, 2005 9:28 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Re: Polycom and call waiting again..

Adam Goryachev wrote:

> [local-stuff]
> ; This is where we pretend a channel is an extension
> 
> exten => 1234,1,SetGroup(SIP1234)
> exten => 1234,2,CheckGroup(1)
> exten => 1234,3,Dial(SIP/1234,15)
> exten => 1234,104,Busy
> 
> [queue-stuff]
> exten => 6939,1,AddQueueMember(Local/${CALLERIDNUM})

You are close... that should be:

AddQueueMember(Local/[EMAIL PROTECTED])

That way when the queue app tries to call the agent, it will have an 
extension _and_ a context to deliver the call to.
___
Asterisk-Users mailing list
Asterisk-Users@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


___
Asterisk-Users mailing list
Asterisk-Users@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


RE: [Asterisk-Users] Re: Polycom and call waiting again..

2005-01-27 Thread B. J. Bomar
While your solution may work now, it might not work on the next release as
both incominglimit and outgoinglimit are deprecated.  Here is an idea on how
to use SetGroup and CheckGroup using your template as an example.

exten => 1051,1,SetGroup(${EXTEN})
exten => 1051,2,CheckGroup(1)
exten => 1051,3,Dial(SIP/1051,20,tTr)
exten => 1051,4,Voicemail(u${EXTEN})
exten => 1051,103,SetGroup(${EXTEN}b)
exten => 1051,104,CheckGroup(1)
exten => 1051,105,Dial(SIP/1051b,20,tTr)
exten => 1051,106,Voicemail(b${EXTEN})
exten => 1051,205,SetGroup(${EXTEN}c)
exten => 1051,206,CheckGroup(1)
exten => 1051,207,Dial(SIP/1051c,20,tTr)
exten => 1051,208,Voicemail(b${EXTEN})

I'm sure someone else has a cleaner solution, but this should work.

B. J.





-Original Message-
From: Eric Rees [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 27, 2005 10:21
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] Re: Polycom and call waiting again..

Here is what I have done to get around the call waiting problem.
This is for a Polycom 500.  This is kind of a pain, but it works.

Exten.conf
exten => 1051,1,Dial(SIP/1051,20,tTr)
exten => 1051,2,Voicemail(u${EXTEN})
exten => 1051,102,Dial(SIP/1051b,20,tTr)
exten => 1051,103,Dial(SIP/1051c,20,tTr)
exten => 1051,104,Voicemail(b${EXTEN})

Sip.conf
[1051]
type=friend
username=1051c
callerid="NMS001"<1051>
host=dynamic
dtmfmode=rfc2833
mailbox=1051
context=sip
callgroup=1
pickupgroup=1
canreinvite=no
imcominglimit=1
[1051b]
type=friend
username=1051c
callerid="NMS001"<1051>
host=dynamic
dtmfmode=rfc2833
mailbox=1051
context=sip
callgroup=1
pickupgroup=1
canreinvite=no
imcominglimit=1
[1051c]
type=friend
username=1051c
callerid="NMS001"<1051>
host=dynamic
dtmfmode=rfc2833
mailbox=1051
context=sip
callgroup=1
pickupgroup=1
canreinvite=no
imcominglimit=1

-Original Message-
From: Kevin P. Fleming [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 27, 2005 9:28 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Re: Polycom and call waiting again..

Adam Goryachev wrote:

> [local-stuff]
> ; This is where we pretend a channel is an extension
> 
> exten => 1234,1,SetGroup(SIP1234)
> exten => 1234,2,CheckGroup(1)
> exten => 1234,3,Dial(SIP/1234,15)
> exten => 1234,104,Busy
> 
> [queue-stuff]
> exten => 6939,1,AddQueueMember(Local/${CALLERIDNUM})

You are close... that should be:

AddQueueMember(Local/[EMAIL PROTECTED])

That way when the queue app tries to call the agent, it will have an 
extension _and_ a context to deliver the call to.
___
Asterisk-Users mailing list
Asterisk-Users@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





___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Re: Polycom and call waiting again..

2005-01-27 Thread Sean A. Newton
On Thu, 27 Jan 2005, Kevin P. Fleming wrote:

> Adam Goryachev wrote:
> 
> > [local-stuff]
> > ; This is where we pretend a channel is an extension
> > 
> > exten => 1234,1,SetGroup(SIP1234)
> > exten => 1234,2,CheckGroup(1)
> > exten => 1234,3,Dial(SIP/1234,15)
> > exten => 1234,104,Busy
> > 
> > [queue-stuff]
> > exten => 6939,1,AddQueueMember(Local/${CALLERIDNUM})
> 
> You are close... that should be:
> 
> AddQueueMember(Local/[EMAIL PROTECTED])
> 
> That way when the queue app tries to call the agent, it will have an 
> extension _and_ a context to deliver the call to.


Excellent, I will look into this. :D

Thanks Guys!

--Sean

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Re: Polycom and call waiting again..

2005-01-27 Thread Sean A. Newton
On Thu, 27 Jan 2005, Sean A. Newton wrote:

> On Thu, 27 Jan 2005, Kevin P. Fleming wrote:
> 
> > Adam Goryachev wrote:

Alright.. Just wanted to follow up, for the sake of having this showing up
in google when the next poor sap like me is looking for a solution..

[queue-login]
;tech login
exten => 8100,1,AddQueueMember(support|Local/[EMAIL PROTECTED])
exten => 8100,2,Playback(agent-loginok)
exten => 8100,3,Hangup

;tech logoff
exten => 8101,1,RemoveQueueMember(support|Local/[EMAIL PROTECTED])
exten => 8101,2,Playback(agent-loggedoff)
exten => 8101,3,Hangup

[acd]
exten => 1151,1,Macro(acd-group,1151)
exten => 1152,1,Macro(acd-group,1152)
exten => 1153,1,Macro(acd-group,1153)
exten => 1154,1,Macro(acd-group,1154)

[macro-acd-group]
exten => s,1,SetGroup(SIP${ARG1})
exten => s,2,CheckGroup(1)
exten => s,3,Dial(SIP/${ARG1},15)
exten => s,104,Busy

Seems to work great.. Only problem I have is the "wrapuptime" thing not
working but that's a much lesser issue. 

--Sean

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 sean a. newton  [EMAIL PROTECTED]
 louisville, ky, usa http://wewt.net 

 Another day, another convertible and another hotel 
 full of cops.-- Hunter S. Thompson
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Re: Polycom and call waiting again..

2005-01-27 Thread Jon Radon
incominglimit is deprecated.  It will be EOL'd.

http://www.voip-info.org/tiki-index.php?page=Asterisk+sip+incominglimit


On Thu, 27 Jan 2005 10:21:25 -0600, Eric Rees <[EMAIL PROTECTED]> wrote:
> Here is what I have done to get around the call waiting problem.
> This is for a Polycom 500.  This is kind of a pain, but it works.
> 
> Exten.conf
> exten => 1051,1,Dial(SIP/1051,20,tTr)
> exten => 1051,2,Voicemail(u${EXTEN})
> exten => 1051,102,Dial(SIP/1051b,20,tTr)
> exten => 1051,103,Dial(SIP/1051c,20,tTr)
> exten => 1051,104,Voicemail(b${EXTEN})
> 
> Sip.conf
> [1051]
> type=friend
> username=1051c
> callerid="NMS001"<1051>
> host=dynamic
> dtmfmode=rfc2833
> mailbox=1051
> context=sip
> callgroup=1
> pickupgroup=1
> canreinvite=no
> imcominglimit=1
> [1051b]
> type=friend
> username=1051c
> callerid="NMS001"<1051>
> host=dynamic
> dtmfmode=rfc2833
> mailbox=1051
> context=sip
> callgroup=1
> pickupgroup=1
> canreinvite=no
> imcominglimit=1
> [1051c]
> type=friend
> username=1051c
> callerid="NMS001"<1051>
> host=dynamic
> dtmfmode=rfc2833
> mailbox=1051
> context=sip
> callgroup=1
> pickupgroup=1
> canreinvite=no
> imcominglimit=1
> 
> -Original Message-----
> From: Kevin P. Fleming [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 27, 2005 9:28 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Re: Polycom and call waiting again..
> 
> Adam Goryachev wrote:
> 
> > [local-stuff]
> > ; This is where we pretend a channel is an extension
> >
> > exten => 1234,1,SetGroup(SIP1234)
> > exten => 1234,2,CheckGroup(1)
> > exten => 1234,3,Dial(SIP/1234,15)
> > exten => 1234,104,Busy
> >
> > [queue-stuff]
> > exten => 6939,1,AddQueueMember(Local/${CALLERIDNUM})
> 
> You are close... that should be:
> 
> AddQueueMember(Local/[EMAIL PROTECTED])
> 
> That way when the queue app tries to call the agent, it will have an
> extension _and_ a context to deliver the call to.
> ___
> Asterisk-Users mailing list
> Asterisk-Users@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
> 
> ___
> Asterisk-Users mailing list
> Asterisk-Users@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
> 


-- 
Is it something someone said, was it something someone said?
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Re: Polycom and call waiting again..

2005-01-27 Thread Eric Wieling
B. J. Bomar wrote:
While your solution may work now, it might not work on the next release as
both incominglimit and outgoinglimit are deprecated.  Here is an idea on how
to use SetGroup and CheckGroup using your template as an example.
exten => 1051,1,SetGroup(${EXTEN})
exten => 1051,2,CheckGroup(1)
exten => 1051,3,Dial(SIP/1051,20,tTr)
exten => 1051,4,Voicemail(u${EXTEN})
exten => 1051,103,SetGroup(${EXTEN}b)
exten => 1051,104,CheckGroup(1)
exten => 1051,105,Dial(SIP/1051b,20,tTr)
exten => 1051,106,Voicemail(b${EXTEN})
exten => 1051,205,SetGroup(${EXTEN}c)
exten => 1051,206,CheckGroup(1)
exten => 1051,207,Dial(SIP/1051c,20,tTr)
exten => 1051,208,Voicemail(b${EXTEN})
I'm sure someone else has a cleaner solution, but this should work.
Doesn't this only emulate the outgoing limit option.  i.e. if the 
phone dials OUT none of the Group stuff is set.
___
Asterisk-Users mailing list
Asterisk-Users@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


RE: [Asterisk-Users] Re: Polycom and call waiting again..

2005-01-27 Thread Eric Rees
Thanks for the heads up.  I guess I will have to start looking into
Setgroup and Checkgroup.

-Original Message-
From: Jon Radon [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 27, 2005 12:07 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Re: Polycom and call waiting again..

incominglimit is deprecated.  It will be EOL'd.

http://www.voip-info.org/tiki-index.php?page=Asterisk+sip+incominglimit


On Thu, 27 Jan 2005 10:21:25 -0600, Eric Rees <[EMAIL PROTECTED]>
wrote:
> Here is what I have done to get around the call waiting problem.
> This is for a Polycom 500.  This is kind of a pain, but it works.
> 
> Exten.conf
> exten => 1051,1,Dial(SIP/1051,20,tTr)
> exten => 1051,2,Voicemail(u${EXTEN})
> exten => 1051,102,Dial(SIP/1051b,20,tTr)
> exten => 1051,103,Dial(SIP/1051c,20,tTr)
> exten => 1051,104,Voicemail(b${EXTEN})
> 
> Sip.conf
> [1051]
> type=friend
> username=1051c
> callerid="NMS001"<1051>
> host=dynamic
> dtmfmode=rfc2833
> mailbox=1051
> context=sip
> callgroup=1
> pickupgroup=1
> canreinvite=no
> imcominglimit=1
> [1051b]
> type=friend
> username=1051c
> callerid="NMS001"<1051>
> host=dynamic
> dtmfmode=rfc2833
> mailbox=1051
> context=sip
> callgroup=1
> pickupgroup=1
> canreinvite=no
> imcominglimit=1
> [1051c]
> type=friend
> username=1051c
> callerid="NMS001"<1051>
> host=dynamic
> dtmfmode=rfc2833
> mailbox=1051
> context=sip
> callgroup=1
> pickupgroup=1
> canreinvite=no
> imcominglimit=1
> 
> -Original Message-----
> From: Kevin P. Fleming [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 27, 2005 9:28 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Re: Polycom and call waiting again..
> 
> Adam Goryachev wrote:
> 
> > [local-stuff]
> > ; This is where we pretend a channel is an extension
> >
> > exten => 1234,1,SetGroup(SIP1234)
> > exten => 1234,2,CheckGroup(1)
> > exten => 1234,3,Dial(SIP/1234,15)
> > exten => 1234,104,Busy
> >
> > [queue-stuff]
> > exten => 6939,1,AddQueueMember(Local/${CALLERIDNUM})
> 
> You are close... that should be:
> 
> AddQueueMember(Local/[EMAIL PROTECTED])
> 
> That way when the queue app tries to call the agent, it will have an
> extension _and_ a context to deliver the call to.
> ___
> Asterisk-Users mailing list
> Asterisk-Users@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
> 
> ___
> Asterisk-Users mailing list
> Asterisk-Users@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
> 


-- 
Is it something someone said, was it something someone said?
___
Asterisk-Users mailing list
Asterisk-Users@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


___
Asterisk-Users mailing list
Asterisk-Users@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


RE: [Asterisk-Users] Re: Polycom and call waiting again..

2005-01-27 Thread B. J. Bomar
True, this is only for the inbound side of the equation.  I forgot about the
outbound side.  For that you can try the following example.

[in-from-sip]
exten => _X.,1,Cut(test=CHANNEL,/,2)
exten => _X.,2,Cut(test=test,,1)
exten => _X.,3,SetGroup(${test})
exten => _X.,4,Goto(default,${EXTEN},1)

Then just repoint the context for each line to the in-from-sip context.

B. J.



-Original Message-
From: Eric Wieling [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 27, 2005 12:13
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Re: Polycom and call waiting again..

B. J. Bomar wrote:

> While your solution may work now, it might not work on the next release as
> both incominglimit and outgoinglimit are deprecated.  Here is an idea on
how
> to use SetGroup and CheckGroup using your template as an example.
> 
> exten => 1051,1,SetGroup(${EXTEN})
> exten => 1051,2,CheckGroup(1)
> exten => 1051,3,Dial(SIP/1051,20,tTr)
> exten => 1051,4,Voicemail(u${EXTEN})
> exten => 1051,103,SetGroup(${EXTEN}b)
> exten => 1051,104,CheckGroup(1)
> exten => 1051,105,Dial(SIP/1051b,20,tTr)
> exten => 1051,106,Voicemail(b${EXTEN})
> exten => 1051,205,SetGroup(${EXTEN}c)
> exten => 1051,206,CheckGroup(1)
> exten => 1051,207,Dial(SIP/1051c,20,tTr)
> exten => 1051,208,Voicemail(b${EXTEN})
> 
> I'm sure someone else has a cleaner solution, but this should work.

Doesn't this only emulate the outgoing limit option.  i.e. if the 
phone dials OUT none of the Group stuff is set.



___
Asterisk-Users mailing list
Asterisk-Users@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