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

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Fri Sep 23 13:02:03 2011 +0200

b/f: headers in refuse action from call control

patch by Torrey Searle

---

 apps/sbc/SBC.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/apps/sbc/SBC.cpp b/apps/sbc/SBC.cpp
index 7184957..58c923c 100644
--- a/apps/sbc/SBC.cpp
+++ b/apps/sbc/SBC.cpp
@@ -1307,13 +1307,13 @@ bool SBCDialog::CCStart(const AmSipRequest& req) {
              headers += string(ret[i][SBC_CC_REFUSE_HEADERS][h].asCStr()) + 
CRLF;
          }
 
-         DBG("replying with %d %s on call control action REFUSE from '%s'\n",
+         DBG("replying with %d %s on call control action REFUSE from '%s' 
headers='%s'\n",
              ret[i][SBC_CC_REFUSE_CODE].asInt(), 
ret[i][SBC_CC_REFUSE_REASON].asCStr(),
-             cc_if.cc_name.c_str());
+             cc_if.cc_name.c_str(), headers.c_str());
 
          dlg.reply(req,
                    ret[i][SBC_CC_REFUSE_CODE].asInt(), 
ret[i][SBC_CC_REFUSE_REASON].asCStr(),
-                   headers);
+                   "", "", headers);
          return false;
        }
 

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

Reply via email to