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 ?
On Wed, Jul 28, 2010 at 7:11 PM, Anca Vamanu <[email protected]> wrote: > 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 Vamanuwww.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:4081112...@xxxx:5060 SIP/2.0 > Via: SIP/2.0/UDP yyyyyy:5070;branch=z9hG4bK5a523824;rport > Route: <sip:yyyyy;lr=on> > From: <sip:7081110...@xxxxxxx>;tag=as6ed72d65 > To: 4081112222 <sip:4081112...@yyyyyy>;tag=1549130118 > Contact: <sip:ivr_pic...@yyyyyy:5070> > Call-ID: 0e1a436f-6a3a-7537-d2ff-b6d5fff56...@xxxxxxx > CSeq: 102 REFER > User-Agent: Asterisk PBX > Max-Forwards: 70 > Refer-To: <sip:999_44_1...@xxxxxx:41452;transport=tcp> > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO > Supported: replaces > Referred-By: <sip:ivr_pic...@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 > [email protected]http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
