Author: sayer
Date: 2008-05-06 11:02:07 +0200 (Tue, 06 May 2008)
New Revision: 932
Modified:
trunk/core/AmSession.cpp
Log:
trying content_type directly for DTMF, as reported by Alex Gradinar
Modified: trunk/core/AmSession.cpp
===================================================================
--- trunk/core/AmSession.cpp 2008-05-06 00:25:51 UTC (rev 931)
+++ trunk/core/AmSession.cpp 2008-05-06 09:02:07 UTC (rev 932)
@@ -582,7 +582,8 @@
} else if( req.method == "INFO" ){
- if ((strip_header_params(getHeader(req.hdrs, "Content-Type"))
+ if ((req.content_type == "application/dtmf-relay") ||
+ (strip_header_params(getHeader(req.hdrs, "Content-Type"))
=="application/dtmf-relay")||
(strip_header_params(getHeader(req.hdrs, "c"))
=="application/dtmf-relay")){
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev