[Home]

Summary:ASTERISK-27244: Realtime mapping for 'ps_aors' found to engine 'xxxx', but the engine is not available
Reporter:Sébastien PROUX (sproux)Labels:
Date Opened:2017-09-01 18:38:37Date Closed:2017-09-05 11:41:22
Priority:TrivialRegression?
Status:Closed/CompleteComponents:Resources/res_realtime
Versions:13.9.1 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Fedora 26 (Server Edition)Attachments:
Description:i tried pgsql too in extconfig that's why xxx in subject.
no errors in posgresql logs.

This only append for aor. Other mappings seems to be ok.

sorcery.conf :
[res_pjsip]
endpoint=realtime,ps_endpoints
auth=realtime,ps_auths
aor=realtime,ps_aors
domain_alias=realtime,ps_domain_aliases
contact=realtime,ps_contacts
[res_pjsip_endpoint_identifier_ip]
identify=realtime,ps_endpoint_id_ips

extconfig.conf:
ps_aors => odbc,asterisk
ps_endpoints => odbc,asterisk
ps_auths => odbc,asterisk
ps_domain_aliases => odbc,asterisk
ps_endpoint_id_ips => odbc,asterisk
ps_contacts => odbc,asterisk

logs :

[Sep  1 23:52:49] Asterisk 13.9.1 built by mockbuild @ buildvm-27-nfs.phx2.fedoraproject.org on a x86_64 running Linux on 2016-05-17 02:05:48 UTC
[Sep  1 23:52:50] NOTICE[12335] cdr.c: CDR simple logging enabled.
[Sep  1 23:52:50] NOTICE[12335] loader.c: 267 modules will be loaded.
[Sep  1 23:52:50] WARNING[12335] loader.c: Error loading module 'res_ari_mailboxes.so': /usr/lib64/asterisk/modules/res_ari_mailboxes.so: undefined symbol: stasis_app_mailbox_to_json
[Sep  1 23:52:51] WARNING[12335] config.c: Realtime mapping for 'ps_aors' found to engine 'pgsql', but the engine is not available
[Sep  1 23:52:51] WARNING[12335] res_phoneprov.c: Unable to find a valid server address or name.
[Sep  1 23:52:51] ERROR[12335] ari/config.c: No configured users for ARI
[Sep  1 23:52:52] WARNING[12335] res_musiconhold.c: No music on hold classes configured, disabling music on hold.
[Sep  1 23:52:52] NOTICE[12335] confbridge/conf_config_parser.c: Adding default_menu menu to app_confbridge

[Sep  2 01:00:50] Asterisk 13.9.1 built by mockbuild @ buildvm-27-nfs.phx2.fedoraproject.org on a x86_64 running Linux on 2016-05-17 02:05:48 UTC
[Sep  2 01:00:50] NOTICE[14186] cdr.c: CDR simple logging enabled.
[Sep  2 01:00:50] NOTICE[14186] loader.c: 273 modules will be loaded.
[Sep  2 01:00:51] WARNING[14186] res_odbc.c: The 'pooling', 'shared_connections', 'limit', and 'idlecheck' options are deprecated. Please see UPGRADE.txt for information
[Sep  2 01:00:51] WARNING[14186] res_odbc.c: The 'pooling', 'shared_connections', 'limit', and 'idlecheck' options are deprecated. Please see UPGRADE.txt for information
[Sep  2 01:00:51] NOTICE[14186] res_odbc.c: Registered ODBC class 'asterisk' dsn->[asterisk-connector]
[Sep  2 01:00:51] WARNING[14186] res_odbc.c: The 'pooling', 'shared_connections', 'limit', and 'idlecheck' options are deprecated. Please see UPGRADE.txt for information
[Sep  2 01:00:51] WARNING[14186] res_odbc.c: The 'pooling', 'shared_connections', 'limit', and 'idlecheck' options are deprecated. Please see UPGRADE.txt for information
[Sep  2 01:00:51] NOTICE[14186] res_odbc.c: res_odbc loaded.
[Sep  2 01:00:52] WARNING[14186] config.c: Realtime mapping for 'ps_aors' found to engine 'odbc', but the engine is not available


Comments:By: Asterisk Team (asteriskteam) 2017-09-01 18:38:38.632-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Sébastien PROUX (sproux) 2017-09-02 02:28:19.280-0500

just preloads for connections and it's ok.
;preload => res_odbc.so
;preload => res_config_odbc.so

preload => res_pgsql.so
preload => res_config_pgsql.so