<html>
<body>
At 13:00 25/06/2004 +0200, you wrote:<br>
<blockquote type=cite class=cite cite>Hi there,<br><br>
I was wondering how I can use setgroup and checkgroup for perfom
incoming<br>
and outgoing limitation checks.<br>
I've have some users that doesn't what to be able to recieve more than
1<br>
call at a time, and I also want to limit a users outgoing call
abilities.<br><br>
Any help would be greatly appreciated.</blockquote><br><br>
<pre>exten =>
999,1,SetGroup(moh)<x-tab> </x-tab><x-tab> </x-tab><x-tab> </x-tab>;Set
Current Group to moh
exten =>
999,2,CheckGroup(1)<x-tab> </x-tab><x-tab> </x-tab><x-tab> </x-tab>;Check
moh does not have more than 1
exten =>
999,3,Answer<x-tab> </x-tab><x-tab> </x-tab><x-tab> </x-tab><x-tab> </x-tab>;Answer
the call
exten =>
999,4,MusicOnHold(default)<x-tab> </x-tab>;Play
default Music on hold
exten =>
999,103,Busy<x-tab> </x-tab><x-tab> </x-tab><x-tab> </x-tab><x-tab> </x-tab>;Play
busy if 1 person is already listening
</pre><font face="Courier New, Courier">This will allow only one call to
use the resource music on hold.<br><br>
Jason<br><br>
</font></body>
</html>