< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Sending SDP in 183 for ServerInviteSession in UAS_EarlyProvidedOffer state


Hello,

Is it valid to call provideOffer and then sendProvisional(183) for a
ServerInviteSession in the UAS_EarlyProvidedOffer state?  

The ServerInviteSession is in the UAS_EarlyProvidedOffer state after
receiving an INVITE with no SDP.

Thanks,

-Justin


ServerInviteSession::sendProvisional(int code)
{
   mDialog.makeResponse(*m1xx, mFirstRequest, code);
   switch (mState)
   {
      case UAS_OfferProvidedAnswer:
      case UAS_EarlyProvidedAnswer:

        /**!!! INSERTED HERE ----> */
        case UAS_EarlyProvidedOffer:

         if (mCurrentLocalSdp.get()) // early media
         {
            setSdp(*m1xx, mCurrentLocalSdp.get());
         }