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

Re: [reSIProcate] Early media followed by 200 OK without SDP


That scenario is not valid.  When using non-reliable provisional responses (ie: PRACK disabled) - if an answer is provided in a 180 response, then it must be repeated in the 200 response.

Some statements from RFC3261:
Section 13.2.1:
 o  If the initial offer is in an INVITE, the answer MUST be in a
         reliable non-failure message from UAS back to UAC which is
         correlated to that INVITE.  For this specification, that is
         only the final 2xx response to that INVITE.  That same exact
         answer MAY also be placed in any provisional responses sent
         prior to the answer.  The UAC MUST treat the first session
         description it receives as the answer, and MUST ignore any
         session descriptions in subsequent responses to the initial
         INVITE.
Section 13.3.1.4:
If the INVITE request contained an offer, and the UAS had not yet
   sent an answer, the 2xx MUST contain an answer.  If the INVITE did
   not contain an offer, the 2xx MUST contain an offer if the UAS had
   not yet sent an offer.

Scott

On Mon, Jun 10, 2013 at 5:26 AM, Jan Granqvist <jan_granqvist@xxxxxxxxx> wrote:
Hi all,

I’ve ran into some difficulties in an interop test towards an SBC.
I’m using reciprocate 1.8.6 and DUM on top.

The problem is as follows:
My application initiates a SIP session towards the SBC, the SBC answers with an 180/SDP.
The remote part answer the call which initiates a 200 OK response without SDP.

Is this a valid scenario? DUM at least does not like it and terminates the call.
Or is there a way to overcome this?


    DUM                SBC

    INVITE(SDP)            -->
    100 Trying            <--
    180 Ringing(SDP)        <--
    200 OK(no SDP)            <--

    ACK                -->
    BYE                -->
    200 OK                <--


DEBUG | 20130610-104151.588 | SIPCService | RESIP:DUM | 5960 | DialogId.cxx:50 | DialogId::DialogId: hbQJuV6_pCllB59l0sJRCA..-75194203-00e51a.Ab2b66.Pb2b629.B2b1.Tb2b1-1
DEBUG | 20130610-104151.589 | SIPCService | RESIP:DUM | 5960 | DialogUsageManager.cxx:1144 | Send: SipReq:  BYE 0633040109.iIiIiI.0c03d84a.@12.3.126.42 tid=35187e552274eb58 cseq=2 BYE contact=0923000903@12.3.191.35 / 2 from(tu)
INFO | 20130610-104151.589 | SIPCService | RESIP:DUM | 5960 | ClientInviteSession.cxx:859 | Failure:  2xx with no answer: SipResp: 200 tid=8c2e757372263228 cseq=1 INVITE contact=0633040109.iIiIiI.0c03d84a.@12.3.126.42 / 1 from(wire)
INFO | 20130610-104151.589 | SIPCService | RESIP:DUM | 5960 | InviteSession.cxx:2703 | Transition UAC_Early -> InviteSession::Terminated


Thanks
/Janne

_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel