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:
parent
d9cdd4b910
commit
1d8ec17dab
1 changed files with 1 additions and 1 deletions
|
@ -3345,7 +3345,7 @@ void YateSIPConnection::doBye(SIPTransaction* t)
|
||||||
if (hl) {
|
if (hl) {
|
||||||
const NamedString* text = hl->getParam("text");
|
const NamedString* text = hl->getParam("text");
|
||||||
if (text)
|
if (text)
|
||||||
m_reason = *text;
|
m_reason = MimeHeaderLine::unquote(*text);
|
||||||
// FIXME: add SIP and Q.850 cause codes
|
// FIXME: add SIP and Q.850 cause codes
|
||||||
}
|
}
|
||||||
t->setResponse(200);
|
t->setResponse(200);
|
||||||
|
|
Loading…
Reference in a new issue