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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Dec 12 09:23:10 CST 2016


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

Joshua Colp commented on ASTERISK-26656:
----------------------------------------

Thank you for taking the time to report this bug and helping to make Asterisk better. Unfortunately, we cannot work on this bug because your description did not include enough information. Please read over the Asterisk Issue Guidelines [1] which discusses the information necessary for your issue to be resolved and the format that information needs to be in. We would be grateful if you would then provide a more complete description of the problem. At a minimum, we need:

1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected and the location of documentation that led you to that expectation.
3. The behavior you actually encountered.

To demonstrate the issue in detail, please include Asterisk log files generated per the instructions on the wiki [2]. If applicable, please ensure that protocol-level trace debugging is enabled, e.g., 'sip set debug on' if the issue involves chan_sip, and configuration information such as dialplan and channel configuration.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

[2] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information



> 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
>         Attachments: pjsip-config.txt
>
>
> 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