[OpenSIPS-Users] mediaproxy behind firewall

Nick Chang nick.chang at kland.com.tw
Mon Oct 1 04:57:34 CEST 2012


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

 

 

 

 

 

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


More information about the Users mailing list