[OpenSIPS-Users] B2BUA Error
Anca Vamanu
anca at opensips.org
Wed Jul 28 15:41:23 CEST 2010
Hi,
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.
Regards,
--
Anca Vamanu
www.voice-system.ro
On 07/28/2010 04:35 PM, Premalatha Kuppan wrote:
> Hi,
>
> Iam using Opensips as proxy and B2BUA. But B2BUA doesn't seems to
> work. Iam getting following error.
>
> This is to Handle REFER request. From Asterisk Iam sending REFER
> request to Opensips. But getting following error.
>
> any insight ?
>
> 1. From Asterisk:
>
> REFER sip:4081112222 at xxxx:5060 SIP/2.0
> Via: SIP/2.0/UDP yyyyyy:5070;branch=z9hG4bK5a523824;rport
> Route: <sip:yyyyy;lr=on>
> From: <sip:7081110000 at xxxxxxx>;tag=as6ed72d65
> To: 4081112222 <sip:4081112222 at yyyyyy>;tag=1549130118
> Contact: <sip:IVR_pickup at yyyyyy:5070>
> Call-ID: 0E1A436F-6A3A-7537-D2FF-B6D5FFF56619 at xxxxxxx
> CSeq: 102 REFER
> User-Agent: Asterisk PBX
> Max-Forwards: 70
> Refer-To: <sip:999_44_1234 at xxxxxx:41452;transport=tcp>
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
> Supported: replaces
> Referred-By: <sip:IVR_pickup at xxxxxx:5070>
>
> 2. Opensips.cfg
>
> if (method=="REFER")
> {
> xlog("Call from Asterisk PROTOCOL=$pr PORT=$op PROTOCOL
> PORT=$oP RQT=$oU \n");
> b2b_init_request("refer");
> }
>
> 3. Opensips Log:
>
> Jul 28 09:17:40 204548-4 /usr/local/sbin/opensips[6199]:
> ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found!
> Jul 28 09:17:40 204548-4 /usr/local/sbin/opensips[6199]:
> ERROR:b2b_entities:server_new: failed to create new dialog structure entry
> 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
> Jul 28 09:17:41 204548-4 /usr/local/sbin/opensips[6199]:
> ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found!
> Jul 28 09:17:41 204548-4 /usr/local/sbin/opensips[6199]:
> ERROR:b2b_entities:server_new: failed to create new dialog structure entry
> 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
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100728/f2ef49a6/attachment-0001.htm
More information about the Users
mailing list