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

Asterisk Team (JIRA) noreply at issues.asterisk.org
Mon Dec 26 12:00:10 CST 2016


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

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

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

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

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