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://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
View this message in context: Re:
truncating sip message
Sent from the Users
mailing list archive 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
--
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