<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">On 6/6/13 2:11 PM, Stoyan Mihaylov
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAPScudYrSCXdO8MY_MYwqZMV=7b-GRuaoPqbj6PN-V5sQppOpQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">I use Kamailio for register and Asterisk servers
        for processing call.
        <div>Asterisk accept all calls from Kamailio and dont know
          nothing about users and their passwords.</div>
        <div>I think this is simplest way for integration and using best
          from both applications.</div>
      </div>
    </blockquote>
    <br>
    The way you mention is the approach I use in most of the cases. The
    respective tutorial tries to give hints on how to plug Kamailio in
    front of an existing Asterisk deployment without disturbing it that
    much.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <blockquote
cite="mid:CAPScudYrSCXdO8MY_MYwqZMV=7b-GRuaoPqbj6PN-V5sQppOpQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Thu, Jun 6, 2013 at 12:05 PM, Daniel
          Pocock <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:daniel@pocock.com.au" target="_blank">daniel@pocock.com.au</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
            I was just looking over:<br>
            <br>
            <a moz-do-not-send="true"
href="http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb"
              target="_blank">http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb</a><br>
            <br>
            A couple of things I noticed:<br>
            <br>
            - Kamailio is using a column sippasswd which is not hashed.
             Asterisk<br>
            doesn't use that column at all.  Is there any reason this
            can't be done<br>
            with the H(A1) and H(A1b) columns?  The INSERT example shows
            a<br>
            non-encrypted password.<br>
            <br>
            - Is it all considered valid for Kamailio 4 and Asterisk 11?
             (maybe a<br>
            disclaimer could be added at the top)<br>
            <br>
            - The Asterisk columns `md5secret' and `secret' are left
            empty so that<br>
            Asterisk won't challenge.  I believe there are other ways of
            doing this:<br>
            for example, telling Kamailio to be the registrar and
            forcing Asterisk<br>
            to use outbound proxy mode.  I managed to make this work
            against repro -<br>
            Asterisk no longer receives any REGISTER messages, but all
            INVITEs go<br>
            through Asterisk, so the double-challenge problem only
            arises for<br>
            INVITEs.  Maybe Asterisk can be told that Kamailio's source
            IP:port is<br>
            `trusted' and doesn't need to be challenged - is anybody
            aware of such<br>
            an option in Asterisk?<br>
            <br>
            <br>
            <br>
            <br>
            _______________________________________________<br>
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
            <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><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </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, San Francisco, USA - June 24-27, 2013
  * <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a> *</pre>
  </body>
</html>