[OpenSIPS-Users] mediaproxy behind firewall

Nick Chang nick.chang at kland.com.tw
Mon Oct 1 05:09:46 CEST 2012


Hello Jeff

 

So, Mediaproxy can’t behind firewall. Is it right??

 

If I want to build a SIP Server, Only used public IP??

 

Thanks for your support.

 

Nick

 

From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Jeff Pyle
Sent: Monday, October 01, 2012 11:01 AM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] mediaproxy behind firewall

 

Nick,

 

It is my understanding the "relay ip" option needs to refer to a local, public IP assigned to an interface on the machine.  I don't believe mediaproxy will function behind NAT.  The error is showing up likely because the media relay process cannot bind to the "relay ip" you specify.

 

 

- Jeff





On Sun, Sep 30, 2012 at 10:57 PM, Nick Chang <nick.chang at kland.com.tw> wrote:

Hello

 

I build a mediaproxy. It behind the Firewall(Cisco ASA)

 

In /etc/mediaproxy/config.ini

dispatchers = private ip

relay_ip = public ip

port_range = 35000:65000

 

Than I startup media-dispatcher and media-relay

 

But I saw this error:

media-relay[9663]: warning: Cannot use port pair 54816/54817

media-relay[9663]: warning: Cannot use port pair 54818/54819

media-relay[9663]: warning: Cannot use port pair 54820/54821

media-relay[9663]: warning: Cannot use port pair 54822/54823

media-relay[9663]: warning: Cannot use port pair 54824/54825

media-relay[9663]: warning: Cannot use port pair 54826/54827

media-relay[9663]: warning: Cannot use port pair 54828/54829

media-relay[9663]: warning: Cannot use port pair 54830/54831

media-relay[9663]: warning: Cannot use port pair 54832/54833

 

In Firewall

I opened the port 25060 with TCP and port 5060 with UDP and port 35000~65000 with UDP

 

Now,

I had two smartphone behind the NAT.

 

When A call B. It’s OK. But no Voice.

 

Can mediaproxy behind the firewall?? Or just used public ip??

 

Thanks for everyone give me a suggest.

Nick

 

 

 

 

 


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121001/f6607877/attachment-0001.htm>


More information about the Users mailing list