![]() Uncomment the include line in res_nf doesn’t work. Then I had to copy the entry from /etc/asterisk/res_odbc_nf to /etc/asterisk/res_nf. WARNING: app_voicemail_odbcstorage.c:4141 count_messages: Failed to obtain database object for 'asterisk'! Trying to save to voicemail shows that the voicemail app is not loaded: WARNING: pbx.c:2864 pbx_extension_helper: No application 'VoiceMail' for extension (macro-vm, s-BUSY, 3)Īfter uncommenting noload = app_voicemail_odbcstorage.so in /etc/asterisk/nf and restarting asterisk I get following error: WARNING: app_voicemail_odbcstorage.c:5757 inboxcount2: Failed to obtain database object for 'asterisk'! Installed fresh 7.4b1, updated, installed nethserver-dc and FreePBX.Ĭonnected with MicroSIP Sipphone as extension 100 and called 100 to go to voicemailbox. ODBC config is working after install, but /etc/asterisk/res_nf does not include res_odbc_nf(commented out) and uncommenting doesn’t solve the problem, what’s really strange, why does the include not work? Thanks for your help, don’t know if I should comment on github or here, so I start here: I’ll keep you posted and let you know when there is a testing package to try I’ve opened a bug feel free to add infos on that. Only thing that I think is missing for voicemail to work is asteriskcdrdb database table. The e-smith db configuration: # find /etc/e-smith/db/configuration/defaults/MySQL-asteriskcdrdb/Īnd odbc configuration action: /etc/e-smith/events/nethserver-freepbx-update/S50nethserver-unixODBC-conf ![]() This is already done by nethserver-freepbx package ![]() Two words on that: to create an odbc configuration, you only need to add this configuration in e-smith db and launch # signal-event nethserver-unixODBC-update: # config show MySQL-asteriskcdrdb ![]() Odbc is already configured in /etc/asterisk/res_odbc_nf and also /etc/odbc.ini, is the same configuration used by cdr and cel. Now it should work, I can dial *97 to listen to my messages or *98 to listen to another voicemailbox but I get a security warning in freepbx because I changed res_nf. Then write the config and restart asterisk expand-template /etc/odbc.ini Via phpmyadmin( ) I created a new table in asteriskcdrdb but now I have the script, so you can run it in mariadb: mysqlĬREATE TABLE `asteriskcdrdb`.`voicemessages` ( `msgnum` INT(11) NULL DEFAULT NULL, `dir` VARCHAR(80) NOT NULL, `context` VARCHAR(80) NULL DEFAULT NULL, `macrocontext` VARCHAR(80) NULL DEFAULT NULL, `callerid` VARCHAR(40) NULL DEFAULT NULL, `origtime` VARCHAR(40) NULL DEFAULT NULL, `duration` VARCHAR(20) NULL DEFAULT NULL, `flag` VARCHAR(8) NULL DEFAULT NULL, `mailboxuser` VARCHAR(80) NULL DEFAULT NULL, `mailboxcontext` VARCHAR(80) NULL DEFAULT NULL, `recording` LONGBLOB NULL DEFAULT NULL, `msg_id` VARCHAR(40) NULL DEFAULT NULL ) ENGINE = InnoDB ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |