Chain the debugging of the SIP engine to the SIP channels plugin.

git-svn-id: http://yate.null.ro/svn/yate/trunk@2867 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2009-10-16 12:04:32 +00:00
parent 4ea2bfae71
commit ea0b4867a7
1 changed files with 2 additions and 1 deletions

View File

@ -1095,7 +1095,7 @@ bool YateSIPEndPoint::Init()
return false;
}
}
if (!m_sock->getSockName(addr)) {
Debug(&plugin,DebugGoOn,"Unable to figure out what I'm bound to");
return false;
@ -1118,6 +1118,7 @@ bool YateSIPEndPoint::Init()
m_local = addr.host();
m_port = addr.port();
m_engine = new YateSIPEngine(this);
m_engine->debugChain(&plugin);
return true;
}