<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=Section1>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#1F497D'>Hello All,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#1F497D'>Thank you for the replies again. I would like to know, in case I
decide to go with Asterisk B2BUA, how would the performance, stability be? and
most importantly, how would the scalability be? I&#8217;m not planning to route media
via the *box, in that case, how many simultaneous calls would I be able to get
considering my hardware is of high spec.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#1F497D'>Also, I would like to know, has anyone tried using Yate for such
a scenario? Perhaps as a B2BUA, or Standonle with or without SER to do prepaid?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#1F497D'>Regards<o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#1F497D'>Shaf.<br>
<br>
</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p></o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> sip
[mailto:sip@arcdiv.com] <br>
<b>Sent:</b> Wednesday, March 21, 2007 5:08 PM<br>
<b>To:</b> Shafraz Thawfeek; serusers@lists.iptel.org<br>
<b>Cc:</b> serusers@iptel.org<br>
<b>Subject:</b> Re: [Serusers] SER + Prepaid with Radius AAA.<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt'>You
are correct. There are several workarounds for this, but for the most part,
what you need is some sort of B2BUA functionality.&nbsp; Essentially, the call
needs to go through a UAS that DOES keep track.&nbsp; The new SEMS is supposed
to have some of this functionality, although I don't know much about it.&nbsp;
Some people use Asterisk (with Asterisk B2BUA).&nbsp; We ended up writing our
own Asterisk B2BUA as the Asterisk B2BUA code from sourceforge had things in it
we neither wanted nor used and their patches never seem to be up to date on the
later versions of Asterisk (current code out there works in a guaranteed way
only for Asterisk 1.2.1, though it wasn't until after 1.2.9.1 that we had to
seriously rewrite the patch). The sourceforge code works, though, for earlier versions
of Asterisk, and is an excellent starting place if you've little desire to
write the whole thing yourself. <br>
<br>
The concept of using Asterisk is pretty simple:&nbsp; call gets forwarded from
SER to an Asterisk AGI program (C, Perl, etc) that does all the magic.&nbsp;
The easiest way is to do a balance check when the call comes in to determine
the cost of the outgoing call and check how much time a person has left on the
call based on how much money is in their account. Then, just set up an Asterisk
Dial command with the appropriate timeout and let the server take care of the
rest.&nbsp; There are tricks to this, of course. Unless you're somehow updating
call credit and call timeout on the fly, you'll need to limit the incoming
calls to one at a time for each account, or it's easy for someone to call with
multiple phones and rob you of cash. <br>
<br>
N. <br>
<b><br>
<br>
On Wed, 21 Mar 2007 12:27:27 +0530, Shafraz Thawfeek wrote</b> <br>
&gt; Hello All, <br>
&gt; &nbsp; <br>
&gt; Its really feels nice to have joined the list. I'm in the process of
deploying a SER based solution for prepaid users. We're using a FreeRadius
based billing solution from a provider. If I'm not mistaken, SER is not aware
of the call state, what this means to me is, in case the user account on the
radius runs out of credit, SER will not know about it and will not be able to
disconnect the call. Am I correct on this? <br>
&gt; &nbsp; <br>
&gt; If I am correct, I would like to know what would be the workaround for
this? I'm I am wrong, then I would like to know on how we could get the call
disconnection working? <br>
&gt; &nbsp; <br>
&gt; I have a Nextone which would be sitting in front of the SER and acting as
a Mirror Proxy for SER. The purpose of this is to overcome NAT traversal issues
and free SER from that. Nextone doesn&#8217;t understand or talk radius. SER will be
the registrar and handle AAA. The user call will be sent back into the Nextone
and then terminated from there. SER will not be handling media. If to get my
disconnect upon credit exhaust scenario working, what changes should I
introduce into my existing network model? <br>
&gt; &nbsp; <br>
&gt; Thank you. <br>
&gt; Shaf. <br>
&gt; &nbsp; <br>
&gt; &nbsp; <br>
<br>
</span><o:p></o:p></p>

</div>

</body>

</html>