Hi,
TLS work on TCP 5061 To view the header you can use $ hdr (HEADER_NAME).
Not much English, sorry.
2012/11/29 Kamal Palei palei.kamal@gmail.com
Dear All I ma trying to have all SIP signalling through TLS. Using Kamailio 3.1.5.
In a typical setup, endpoints initiates call, messages reach Kamailio proxy, Kamailio proxy forwards these packets to main proxy.
In Kamailio.cfg, I have added below code.
route {
# per request initial checks route(REQINIT); setflag(FLT_NATS); if(is_method("REGISTER")) { t_relay_to("tls:115.114.48.19:443"); exit(); } else { xlog("incoming request\n"); route(WITHINDLG); route(RTPPROXY); t_on_reply("REPLY_ONE"); t_on_failure("FAIL_ONE"); t_relay_to("tls:115.114.48.19:443"); exit(); }
..............
I am finding most of the messages are getting transmitted in TLS. But few ACK and REFER / REFER response packets are still being transported in UDP.
Can somebody tell me whats the wrong I am doing here.
By any chance route(WITHINDLG); route(RTPPROXY);
before t_relay_to("tls:115.114.48.19:443");
can cause this ????
And one more doubt.., 115.114.48.19 I get in route header. How can I extract the value of route header, so that I do not have to hard-code
Many thanks in advance.
-kamal
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users