Changeset 356:905caaa60269 in verona


Ignore:
Timestamp:
Oct 26, 2011 3:37:49 PM (19 months ago)
Author:
Vadim Lebedev <vadim@…>
Branch:
default
Message:

implement PH_NOEARLY_MEDIA flag in addVline and placeCall

File:
1 edited

Legend:

Unmodified
Added
Removed
  • phapi/phapi.c

    r354 r356  
    15771577        } 
    15781578 
    1579         ca0->user_mflags = streams; 
     1579        ca0->user_mflags = streams | (vl->mobility & PH_NOEARLY_MEDIA); 
    15801580        ca0->nego_mflags = streams; 
    15811581 
     
    57915791        char *from = 0, *to = 0; 
    57925792        const int mflags =  -1 & ~(PH_STREAM_MCSEND|PH_STREAM_MCRECV); 
    5793         char *sdp; 
     5793        char *sdp = 0; 
    57945794 
    57955795        DBG_SIP_NEGO("SIP NEGO: ph_call_ringing\n"); 
     
    58055805        info.remoteSdp = sdp = ph_req_get_body(je->response); 
    58065806 
    5807         if (sdp) 
     5807        if (!(ca->user_mflags & PH_NOEARLY_MEDIA) && 0 != sdp) 
    58085808        { 
    58095809                if (ca->remote_sdp) { 
     
    58535853                ph_refer_notify(rca->rdid, 180, "Ringing", 0); 
    58545854        } 
     5855 
     5856        if (sdp) 
     5857                osip_free(sdp); 
    58555858 
    58565859        if (to) 
Note: See TracChangeset for help on using the changeset viewer.