Allow setting incoming channel params from user.auth.

git-svn-id: http://voip.null.ro/svn/yate@6351 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2019-06-06 10:05:42 +00:00
parent 5b48fbfc3e
commit 68348ce124
2 changed files with 5 additions and 3 deletions

View File

@ -304,9 +304,10 @@ void MGCPTransaction::processMessage(MGCPMessage* msg)
ok = !m_response;
if (ok)
m_response = msg;
else if (m_response->code() == msg->code()) {
retrans = true;
send(m_ack);
else {
retrans = (m_response->code() == msg->code());
if (retrans)
send(m_ack);
}
DDebug(m_engine,(ok || retrans) ? DebugAll : DebugNote,
"%s. Received %sresponse %d [%p]",m_debug.c_str(),

View File

@ -6161,6 +6161,7 @@ YateSIPConnection::YateSIPConnection(SIPEvent* ev, SIPTransaction* tr)
m->setParam("xsip_nonce_age",String(age));
}
m_domain = m->getValue(YSTRING("domain"));
setChanParams(*m,true);
}
setRtpLocalAddr(m_rtpLocalAddr);