[OpenSIPS-Users] b2b_init_request('top hiding')

Anca Vamanu anca at opensips.org
Thu Apr 21 10:10:46 CEST 2011


Hi Dani,

As Ovidiu said - b2b doesn't work with nat_traversal. The main 
limitation comes from the fact that nat_traversal uses dialog module and 
b2b does not work with dialog module yet. The reason is that dialog 
module was designed to store proxied dialog, not the ones where opensips 
is an endpoint.
Indeed there isn't a clear note in documentation about this limitation - 
I will add it now.

Regards,

-- 
Anca Vamanu
OpenSIPS Developer


On 04/20/2011 06:26 PM, Anca Vamanu wrote:
> Hi Dani,
>
> Seems similar to something that we also hit.. but still not the same. 
> Can you please paste the output of 'bt'** 
> <http://opensips.svn.sourceforge.net/viewvc/opensips/branches/1.6/modules/tm/uac.c?revision=7747&view=markup> 
> in gdb?
>
> Regards,
> -- 
> Anca Vamanu
> OpenSIPS Developer
>
>
> On 04/20/2011 03:11 PM, Dani Popa wrote:
>> Hi,
>>
>> I have a problem using b2b_init_request with "top hiding". When i 
>> receive 200 ok for invite, opensips crash with 
>> "ERROR:nat_traversal:__dialog_confirmed: FAKED reply - exit".
>>
>> In core dump this is where opensips crash:
>>
>> #0  get_source_uri (dlg=0xb2b4bc84, type=8, _params=0xb70b3c20) at 
>> nat_traversal.c:968
>> 968         snprintf(uri, 64, "sip:%s:%d", 
>> ip_addr2a(&msg->rcv.src_ip), msg->rcv.src_port);
>>
>> opensips info:
>>
>> version: opensips 1.6.4-2-tls (i386/linux)
>> flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, DISABLE_NAGLE, 
>> USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, 
>> FAST_LOCK-ADAPTIVE_WAIT
>> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
>> MAX_URI_SIZE 1024, BUF_SIZE 65535
>> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
>> svnrevision: unknown
>> @(#) $Id: main.c 7530 2010-12-13 19:07:53Z bogdan_iancu $
>> main.c compiled on 06:23:09 Apr 20 2011 with gcc 4.5.2
>>
>>
>> Can someone give me a hint?
>>
>> Thanks,
>> Dani

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110421/a29b7647/attachment.htm>


More information about the Users mailing list