[Users] record_route_preset(): No memory left

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Feb 3 12:28:48 CET 2006


Hi Bastian,

look like the problem is not generated by the script parameter, but 
because of some values extract from the SIP msg (like user and from tag).
please revert the previous patch and apply this new one - it will report 
the len of the constructed hdr after each step - it will hep to identify 
the bogus value.

regards,
bogdan


Bastian Schern wrote:

> Hi Bogdan,
>
> I applied your patch and got that results:
> --- snip ---
> [...]
>
>  0(0) xl_parse_format: format parsed OK: [4] items
>  0(0) fixing /lib/openser/modules/ record_route_preset
>  0(0) ***: str ptr=0x8129e50, str len=27, str s=0x8119a30 0(0) fixing 
> /lib/openser/modules/ xlog
>  0(0) xl_parse_format: parsing [$Tf: <$fu>;tag=$ft : record_route()
>
> [...]
>
>  0(14144) xl_printf: final buffer length 125
>  0(14144) Fri Feb  3 00:23:20 2006: 
> <sip:00045977408 at sipbase.de>;tag=etlg7wbdxp : record_route_preset( 
> "217.160.188.74:5060;nat=yes" )
>  0(14144) ***: str ptr=0x8129e50, str len=27, str s=0x8119a30 0(14144) 
> record_route_preset(): No memory left
>  0(14144) parse_headers: flags=200
>
> [...]
>
>  0(14144) xl_printf: final buffer length 125
>  0(14144) Fri Feb  3 00:23:20 2006: 
> <sip:00045977408 at sipbase.de>;tag=etlg7wbdxp : record_route_preset( 
> "217.160.188.74:5060;nat=yes" )
>  0(14144) ***: str ptr=0x8129e50, str len=27, str s=0x8119a30 0(14144) 
> record_route_preset(): No memory left
>  0(14144) parse_headers: flags=200
>  0(14144) DEBUG: get_hdr_body : content_length=297
>  0(14144) found end of header
>  0(14144) find_first_route: No Route headers found
>
> [...]
> --- snap ---
>
> Regards
>     Bastian


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rr.patch
Url: http://lists.kamailio.org/pipermail/users/attachments/20060203/40ca7c0c/attachment.asc 


More information about the Users mailing list