[asterisk-bugs] [JIRA] (ASTERISK-29834) pjsip: Incorrect IP in contact header when using PJSIP TLS with dynamic IP addresses (intermittently)

AdFun7911 (JIRA) noreply at issues.asterisk.org
Wed Jan 5 11:42:06 CST 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

AdFun7911 updated ASTERISK-29834:
---------------------------------

    Attachment: tls_configuration.txt

> pjsip: Incorrect IP in contact header when using PJSIP TLS with dynamic IP addresses (intermittently)
> -----------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-29834
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29834
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 16.21.1
>         Environment: FreePBX 15.0.17.64
> RasPBX 5.10.63
>            Reporter: AdFun7911
>            Assignee: Unassigned
>         Attachments: full_log.txt, hosts.txt, resolv.conf, sip_log.txt, tls_configuration.txt
>
>
> Initial situation: PJSIP is configured over TLS and the external IP address of the server is changing. Remote clients try to connect to that server.
> Every now and then there is no sound on all endpoints when connecting from outside the internal network. After 30 seconds the connection ends. This pointed to RTP. After a reboot (or fwconsole restart in FreePBX, but not fwconsole reload) everything works fine.
> Analyzing the SIP response made clear that when this issue occurs, instead of the public IP address it sends the internal IP address to all clients outside of the local network. This happens even though dnsmgr is up and running. The domain resolution from FreePBX itself is working as well. Sometimes it is possible to trigger the issue by refreshing the external IP address, but this doesn't always work for some reason.
> Also sometimes when the IP address changes again, the issue disappears.
> Full information from FreePBX Community Forums available here:
> https://community.freepbx.org/t/incorrect-ip-in-contact-header/78265/63



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



More information about the asterisk-bugs mailing list