use proper reply error message

sayer/1.4-spce2.6
Stefan Sayer 16 years ago
parent 9503de2971
commit de0016dc2a

@ -727,7 +727,7 @@ void AmSession::onSipRequest(const AmSipRequest& req)
catch(const string& s) {
ERROR("%s\n",s.c_str());
setStopped();
AmSipDialog::reply_error(req, 500, "Internal Server Error");
AmSipDialog::reply_error(req, 500, SIP_REPLY_SERVER_INTERNAL_ERROR);
}
catch(const AmSession::Exception& e) {
ERROR("%i %s\n",e.code,e.reason.c_str());

Loading…
Cancel
Save