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">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></div><div class="h5">
<br>
<br>
<br>
On 07/28/2010 04:35 PM, Premalatha Kuppan wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">Hi,<br>
<br>
Iam using Opensips as proxy and B2BUA. But B2BUA doesn't seems to work.
Iam getting following error.<br>
<br>
This is to Handle REFER request. From Asterisk Iam sending REFER
request to Opensips. But getting following error.<br>
<br>
any insight ?<br>
<br>
1. From Asterisk:<br>
<br>
REFER <a>sip:4081112222@xxxx:5060</a> SIP/2.0<br>
Via: SIP/2.0/UDP yyyyyy:5070;branch=z9hG4bK5a523824;rport<br>
Route: <a><sip:yyyyy;lr=on></a><br>
From: <a><sip:7081110000@xxxxxxx></a>;tag=as6ed72d65<br>
To: 4081112222 <a><sip:4081112222@yyyyyy></a>;tag=1549130118<br>
Contact: <a><sip:IVR_pickup@yyyyyy:5070></a><br>
Call-ID: 0E1A436F-6A3A-7537-D2FF-B6D5FFF56619@xxxxxxx<br>
CSeq: 102 REFER<br>
User-Agent: Asterisk PBX<br>
Max-Forwards: 70<br>
Refer-To: <a><sip:999_44_1234@xxxxxx:41452;transport=tcp></a><br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO<br>
Supported: replaces<br>
Referred-By: <a><sip:IVR_pickup@xxxxxx:5070></a><br>
<br>
2. Opensips.cfg<br>
<br>
if (method=="REFER")<br>
{<br>
xlog("Call from Asterisk PROTOCOL=$pr PORT=$op PROTOCOL
PORT=$oP RQT=$oU \n");<br>
b2b_init_request("refer");<br>
}<br>
<br>
3. Opensips Log:<br>
<br>
Jul 28 09:17:40 204548-4 /usr/local/sbin/opensips[6199]:
ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found!<br>
Jul 28 09:17:40 204548-4 /usr/local/sbin/opensips[6199]:
ERROR:b2b_entities:server_new: failed to create new dialog structure
entry<br>
Jul 28 09:17:40 204548-4 /usr/local/sbin/opensips[6199]:
ERROR:b2b_logic:b2b_process_scenario_init: failed to create new b2b
server instance<br>
Jul 28 09:17:41 204548-4 /usr/local/sbin/opensips[6199]:
ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found!<br>
Jul 28 09:17:41 204548-4 /usr/local/sbin/opensips[6199]:
ERROR:b2b_entities:server_new: failed to create new dialog structure
entry<br>
Jul 28 09:17:41 204548-4 /usr/local/sbin/opensips[6199]:
ERROR:b2b_logic:b2b_process_scenario_init: failed to create new b2b
server instance<br>
<br>
</div></div><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>
</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>