search for: ast_config

Displaying 20 results from an estimated 48 matches for "ast_config".

2005 Aug 18
2
Asterisk configuration from database with res_config
...according to the wiki page: http://www.voip-info.org/tiki-index.php?page=Asterisk+res_config. However it doesn't work. I am using 1.0.8 asterisk version and here are my config files: Extconfig.conf: [settings] ;uncomment to load queues.conf via the db engine. ;queues.conf => odbc,mysql1,ast_config ;extensions.conf => odbc,mysql1,ast_config sip.conf => odbc,mysql1,ast_config res_odbc.conf: ;;; odbc setup file [mysql1] dsn => MySQL-asterisk username => blaat password => blaat pre-connect => yes [mysql2] dsn => MySQL-asterisk username => myuser password => mypass...
2009 Nov 12
0
AST_CONFIG, MEETME_INFO and meetme.conf
...my dialplan more robust, I thought I wouldn't include any meetme-specific rules and I would exlusively rely on meetme.conf data. For each dialed number, I would check if this number is used as a conference room number in meetme.conf. When I'm trying to implement this, I can see that : 1. AST_CONFIG is not convenient to parse lines like "conf=>1234", as several lines are present and AST_CONFIG is dedicated to key-value pairs. 2. MEETME_INFO is focused on live conferences (though issue 15450 extends this behaviour). How would you work around this without using Realtime ? Regards...
2005 Aug 01
1
ast_config not updating voicemail password
I've been using realtime to store my voicemail configuration in a mysql table for several months now, and have had no problems...until today. A few weeks ago, I upgraded to the latest CVS and today I noticed voicemail is not updating the password when the user changes it through option 0. I'm not sure when this started happening, but I assume it was sometime after I upgraded. Has anyone
2009 Oct 08
1
Realtime static does not work in 1.6.1 or 1.6.2
...starting from 1.6.1.X and upwards it simply does nothing. I can see that the extensions.conf file is mapped to the database: == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found == Binding extensions.conf to mysql/general/ast_config == Binding agents.conf to mysql/general/ast_config == Binding voicemail to mysql/general/voicemail_users == Binding sipusers to mysql/general/sip_buddies == Binding sippeers to mysql/general/sip_buddies == Binding iaxusers to mysql/general/iax_buddies == Binding iaxpeers to mysql/genera...
2010 Aug 03
1
sip.conf register in realtime DB
Hello list, scrambling different pieces of info together I've come with the following : I want to have my "register =>" statements in a MySQL-database, so I've made the following table. table ast_config : id 1 cat_metric 0 var_metric 0 commented 0 filename sip.conf category general var_name register var_val username:password at sip.provider.net In ext_config (text file) I have : sipusers => mysql,AsteriskDB,sip_buddies sippeers => mysql,AsteriskDB,sip_buddies sip.conf => mysql,...
2004 Dec 31
1
Help With Configuration From Odbc
...es ShowOidColumn=Yes FakeOidIndex=Yes ConnSettings= root@pbx:# cat /etc/odbcinst.ini [PostgreSQL] Description=PostgreSQL ODBC driver for Linux and Windows Driver=/usr/local/lib/psqlodbc.so Setup=/usr/lib/odbc/libodbcpsqlS.so Debug = 1 CommLog = 1 root@pbx:# echo "select * from ast_config where filename='iax.conf' and commented=0 order by filename,cat_metric desc,var_metric asc,category,var_name,var_val,id" | isql Asterisk <lot of output from table> SQLRowCount returns 39 39 rows fetched So the odbc thingy works! root@pbx:# cat res_config_odbc.conf [...
2005 Aug 18
0
Asterisk configuration from database
...according to the wiki page: http://www.voip-info.org/tiki-index.php?page=Asterisk+res_config. However it doesn't work. I am using 1.0.8 asterisk version and here are my config files: Extconfig.conf: [settings] ;uncomment to load queues.conf via the db engine. ;queues.conf => odbc,mysql1,ast_config ;extensions.conf => odbc,mysql1,ast_config sip.conf => odbc,mysql1,ast_config res_odbc.conf: ;;; odbc setup file [mysql1] dsn => MySQL-asterisk username => blaat password => blaat pre-connect => yes [mysql2] dsn => MySQL-asterisk username => myuser password => mypass...
2013 Nov 11
1
Asterisk Realtime Static Voicemail
...e a custom gui that runs on top of Asterisk running a real-time static for configurations. Nothing has changed with the database other than upgrades of Asterisk 10. Customer complained that there password was not changing when they called into voicemail and changed it. Database is running standard ast_config with the following fields. +------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------+--------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_inc...
2005 Feb 11
1
Still stuck trying to make Asterisk read MySQL
...sage I get: *CLI> Feb 11 13:21:36 WARNING[18393]: app_voicemail.c:1539 leave_voicemail: No entry in voicemail config file for '1111' So I dug around some more and found http://www.voip-info.org/wiki-Asterisk+res_config Decided to try these instructions as well. So: 5) I created the ast_config table as directed: Here is the data: +----+------------+------------+-----------+----------------+----------+----------+---------+ | id | cat_metric | var_metric | commented | filename | category | var_name | var_val | +----+------------+------------+-----------+----------------+----------+-...
2007 Jun 06
4
meetme realtime
Hi iam using 1.2.17 does any one have information meetme in realtime and store in mysql i dont see any document could some one help me is this possible ? ram -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070606/36d236c2/attachment.htm
2004 Jul 07
1
res_odbc not working
...k] Jul 7 20:11:32 NOTICE[-1084915040]: res_odbc.c:369 odbc_obj_connect: res_odbc: Connected to mysql [MySQL-asterisk] Jul 7 20:11:32 NOTICE[-1084915040]: res_odbc.c:402 load_module: res_odbc loaded. [res_config_odbc.so] => (Odbc Configuration) Jul 7 20:11:32 NOTICE[-1084915040]: config.c:880 ast_config_register: Registered Config Engine odbc == Parsing '/etc/asterisk/extconfig.conf': Found Jul 7 20:11:32 NOTICE[-1084915040]: res_config_odbc.c:233 load_module: res_config_odbc loaded. These are the pertintent config files: ; extconfig.conf [settings] queues.conf = config_odbc sip.conf...
2013 Oct 01
0
Feature request: SIPPEER or IAXPEER equivalent for DAHDI
Hello, With setvar statements in chan_dahdi.conf, we have a convenient way to store DAHDI channels specific values. Unfortunately, we don't have a function to access this data from the dialplan as easily as SIPPEER ou IAXPEER would for SIP or IAX trunks. Using AST_CONFIG, you can access DAHDI setvar value but: 1. only one setvar value (see bellow) 2. AST_CONFIG reads values from current config file not previously loaded file (this is obviously what you would expect from this function). What do you think of this ? Would you qualify this as useful ? Regards PS:...
2011 May 23
1
[Fwd: FW: extconfig.conf]
...driver,database[,table[,priority]] > ; > ; maps a particular configuration file to the given ; database driver, database and table (or uses the ; name of the file as the table if not specified) ; ;uncomment to load queues.conf via the odbc engine. > ; > ;queues.conf => odbc,asterisk,ast_config ;extensions.conf => sqlite,asterisk,ast_config ; ; The following files CANNOT be loaded from Realtime storage: > ; asterisk.conf > ; extconfig.conf (this file) > ; logger.conf > ; > ; Additionally, the following files cannot be loaded from ; Realtime storage unless the storage dri...
2010 Jan 07
1
voicemail /odbc problem
...ured correctly but messages are stored on the asterisk server instread of in the database. System info 64 bit redhat RHEL 5.1 Asterisk 1.4.26 unixODBC installed used makemenuselect to instal res_odbc and cdr_odbc Back end database DB2 Database name voiceml Tables created on server AST_CDR AST_CONFIG VOICEMESSAGES I've checked the unix ODBC side of things and I can connect to the DB2 database o.k. I've set up cdr_odbc.conf [global] dsn=voiceml username=<usernme> password=<password> loguniqueid=yes dispositionstring=yes table=ast_cdr ;"cdr" is defaul...
2004 Oct 22
3
res_config
...g started with res_config and ODBC. I have MySQL all setup and am filling it with my data. Everything seems very straight forward. One thing catches me so far: 1) How are register lines in sip.conf and iax.conf represented? i.e. register=> username:password@fwd.pulver.com/700 insert into ast_config (filename,category,var_name,var_val) values('sip.conf','register','username:password','fwd.pulver.com/700); Is that a good guess? 2) Ditto extensions.conf and other files that make more use of the => format. Thanks! -- Kristian Kielhofner
2004 Dec 23
2
Realtime sipbuddies table structure why?????
Is there some reason the sipbuddies table structure was designed with sip config values as column names? Doesn't look very flexible It really should take the form of ast_config so when a new sip feature is implemented, you don't have to re-write the entire data structure too. Regards Greg Cirino
2005 Oct 03
1
Realtime and voicemail: request to find out if I'm crazy
...mailboxes aren't done in the voicemail.conf file. The perl script, ast2sql.pl will parse a given config and put it into a SQL db (MySQL in my case). /etc/asterisk/extconfig.conf get's an entry like this: voicemail.conf => mysql,asterisk,ast_config documented here: http://www.voip-info.org/wiki/view/Asterisk+RealTime+Static Realtime: This is the part that actually sets up the mailboxes. If you already have mailboxes in /etc/asterisk/voicemail.conf you'll have to load them into the table d...
2006 May 14
0
Re: h323.conf and realtime
...bad )) Sunday, May 14, 2006, 5:37:13 PM, you wrote: > Dears, > Does anyone have success story with chan_h323's h323.conf storage > in database. > I have > configuration from res_mysql.conf is working. > # cat extconfig.conf > [settings] h323.conf =>> mysql,ast,ast_config > # database > -- > -- Dumping data for table `ast_config` -- Best regards, Vahram mailto:undef@web.am
2007 Nov 28
0
troubles with res_pgsql
Database on a remote machine res_pgsql.conf: [general] dbhost=172.16.0.2 dbport=5432 dbname=ast_config dbuser=pbx dbpass= dbsock=5432 [Nov 28 20:12:02] DEBUG[6581] res_config_pgsql.c: Postgresql RealTime Host: 172.16.0.2 [Nov 28 20:12:02] DEBUG[6581] res_config_pgsql.c: Postgresql RealTime Port: 5432 [Nov 28 20:12:02] DEBUG[6581] res_config_pgsql.c: Postgresql RealTime User: pbx [Nov 28 20:12:02] D...
2005 Feb 03
1
403 Forbidden when registering sip user database on backend
...row in set (0.00 sec) ------------------------------------------------------ i have added values to extconfig.conf ------------------------------------------------------ [settings] queues.conf => odbc,asteriskcdrdb,ast_config sip.conf => odbc,asteriskcdrdb,sip_buddies ------------------------------------------------------ what is the problem with my asterisk i think table is not binded with sip.conf. because when i add user to sip.conf i...