[asterisk-bugs] [JIRA] (ASTERISK-25632) res_pjsip_sdp_rtp: RTP is sent from wrong IP address when multihomed

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Mon Dec 21 11:08:32 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=228680#comment-228680 ] 

Richard Mudgett edited comment on ASTERISK-25632 at 12/21/15 11:08 AM:
-----------------------------------------------------------------------

I'm having the same issue and opened a new issue before I saw yours.
ASTERISK-25637

>From a discussion with 'file' on IRC, PJSIP determines which transport is going to be used. Asterisk doesn't know which transport was used, it only knows the IP of the endpoint. So it doesn't know which IP to send the RTP data out from. If there is only one transport, then it's obvious. But what about the case where there is more than one.

File made a comment saying that it might be possible to get PJSIP to make an educated guess as to which transport is being used, and then get the bind address, but I'm struggling to figure that one out.


was (Author: journo):
I'm having the same issue and opened a new issue before I saw yours.
https://issues.asterisk.org/jira/browse/ASTERISK-25637

>From a discussion with 'file' on IRC, PJSIP determines which transport is going to be used. Asterisk doesn't know which transport was used, it only knows the IP of the endpoint. So it doesn't know which IP to send the RTP data out from. If there is only one transport, then it's obvious. But what about the case where there is more than one.

File made a comment saying that it might be possible to get PJSIP to make an educated guess as to which transport is being used, and then get the bind address, but I'm struggling to figure that one out.

> 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
>
> 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