diff --git a/debian/patches/series b/debian/patches/series index d06f154dc..a8b781397 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -51,3 +51,4 @@ sipwise/pv_trans_eval_uri.patch sipwise/rtpengine-mos-stats.patch sipwise/openssl-pthreads-cleanup.patch sipwise/presence_dfks.patch +sipwise/presence_dfks_add_crlf_xml.patch diff --git a/debian/patches/sipwise/presence_dfks_add_crlf_xml.patch b/debian/patches/sipwise/presence_dfks_add_crlf_xml.patch new file mode 100644 index 000000000..79572bbb3 --- /dev/null +++ b/debian/patches/sipwise/presence_dfks_add_crlf_xml.patch @@ -0,0 +1,14 @@ +--- a/modules/presence_dfks/add_events.c ++++ b/modules/presence_dfks/add_events.c +@@ -16,9 +16,9 @@ static str pu_415_rpl = str_init("Unsup + static str unk_dev = str_init(""); + static str content_type =str_init("application/x-as-feature-event+xml"); + // -4 +-static str dnd_xml = str_init("%s%s"); ++static str dnd_xml = str_init("\n\n%s\n%s\n\n\r\n"); + // -8 +-static str fwd_xml = str_init("%s%s%s%s"); ++static str fwd_xml = str_init("\n%s\n%s\n%s\n%s\n\n\r\n"); + + int dfks_add_events(void) + {