[OpenSIPS-Users] B2BUA Transfers Intermittently Working/Not Working (Bug?)

Anca Vamanu anca at opensips.org
Thu Oct 28 10:31:44 CEST 2010


Hi Brett,

You should have used the script in  scripts/mysql/b2b_create.sql . What 
you have missed is inserting in version table the version number for the 
new tables
INSERT INTO version (table_name, table_version) values ('b2b_entities','1');
INSERT INTO version (table_name, table_version) values ('b2b_logic','1');

Regards,
-- 

Anca Vamanu
www.voice-system.ro


On 10/28/2010 01:46 AM, Brett Woollum wrote:
> Hi Anca,
>
> I tried to install from the 1.6 branch and I am getting errors about 
> the database version for b2b_entities:
> Oct 27 15:45:30 sip01 /usr/local/sbin/opensips[15672]: 
> ERROR:core:db_check_table_version: invalid version 0 for table 
> b2b_entities found, expected 1
> Oct 27 15:45:30 sip01 /usr/local/sbin/opensips[15672]: 
> ERROR:b2b_entities:mod_init: error during table version check
> Oct 27 15:45:30 sip01 /usr/local/sbin/opensips[15672]: 
> ERROR:core:init_mod: failed to initialize module b2b_entities
> Oct 27 15:45:30 sip01 /usr/local/sbin/opensips[15672]: 
> ERROR:core:main: error while initializing modules
> Oct 27 15:45:30 sip01 /usr/local/sbin/opensips[15672]: 
> NOTICE:presence:destroy: destroy module ...
>
> I used /usr/local/sbin/opensipsdbctl create to make the tables.
>
> Is there information available that would tell me what modifications I 
> need to make to the b2b_entities table for it to work properly?
>
> Brett Woollum
> Brett at Woollum.com
>
>
> ----- Original Message -----
> From: "Anca Vamanu" <anca at opensips.org>
> To: users at lists.opensips.org
> Sent: Tuesday, October 26, 2010 4:06:16 AM GMT -08:00 US/Canada Pacific
> Subject: Re: [OpenSIPS-Users] B2BUA Transfers Intermittently 
> Working/Not Working (Bug?)
>
> Hi Brett,
>
> Sorry, I was mistaken, I tested wrongly with 1.6 the first time. It 
> does work with 1.6 also, you can update from the 1.6 branch and check.
>
> Regards,
> -- 
> Anca Vamanu
> www.voice-system.ro
>
> On 10/26/2010 01:41 PM, Anca Vamanu wrote:
>
>     Hi Brett,
>
>     I have just tried your scenario with trunk and I see the 200 OK
>     reply. I have checked with 1.6 and indeed it seems to be a
>     problem. I think I will backport the changes in these two modules
>     - even though they are quite a lot, but there is no point in
>     debugging on old code when this problem is fixed.
>     So, I suggest for you to update from trunk, at least these two
>     modules - b2b_entities and b2b_logic.
>     Be aware that you will have to install the database tables also.
>
>     Regards,
>
>     -- 
>     Anca Vamanu
>     www.voice-system.ro
>
>
>
>
> _______________________________________________ Users mailing list 
> Users at lists.opensips.org 
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> 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/20101028/768f3fd0/attachment.htm 


More information about the Users mailing list