Hello,

I have to look into the sources and doubel check, but the log messages seem to be harmless.

For the moment, you can just set a flag when you change something in the message and then call msg_apply_changes() only when the flag is set, e.g.,

remove_hf("From");
setflag(20);

...

if(isflagset(20))
   msg_apply_changes();

However, I will update the sources so such log messages will not appear unless they are necessary.

Thanks,
Daniel


On 3/23/11 2:52 PM, Spinov Evgeniy wrote:
Hi,

I've installed, as you advised Kamailio 3.1.2 and used
msg_apply_changes(). However, even when I'm not changing anything in the
packet and just calling msg_apply_changes() I get errors from K:

  7(31755) :<core>  [msg_translator.c:519]: ERROR: lump_check_opt: null
send socket
  7(31755) :<core>  [msg_translator.c:859]: FIXME: lumps_len called with
null send_sock
  7(31755) :<core>  [msg_translator.c:519]: ERROR: lump_check_opt: null
send socket
  7(31755) :<core>  [msg_translator.c:519]: ERROR: lump_check_opt: null
send socket
  7(31755) :<core>  [msg_translator.c:519]: ERROR: lump_check_opt: null
send socket
  7(31755) :<core>  [msg_translator.c:519]: ERROR: lump_check_opt: null
send socket
  7(31755) :<core>  [msg_translator.c:1340]: FIXME: process_lumps: null
bind_address
  7(31755) :<core>  [msg_translator.c:519]: ERROR: lump_check_opt: null
send socket
  7(31755) :<core>  [msg_translator.c:519]: ERROR: lump_check_opt: null
send socket
  7(31755) :<core>  [msg_translator.c:519]: ERROR: lump_check_opt: null
send socket

when function is not used - everything runs fine. However I need to
modify the message.

Please, advice.


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


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to