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
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to