*** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@452 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
89ce064cb4
commit
e60e799e1b
|
@ -956,8 +956,10 @@ void YateSIPConnection::hangup()
|
|||
SIPMessage* m = createDlgMsg("BYE");
|
||||
if (m) {
|
||||
if (m_reason) {
|
||||
// FIXME: add SIP and Q.850 cause codes, set the proper reason
|
||||
SIPHeaderLine* hl = new SIPHeaderLine("Reason","SIP");
|
||||
hl->setParam("text","\"" + m_reason + "\"");
|
||||
m->addHeader(hl);
|
||||
}
|
||||
plugin.ep()->engine()->addMessage(m);
|
||||
m->deref();
|
||||
|
|
Loading…
Reference in New Issue