[asterisk-bugs] [JIRA] (ASTERISK-28544) Wrong contact representation in ipv6 mode

Jørgen H (JIRA) noreply at issues.asterisk.org
Thu Sep 19 16:02:47 CDT 2019


Jørgen H created ASTERISK-28544:
-----------------------------------

             Summary: Wrong contact representation in ipv6 mode
                 Key: ASTERISK-28544
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28544
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_pjsip
    Affects Versions: 16.6.0
         Environment: Linux x64
            Reporter: Jørgen H


res/res_pjsip.c and ast_sip_create_dialog_uas quotes ipv6 addresses with brackets [] when generating the contact address. Thethe transport local_name.host variable.
The IP address is taken from transport local_name.host-variable which is already quoted with brackets by pjsip's pj_addr_str_print function. This result in Invalid URI and hangup errors when making a call in ipv6 mode






--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list