Hi All,<div>I have been trying to do some experiments with B2b modules in Opensips. What I am trying to do is create another OpenSips instance which will only act as Topology Hiding Server in front of my proxy.</div><div>So calls processed from my proxy will go to the B2b Opensips instance, the B2b instance will extract a header which will contain the destination domain and route the call to that domain in B2b mode (Is this doable?).</div>
<div>First issue:</div><div>I get these errors on loading the parameters:</div><div>parameter &lt;cleanup_period&gt; not found in module &lt;b2b_logic&gt;</div><div>parameter &lt;custom_headers&gt; not found in module &lt;b2b_logic&gt;</div>
<div>I have compiled Opensips 1.6.1 from source in Debian.</div><div><br></div><div>Second Issue:</div><div>I commented these parameters and tried running opensips but ran into Segfault.</div><div>Snippet of my cfg file:</div>
<div><br></div><div><div>loadmodule &quot;b2b_entities.so&quot;</div><div>modparam(&quot;b2b_entities&quot;, &quot;server_address&quot;, &quot;<a href="mailto:sip%3Ab2bua@opensips.org">sip:b2bua@opensips.org</a>&quot;)</div>
<div><br></div><div>loadmodule &quot;b2b_logic.so&quot;</div><div>#modparam(&quot;b2b_logic&quot;, &quot;cleanup_period&quot;, 60)</div><div>#modparam(&quot;b2b_logic&quot;, &quot;custom_headers&quot;, &quot;Status&quot;)</div>
<div><br></div><div>route {</div><div>     if(method==&quot;INVITE&quot;) {</div><div>             $rd = $hdr(Dest);</div><div>             b2b_init_request(&quot;top hiding&quot;);</div><div>             exit;</div><div>
    }</div><div>}</div><div><br></div><div>Can i find few more examples somewhere of using the B2B modules in opensips so that i can start thinking of how do I integrate these features into my current setup !!</div><div>Any help is very much appreciated as always.</div>
<div><br></div><div>Thanks,</div><div><br></div><div>--- Jayesh</div></div>