Browse code

sbc b/f: alter locally generated hold request after b2b media class creates it

Václav Kubart authored on 14/11/2013 14:23:01 • Stefan Sayer committed on 19/11/2013 14:44:13
Showing 1 changed files
... ...
@@ -1690,10 +1690,10 @@ void SBCCallLeg::createHoldRequest(AmSdp &sdp)
1690 1690
     m.payloads.push_back(SdpPayload(0));
1691 1691
   }
1692 1692
 
1693
-  alterHoldRequestImpl(sdp);
1694
-
1695 1693
   AmB2BMedia *ms = getMediaSession();
1696 1694
   if (ms) ms->replaceOffer(sdp, a_leg);
1695
+
1696
+  alterHoldRequestImpl(sdp);
1697 1697
 }
1698 1698
 
1699 1699
 void SBCCallLeg::setMediaSession(AmB2BMedia *new_session)