<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    <div class="moz-cite-prefix">On 10/5/12 1:29 PM, Kamal Palei wrote:<br>
    </div>
    <blockquote
cite="mid:CALO8XuWVPAjz9Mn-NO6Z5YuJw2eRebChGEAWA31_Jh6pQ-beFA@mail.gmail.com"
      type="cite">
      <div>Hi Daniel</div>
      <div>Thanks a lot for kind response.</div>
      <div>&nbsp;</div>
      <div>For this requirement, I need - </div>
      <div>&nbsp;</div>
      <div>1. When a message is received at Kamailio proxy, that message
        either will be sent to client side or to main proxy side. </div>
      <div>&nbsp;</div>
      <div>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.</div>
      <div>&nbsp;</div>
      <div>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.<br>
      </div>
      <div>As I understand, the three optioned mentioned below in your
        mail, I can use either of one.</div>
    </blockquote>
    <br>
    yes, any is good.<br>
    <br>
    <blockquote
cite="mid:CALO8XuWVPAjz9Mn-NO6Z5YuJw2eRebChGEAWA31_Jh6pQ-beFA@mail.gmail.com"
      type="cite">
      <div>Do I need to take any additional precaution so that TLS stuff
        will work fine (actually will be working on TLS first time).</div>
    </blockquote>
    <br>
    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.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote
cite="mid:CALO8XuWVPAjz9Mn-NO6Z5YuJw2eRebChGEAWA31_Jh6pQ-beFA@mail.gmail.com"
      type="cite">
      <div>&nbsp;</div>
      <div>Thanks</div>
      <div>Kamal</div>
      <div>NECS, Bangalore</div>
      <div><br>
        &nbsp;</div>
      <div class="gmail_quote">On Fri, Oct 5, 2012 at 1:56 PM,
        Daniel-Constantin Mierla <span dir="ltr">&lt;<a
            moz-do-not-send="true" href="mailto:miconda@gmail.com"
            target="_blank">miconda@gmail.com</a>&gt;</span> wrote:<br>
        <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px
          0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
          <div bgcolor="#FFFFFF" text="#000000">Hello,<br>
            <br>
            yes, it is possible. There are couple options:<br>
            <br>
            - rewrite r-uri ($ru) to contain the transport=tls and then
            t_relay()<br>
            - set dst uri ($du) to the uri point to main proxy address
            having the transport=tls parameter and then t_relay()<br>
            - use t_relay_to("tls:mainproxyip:port")<br>
            <br>
            Cheers,<br>
            Daniel
            <div>
              <div class="h5"><br>
                <br>
                <div>On 10/4/12 12:21 PM, Kamal Palei wrote:<br>
                </div>
              </div>
            </div>
            <blockquote type="cite">
              <div>
                <div class="h5">
                  <div>Hi List</div>
                  <div>I have a specific requiremnt where I want
                    Kamailio proxy need to work as a intermideiate proxy
                    .</div>
                  <div>The endpoints will talk to Kamailio using UDP as
                    transport and Kamailio should interact with main
                    proxy using TLS.</div>
                  <div>Is this scenario possible with Kamailio ?</div>
                  <div>&nbsp;</div>
                  <div>If so, can you give me some pointer how can I
                    acheive it.</div>
                  <div>&nbsp;</div>
                  <div>Thanks</div>
                  <div>Kamal</div>
                  <div>Net clooud systems</div>
                  <div>Bangalore</div>
                  <br>
                  <fieldset></fieldset>
                  <br>
                </div>
              </div>
              <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre>
              <span class="HOEnZb"></span></blockquote>
            <span class="HOEnZb"><font color="#888888"><br>
                <pre cols="72">-- 
Daniel-Constantin Mierla - <a moz-do-not-send="true" href="http://www.asipto.com/" target="_blank">http://www.asipto.com</a>
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a moz-do-not-send="true" href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - <a moz-do-not-send="true" href="http://asipto.com/u/katu" target="_blank">http://asipto.com/u/katu</a></pre>
              </font></span></div>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a></pre>
  </body>
</html>