<p>Did you get answer or example?</p>
<div class="gmail_quote">25.02.2014 14:45 ΠΟΜΨΪΟΧΑΤΕΜΨ "αΞΤΟΞ μΩΤΑΕΧ" <<a href="mailto:avlytaev82@gmail.com">avlytaev82@gmail.com</a>> ΞΑΠΙΣΑΜ:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hi. Please help.<br><span lang="en"><span>We have:</span></span><br><span lang="en"><span>1.One server</span> <span>consists of: CenOS6.5 + Opensips1.7 + MediaProxy2.5<br>
2.One MGW: Cisco AS5350<br></span></span></div><span lang="en"><span>3.UserID=</span></span><span lang="en"><span>telephone number and </span></span><span lang="en"><span>registration on OpenSips </span></span><span lang="en"><span>through MySQL<br>
</span></span><span lang="en"><span>4.Call to</span> <span>PSTN</span> <span>pass through</span> <span>MGW</span> <span>with prefix</span> <span>9999:<br>
route[4] { prefix("9999");<br> rewritehostport("<a href="http://192.168.0.3:5060" target="_blank">192.168.0.3:5060</a>");<br> if (!t_relay()) { sl_reply_error(); };<br> exit;}<br>
</span></span><div>
<span lang="en"><span><br></span></span>
Now, such a scheme works:<br>
<br>
(UAC )---->sip----->Opensips 1.7--->SIP--->MGW Cisco<br>192.168.0.65 192.168.0.2 192.168.0.3<br><div>RTP----------------------------------------------------------->MGW Cisco-------->PSTN<br>
<br>
In this topology visible<br>
<br>
It's not safe, it's necessary to build a new wiring diagram:<br>
(UAC )--->sip,RTP---->(Opensips--->rtp,SIP------>)----->MGW Cisco--->PSTN<br>
85.85.85.85 (85.85.85.2 192.168.0.2) 192.168.0.3<br>
<br>
questions:<br>
1. to hide the network topology from the users (can be used dialog module, function: topology_hiding?)<br>
2. hide RTP traffic to MGW for Opensips-server (can be used MediaProxy or rtpproxy)?<br>
Please, give examples opensips.cfg-file ?<br>
</div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>