[SR-Users] TLS support in Kamailio
Daniel-Constantin Mierla
miconda at gmail.com
Mon Oct 8 16:18:19 CEST 2012
Hello,
On 10/5/12 1:29 PM, Kamal Palei wrote:
> Hi Daniel
> Thanks a lot for kind response.
> For this requirement, I need -
> 1. When a message is received at Kamailio proxy, that message either
> will be sent to client side or to main proxy side.
> 2. If it is supposed to send to client side, then it should send in
> plain UDP. Also note that, when the message is received from clients
> it should be received in plain udp by Kamailio proxy.
> 3. If Kamailio proxy is supposed to send the message to main proxy
> side, then it should send using TLS. Also note that, any message that
> comes from main proxy, Kamailio should receive in TLS only.
> As I understand, the three optioned mentioned below in your mail, I
> can use either of one.
yes, any is good.
> Do I need to take any additional precaution so that TLS stuff will
> work fine (actually will be working on TLS first time).
TLS is quite transparent to the configuration file, working
automatically -- in you case you need to force the transport by
yourself, because it is not specified in R-URI. Request within dialog
will be routed using Route headers, so there is nothing to do for them.
Cheers,
Daniel
> Thanks
> Kamal
> NECS, Bangalore
>
> On Fri, Oct 5, 2012 at 1:56 PM, Daniel-Constantin Mierla
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
> Hello,
>
> yes, it is possible. There are couple options:
>
> - rewrite r-uri ($ru) to contain the transport=tls and then t_relay()
> - set dst uri ($du) to the uri point to main proxy address having
> the transport=tls parameter and then t_relay()
> - use t_relay_to("tls:mainproxyip:port")
>
> Cheers,
> Daniel
>
>
> On 10/4/12 12:21 PM, Kamal Palei wrote:
>> Hi List
>> I have a specific requiremnt where I want Kamailio proxy need to
>> work as a intermideiate proxy .
>> The endpoints will talk to Kamailio using UDP as transport and
>> Kamailio should interact with main proxy using TLS.
>> Is this scenario possible with Kamailio ?
>> If so, can you give me some pointer how can I acheive it.
>> Thanks
>> Kamal
>> Net clooud systems
>> Bangalore
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla -http://www.asipto.com <http://www.asipto.com/>
> http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> -http://www.linkedin.com/in/miconda
> Kamailio Advanced Training, Berlin, Nov 5-8, 2012 -http://asipto.com/u/kat
> Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 -http://asipto.com/u/katu
>
>
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121008/67010242/attachment.htm>
More information about the sr-users
mailing list