Unquote received termination reason text.

git-svn-id: http://voip.null.ro/svn/yate@2362 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2008-11-24 18:35:56 +00:00
parent d9cdd4b910
commit 1d8ec17dab
1 changed files with 1 additions and 1 deletions

View File

@ -3345,7 +3345,7 @@ void YateSIPConnection::doBye(SIPTransaction* t)
if (hl) {
const NamedString* text = hl->getParam("text");
if (text)
m_reason = *text;
m_reason = MimeHeaderLine::unquote(*text);
// FIXME: add SIP and Q.850 cause codes
}
t->setResponse(200);