<!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.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Dan,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp; one other query on the below, regarding Yate 
providing more accuarate accounting, if OpenSER is used with mediaproxy will 
this not provide the same level of accuracy (as Mediaproxy actually sits in the 
RTP stream)?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; thanks 
Andy.</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=danb.lists@googlemail.com 
  href="mailto:danb.lists@googlemail.com">Dan-Cristian Bogos</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=a.smith@ukgrid.net 
  href="mailto:a.smith@ukgrid.net">A.smith</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=users@lists.openser.org 
  href="mailto:users@lists.openser.org">users@lists.openser.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, February 13, 2008 1:07 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [OpenSER-Users] 
  FreeRADIUS-CDRTool Prepaid Connector 1.1 Released</DIV>
  <DIV><BR></DIV>Hi Andy,<BR><BR>The original config was built with Yate in mind 
  due to openser incapacity (before release 1.3) of disconnecting the calls. 
  Since 1.3.0 the dialog module should be able to timeout the calls, in theory 
  you should no longer need extra software like Yate.<BR><BR>I would still 
  recommend using Yate combined with OpenSER in the case you are doing some sort 
  of "Carrier business", for&nbsp; the following reasons:<BR>1. It creates two 
  different legs for your call (in and out) same as Cisco does, and hides one 
  side from the other (eg. removes the via headers and any revealing ip 
  information inside SDP - so your partners should not know where the traffic 
  comes from). <BR>2. You have more protocols available in.<BR>3. Accounting it 
  is bit more accurate (you have the session total duration inside the 
  accounting packets), so radius will be no longer responsible of calculating 
  the session durations from timestaps.<BR>4. Yate can work in rtp_forward mode, 
  therefore no extra overhead given by rtp processing.<BR><BR>So basically what 
  the connector does (as specified in the documentation), for each call which is 
  authorized by radius, the connector will ask permission from cdrtool. If 
  permission is granted, it will return in a avp to openser the maximum duration 
  allowed for the call (timeout value) plus credit available, for the case of 
  special uas able to display that.<BR>By receiving accounting stop packet, the 
  connector will inform cdrtool about call disconnection therefore clearing the 
  lock and debiting the balance inside cdrtool. The rtp stream has nothing to do 
  with this scenario, so you don't need to touch your NAT support configuration, 
  it's all in the signaling.<BR><BR>Let me know if you need further 
  info.<BR><BR>Cheers,<BR>DanB<BR><BR><BR><BR><BR><BR>
  <DIV class=gmail_quote>On Feb 13, 2008 12:53 PM, A.smith &lt;<A 
  href="mailto:a.smith@ukgrid.net">a.smith@ukgrid.net</A>&gt; wrote:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi 
    Dan/List,<BR><BR>&nbsp;I was reading the post below and trying to understand 
    how your config<BR>works. If<BR>you are implementing this with something 
    like a Cisco PSTN then you need all<BR>of<BR>these: PSTN, OpenSER, 
    Mediaproxy and Yate involved in the SIP route? Does<BR>the RTP<BR>stream 
    have to route via Yate and mediaproxy? :S<BR><BR>thanks for any help! cheers 
    Andy.<BR><BR>&gt;Hey Marc,<BR>&gt;<BR>&gt;I use Yate for doing that. It is 
    simple and works out of the box (with<BR>adding few<BR>&gt;lines in configs 
    of course).<BR>&gt;<BR>&gt;I take Session timeout returned from connector 
    and pass it to yate in a sip<BR>header<BR>&gt;Process that header in regex 
    routing and define the value as timeout for<BR>session.<BR>&gt;Yate knows by 
    default that when a session has a parameter 
    "timeout"<BR>returned<BR>&gt;from routing to disconnect the call when 
    timeout is hit.<BR>&gt;<BR>&gt;Let me know if you need further info, so I 
    can send you some config files<BR>if you<BR>&gt;want to. You can contact me 
    on IRC for live support (DanB).<BR>&gt;<BR>&gt;<BR>&gt;All the 
    best,<BR>&gt;DanB<BR><BR>________________________________________________<BR>Message 
    sent using UK Grid Webmail 
    2.7.9<BR><BR><BR><BR>_______________________________________________<BR>Users 
    mailing list<BR><A 
    href="mailto:Users@lists.openser.org">Users@lists.openser.org</A><BR><A 
    href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" 
    target=_blank>http://lists.openser.org/cgi-bin/mailman/listinfo/users</A><BR></BLOCKQUOTE></DIV><BR>
  <P>
  <HR>

  <P></P>No virus found in this incoming message.<BR>Checked by AVG Free 
  Edition. <BR>Version: 7.5.516 / Virus Database: 269.20.2/1271 - Release Date: 
  11/02/2008 08:16<BR></BLOCKQUOTE></BODY></HTML>