[Asterisk-Users] Re: Polycom and call waiting again..
B. J. Bomar
bbomar at raccoon.com
Thu Jan 27 10:41:20 MST 2005
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:EricR at rocketgaming.com]
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:kpfleming at starnetworks.us]
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/${CALLERIDNUM}@local-stuff)
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 at 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
More information about the asterisk-users
mailing list