[sr-dev] git: uacreg sending zeroes in header

rus at sfinxsoft.com rus at sfinxsoft.com
Mon Nov 19 00:05:03 CET 2012


Hello,

Inserted record to uacreg table, started kamailio and seeing this
with tcpdump :

00:50:38.312534 IP (tos 0x0, ttl 57, id 3428, offset 0, flags [none],
proto UDP (17), length 441)
    8X.XXX.XXX.XX.5060 > 7X.XX.XXX.XXX.5060: SIP, length: 413
	REGISTER sip:demo.host.com SIP/2.0
	Via:
SIP/\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00\0x00
....

 As you can see - register header starts as normal, but suddenly filled
with zeroes by kamailio till the packet end.
 What can be the problem ? Tried to define UAC_OLD_AUTH in uac_reg.c with
no effect. Seems like uacreg logic is broken in git.


		Rus




More information about the sr-dev mailing list