Skip to content
Snippets Groups Projects
  • George Joseph's avatar
    a41aab47
    pjsip_sdp_rtp: Add option endpoint/bind_rtp_to_media_address · a41aab47
    George Joseph authored
    On a system with multiple ip addresses in the same subnet, if a
    transport is bound to a specific ip address and endpoint/media_address
     is set, the SIP/SDP will have the correct address in all fields but
    the rtp stream MAY still originate from one of the other ip addresses,
    most probably the "primary" ip address.  This happens because
     res_pjsip_sdp_rtp/create_rtp always calls ast_instance_new with
    the "all" ip address (0.0.0.0 or ::).
    
    The new option causes res_pjsip_sdp_rtp/create_rtp to call
    ast_rtp_instance_new with the endpoint's media_address (if specified)
    instead of the "all" address.  This causes the packets to originate from
    the specified address.
    
    ASTERISK-25632
    ASTERISK-25637
    Reported-by: Olivier Krief
    Reported-by: Dan Journo
    
    Change-Id: I3dfaa079e54ba7fb7c4fd1f5f7bd9509bbf8bd88
    a41aab47
    History
    pjsip_sdp_rtp: Add option endpoint/bind_rtp_to_media_address
    George Joseph authored
    On a system with multiple ip addresses in the same subnet, if a
    transport is bound to a specific ip address and endpoint/media_address
     is set, the SIP/SDP will have the correct address in all fields but
    the rtp stream MAY still originate from one of the other ip addresses,
    most probably the "primary" ip address.  This happens because
     res_pjsip_sdp_rtp/create_rtp always calls ast_instance_new with
    the "all" ip address (0.0.0.0 or ::).
    
    The new option causes res_pjsip_sdp_rtp/create_rtp to call
    ast_rtp_instance_new with the endpoint's media_address (if specified)
    instead of the "all" address.  This causes the packets to originate from
    the specified address.
    
    ASTERISK-25632
    ASTERISK-25637
    Reported-by: Olivier Krief
    Reported-by: Dan Journo
    
    Change-Id: I3dfaa079e54ba7fb7c4fd1f5f7bd9509bbf8bd88
To find the state of this project's repository at the time of any of these versions, check out the tags.