[Asterisk-Users] realtime queue not working realtime in asterisk versions above 1.2.0

2006-02-02 Thread Frank Aartman
Heya,

I upgraded from 1.2.0 to 1.2.4 now and I still have the same problem, a
problem which didn't exist in 1.2.0: When a new call comes in on a
realtime queue, the queue settings and members are not updated anymore!
Only a reload of Asterisk seems to update the settings. Is this a bug or
is there some way to solve this?

Cheers,

Frank
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Realtime Queue not realtime anymore in Asterisk 1.2.3?!

2006-01-30 Thread Frank Aartman
Heya,

I upgraded from 1.2.0 to 1.2.3, and when a new call comes in on a
realtime queue, the queue settings and members are not updated anymore!
Only a reload of Asterisk seems to update the settings. Is this a bug or
is there some way to solve this?

Cheers,

Frank
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] asterisk1.2.1+realtimedb+voicemail+contexts

2005-12-12 Thread Frank Aartman
It doesn't work anymore! 

When Voicemail([EMAIL PROTECTED]) is executed, the context is ignored in
Asterisk 1.2.1 with realtime voicemailboxes. I upgraded from 1.2.0 to
1.2.1 and it stopped working.

When the option searchcontext=yes, and looking at the debug messages of
the database queries the WHERE statement doesn't contain the search for
context! As a result several mailboxes are returned, all with the same
box# but different contexts.

When putting searchcontexts=no it simply puts context='' in the WHERE
statement, only giving mailboxes with an empty context as a result!

Reading through online documentation, the searchcontexts parameter
should only apply to behaviour when a mailbox is NOT found with the
given parameters. It then should look in the default context (when
sc=no) or look in all contexts (sc=yes). I am assuming searchcontexts
applies to any Voicemail execution now, not only when a mailbox is not
found.

Commenting out the searchcontexts parameter has the same behaviour as if
it is disabled. 

When initialising the mailboxes statically, they do work. Only the
realtime voicemailboxes seem to have the bug.

Cheers,

Frank Aartman
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Asterisk configuration from database with res_config

2005-08-18 Thread Frank Aartman

I want to let Asterisk read its configuration from a mysql database. I
configured everything 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
pre-connect = yes

odbc to mysql is working fine, I tested it. here is my odbc.ini from
/etc/

[MySQL-asterisk] 
Description = MySQL Asterisk database
Trace   = Off
TraceFile   = stderr
Driver  = MySQL
SERVER  = localhost
USER= blaat
PASSWORD= blaat
PORT= 3306
DATABASE= asterisk

I used the load_res_config.pl to put the sip.conf into the database in
ast_config. Via phpMyadmin I can see the data in there correctly. When
booting or reloading Asterisk I don't see anything indicating it is
connecting to odbc. I tried removing the sip.conf from /etc/asterisk,
leaving an empty sip.conf, and only leaving the general section of
sip.conf there. Nothing works.

Cheers,

Frank 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Asterisk configuration from database

2005-08-18 Thread Frank Aartman
Nope, I got the stable 1.08 release from cvs.

Frank

From: Wei Kun [EMAIL PROTECTED]
Subject: RE: [Asterisk-Users] Asterisk configuration from database
withres_config
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
asterisk-users@lists.digium.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

is your Asterisk compiled from cvs head?

Kun

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Frank
Aartman
Sent: Thursday, August 18, 2005 3:10 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Asterisk configuration from database
withres_config



I want to let Asterisk read its configuration from a mysql database. I
configured everything 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
pre-connect = yes

odbc to mysql is working fine, I tested it. here is my odbc.ini from
/etc/

[MySQL-asterisk] 
Description = MySQL Asterisk database
Trace   = Off
TraceFile   = stderr
Driver  = MySQL
SERVER  = localhost
USER= blaat
PASSWORD= blaat
PORT= 3306
DATABASE= asterisk

I used the load_res_config.pl to put the sip.conf into the database in
ast_config. Via phpMyadmin I can see the data in there correctly. When
booting or reloading Asterisk I don't see anything indicating it is
connecting to odbc. I tried removing the sip.conf from /etc/asterisk,
leaving an empty sip.conf, and only leaving the general section of
sip.conf there. Nothing works.

Cheers,

Frank
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users