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:
parent
b44ad855e3
commit
1bf31c4418
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue