• Mike Jerris's avatar
    FS-11557: [mod_sofia] add support for RFC 7989 Session-ID header · a9e634b6
    Mike Jerris 提交于
    (enable with sofia profile param rfc-7989=true)
    
    FS-11557 [mod_sofia, mod_conference, core] Add support for re-INVITE when setting Session-ID in conference after call has been answered.
    
    FS-11557 [mod_conference] Missed a spot where APP_SESSION_ID needed to be set.
    
    FS-11557: set session id for outbound (initial requests)
    
    FS-11557: [mod_sofia] rename vars and functions "session id" -> "session uuid" to reflect the real meaning for rfc7989.
    
    FS-11557: fix bug - colliding chan var names (session_id)
    
    FS-11557: check nil session uuid
    
    FS-11557 : replace CS_NEW with CS_INIT for when originating calls, generate new uuid.
    
    FS-11557: handle inbound (UAS mode, one leg)
    
    FS-11557: generic param handling and filter via new sip profile option "rfc-7989-filter", eg:
    <param name="rfc-7989-filter" value="logme, sec-agree, privacy" />
    
    FS-11557: renamed chan vars (reflect meaning only for RFC7989)
    
    FS-11557: fallback to RFC7329 - "old" Session-ID
    
    FS-11557: distinguish between request and replies when we read the header
    (to provide compatibility with old RFC7329 - section 11 of RFC7989)
    FS-11557: change more vars/consts names
    
    FS-11557: move compat flag on the channel.
    
    FS-11557: add Session-ID header in REFER
    
    FS-11557: needs extra condition on received initial request
    
    FS-11557: handle NOTIFY
    
    FS-11557: support answer() in dialplan - it was sending back a 200 OK with Session-ID invalid, eg: A=NIL;B=X
    
    FS-11557: add Session-ID for NOTIFY (more cases)
    
    FS-11557: handle reply to SIP INFO (add Session-ID header)
    
    FS-11557: handle case of BYE after REFER, when the channel is destroyed already (save the uuid on sofia_private)
    
    FS-11557: handle more SIP reply cases (eg: 202 Accepted , more negative replies)
    
    FS-11557: handle ACK (UAS role)
    
    FS-11557: added "rfc-7989-force-old" profile param - to enforce old rfc7329 for the UAC role. default off.
    enabled with "<param name="rfc-7989-force-old" value="true" />".
    
    FS-11557: fallback to rfc7329 fixes.
    
    FS-11557: set flag CF_RFC7329_COMPAT on partner channel where needed
    
    FS-11557: fix crash (mod_conference)
    a9e634b6
switch_types.h 93.6 KB