[sr-dev] [kamailio/kamailio] extra headers in rtjson (#902)

Daniel-Constantin Mierla notifications at github.com
Mon Jan 2 22:38:25 CET 2017


Overall I am fine with updating to this format (or even support both, old single value and new array), but there are some bits to clarify or sort out:

  * what is the problem with '\r\n' in a json value? A SIP header body can have '\r\n', if the next line starts with whitespace or tab. Also, there are some jsonrpc commands that expect a SIP body, where there are end of lines
  * how is going to work if one wants to add more than one header with the same name? Is json supporting multiple fields with same name in a struct?


-- 
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/902#issuecomment-270023000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170102/4cf12e41/attachment.html>


More information about the sr-dev mailing list