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

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Sat Jan  8 15:18:55 2011 +0100

b/f: add extra headers if session stopped with err

---

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

diff --git a/core/AmSession.cpp b/core/AmSession.cpp
index 82e9b23..a539a32 100644
--- a/core/AmSession.cpp
+++ b/core/AmSession.cpp
@@ -696,7 +696,7 @@ void AmSession::onSipRequest(const AmSipRequest& req)
     catch(const AmSession::Exception& e) {
       ERROR("%i %s\n",e.code,e.reason.c_str());
       setStopped();
-      AmSipDialog::reply_error(req,e.code,e.reason);
+      AmSipDialog::reply_error(req,e.code,e.reason, e.hdrs);
     }
 
     if(detached.get() && !getStopped()){

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

Reply via email to