Module: sems
Branch: master
Commit: eccdce8f778a99166e047ea0490a38ad8787fc3b
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=eccdce8f778a99166e047ea0490a38ad8787fc3b

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Tue Dec 13 17:49:49 2011 +0100

fixes d4af76b86

---

 core/AmSession.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/AmSession.cpp b/core/AmSession.cpp
index 170759b..f278d5a 100644
--- a/core/AmSession.cpp
+++ b/core/AmSession.cpp
@@ -1000,7 +1000,7 @@ bool AmSession::getSdpAnswer(const AmSdp& offer, AmSdp& 
answer)
       RTPStream()->getSdpAnswer(*m_it,answer_media);
       if(answer_media.payloads.empty() ||
         ((answer_media.payloads.size() == 1) &&
-         (answer_media.payloads[0].encoding_name != "telephone-event"))
+         (answer_media.payloads[0].encoding_name == "telephone-event"))
         ){
        // no compatible media found
        throw Exception(488,"no compatible payload");

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

Reply via email to