[asterisk-bugs] [JIRA] (ASTERISK-27695) pjsip transport local_net setting not updated on config reload

Jacek Konieczny (JIRA) noreply at issues.asterisk.org
Wed Feb 21 08:36:13 CST 2018


Jacek Konieczny created ASTERISK-27695:
------------------------------------------

             Summary: pjsip transport local_net setting not updated on config reload
                 Key: ASTERISK-27695
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27695
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_pjsip
    Affects Versions: 14.7.5
            Reporter: Jacek Konieczny


A change to {{local_net}} setting in {{pjsip.conf}} transport section is not reloaded on '{{reload res_pjsip}}', while '{{external_signaling_address}}' and '{{external_media_address}} ' are updated correctly.

I have looked into the source code, but there seem to be a bit too much magic happening there for me to create a trivial patch.

The problem seems to be that the '{{transport_localnet_handler()}}' function used to update this setting uses a different 'temporary state' object then is later used in '{{transport_apply}}' and actually applied to the transport.



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



More information about the asterisk-bugs mailing list