[asterisk-bugs] [JIRA] (ASTERISK-25637) Multi homed server using wrong IP

Daniel Journo (JIRA) noreply at issues.asterisk.org
Sun Dec 20 14:57:32 CST 2015


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

Daniel Journo commented on ASTERISK-25637:
------------------------------------------

Just realised that this has recently been reported here.
https://issues.asterisk.org/jira/browse/ASTERISK-25632


> Multi homed server using wrong IP
> ---------------------------------
>
>                 Key: ASTERISK-25637
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25637
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.5.0
>            Reporter: Daniel Journo
>
> A server with two IPs on one NIC.
> IP1: X.X.X.85 (this IP belongs to the server)
> IP2: X.X.X.87 (this is a virtual IP, managed by pacemaker failover with another server).
> In the transport I've specified the virtual IP like this:-
> [transport-public-udp]
> type = transport
> external_signaling_address = X.X.X.87  ;I note that this might not be relevant but did this to try to resolve my issue.
> external_media_address=X.X.X.87      ;I note that this might not be relevant but did this to try to resolve my issue.
> protocol = udp
> bind = X.X.X.87
> An endpoint is defined like this:-
> [company_202]
> type=endpoint
> context=company_phones
> disallow=all
> allow=ulaw
> direct_media=no
> moh_suggest=default
> ;media_use_received_transport=yes
> accountcode=company
> force_rport=yes
> rtp_symmetric=yes
> rewrite_contact=yes
> auth=auth_company_202
> aors=company_202
> [auth_company_202]
> type=auth
> auth_type=userpass
> password=secret
> username=company_202
> [company_202]
> type=aor
> max_contacts=1
> remove_existing=1
> The endpoint registers successfully to the virtual IP and all SIP packets are sent of the virtual IP X.X.X.87.
> But the RTP UDP data is being sent out of the wrong IP X.X.X.85. 
> It looks like Asterisk is ignoring the Bind address when sending out the audio.



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



More information about the asterisk-bugs mailing list