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 <cleanup_period> not found in module <b2b_logic></div><div>parameter <custom_headers> not found in module <b2b_logic></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 "b2b_entities.so"</div><div>modparam("b2b_entities", "server_address", "<a href="mailto:sip%3Ab2bua@opensips.org">sip:b2bua@opensips.org</a>")</div>
<div><br></div><div>loadmodule "b2b_logic.so"</div><div>#modparam("b2b_logic", "cleanup_period", 60)</div><div>#modparam("b2b_logic", "custom_headers", "Status")</div>
<div><br></div><div>route {</div><div> if(method=="INVITE") {</div><div> $rd = $hdr(Dest);</div><div> b2b_init_request("top hiding");</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>