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

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Thu Jul  7 21:22:51 2011 +0200

little more verbosity on failed OA

---

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

diff --git a/core/AmSipDialog.cpp b/core/AmSipDialog.cpp
index 49ac842..9e7cc98 100644
--- a/core/AmSipDialog.cpp
+++ b/core/AmSipDialog.cpp
@@ -706,7 +706,8 @@ void AmSipDialog::onRxReply(const AmSipReply& reply)
     int err_code = onRxSdp(reply.body,&err_txt);
     if(err_code){
       // TODO: only if initial INVITE (if re-INV, app should decide)
-      DBG("error %i with SDP received in %i reply: sending 
ACK+BYE\n",err_code,reply.code);
+      DBG("error %i (%s) with SDP received in %i reply: sending ACK+BYE\n",
+         err_code,err_txt?err_txt:"none",reply.code);
       bye();
     }
   }

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

Reply via email to