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); }