[OpenSIPS-Users] Bug in dialog db logic
    opensipslist at encambio.com 
    opensipslist at encambio.com
       
    Mon Feb  8 23:23:07 CET 2010
    
    
  
Hello,
An lun., févr 08, 2010, opensipslist at encambio.com schrieb:
>In the log:
>
>  Feb 07 16:25:32 <error> opensips[14512]: ERROR:db_text:dbt_insert: cannot insert the new row!!
>  Feb 07 16:25:32 <error> opensips[14512]: ERROR:dialog:update_dialog_dbinfo: could not add another dialog to db
>
> [...]
>
>  id(int,auto) hash_entry(int) hash_id(int) callid(string) from_uri(string) from_tag(string) to_uri(string) to_tag(string) caller_cseq(string) callee_cseq(string) caller_route_set(string,null) callee_route_set(string,null) caller_contact(string) callee_contact(string) caller_sock(string) callee_sock(string) state(int) start_time(int) timeout(int)
>
>Any ideas why OpenSIPS can't write to the dialog table?
>
I figured it out. There's a bug in the dbtext scripts which
create the table 'dialog'. The column script_flags(int) should
be script_flags(int,null). Sadly there seem to be so many of
these kinds of bugs, that one can hardly be confident that the
dialog table is correct now. There just as well may be more
problems with it than only this one column.
Regards,
Brian
    
    
More information about the Users
mailing list