Author: sayer
Date: 2008-05-06 11:13:30 +0200 (Tue, 06 May 2008)
New Revision: 933

Modified:
   trunk/core/AmB2BSession.cpp
Log:
accept compact form of Content-Type (c)

Modified: trunk/core/AmB2BSession.cpp
===================================================================
--- trunk/core/AmB2BSession.cpp 2008-05-06 09:02:07 UTC (rev 932)
+++ trunk/core/AmB2BSession.cpp 2008-05-06 09:13:30 UTC (rev 933)
@@ -353,8 +353,8 @@
 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);
 }

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to