[Asterisk-Users] How big .CONF files can be?
Race Vanderdecken
asterisk at vanderdecken.com
Mon Oct 18 10:35:41 MST 2004
The way the asterisk C code works is to look through a list of
user/extensions/peers to find the search object. O = (N/2)
After looking through the "Linked-List" of "users" and not finding it
Asterisk then looks to the database using the mysql_user function call
to find what it is looking for. It only takes the time needed to do a
single select statement (i.e. the Database is faster if you have 1000's
of .conf entries, slow if there are few to dozens to 100's.)
In other words, if you move to a database don't keep things in the .conf
file. But don't delete the .conf file as Asterisk still needs them to
work.
Race Vanderdecken
Asterisk At Vanderdecken dot Com
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Goran Dj
Sent: 12 October 2004 08:04
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] How big .CONF files can be?
I'm new to Asterisk.
How big can be sip.conf (and other: iax.conf, extensions.conf...)
Is there point when I must use DB (MySQL...) instead of pure .conf?
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at 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
More information about the asterisk-users
mailing list