<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Anca<br><br><br>let me describe the topology:<br>VOIP Service Provider --------SIP trunk port 5070----Opensips1 --sip trunk port 5060----Opensips2----Ip phone<br><br>the Opnesips1 has 2 interface :<br> interface 1 : IP address 192.168.1.2 -- trunking with opensips2<br> interface 2 : IP address 115.22.22.3 -- trunking with VOIP service provider<br> VOIP provider IP address : 115.1.1.2 <br>IP address of Opensips2 : 192.168.1.3<br><br>when i do top hiding <br><div class="frame lfloat">
<pre><span style="color: rgb(0, 0, 136);">if</span><span style="color: rgb(102, 102, 0);">(</span><span style="color: rgb(0, 0, 0);">is_method</span><span style="color: rgb(102, 102, 0);">(</span><span style="color: rgb(0, 136, 0);">"INVITE"</span><span style="color: rgb(102, 102, 0);">)</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(102, 102, 0);">&&</span><span style="color: rgb(0, 0, 0);"> src_ip</span><span style="color: rgb(102, 102, 0);">==</span><span style="color: rgb(0, 136, 0);">"115.1.1.2"</span><span style="color: rgb(102, 102, 0);">)</span><span style="color: rgb(0, 0, 0);"><br> $du=192.168.1.3//is it right ?<br> b2b_init_request</span><span style="color: rgb(102, 102, 0);">(</span><span style="color: rgb(0, 136, 0);">"top hiding"</span><span style="color: rgb(102, 102, 0);">);</span></pre>
</div>what is value i set :<br><pre class="programlisting">modparam("b2b_entities", "server_address", "which IP address Private or Public")</pre>Thank you<br>Ha`<br><br>--- On <b>Wed, 12/16/09, Anca Vamanu <i><anca@opensips.org></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Anca Vamanu <anca@opensips.org><br>Subject: Re: [OpenSIPS-Users] question on B2B module<br>To: "OpenSIPS users mailling list" <users@lists.opensips.org><br>Date: Wednesday, December 16, 2009, 2:30 AM<br><br><div class="plainMail">Hi Ha,<br><br>Yes, such a configuration is possible. You have to set the $du to the <br>address of OpenSIPS2 before doing b2b_init on OpenSIPS1.<br><br>Regards,<br><br>-- <br>Anca Vamanu<br>www.voice-system.ro<br><br><br><br>ha do wrote:<br>> Hi all<br>><br>> network topology:<br>> VOIP Service Provider --------SIP trunk port 5070----Opensips1 --sip
<br>> trunk port 5060----Opensips2----Ip phone<br>><br>> Media :<br>> VOIP Service Provider --------Opensips1(rtpproxy)----Ip phone<br>><br>> can i use the B2B module on opensips1 to do topology hiding and use <br>> the rtpproxy on opensips1 to force media from IP phone to VOIP SP<br>><br>> please advice.<br>><br>> Thank you<br>> Ha<br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> Users mailing list<br>> <a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=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><br>_______________________________________________<br>Users mailing list<br><a
ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=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></div></blockquote></td></tr></table><br>