<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=359020818-29082007>Sorry if this is a repost, but I never saw this appear
on the mailing list (I originally sent it 5 days ago)</SPAN></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=046121814-27082007><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=046121814-27082007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046121814-27082007><FONT face=Arial size=2>A while ago I
inquired about controlling the number of channels used by each of my customers,
and I was told to use the Set Group command<SPAN class=359020818-29082007>
to count the number of used channels </SPAN>. I did, and at first
glance it seemed to work.</FONT></SPAN></DIV>
<DIV><SPAN class=046121814-27082007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046121814-27082007><FONT face=Arial size=2>Now, the thing is my
original plan was to only increment the count everytime someone
made <SPAN class=359020818-29082007> an external call</SPAN>. In
other words, a call from inside to outside counts for 1, a call from outside to
inside counts for 1 and a call from inside to inside counts for 0.
Allowing me to sell me service on a "per-external-line
basis".</FONT></SPAN></DIV>
<DIV><SPAN class=046121814-27082007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046121814-27082007><FONT face=Arial><FONT size=2>Now, what I
noticed is that a call coming in counts for 1. But if the person, who is
first sent to an IVR, eventually dials an extension and rings a SIP phone, the
count is incremented again (to 2 at this point). Which is not that I
want<SPAN class=359020818-29082007>. </SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=046121814-27082007><FONT face=Arial><FONT size=2><SPAN
class=359020818-29082007></SPAN></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=046121814-27082007><FONT face=Arial><FONT size=2><SPAN
class=359020818-29082007>How can I make sure that only the "external leg"
is counted?</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=046121814-27082007></SPAN><SPAN class=046121814-27082007><FONT
face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046121814-27082007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046121814-27082007><FONT face=Arial
size=2>Mike</FONT></SPAN></DIV>
<DIV><SPAN class=046121814-27082007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046121814-27082007><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>