<div dir="ltr">Hi Matteo,<br><br>I was in the same position like you are now, months back.<br><br>At least in OpenSER (please note that 1.4 is no longer tagged as OpenSER, but Kamailio) it was hard to do call-control since SER like was not initially developed to be dialog aware server. Dialog module is coming slowly to be there but I have the feeling it will take a bit time more to have a mature product out.<br>
<br>In the mean time I decided to go with an easier approach, so have installed Yate ( I am sure Asterisk or Freeswitch can do the same job as well, but it is just about having yate on hands on that time). In my case Yate will take the timeout value from Private SIP Header and process it as global timer of the call (Yate acts as SBC or B2BUA). If the call does finish before the timer is hit, Yate will do the job and disconnect both legs of the call (inbound and outbound) by sending BYE to both parties, therefore reaching the scenario wanted. However, this is considered like a security whole in Yate since anyone could achieve call disconnects by using the right private header, so u must set also an ip acl inside yate for the calls where u process the private-timer header.<br>
<br>I am at your disposal if you need further help with freeradius-cdrtool connector (planning to release out a new version soon, just hope that the time will stay still to give me that opportunity ;-) ).<br><br>Regards,<br>
DanB<br><br><div class="gmail_quote">On Mon, Sep 1, 2008 at 1:11 AM, Matteo D&#39;Amato <span dir="ltr">&lt;<a href="mailto:matteo@ecosma.com">matteo@ecosma.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How would you build this inside openser.cfg using this function?<br>
<div class="Ih2E3d"><br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:users-bounces@lists.kamailio.org">users-bounces@lists.kamailio.org</a><br>
[mailto:<a href="mailto:users-bounces@lists.kamailio.org">users-bounces@lists.kamailio.org</a>] On Behalf Of Iñaki Baz Castillo<br>
</div><div class="Ih2E3d">Sent: Sunday, August 31, 2008 6:09 PM<br>
To: <a href="mailto:users@lists.kamailio.org">users@lists.kamailio.org</a><br>
Subject: Re: [Kamailio-Users] CDRTool and Prepaid<br>
<br>
</div><div><div></div><div class="Wj3C7c">El Lunes, 1 de Septiembre de 2008, Matteo D&#39;Amato escribió:<br>
&gt; How can OpenSER use the<br>
&gt; callMaxDur information sent in the SIP-AVP pair to terminate a call with a<br>
&gt; BYE after X amount of minutes?<br>
<br>
Via a MI function of dialog module:<br>
<br>
 &nbsp;<a href="http://www.kamailio.org/docs/modules/1.3.x/dialog.html#AEN472" target="_blank">http://www.kamailio.org/docs/modules/1.3.x/dialog.html#AEN472</a><br>
<br>
--<br>
Iñaki Baz Castillo<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>