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
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue