Hi Anca,<div>Thanks for your reply.</div><div>I was checking the module documentation of 1.6 version for b2b_logic where both the parameters custom_headers as well as cleanup_period is documented. Later I realized that it points to the devel folder.</div>
<div>I will check with the devel version anyways. But just for my understanding; is the code snippet pasted kind of correct. I mean if the $rd is specified to the script and b2b_init is called will rest of the work like initiating dialogs on both sides and bridging calls will be handled automatically. Nothin else needs to be done??</div>
<div><br></div><div>Thanks for all the help !!</div><div><br></div><div>--- Jayesh<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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 now.<br>
<br>
Regards,<br>
<br>
--<br>
Anca Vamanu<br>
<a href="http://www.voice-system.ro" target="_blank">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" target="_blank">sip:b2bua@opensips.org</a><br>
> <mailto:<a href="mailto:sip%253Ab2bua@opensips.org" target="_blank">sip%3Ab2bua@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<br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">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>
</div>