[asterisk-bugs] [JIRA] (ASTERISK-21964) SIP TLS Register statement fails if sip.conf register directive uses peer name.

Doug Bailey (JIRA) noreply at issues.asterisk.org
Wed Jun 26 14:14:03 CDT 2013


Doug Bailey created ASTERISK-21964:
--------------------------------------

             Summary: SIP TLS Register statement fails if sip.conf register directive uses peer name. 
                 Key: ASTERISK-21964
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21964
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/Registration
    Affects Versions: 1.8.22.0
            Reporter: Doug Bailey



I am using 1.8.15-cert2 and have been testing some TLS functionality.  When I set a register statement that specifies TLS and uses the peer name as the target address in the register statement, I get an error and the register request never goes out.

The problem occurs due to a create_addr failing in transmit_register due to an allocated dialog's socket being set to UDP while the sip_registry indicates only TLS transport.

The register statement works if I explicitly specify the IP address in the sip.conf register statement.



More information about the asterisk-bugs mailing list