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).
Cheers,
Daniel
On 1/9/12 9:36 AM, noc(a)nelcom-voip.com wrote:
На Thu, 05 Jan 2012 11:49:49 +0100
Daniel-Constantin Mierla<miconda(a)gmail.com> записано:
Hello,
the debug symbols are missing, I will try to reproduce myself.
I've managed to
build it with debug symbols included.
#0 0x00000000 in ?? ()
#1 0xb70b121c in lua_sr_maxfwd_process_maxfwd (L=0xa1b77c0) at app_lua_exp.c:1001
#2 0xb706a28e in ?? () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#3 0xb707834b in ?? () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#4 0xb706a4f4 in ?? () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#5 0xb7065096 in ?? () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#6 0xb70696f3 in ?? () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#7 0xb706a886 in ?? () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#8 0xb706513d in lua_pcall () from /usr/lib/i386-linux-gnu/liblua5.1.so.0
#9 0xb70acb8e in app_lua_runstring (msg=0xb73202b8, script=0xb70c4920
"route_request([[MAIN]])") at app_lua_api.c:383
#10 0xb70b7505 in w_app_lua_runstring (msg=0xb73202b8, script=0xb731f03c
"\254\215\062\267 ", extra=0x0) at app_lua_mod.c:204
#11 0x080623f2 in do_action (h=0xbfdc60b8, a=0xb731eee8, msg=0xb73202b8) at
action.c:1122
#12 0x080615a8 in run_actions (h=<optimized out>, a=0xb731eee8, msg=0xb73202b8) at
action.c:1610
#13 0x080697b2 in run_actions_safe (h=0xbfdc66b8, a=0xb731eee8, msg=0xb73202b8) at
action.c:1662
#14 0x0810ae2b in rval_get_int (h=0xbfdc66b8, msg=0xb73202b8, i=0xbfdc63d0,
rv=0xb731f43c, cache=0x0) at rvalue.c:920
#15 0x0810fc67 in rval_expr_eval_int (h=0xbfdc66b8, msg=0xb73202b8, res=0xbfdc63d0,
rve=0xb731f438) at rvalue.c:1914
#16 0x0810fd36 in rval_expr_eval_int (h=0xbfdc66b8, msg=0xb73202b8, res=0xbfdc6644,
rve=0xb731f7ec) at rvalue.c:1922
#17 0x080628d5 in do_action (h=0xbfdc66b8, a=0xb731fda4, msg=0xb73202b8) at
action.c:1092
#18 0x080615a8 in run_actions (h=<optimized out>, a=0xb731fda4, msg=0xb73202b8) at
action.c:1610
#19 0x0806982d in run_top_route (a=0xb731fda4, msg=0xb73202b8, c=0x0) at action.c:1683
#20 0x080e977e in receive_msg (
buf=0x82cb580 "INVITE sip:100@127.0.0.1 SIP/2.0\r\nVia: SIP/2.0/UDP
192.168.2.4:5061;rport;branch=z9hG4bK868105864\r\nFrom:<sip:101@127.0.0.1>;tag=1875811571\r\nTo:<sip:100@127.0.0.1>\r\nCall-ID:
1581836776\r\nCSeq: 20 INVI"..., len=<optimized out>, rcv_info=0xbfdc68cc) at
receive.c:206
#21 0x08178b61 in udp_rcv_loop () at udp_server.c:544
#22 0x080b2616 in main_loop () at main.c:1585
#23 0x08061344 in main (argc=1, argv=0xbfdc6b64) at main.c:2475
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users