You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i've configured different core-db-dsn for switch.conf.xml and dbname for sofia.conf.xml, that work ok but i'm seeing sql queries executed on the wrong database. Sentences like "delete channels " executed in sofia database witch is wrong because the channels table does not exist, and that is leading to issues in BLFs, zombie channels...
Log in postgres database for sofia only:
Feb 07 10:46:36 CVPRINCIPAL postgres[3318030]: 2024-02-07 10:46:36.359 CET [3318030] STATEMENT: BEGIN TRANSACTION;
Feb 07 10:46:36 CVPRINCIPAL postgres[3318030]: delete from "channels" where "uuid" = '7272b982-5cd0-4ab6-b887-349e3d81fc3e';
Feb 07 10:46:36 CVPRINCIPAL postgres[3318030]: delete from "channels" where "call_uuid" = '7272b982-5cd0-4ab6-b887-349e3d81fc3e';
Feb 07 10:46:36 CVPRINCIPAL postgres[3318030]: delete from "calls" where "call_uuid" = '7272b982-5cd0-4ab6-b887-349e3d81fc3e';
Feb 07 10:46:36 CVPRINCIPAL postgres[3318030]: COMMIT;
Hi Andy, to be more easy to track i'm trying to reproduce it using a basic configuration, i have some lua scripts that i think could be triggering the issue. i keep you informed of the results. Thanks.
i've configured different core-db-dsn for switch.conf.xml and dbname for sofia.conf.xml, that work ok but i'm seeing sql queries executed on the wrong database. Sentences like "delete channels " executed in sofia database witch is wrong because the channels table does not exist, and that is leading to issues in BLFs, zombie channels...
Log in postgres database for sofia only:
In the configuration i have:
db cache status result:
For what reason that i don't know the function switch_cache_db_get_db_handle_dsn is getting the wrong db handle.
The text was updated successfully, but these errors were encountered: