Hello,

if you watch the SIP traffic with ngrep, do you see the message sent out?

Can you reproduce this case easily? If yes, can you start kamailio with extra parameters '-E -ddd' and send here all the debug messages printed for such case, from the moment the SIP request is received.

Cheers,
Daniel

On 3/24/11 6:48 AM, Spinov Evgeniy wrote:
On Wed, 2011-03-23 at 15:16 +0100, Daniel-Constantin Mierla wrote:

Well, unfortunately no. When I use msg_apply_changes() and I see this
messages, signalization doesn't work fine. Actually call is not being
established - it's just getting timeouts from K and failure routes are
being executed.

As function is removed - everything runs good and calls are passing
fine.

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.



_______________________________________________
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

--
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