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 &quot;Carrier business&quot;, 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&#39;t need to touch your NAT support configuration, it&#39;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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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 &quot;timeout&quot;<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>