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:
parent
5b48fbfc3e
commit
68348ce124
|
@ -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(),
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue