[OpenSIPS-Users] Problems with dialog module

Alcindo Schleder alcindoschleder at gmail.com
Sat Apr 26 06:08:55 CEST 2014


Hi all.

 

I'm having trouble with the message below where my clients will make a call.
I observed  that when I receive the BYE openSIPS does not delete the
database table record dialog.

I checked the version of the table and everything is ok.

 

CRITICAL:db_mysql:wrapper_single_mysql_stmt_execute: driver error (1062):
Duplicate entry '4294967295' for key 'PRIMARY'

ERROR:dialog:update_dialog_dbinfo: could not add another dialog to db

 

I use opensips 1.10.1 with opensips.cfg file as follows:

#### DIALOG module

loadmodule "dialog.so"

modparam("dialog", "ping_interval", 5)

modparam("dialog", "dlg_match_mode", 1)

modparam("dialog", "default_timeout", 3600)  # 1 hour timeout

modparam("dialog", "db_mode", 1)

modparam("dialog", "db_url",

        "mysql://user:password@localhost/database")

 

..........

 

        if (is_method("INVITE")) {

                xlog("INVITE: $fU -> $rU\n");

                if (has_totag()) {

                        engage_rtp_proxy();

                } else {

                        # create dialog with timeout

                        if ( !create_dialog("PpB") ) {

                                send_reply("500","Invite: Internal Server
Error");

                                xlog("L_ERR", "INVITE: Error on create
dialog(PpB)!");

                                exit;

                        }

                }

 

                setflag(ACC_DO); # do accounting

        }

 

Alcindo Schleder

Gerente de Negócios – comercial at renovaretelecom.com.br 

(51) 3564-4156

(51) 9790-9437

Renovare Telecom <http://www.renovaretelecom.com.br/> 

 

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


More information about the Users mailing list