Avoid setting twice the reason parameter of the chan.hangup message enqueued by a sig channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3598 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
af2aefd0f6
commit
9c27b2be37
|
@ -1262,8 +1262,8 @@ void SigChannel::hangup(const char* reason, SignallingEvent* event)
|
|||
ev->sendEvent();
|
||||
Message* m = message("chan.hangup",true);
|
||||
m->setParam("status",status());
|
||||
m->setParam("reason",m_reason);
|
||||
plugin.copySigMsgParams(*m,event,¶ms);
|
||||
m->setParam("reason",m_reason);
|
||||
Engine::enqueue(m);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue