Hello Sami, You should not use same dialog table for more OpenSIPS instances - makes no sense. What is your reason of doing that?
Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 10/28/2013 01:52 PM, [email protected] wrote: > Hello, > On the previous scenario I use only one instance opensips, But Now > > My "dialog" table used by more than one opensips instance, So I got > the following error: > Do you know how can I solve the problem? > > er error (1062): Duplicate entry '7861307993824' for key 'PRIMARY' > Oct 27 13:59:24 osips /usr/local/opensips_proxy/sbin/opensips[15766]: > ERROR:dialog:dialog_update_db: could not add another dialog to db > Oct 27 14:00:24 osips /usr/local/opensips_proxy/sbin/opensips[15766]: > CRITICAL:db_mysql:wrapper_single_mysql_stmt_execute: driver error > (1062): Duplicate entry '7861307993824' for key 'PRIMARY' > Oct 27 14:00:24 osips /usr/local/opensips_proxy/sbin/opensips[15766]: > ERROR:dialog:dialog_update_db: could not add another dialog to db > > Thanks a lot. > > Regard > Sami > > ----- Forwarded Message ----- > *From:* Bogdan-Andrei Iancu <[email protected]> > *To:* "[email protected]" <[email protected]>; > "[email protected]" <[email protected]> > *Sent:* Tuesday, 22 October 2013, 17:48:54 > *Subject:* Re: [OpenSIPS-Users] Erro on dialog table of opensips mysql > (dialog_update_db: could not add another dialog to db) > > Starting with the 1.9, the dlg_id was changed as how it is generated > and data type in SQL. Previously it was a simply auto-inc at DB level. > Starting with 1.9 it is generated and filled in by OpenSIPS. > > So be sure to have the right table (according to version). > > Regards, > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > http://www.opensips-solutions.com <http://www.opensips-solutions.com/>
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
