[OpenSIPS-Users] B2BUA Error
Premalatha Kuppan
premalatha at ngintech.com
Wed Jul 28 16:41:05 CEST 2010
I have changed the .cfg file. But still getting the same problem,
# main request routing logic
route{
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
exit;
}
if (is_method("INVITE"))
{ b2b_init_request("refer"); }
Jul 28 10:35:15 204548-4 /usr/local/sbin/opensips[8837]:
ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found!
Jul 28 10:35:15 204548-4 /usr/local/sbin/opensips[8837]:
ERROR:b2b_entities:server_new: failed to create new dialog structure entry
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
Jul 28 10:35:16 204548-4 /usr/local/sbin/opensips[8837]:
ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found!
Jul 28 10:35:16 204548-4 /usr/local/sbin/opensips[8837]:
ERROR:b2b_entities:server_new: failed to create new dialog structure entry
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
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 at xxxxxx;code=200;reason=Ok
Jul 28 10:35:17 204548-4 /usr/local/sbin/opensips[8837]:
ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found!
Jul 28 10:35:17 204548-4 /usr/local/sbin/opensips[8837]:
ERROR:b2b_entities:server_new: failed to create new dialog structure entry
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
Jul 28 10:35:19 204548-4 /usr/local/sbin/opensips[8838]:
ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found!
Jul 28 10:35:19 204548-4 /usr/local/sbin/opensips[8838]:
ERROR:b2b_entities:server_new: failed to create new dialog structure entry
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
Jul 28 10:35:23 204548-4 /usr/local/sbin/opensips[8837]:
ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found!
Jul 28 10:35:23 204548-4 /usr/local/sbin/opensips[8837]:
ERROR:b2b_entities:server_new: failed to create new dialog structure entry
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
Jul 28 10:35:27 204548-4 /usr/local/sbin/opensips[8838]:
ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found!
Jul 28 10:35:27 204548-4 /usr/local/sbin/opensips[8838]:
ERROR:b2b_entities:server_new: failed to create new dialog structure entry
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
Jul 28 10:35:31 204548-4 /usr/local/sbin/opensips[8837]:
ERROR:b2b_entities:b2b_new_dlg: no Content-Length header found!
Jul 28 10:35:31 204548-4 /usr/local/sbin/opensips[8837]:
ERROR:b2b_entities:server_new: failed to create new dialog structure entry
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
On Wed, Jul 28, 2010 at 8:05 PM, Anca Vamanu <anca at opensips.org> wrote:
> On 07/28/2010 05:12 PM, Premalatha Kuppan wrote:
>
> Sorry. I couldn't get you.
>
> Actually,
> 1. User is making initial INVITE to opensips(proxy),
> 2.opensips will forward it to Asterisk for IVR,
> 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.
>
> Here, if i call b2b_init_request during initial INVITE, will my problem get
> solved ?
>
> YES.
>
>
> Or is that making Opensisp (Proxy) to act as well as B2BUA will not make
> logic in my scenario.
>
> On Wed, Jul 28, 2010 at 7:24 PM, Anca Vamanu <anca at opensips.org> wrote:
>
>> Hi,
>>
>> No, it won't work without passing all the dialog messages through
>> opensips.
>>
>>
>> Regards,
>>
>> --
>> Anca Vamanuwww.voice-system.ro
>>
>>
>>
>> On 07/28/2010 04:45 PM, Premalatha Kuppan wrote:
>>
>> 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 <anca at opensips.org> 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
>>>
>>>
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> --
> Anca Vamanuwww.voice-system.ro
>
>
> _______________________________________________
> 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/13aa12dd/attachment-0001.htm
More information about the Users
mailing list