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)
- For each call it should create a separate TCP connection with next
proxy in path.
- When call ends, it should close that connection. If that call is
active for 10hrs, then connection should stay alive till 10hrs.