[asterisk-bugs] [JIRA] (ASTERISK-25632) res_pjsip_sdp_rtp: RTP is sent from wrong IP address when multihomed
Olivier Krief (JIRA)
noreply at issues.asterisk.org
Mon Jan 11 08:11:33 CST 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-25632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=228930#comment-228930 ]
Olivier Krief commented on ASTERISK-25632:
------------------------------------------
Hello,
I could also reproduce this in a non-cluster environment:
SIP signaling uses expected "auxiliary" IP address
while RTP media uses "main or default" IP address.
Main PJSIP settings are:
[foo-transport]
bind=192.168.50.16
external-signaling-address=192.168.50.16
external-media-address=192.168.50.16
local_net=192.168.50.0/24
where 192.168.50.16 is an auxiliary IP added with a statement like ip addr add 192.168.50.16/24 dev eth0
Following "I figured it out" comment above, shall I provide more data ?
> res_pjsip_sdp_rtp: RTP is sent from wrong IP address when multihomed
> --------------------------------------------------------------------
>
> Key: ASTERISK-25632
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25632
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip_sdp_rtp
> Affects Versions: 13.6.0
> Environment: Centos 7
> Reporter: Olivier Krief
> Assignee: George Joseph
>
> Setup is a cluster of two Asterisk boxes. Each box has several Ethernet interfaces and both share a set of floating IP addresses (pacemaker/corosync).
> One box is volontarily powered off.
> The remaining box send an outbound call to a PJSIP trunk.
> Within SDP portion of INVITE message, I can read:
> IN IP4 10.20.143.100
> where 10.20.143.100 is a floating IP.
> The INVITE message itself also comes from 10.20.143.100
> A bit later, as captured with tcpcump, I can see outbound RTP is sent from
> 10.20.143.101 (non-floating IP).
> Trunk's transport is configured with:
> external_media_address : 10.20.143.100
> I must add I'm new to clusters.
> My question is:
> is this feature supported (use of floating IP addresses)
> Regards
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list