From 64bdacd9fcff5df85367dcdbd243560794ea8989 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Sat, 8 Jan 2011 15:18:55 +0100 Subject: [PATCH] b/f: add extra headers if session stopped with err --- core/AmSession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/AmSession.cpp b/core/AmSession.cpp index 82e9b237..a539a328 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()){