[SR-Users] kamailio restart and TLS ( relay_to_tls() )
Klaus Darilion
klaus.mailinglists at pernau.at
Tue Dec 21 20:34:34 CET 2010
Am 21.12.2010 19:59, schrieb Juha Heinanen:
> Klaus Darilion writes:
>
>> - the proxy should ignore contacts without existing TCP connections
>> (thus use set_forward_no_connect())
>
> how about if the proxy also has tls connections to other proxies and
> gateways? is there possibility to just tell "do not try to set tcp
> connection to registered ua"?
usually you have control over it in you routing logic. For example
routing to locally registered clients involve lookup(""). Thus, I put
set_forward_no_connect() just below lookup("location").
Of course this won't work if you route to the other proxies also using
lookup() with permanent entries in location table. If you really have
such a setup you can try to set a certain flag for this entries and then
do not call set_forward_no_connect().
regards
klaus
More information about the sr-users
mailing list