Hi,
I have a requirement to dynamically bind new ports to Kamailio during run-time and am trying to decide on a possible impl. Right now I am thinking the best way is to create a new thread for each dynamic bind and then replicate the code found in udp_rcv_loop(), ultimately calling recevice_msg() to do all the modular processing and route block executions. I know this would cater for UDP only at the moment but I suspect a similar concept could be employed for TCP.
Does anybody have any other ideas or foresee any problems?
Cheers
Jason