Hello Daniel;

    in request route when invite comes, a header is added like P-SrcUserid. when i added new header , it truncate sdpbody. before t_relay(), i try to remove header, and it didnt. main problem is why truncates sdpbody when i added new header?

Thanks.


Works fine sip messages: http://pastebin.com/t7v9c2vW
removes coming headers cfg,but i couldnt remove
P-Provider and P-Uniqueid :http://pastebin.com/9tB7Lx3U

truncateting sip message : http://pastebin.com/DNuuJxhM

removes coming headers cfg,but i couldnt remove P-Provider and P-Uniqueid  and added P-SrcUserid : http://pastebin.com/XxhcV55v

08.04.2016 09:22 tarihinde Daniel-Constantin Mierla-6 [via SIP Router] yazdı:
Hello,

On 08/04/16 08:06, ycaner wrote:
> Hello;
> i think i found problem. it is textops module.Appending new header doesnt
> increase content length. in addition , remove_hf doesnt work correctly that
> doesnt remove headers.
>
the value of content lenght is about the body size, it is not affected
by new headers or removing old headers.

What do you mean by remove_hf() is not working? How you try it? Can you
send here how you use remove_hf() in config and the incoming, plus the
outgoing sip message?

Cheers,
Daniel

--
Daniel-Constantin Mierla
http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com


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



If you reply to this email, your message will be added to the discussion below:
http://sip-router.1086192.n5.nabble.com/truncating-sip-message-tp147332p147338.html
To unsubscribe from truncating sip message, click here.
NAML

--


View this message in context: Re: truncating sip message
Sent from the Users mailing list archive at Nabble.com.