- fixes Route header for 200 ACKs.

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1853 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Raphael Coeffic 17 years ago
parent d29892932f
commit 05f37164e8

@ -704,9 +704,10 @@ int AmSipDialog::send_200_ack(const AmSipTransaction& t,
req.hdrs += SIP_HDR_COLSP(SIP_HDR_MAX_FORWARDS) + int2str(AmConfig::MaxForwards) + CRLF;
}
if(!route.empty())
req.route = route;
if(!route.empty()) {
req.route = SIP_HDR_COLSP(SIP_HDR_ROUTE) + route + CRLF;
}
if(!body.empty()) {
req.content_type = content_type;
req.body = body;

Loading…
Cancel
Save