From e6945b013f8a07739d996a92de871023a5b6ac93 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Tue, 6 May 2008 09:13:30 +0000 Subject: [PATCH] accept compact form of Content-Type (c) git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@933 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/AmB2BSession.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/AmB2BSession.cpp b/core/AmB2BSession.cpp index 6fe8d803..6bf354a1 100644 --- a/core/AmB2BSession.cpp +++ b/core/AmB2BSession.cpp @@ -353,8 +353,8 @@ void AmB2BCallerSession::connectCallee(const string& remote_party, int AmB2BCallerSession::reinviteCaller(const AmSipReply& callee_reply) { string content_type = callee_reply.content_type; - if (!content_type.length()) - content_type = getHeader(callee_reply.hdrs,"Content-Type"); + if (!content_type.length()) + content_type = getHeader(callee_reply.hdrs,"Content-Type", "c"); return dlg.sendRequest("INVITE",content_type,callee_reply.body, "", SIP_FLAGS_VERBATIM); }