[sr-dev] nathelper problem

Daniel-Constantin Mierla miconda at gmail.com
Wed Jun 3 12:10:25 CEST 2009


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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com/




More information about the sr-dev mailing list