<div dir="ltr"><div><div><div><div><div>Hi Daniel<br></div>Thanks for reply.<br><br></div>Just curious to know, how many number of calls we can achieve using the solution you have recommended. <br><br><br></div>Also the solution, you have recommended, I am not very clear on that how to do it. Kindly can you explain in detail. <br>
<br></div>Best Regards<br></div>Kamal<br><div><div><div><div><br><br><br><div><br><br><br></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 10, 2013 at 12:52 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
how many active calls do you expect to have?<br>
<br>
At this moment, kamailio does not create local sockets dynamically, they have to be specified in the configuration.<br>
<br>
But if the number of active calls is not big, then you can create as many sockets as expected calls and then use force send socket to select on. You can use htable to keep the relation between  a call and a local socket.<br>

<br>
Cheers,<br>
Daniel<div class="HOEnZb"><div class="h5"><br>
<br>
On 5/10/13 5:45 AM, Kamal Palei wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Kamailio experts<br>
I have a typical use case where I want Kamailio to behave as a B2BUA.<br>
<br>
What I mean here is (assume Kamailio is using TCP for SIP call establishment)<br>
<br>
1. For each call it should create a separate TCP connection with next proxy in path.<br>
<br>
2. When call ends, it should close that connection. If that call is active for 10hrs, then connection should stay alive till 10hrs.<br>
</blockquote>
<br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<u></u>miconda</a><br>
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013<br>
  * <a href="http://asipto.com/u/katu" target="_blank">http://asipto.com/u/katu</a> *<br>
<br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</font></span></blockquote></div><br></div>