accept compact form of Content-Type (c)

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@933 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 19 years ago
parent 2da3de7ff0
commit e6945b013f

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

Loading…
Cancel
Save