На Mon, 09 Jan 2012 10:36:04 +0100
Daniel-Constantin Mierla <mico...@gmail.com> записано:

> Hello,
> 
> it should be fixed in 3.2 and master branches. The problem was that you 
> registered auth api to Lua but you didn't load the auth module:
> 
>   0(19347) DEBUG:<core>  [sr_module.c:673]: find_export_record:<bind_auth_s>  
> not found
>   0(19347) ERROR: app_lua [../../modules/auth/api.h:150]: unable to find 
> bind_auth function. Check if you load the auth module.
>   0(19347) ERROR: app_lua [app_lua_exp.c:1543]: cannot bind to AUTH API
> 
> The issue was that instead of exiting when a registered API was not 
> found, the app_lua continued without loading the next API.
> 
> Can you try with latest branch 3.2 (nightly builts for 3.2 should have 
> the fix as well).

I've updated to 3.2 nightly, and now it fails with messages above, which seems 
to be just right.
And if I don't register auth module with lua it works fine.

Thanks.

It seems at first glance that half of modules could be just replaced with small 
lua functions
what is encouraging.

_______________________________________________
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

Reply via email to