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!
Remove the body test flag from nat_uac_test (flag 8 - SDP is searched for occurrence of RFC1918 addresses) There's no body in the REGISTER.
-ovidiu
On Tue, Jun 2, 2009 at 12:07 PM, Juha Heinanen jh@tutpro.com wrote:
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!
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Ovidiu Sas writes:
Remove the body test flag from nat_uac_test (flag 8 - SDP is searched for occurrence of RFC1918 addresses) There's no body in the REGISTER.
ovidiu,
i suspect a bug in sip-router, because the call in question is
nat_uac_test("2")
and exactly same thing works in kamailio.
-- juha
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!
Hello Juha,
On 06/03/2009 11:14 AM, Juha Heinanen wrote:
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.
no really, it was related to a slightly different fixup system in the core. I applied a fix, let me know if works now.
Thanks, Daniel
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!
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev