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 sip:4081112222@xxxx:5060 SIP/2.0<br>Via: SIP/2.0/UDP yyyyyy:5070;branch=z9hG4bK5a523824;rport<br>Route: <sip:yyyyy;lr=on><br>From: <sip:7081110000@xxxxxxx>;tag=as6ed72d65<br>
To: 4081112222 <sip:4081112222@yyyyyy>;tag=1549130118<br>Contact: <sip:IVR_pickup@yyyyyy:5070><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: <sip:999_44_1234@xxxxxx:41452;transport=tcp><br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO<br>Supported: replaces<br>Referred-By: <sip:IVR_pickup@xxxxxx:5070><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>