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:
marian 2010-08-31 07:26:56 +00:00
parent af2aefd0f6
commit 9c27b2be37
1 changed files with 1 additions and 1 deletions

View File

@ -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,&params);
m->setParam("reason",m_reason);
Engine::enqueue(m);
}