GnuGK + MySql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello ( my fisrt post )
Here is my problem:

i would like to connect [RasSrv::PermanentEndpoints] with mysql.
You are asking why ? i have about 7000 mobile phone mumbers in my configuration with i simply dont want to route becouse of some resons.

so for example i have :
[RasSrv::PermanentEndpoints]
10.10.10.2=GW11;!....5019,!....500037659,!....500041420,!....50009035,!....500327628,!....500384816,
.... - this is technical prefix.
and i have such numbers as i said about 7000. After this numbers there are numbers and prefixes witch i would like to route. So far everything ok and it is working ok.
But when i have about 100 concurent calls on GnuGK and i am making reload in telnet console it is reloading about 20 seconds. After reboot i have 10 calls. They are droping. So i think that putting this into mysql data base will help. 
So can i do something like : 
1. Add this all 7000 mumbers to mysql to some table 
2. Put to this line something like: 10.10.10.2=GW11;mysql get from table *numbers.
insted of putting this all numbers in gatekeeper.ini.

i dont know mysql so maybe this is the right question to mysql data base but it is problem for future. :)
Can sb tell me how it should look like ?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux