<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>Sorry for not changing the subject line earlier. Please find the reply below again.</div><div>Thanks,</div>
<div><br></div><div>--- Jayesh</div><div><br></div>Hi Anca,<br>Thanks for your reply.<br>I was checking the module documentation of 1.6 version for b2b_logic where<br>both the parameters custom_headers as well as cleanup_period is documented.<br>
Later I realized that it points to the devel folder.<br>I will check with the devel version anyways. But just for my understanding;<br>is the code snippet pasted kind of correct. I mean if the $rd is specified<br>to the script and b2b_init is called will rest of the work like initiating<br>
dialogs on both sides and bridging calls will be handled automatically.<br>Nothin else needs to be done??<br><br>Thanks for all the help !!<br><br>--- Jayesh<br><br>Hi Jayesh,<br>><br>> FIrst of all, the error that those parameters do not exist is normal<br>
> since they do not exist :). costum_headers is a parameter that was added<br>> in devel branch, and the correct name for the other parameter is<br>> clean_period. But I have checked now, and in the documentation it is in<br>
> fact written "cleanup_period". I will fix this in the code to really<br>> have "cleanup_period".<br>> Can you please investigate the core file with gdb and print here the<br>> backtrace? There is also another crash report and I am investigating it<br>
> now.<br>><br>> Regards,<br>><br>> --<br>> Anca Vamanu<br>> <a href="http://www.voice-system.ro/" target="_blank" style="color: rgb(42, 93, 176); ">www.voice-system.ro</a><br>><br>><br>><br>
><br>> Jayesh Nambiar wrote:<br>> > Hi All,<br>> > I have been trying to do some experiments with B2b modules in<br>> > Opensips. What I am trying to do is create another OpenSips instance<br>> > which will only act as Topology Hiding Server in front of my proxy.<br>
> > So calls processed from my proxy will go to the B2b Opensips instance,<br>> > the B2b instance will extract a header which will contain the<br>> > destination domain and route the call to that domain in B2b mode (Is<br>
> > this doable?).<br>> > First issue:<br>> > I get these errors on loading the parameters:<br>> > parameter <cleanup_period> not found in module <b2b_logic><br>> > parameter <custom_headers> not found in module <b2b_logic><br>
> > I have compiled Opensips 1.6.1 from source in Debian.<br>> ><br>> > Second Issue:<br>> > I commented these parameters and tried running opensips but ran into<br>> > Segfault.<br>> > Snippet of my cfg file:<br>
> ><br>> > loadmodule "b2b_entities.so"<br>> > modparam("b2b_entities", "server_address", "<a href="mailto:sip%3Ab2bua@opensips.org" style="color: rgb(42, 93, 176); ">sip:b2bua@opensips.org</a><<a href="mailto:sip%253Ab2bua@opensips.org" style="color: rgb(42, 93, 176); ">sip%3Ab2bua@opensips.org</a>><br>
> > <mailto:<a href="mailto:sip%253Ab2bua@opensips.org" style="color: rgb(42, 93, 176); ">sip%3Ab2bua@opensips.org</a> <<a href="mailto:sip%25253Ab2bua@opensips.org" style="color: rgb(42, 93, 176); ">sip%253Ab2bua@opensips.org</a>>>")<br>
> ><br>> > loadmodule "b2b_logic.so"<br>> > #modparam("b2b_logic", "cleanup_period", 60)<br>> > #modparam("b2b_logic", "custom_headers", "Status")<br>
> ><br>> > route {<br>> > if(method=="INVITE") {<br>> > $rd = $hdr(Dest);<br>> > b2b_init_request("top hiding");<br>> > exit;<br>
> > }<br>> > }<br>> ><br>> > Can i find few more examples somewhere of using the B2B modules in<br>> > opensips so that i can start thinking of how do I integrate these<br>> > features into my current setup !!<br>
> > Any help is very much appreciated as always.<br>> ><br>> > Thanks,<br>> ><br>> > --- Jayesh</span>