<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    there are two functions, add_contact_alias() and
    set_contact_alias(), fist added by Juha and the second by me.<br>
    <br>
    Is that really needed, because if couple of sip nodes add that
    parameter, then expect that each node will handle it. <br>
    <br>
    A --- P1 --- P2 --- P3 --- B<br>
    <br>
    If P1 is adding by P2 is processing as well, then it will mess up
    routing. I think by the order they are added, they are going to be
    processed ok even many nodes are adding it.<br>
    <br>
    If there is no safe around detecting if alias was added locally in
    handle_ruri_alias(), then this patch behaviour should be made
    configurable if still wanted.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 08/01/15 09:09, Jason Penton wrote:<br>
    </div>
    <blockquote
cite="mid:CAE=KcrjZPyyDFpnYvH9brv8xoL9o1rqfRMSafSh4H++ScpdZrg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>I assume this will be for Juha or Maxim, but I would like
          to suggest the following patch for nathelper to ensure that
          the alias is not added if it already exists in the contact
          uri.</div>
        <div><br>
        </div>
        <div>Juha, Maxim as this is your module are you happy with this?</div>
        <div><br>
        </div>
        <div>Cheers</div>
        <div>Jason<br clear="all">
          <div><br>
          </div>
          -- <br>
          <div class="gmail_signature">
            <div dir="ltr">
              <div>
                <table style="width:450pt" border="0" cellpadding="0"
                  cellspacing="0" width="600">
                  <tbody>
                    <tr>
                      <td style="padding:0cm" valign="top"><br>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <table style="font-family:monospace" border="0"
                  cellpadding="0" cellspacing="0" width="320px">
                  <tbody>
                    <tr>
                      <td
style="font-family:Arial,sans-serif;font-size:16px;color:rgb(117,179,67);line-height:18px;padding-left:15px;padding-top:10px"><strong>Jason
                          Penton</strong></td>
                    </tr>
                    <tr>
                      <td
style="font-family:Arial,sans-serif;font-size:16px;color:rgb(117,179,67);line-height:18px;padding-left:15px;padding-top:10px"><strong>Senior
                          Manager: Applications and Services</strong></td>
                    </tr>
                    <tr>
                      <td
style="font-family:Arial,sans-serif;font-size:16px;color:rgb(134,145,154);line-height:18px;padding-left:15px;padding-top:10px"><strong>Smile
                          Communications Pty (Ltd)</strong></td>
                    </tr>
                    <tr>
                      <td>
                        <table cellpadding="0" cellspacing="0"
                          width="100%">
                          <tbody>
                            <tr>
                              <td
style="font-family:Arial,sans-serif;font-size:16px;color:rgb(134,145,154);line-height:18px;padding-left:15px;padding-top:10px"
                                width="27%"><strong>Mobile:</strong></td>
                              <td
style="font-family:Arial,sans-serif;font-size:16px;color:rgb(134,145,154);line-height:18px;padding-left:10px;padding-top:10px"
                                width="73%">+27 (0) 83 283 7000</td>
                            </tr>
                            <tr>
                              <td
style="font-family:Arial,sans-serif;font-size:16px;color:rgb(134,145,154);line-height:18px;padding-left:15px;padding-top:10px"><strong>Skype:</strong></td>
                              <td
style="font-family:Arial,sans-serif;font-size:16px;color:rgb(134,145,154);line-height:18px;padding-left:10px;padding-top:10px">jason.barry.penton</td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                    <tr>
                      <td
style="font-family:Arial,sans-serif;font-size:16px;color:rgb(117,179,67);line-height:18px;padding-left:15px;padding-top:10px"><a
                          moz-do-not-send="true"
                          href="mailto:name.surname@smilecoms.com"
                          style="font-family:Arial;color:rgb(117,179,67);text-decoration:none"
                          target="_blank">jason.penton@smilecoms.com</a></td>
                    </tr>
                    <tr>
                      <td
style="font-family:Arial,sans-serif;font-size:16px;color:rgb(117,179,67);line-height:18px;padding-left:15px;padding-top:10px"><a
                          moz-do-not-send="true"
                          href="http://www.smilecoms.com/"
                          style="font-family:Arial;color:rgb(117,179,67)"
                          target="_blank">www.smilecoms.com</a><br>
                        <img moz-do-not-send="true"
src="http://196.33.227.129/%7Esmlcoms/sigs/pty/images/smile_signature_07_09.jpg"
                          height="144" width="420"><br>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
              <br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <span><font color="#888888">
          <pre>This email is subject to the disclaimer of Smile Communications at <a moz-do-not-send="true" href="http://www.smilecoms.com/home/email-disclaimer/" target="_blank">http://www.smilecoms.com/home/<wbr>email-disclaimer/</a></pre>
        </font></span>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<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></pre>
  </body>
</html>