[SR-Users] [Kamailio-Users] Rewrite $tU
Spinov Evgeniy
spinov_evgeniy at intalisan.com
Thu Mar 24 06:48:48 CET 2011
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.
> >
>
More information about the sr-users
mailing list