Hi,<br><br>I am working on a configuration with both opensips and mediaproxy2 in one box and B2BUA in another box. If both SIP clients connecting to opensips are within NAT, then mediaproxy2 will proxy all the media. If a SIP client needs to make a PSTN call and if the SIP client is within NAT, then mediaproxy will proxy the media between the B2BUA and SIP client. <br>
<br>I managed to get mediaproxy2 installed, thanks to all the help I got from this list. I also wrote a config.ini,but when I started ./media-relay or ./media-dispatcher, nothing happens. How to I get these two processes to start? <br>
<br>Also, could someone help me to understand when to use media-dispatcher or media-relay and how to set them up? Where do I specify the IP and port for my B2BUAs? <br><br>I can't find much doc on MediaProxy2, so I am pretty stuck right now. If anyone can point me to a useful doc on how to get MediaProxy running with opensips, I would greatly appreciate it. <br>
<br>I worked with the old MediaProxy version based on the doc I found from Google, but there seems to be relatively little info on how to get MediaProxy running?<br><br><br>Thanks in advance for all your help.<br><br>Best Regards,<br>
JB<br><br><br><br>Here is my config.ini:<br><br>[Relay]<br><br>dispatchers = <a href="http://example.com">example.com</a> <a href="http://192.168.1.101:5070">192.168.1.101:5070</a><br>relay_ip = 192.168.1.102<br>port_range = 50000:60000<br>
stream_timeout = 90<br>on_hold_timeout = 7200<br>dns_check_interval = 60<br>reconnect_delay = 10<br>traffic_sampling_period = 15<br><br><br>[Dispatcher]<br>socket_path = dispatcher.sock<br>listen = 0.0.0.0<br>listen_management = 0.0.0.0<br>
relay_timeout = 5<br><br>[TLS]<br>[Database]<br><br>[Radius]<br><br>[OpenSIPS]<br>socket_path = '/var/run/opensips/socket'<br>max_connections = 10<br><br>