adding server signature to error_reply

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@809 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 19 years ago
parent 118d2e4302
commit cbead2dbf4

@ -338,6 +338,9 @@ int AmSipDialog::reply_error(const AmSipRequest& req, unsigned int code,
reply.hdrs = hdrs;
reply.local_tag = AmSession::getNewId();
if (AmConfig::Signature.length())
reply.hdrs += SIP_HDR_COLSP(SIP_HDR_SERVER) + AmConfig::Signature + CRLF;
return AmServer::sendReply(reply);
}

Loading…
Cancel
Save