<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi Trixter,
<p>Yes i did try to make setgroup for the outbound but the problem is after
you move it to the desired context or extension in the gotoif statement
the group that you have set it in is back to zero so I really can't use
it for the outbound, the group used for the outbound will not give the
correct count of users dialling out.
<p>As u said I am using CVS-Head and used the group_count() with gotoif
statements so I am clear of the checkgroup() bug.
<p>Thx
<br>MAG
<p>trixter aka Bret McDanel wrote:
<blockquote TYPE=CITE>On Sun, 2005-10-23 at 11:42 +0200, Mohamed A. Gombolaty
wrote:
<br>> Dear All,
<br>>
<br>> I was trying to limit the number of calls between different located
sites in
<br>> order to avoid congestion of the bandwidth, but as I found from the
mails and
<br>> testing that it is easy to do it for the incoming calls by the setgroup()
and
<br>> group_count while it is the outgoing is hard to track or limit, So
I was
<br>> wondering if we will see a Call Admission Control soon in Asterisk
that can do
<br>> this job or not?
<p>setgroup() should work for outbound.&nbsp; Did you try it and have problems?
<br>In asterisk 1.0.x there is a bug about transfered calls, is that where
<br>you were running into problems?&nbsp; I find this unlikely since you
<br>referenced group_count, which is a 1.2 function (replacing the
<br>deprecated checkgroup()).
<p><a href="http://www.voip-info.org/wiki-Asterisk+cmd+SetGroup">http://www.voip-info.org/wiki-Asterisk+cmd+SetGroup</a>
<br>--
<br>Trixter <a href="http://www.0xdecafbad.com">http://www.0xdecafbad.com</a>&nbsp;&nbsp;&nbsp;&nbsp;
Bret McDanel
<br>UK +44 870 340 4605&nbsp;&nbsp; Germany +49 801 777 555 3402
<br>US +1 360 207 0479 or +1 516 687 5200
<br>FreeWorldDialup: 635378
<p>&nbsp; ------------------------------------------------------------------------
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Name: signature.asc
<br>&nbsp;&nbsp; signature.asc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Type:
application/pgp-signature
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Description: This is a digitally signed message part
<p>&nbsp; ------------------------------------------------------------------------
<br>_______________________________________________
<br>--Bandwidth and Colocation sponsored by Easynews.com --
<p>Asterisk-Users mailing list
<br>Asterisk-Users@lists.digium.com
<br><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
<br>To UNSUBSCRIBE or update options visit:
<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote>

<pre>--&nbsp;
Thx
MAG</pre>
&nbsp;</html>