Oceanet - Cédric BASSAGET
2015-Jul-09 15:28 UTC
[asterisk-users] Asterisk 13 / realtime voicemail creation
Hello, I'm having a problem when trying to create realtime stuff for asterisk 13 in mysql DB. Following https://wiki.asterisk.org/wiki/display/AST/Managing+Realtime+Databases+with+Alembic, I've successfully created the main tables using "config" schema.> Update |script_location|to the schema to update. Asterisk currently > supports two sets of schemas: > > 1. |config|- the set of schemas for Asterisk Realtime databases > 2. |voicemail|- the schema for ODBC VoiceMail >But when trying to use "voicemail" schema, I get the following error : [root at centrex5 ast-db-manage]# alembic -c config.ini upgrade head INFO [alembic.migration] Context impl MySQLImpl. INFO [alembic.migration] Will assume non-transactional DDL. ERROR [alembic.util] No such revision or branch 'a541e0b5e89' FAILED: No such revision or branch 'a541e0b5e89' [root at centrex5 ast-db-manage]# Any tip ? I'm using latest asterisk 13 sources. Regards, C?dric -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150709/fc69b367/attachment.html>
Ryan, Travis
2015-Jul-09 15:34 UTC
[asterisk-users] Asterisk 13 / realtime voicemail creation
? From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Oceanet - C?dric BASSAGET Sent: Thursday, July 09, 2015 11:29 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Asterisk 13 / realtime voicemail creation ? Hello, I'm having a problem when trying to create realtime stuff for asterisk 13 in mysql DB. Following https://wiki.asterisk.org/wiki/display/AST/Managing+Realtime+Databases+with+Alembic, I've successfully created the main tables using "config" schema. ? Update script_location to the schema to update. Asterisk currently supports two sets of schemas: ? config - the set of schemas for Asterisk Realtime databases ? voicemail - the schema for ODBC VoiceMail ? But when trying to use "voicemail" schema, I get the following error : [root at centrex5 ast-db-manage]# alembic -c config.ini upgrade head INFO [alembic.migration] Context impl MySQLImpl. INFO [alembic.migration] Will assume non-transactional DDL. ERROR [alembic.util] No such revision or branch 'a541e0b5e89' FAILED: No such revision or branch 'a541e0b5e89' [root at centrex5 ast-db-manage]# Any tip ? I'm using latest asterisk 13 sources. Regards, C?dric Cedric, I?m not sure what the RIGHT setup is, but in 11 and so far in 13 I?ve been using the voicemail_users table and it seems to work just fine. I?m also using the MySQL direct driver, and NOT odbc for that. Travis -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150709/57338496/attachment-0001.html>
Oceanet - Cédric BASSAGET
2015-Jul-09 15:40 UTC
[asterisk-users] Asterisk 13 / realtime voicemail creation
I'm trying to make a new "and clean" install of asterisk 13 (I'm using 1.4/6/8 for many years). So I'm trying to follow the wiki, and install realtime tables through alembic. If nobody is able to help me, I'll use the old way, but I wish I won't have to. And I'm using ODBC too ;) Regards, C?dric OCEANET --------------------------------------------------------------- [AGENCE DU MANS] 7, rue des Fr?nes ZAC de la Pointe 72190 SARGE LES LE MANS [t] +33 (0)2.43.50.26.50 [f] +33 (0)2.43.72.21.14 [AGENCE D'ANGERS] 5, rue Fleming Angers Technopole 49066 ANGERS [t] +33 (0)2.41.19.28.65 [f] +33 (0)2.52.19.22.00 On 09/07/2015 17:34, Ryan, Travis wrote:> > ?*From:*asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of > *Oceanet - C?dric BASSAGET > *Sent:* Thursday, July 09, 2015 11:29 AM > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* [asterisk-users] Asterisk 13 / realtime voicemail creation > > ?Hello, > > I'm having a problem when trying to create realtime stuff for asterisk > 13 in mysql DB. > Following > https://wiki.asterisk.org/wiki/display/AST/Managing+Realtime+Databases+with+Alembic, > I've successfully created the main tables using "config" schema. > > > ?Update |script_location|to the schema to update. Asterisk currently > supports two sets of schemas: > > ?|config|- the set of schemas for Asterisk Realtime databases > > ?|voicemail|- the schema for ODBC VoiceMail > > ? > > But when trying to use "voicemail" schema, I get the following error : > > [root at centrex5 ast-db-manage]# alembic -c config.ini upgrade head > INFO [alembic.migration] Context impl MySQLImpl. > INFO [alembic.migration] Will assume non-transactional DDL. > ERROR [alembic.util] No such revision or branch 'a541e0b5e89' > FAILED: No such revision or branch 'a541e0b5e89' > [root at centrex5 ast-db-manage]# > > Any tip ? > I'm using latest asterisk 13 sources. > > Regards, > C?dric > > Cedric, I?m not sure what the RIGHT setup is, but in 11 and so far in > 13 I?ve been using the voicemail_users table and it seems to work just > fine. I?m also using the MySQL direct driver, and NOT odbc for that. > > Travis > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150709/934800a9/attachment.html>