From 3afc8699a54ba771e6234a3bc2fcc172efa4933f Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Tue, 6 Jun 2006 11:22:06 +0000 Subject: [PATCH] added dtfm payload to the SDP response. Thx to Juha for contributing the patch. git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@48 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/AmSdp.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/AmSdp.cpp b/core/AmSdp.cpp index 0699d408..27a3848f 100644 --- a/core/AmSdp.cpp +++ b/core/AmSdp.cpp @@ -216,7 +216,10 @@ int AmSdp::genResponse(const string& localip, int localport, + (*it)->sdp_format_parameters + "\r\n"; } } - + + if (hasTelephoneEvent()) + payloads += " " + int2str(telephone_event_pt->payload_type); + out_buf += payloads + "\r\n" + options; if (hasTelephoneEvent())