[asterisk-bugs] [JIRA] (ASTERISK-27695) pjsip transport local_net setting not updated on config reload
Jacek Konieczny (JIRA)
noreply at issues.asterisk.org
Mon Mar 12 08:36:13 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242536#comment-242536 ]
Jacek Konieczny commented on ASTERISK-27695:
--------------------------------------------
I have just tried with Asterisk 15.2.2. The problem is still there. Changes to local_net settings in pjsip.conf are ignored on res_pjsip reload.
> 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
> Assignee: Unassigned
> Labels: pjsip
>
> 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