Skip to content
Snippets Groups Projects
  • Joshua Colp's avatar
    29e0add1
    pjsip / hep: Provide correct local address for Websockets. · 29e0add1
    Joshua Colp authored
    Previously for PJSIP the local address of WebSocket connections
    was set to the remote address. For logging purposes this is
    not particularly useful.
    
    The WebSocket API has been extended to allow the local
    address to be queried and this is used in PJSIP to set the
    local address to the correct value.
    
    The PJSIP HEP support has also been tweaked so that reliable
    transports always use the local address on the transport
    and do not try to (wrongly) guess. As they are connection
    based it is impossible for the source to be anything else.
    
    ASTERISK-26758
    ASTERISK-27363
    
    Change-Id: Icd305fd038ad755e2682ab2786e381f6bf29e8ca
    29e0add1
    History
    pjsip / hep: Provide correct local address for Websockets.
    Joshua Colp authored
    Previously for PJSIP the local address of WebSocket connections
    was set to the remote address. For logging purposes this is
    not particularly useful.
    
    The WebSocket API has been extended to allow the local
    address to be queried and this is used in PJSIP to set the
    local address to the correct value.
    
    The PJSIP HEP support has also been tweaked so that reliable
    transports always use the local address on the transport
    and do not try to (wrongly) guess. As they are connection
    based it is impossible for the source to be anything else.
    
    ASTERISK-26758
    ASTERISK-27363
    
    Change-Id: Icd305fd038ad755e2682ab2786e381f6bf29e8ca