I have changed the .cfg file. But still getting the same problem,<br><br># main request routing logic<br>route{<br><br> if (!mf_process_maxfwd_header("10")) {<br> sl_send_reply("483","Too Many Hops");<br>
exit;<br> }<br><br> <span style="color: rgb(153, 0, 0);"> if (is_method("INVITE"))</span><br style="color: rgb(153, 0, 0);"><span style="color: rgb(153, 0, 0);"> { b2b_init_request("refer"); }</span><br>
<br><br>Jul 28 10:35:15 204548-4 /usr/local/sbin/opensips[8837]: ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found! <br>Jul 28 10:35:15 204548-4 /usr/local/sbin/opensips[8837]: ERROR:b2b_entities:server_new: failed to create new dialog structure entry <br>
Jul 28 10:35:15 204548-4 /usr/local/sbin/opensips[8837]: ERROR:b2b_logic:b2b_process_scenario_init: failed to create new b2b server instance <br>Jul 28 10:35:16 204548-4 /usr/local/sbin/opensips[8837]: ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found! <br>
Jul 28 10:35:16 204548-4 /usr/local/sbin/opensips[8837]: ERROR:b2b_entities:server_new: failed to create new dialog structure entry <br>Jul 28 10:35:16 204548-4 /usr/local/sbin/opensips[8837]: ERROR:b2b_logic:b2b_process_scenario_init: failed to create new b2b server instance <br>
Jul 28 10:35:16 204548-4 /usr/local/sbin/opensips[8838]: ACC: transaction answered: timestamp=1280327716;method=BYE;from_tag=as3b753c6d;to_tag=790088202;call_id=3EC3441C-5D0B-EB6E-51D3-F4E482048B38@xxxxxx;code=200;reason=Ok <br>
Jul 28 10:35:17 204548-4 /usr/local/sbin/opensips[8837]: ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found! <br>Jul 28 10:35:17 204548-4 /usr/local/sbin/opensips[8837]: ERROR:b2b_entities:server_new: failed to create new dialog structure entry <br>
Jul 28 10:35:17 204548-4 /usr/local/sbin/opensips[8837]: ERROR:b2b_logic:b2b_process_scenario_init: failed to create new b2b server instance <br>Jul 28 10:35:19 204548-4 /usr/local/sbin/opensips[8838]: ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found! <br>
Jul 28 10:35:19 204548-4 /usr/local/sbin/opensips[8838]: ERROR:b2b_entities:server_new: failed to create new dialog structure entry <br>Jul 28 10:35:19 204548-4 /usr/local/sbin/opensips[8838]: ERROR:b2b_logic:b2b_process_scenario_init: failed to create new b2b server instance <br>
Jul 28 10:35:23 204548-4 /usr/local/sbin/opensips[8837]: ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found! <br>Jul 28 10:35:23 204548-4 /usr/local/sbin/opensips[8837]: ERROR:b2b_entities:server_new: failed to create new dialog structure entry <br>
Jul 28 10:35:23 204548-4 /usr/local/sbin/opensips[8837]: ERROR:b2b_logic:b2b_process_scenario_init: failed to create new b2b server instance <br>Jul 28 10:35:27 204548-4 /usr/local/sbin/opensips[8838]: ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found! <br>
Jul 28 10:35:27 204548-4 /usr/local/sbin/opensips[8838]: ERROR:b2b_entities:server_new: failed to create new dialog structure entry <br>Jul 28 10:35:27 204548-4 /usr/local/sbin/opensips[8838]: ERROR:b2b_logic:b2b_process_scenario_init: failed to create new b2b server instance <br>
Jul 28 10:35:31 204548-4 /usr/local/sbin/opensips[8837]: ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found! <br>Jul 28 10:35:31 204548-4 /usr/local/sbin/opensips[8837]: ERROR:b2b_entities:server_new: failed to create new dialog structure entry <br>
Jul 28 10:35:31 204548-4 /usr/local/sbin/opensips[8837]: ERROR:b2b_logic:b2b_process_scenario_init: failed to create new b2b server instance <br><br><br><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 8:05 PM, Anca Vamanu <span dir="ltr"><<a href="mailto:anca@opensips.org">anca@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"><div class="im">
On 07/28/2010 05:12 PM, Premalatha Kuppan wrote:
<blockquote type="cite">Sorry. I couldn't get you. <br>
<br>
Actually,<br>
1. User is making initial INVITE to opensips(proxy), <br>
2.opensips will forward it to Asterisk for IVR, <br>
3.now after IVR, asterisk transfer the call to destination via
Opensips. As i mentioned earlier since asterisk 1.4x has no support to
TCP/TLS, i want opensips to handle the REFER request and connect the
peers.<br>
<br>
Here, if i call b2b_init_request during initial INVITE, will my problem
get solved ?</blockquote></div>
YES.<div class="im"><br>
<br>
<blockquote type="cite"> Or is that making Opensisp (Proxy) to act as well as
B2BUA will not make logic in my scenario.<br>
<br>
<div class="gmail_quote">On Wed, Jul 28, 2010 at 7:24 PM, Anca Vamanu
<span dir="ltr"><<a href="mailto:anca@opensips.org" target="_blank">anca@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
No, it won't work without passing all the dialog messages through
opensips.
<div><br>
<br>
Regards,<br>
<pre cols="72">--
Anca Vamanu
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a></pre>
<br>
<br>
</div>
<div>On 07/28/2010 04:45 PM, Premalatha Kuppan wrote:
<blockquote type="cite">But, from asterisk iam getting only REFER,
no INVITE
request. So, it emans i can't make it to work as B2BUA in my scenario ?<br>
<br>
<div class="gmail_quote">On Wed, Jul 28, 2010 at 7:11 PM, Anca
Vamanu <span dir="ltr"><<a href="mailto:anca@opensips.org" target="_blank">anca@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">Hi,<br>
<br>
You made the classic error due to not reading the documentation
carefully - you need to call b2b_init_request on the initial Invite(
and only on it). Do not call it on REFER.<br>
<br>
Regards,<br>
<pre cols="72">--
Anca Vamanu
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a></pre>
<div>
<div><br>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</div>
<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>
<br>
<pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre cols="72">--
Anca Vamanu
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a>
</pre>
</div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto: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></blockquote></div><br>