[asterisk-bugs] [JIRA] (ASTERISK-30047) Local IP address in SDP when external_media_address is used
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Fri May 20 12:00:49 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-30047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259270#comment-259270 ]
Asterisk Team commented on ASTERISK-30047:
------------------------------------------
Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].
[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines
> Local IP address in SDP when external_media_address is used
> -----------------------------------------------------------
>
> Key: ASTERISK-30047
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-30047
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip
> Affects Versions: 18.11.2
> Environment: Debian 11.3 container
> Reporter: Niksa Baldun
> Assignee: Niksa Baldun
>
> I have a system with 3 network adapters, with following IPs:
> 192.168.43.2/24
> 10.55.66.30/30
> 10.42.42.2/24
> Default GW is 10.42.42.1.
> If I use the following PJSIP transport definition:
> [transport-udp]
> type=transport
> protocol=udp
> bind=0.0.0.0:5060
> local_net=192.168.43.0/24
> local_net=10.42.42.0/24
> external_media_address=x.x.x.x
> external_signaling_address=x.x.x.x
> external IP is put in contact header, but SDP always contains the local address 10.42.42.2. So audio obviously does not work. The trunk registers to a public Internet address.
> It works as expected if I split transports like so:
> [transport-udp]
> type=transport
> protocol=udp
> bind=192.168.43.2:5060
> [transport-udp-1]
> type=transport
> protocol=udp
> bind=10.55.66.30:5060
> [transport-udp-external]
> type=transport
> protocol=udp
> bind=10.42.42.2:5060
> external_media_address=x.x.x.x
> external_signaling_address=x.x.x.x
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list