Hello,

looking in the makefile, the linking to libcurl is commented, so not really used.

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.

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.

Cheers,
Daniel


On 17/01/2017 12:53, Steve Davies wrote:
Hi Peter Dunkley or anyone else who can throw me some clue,

I'm interested in using the auth_ephemeral module to authenticate registrations with the help of an external web service.

But I'm reading and reading the documentation and I'm clearly missing something.

The document starts by describing how "the web service" should work.  I understand fully that I must implement this web service.

But nowhere in the documentation with auth_ephemeral do you tell the module the URL where the service is found.

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().

So I don't see that this module can act as a client to the documented web service?

What am I failing to understand?

Thanks,
Steve



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com