From d7c8b7f699875dfdf548f75f0af7c793df640d00 Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Sun, 9 Mar 2008 04:15:34 +0000 Subject: [PATCH] * Had to add LF at the end of conference extra_headers, because without it, last extra header in outgoing INVITE was not terminated with CRLF. I have not verified if this is a bug also in 0.10 or if it showed up with SIP control interface. git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@774 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- apps/conference/Conference.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/conference/Conference.cpp b/apps/conference/Conference.cpp index ea83b2bb..15a4e181 100644 --- a/apps/conference/Conference.cpp +++ b/apps/conference/Conference.cpp @@ -349,6 +349,9 @@ void ConferenceDialog::onSessionStart(const AmSipRequest& req) for (i = 0; i < len; i++) { if (extra_headers[i] == '|') extra_headers[i] = '\n'; } + if (extra_headers[len - 1] != '\n') { + extra_headers += '\n'; + } if (dialout_suffix.length() == 0) { if (!ConferenceFactory::DialoutSuffix.empty()) {