[Serdev] tcp/tls for lcr module

Klaus Darilion klaus.mailinglists at pernau.at
Wed Jun 22 12:28:02 UTC 2005


Hi Juha!

I wonder if the lcr module supports TCP for routing? I have not tried 
yet, but reviewing the module looks like the IP address and the port 
must be numerical. Thus, if ser forwards the call, there will not be any 
DNS resultion and the transport protocol will be UDP.

I would like to use TCP for certain gateways. A quick solution would be 
add a 'protocol' colum in the gw table. Then, the lcr module adds the 
protocl to the R-URI, eg. if protocl==TCP, we will add ;transport=tcp

Thus, t_relay will take care of choosing the proper protocol.

If no protocol is specified, the transport= parameter will be omitted.

What do you think about this approach?

regards,
klaus




More information about the Serdev mailing list