Skip to content
Snippets Groups Projects
  • Alexander Traud's avatar
    f35501b8
    sip_to_pjsip: Migrate IPv4/IPv6 (Dual Stack) configurations. · f35501b8
    Alexander Traud authored
    When using the migration script sip_to_pjsip.py, and your sip.conf is
    configured with bindaddr=::, two transports are written to pjsip.conf, one for
    0.0.0.0 (IPv4) and one for [::] (IPv6). That way, PJProject listens on the IPv4
    and IPv6 wildcards; a IPv4/IPv6 Dual Stack configuration on a single interface
    like in chan_sip.
    
    Furthermore, the script internal functions "build_host" and "split_hostport"
    did not parse Literal IPv6 addresses as expected (like [::1]:5060). This change
    makes sure, even such addresses are parsed correctly.
    
    ASTERISK-26309
    
    Change-Id: Ia4799a0f80fc30c0550fc373efc207c3330aeb48
    f35501b8
    History
    sip_to_pjsip: Migrate IPv4/IPv6 (Dual Stack) configurations.
    Alexander Traud authored
    When using the migration script sip_to_pjsip.py, and your sip.conf is
    configured with bindaddr=::, two transports are written to pjsip.conf, one for
    0.0.0.0 (IPv4) and one for [::] (IPv6). That way, PJProject listens on the IPv4
    and IPv6 wildcards; a IPv4/IPv6 Dual Stack configuration on a single interface
    like in chan_sip.
    
    Furthermore, the script internal functions "build_host" and "split_hostport"
    did not parse Literal IPv6 addresses as expected (like [::1]:5060). This change
    makes sure, even such addresses are parsed correctly.
    
    ASTERISK-26309
    
    Change-Id: Ia4799a0f80fc30c0550fc373efc207c3330aeb48