[asterisk-bugs] [JIRA] (ASTERISK-26656) PJSIP fails to handle NAT clients on multihomed boxes

Asterisk Team (JIRA) noreply at issues.asterisk.org
Sat Dec 10 07:28:10 CST 2016


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

Asterisk Team commented on ASTERISK-26656:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> PJSIP fails to handle NAT clients on multihomed boxes
> -----------------------------------------------------
>
>                 Key: ASTERISK-26656
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26656
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_multihomed
>    Affects Versions: 13.12.2
>         Environment: Linux 64
>            Reporter: Private Name
>
> In PJSIP, we have these 3 settings for an endpoint located behind a NAT
>     rtp_symmetric - Send media to the address and port from which Asterisk receives it, regardless of where SDP indicates that it should be sent
>     force_rport - Send responses to the source IP address and port as though port were present, even if it's not
>     rewrite_contact - Rewrite SIP Contact to the source address and port of the request so that subsequent requests go to that address and port.
> If the machine has one interface, PJSIP correctly determines the public IP of the client, rewrites the contact and sends RTP back to the public IP. If the machine has more than one network interface, on the same network (my case), then PJSIP gets confused and send the RTP to the private IP, this the client never gets the media.
> All this can be seen with 
> rtp set debug on
> This issue has the tragic consequence of not allowing for any load balancing, since we can effectively have on single network interface.



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



More information about the asterisk-bugs mailing list