<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>looking in the makefile, the linking to libcurl is commented, so
      not really used.</p>
    <p>I guess you can use other modules such as http_client to interact
      with the web service. The jansson module can be used to parse the
      result.<br>
    </p>
    <p>Also, it should be possible to do it without interacting with the
      web service, because you can compute the password using the shared
      secret key. So, in this case, Kamailio doesn't need to interact
      with the web service.<br>
    </p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 17/01/2017 12:53, Steve Davies
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABFTEGV76VWenaA7AHFwBwPT3jzNUXNN3CdNGcD7y1-qK7+vWg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Peter Dunkley or anyone else who can throw me
        some clue,
        <div><br>
        </div>
        <div>I'm interested in using the auth_ephemeral module to
          authenticate registrations with the help of an external web
          service.</div>
        <div><br>
        </div>
        <div>But I'm reading and reading the documentation and I'm
          clearly missing something.</div>
        <div><br>
        </div>
        <div>The document starts by describing how "the web service"
          should work.  I understand fully that I must implement this
          web service.</div>
        <div><br>
        </div>
        <div>But nowhere in the documentation with auth_ephemeral do you
          tell the module the URL where the service is found.</div>
        <div><br>
        </div>
        <div>Whilst the Makefile includes libcurl when static linking is
          used, there are no calls to the curl library in the
          auth_ephemeral module, or to socket() or connect().</div>
        <div><br>
        </div>
        <div>So I don't see that this module can act as a client to the
          documented web service?</div>
        <div><br>
        </div>
        <div>What am I failing to understand?</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Steve</div>
        <div><br>
        </div>
      </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-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>