In the case below though TLS session is established between proxy1 and proxy2, invite is fwded on UDP.

1.      How to force Kamailio to use existing tls session to communicate? (proxy1)

2.      What is the command to look at if existing tls sessions are present from proxy1

a.      kamcmd tls.list does it, but I need one which works from within config.

 

From: Pranathi Venkatayogi
Sent: Tuesday, January 24, 2017 11:02 AM
To: 'Kamailio (SER) - Users Mailing List' <sr-users@lists.sip-router.org>
Subject: How does Kamailio decide which protocol to use when fwding to another proxy?

 

Hi,

  I have two instances of Kamailio acting as edge proxies. One on the customer side and one on the agent side.

  Like: customer -> proxy1 -> proxy2 -> agent.

  Both customer and agent are registered to proxy1/proxy2 via TLS.

 

  However when proxy1 forwards to proxy2, it is using UDP. How can I force it to use TLS?

  Attached is the result of nslookup on the domain: translation.sms-test.cyracom.com.

 

Thanks

Pranathi