Benjamin Marty
2018-Apr-09 14:42 UTC
[asterisk-users] Asterisk behind NAT Early Media Video
Hello, I have an Asterisk 15 with PJSIP behind NAT (Amazon EC2). Now I would like to get Early Media Video working between clients in different NATed networks. The 183 signalling goes trough perfectly, but asterisk doesn't forward the Early Media RTP stream from the caller to the recipent. I have the following configuration: [6001] type = endpoint context = internal rewrite_contact = yes direct_media = no rtp_symmetric = yes force_rport = yes disallow = all allow = alaw, ulaw, h264 aors = 6001 auth = auth6001 [6001] type = aor max_contacts = 2 [auth6001] type=auth auth_type=userpass password=1234 username=6001 Is there a Solution for an such scenario? Thanks Benjamin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180409/0618b573/attachment.html>
On Mon, Apr 9, 2018, at 11:42 AM, Benjamin Marty wrote:> Hello, > > I have an Asterisk 15 with PJSIP behind NAT (Amazon EC2). > > Now I would like to get Early Media Video working between clients in > different NATed networks. The 183 signalling goes trough perfectly, but > asterisk doesn't forward the Early Media RTP stream from the caller to the > recipent.You would need to examine things specifically and see where media is flowing. Is the recipient behind NAT? If so then until we receive media from them (wich may or may not occur with early media) we may not have the correct target of media. Cheers, -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
Benjamin Marty
2018-Apr-09 14:53 UTC
[asterisk-users] Asterisk behind NAT Early Media Video
Yes, media is flowing through Asterisk because both client's are behind different NAT's. Do I need to do something special in the Call Flow? Or anything additional to the pjsip.conf? 2018-04-09 16:50 GMT+02:00 Joshua Colp <jcolp at digium.com>:> On Mon, Apr 9, 2018, at 11:42 AM, Benjamin Marty wrote: > > Hello, > > > > I have an Asterisk 15 with PJSIP behind NAT (Amazon EC2). > > > > Now I would like to get Early Media Video working between clients in > > different NATed networks. The 183 signalling goes trough perfectly, but > > asterisk doesn't forward the Early Media RTP stream from the caller to > the > > recipent. > > You would need to examine things specifically and see where media is > flowing. Is the recipient behind NAT? If so then until we receive media > from them (wich may or may not occur with early media) we may not have the > correct target of media. > > Cheers, > > -- > Joshua Colp > Digium, Inc. | Senior Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - US > Check us out at: www.digium.com & www.asterisk.org > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: https://community.asterisk. > org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180409/59c82172/attachment.html>