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
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to