[sr-dev] [kamailio/kamailio] textops: Behavior of function search_append_body(re, txt) (#882)
Alberto Llamas
notifications at github.com
Sun Dec 4 19:28:39 CET 2016
Hi Guys,
I am not sure if this is an intention behavior of this function but when We use it as below:
`search_append_body("^c=IN.+$", "b=AS:750");`
The result is:
`c=IN IP4 192.168.178.30b=AS:750`
What we were expecting is that the new parameter was appended in the new line like:
```
c=IN IP4 192.168.178.30
b=AS:750
```
A workaround we have to do is:
`search_append_body("^c=IN.+$", "\r\nb=AS:750");
`
So we think it should be fix in source code since the expected behavior is always the same.
Cheers,
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/882
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20161204/3b7008b4/attachment.html>
More information about the sr-dev
mailing list