Hello,
On 11/29/12 1:32 PM, Freddy C wrote:
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 ????
If you are using route[WITHINDLG] from default config file, then the
request are route via it if they have To tag and record route. The
transport protocol is chosen based on next hop address.
Cheers,
Daniel
--
Freddy Condori
Chura
Ingeniero Civil en Computación e Informática
Magister en Ingeniería de Software
_______________________________________________
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
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda