could it be that when i make call
nat_uac_test("2")
parameter "2" is not converted to integer value 0x02, but to something else
that makes nat_uac_test to execute this
#define NAT_UAC_TEST_S_1918 0x08
instead of this:
#define NAT_UAC_TEST_RCVD 0x02
if so, this could be related to the isbflagset accepting also int arg.
again if so, this is quite a fundamental issue and it makes no sense for
me to keep on with my sip-route tests before passing of parameter to
module functions has been resolved and fixed.
-- juha
now i have got sip-router processes up and running
without any serious
warnings and listening at correct ip addresses/ports, but when i send it
a register request, nat_uac_test gets called and sip-route reports the
following.
any ideas?
-- juha
Jun 2 19:04:12 localhost /usr/sbin/sip-router[20726]: ERROR: nathelper
[nhelpr_funcs.c:179]: message body has length zero
Jun 2 19:04:12 localhost /usr/sbin/sip-router[20726]: ERROR: nathelper
[nathelper.c:1429]: cannot extract body from msg!
Jun 2 19:04:12 localhost /usr/sbin/sip-router[20728]: ERROR: nathelper
[nhelpr_funcs.c:179]: message body has length zero
Jun 2 19:04:12 localhost /usr/sbin/sip-router[20728]: ERROR: nathelper
[nathelper.c:1429]: cannot extract body from msg!