[OpenSIPS-Users] mediaproxy behind firewall

Jeff Pyle jpyle at fidelityvoice.com
Mon Oct 1 05:01:06 CEST 2012


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/20120930/b4ae0a0d/attachment.htm>


More information about the Users mailing list