Hello,
how did you asserted the fact that the message is truncated? Is the next SIP hop not retrieving it with full content? Or just you looked at some traces on the net, if this one, note that some network sniffing tools are having their limitations in what they display.
Daniel
On 08/04/16 09:30, ycaner wrote:
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://twitter.com/#%21/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] </user/SendEmail.jtp?type=node&node=147338&i=0> 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-tp147332p1473...
To unsubscribe from truncating sip message, click here. NAML http://sip-router.1086192.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
View this message in context: Re: truncating sip message http://sip-router.1086192.n5.nabble.com/truncating-sip-message-tp147332p147342.html Sent from the Users mailing list archive http://sip-router.1086192.n5.nabble.com/Users-f3.html at Nabble.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