[SR-Users] Can I use Kamailio as B2BUA
Daniel-Constantin Mierla
miconda at gmail.com
Mon May 13 09:48:36 CEST 2013
Hello,
there is a limit in the operating system of the ports that can be used -
a port is short int value, 2^16.
If it is for testing purposes, perhaps you can create many virtual
machines, with a load balancers in front of it.
Anyhow, it might be easier to patch kamailio not to reuse the
connection, look at tcp*.{c,h} files.
Cheers,
Daniel
On 5/11/13 6:27 AM, Kamal Palei wrote:
> Hi Daniel
> Thanks for reply.
>
> Just curious to know, how many number of calls we can achieve using
> the solution you have recommended.
>
>
> Also the solution, you have recommended, I am not very clear on that
> how to do it. Kindly can you explain in detail.
>
> Best Regards
> Kamal
>
>
>
>
>
>
>
>
> On Fri, May 10, 2013 at 12:52 PM, Daniel-Constantin Mierla
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
> Hello,
>
> how many active calls do you expect to have?
>
> At this moment, kamailio does not create local sockets
> dynamically, they have to be specified in the configuration.
>
> 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.
>
> Cheers,
> Daniel
>
>
> On 5/10/13 5:45 AM, Kamal Palei wrote:
>
> Dear Kamailio experts
> I have a typical use case where I want Kamailio to behave as a
> B2BUA.
>
> What I mean here is (assume Kamailio is using TCP for SIP call
> establishment)
>
> 1. For each call it should create a separate TCP connection
> with next proxy in path.
>
> 2. When call ends, it should close that connection. If that
> call is active for 10hrs, then connection should stay alive
> till 10hrs.
>
>
> --
> Daniel-Constantin Mierla - http://www.asipto.com
> http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> -
> http://www.linkedin.com/in/miconda
> Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
> * http://asipto.com/u/katu *
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
> list
> sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
* http://asipto.com/u/katu *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130513/8f88f10c/attachment.html>
More information about the sr-users
mailing list