When attempting RTP forwarding do not reset the SDP information if MGCP connection fails.

The information is instead preserved for possible later retries.


git-svn-id: http://voip.null.ro/svn/yate@4119 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2011-02-21 11:32:25 +00:00
parent b44ad855e3
commit 1bf31c4418
1 changed files with 6 additions and 1 deletions

View File

@ -1530,7 +1530,12 @@ bool MGCPCircuit::status(Status newStat, bool sync)
break;
clearConn();
}
cleanupRtp();
if (m_rtpForward) {
m_source = 0;
m_consumer = 0;
}
else
cleanupRtp();
}
m_statusReq = SignallingCircuit::status();
m_changing = false;