[Routing::Sql] doesn't work

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

 



Hello!

I'm trying to setup gnugk 2.3.1 with sql routing using sqlite.

This is what I added to config:

[Routing::Sql]
Driver=SQLite
Database=/etc/gkroute.db
Query=SELECT alias,ip FROM gkroute



[RoutingPolicy]
64=sql


Here is result of query:

sqlite gkroute.db
SQLite version 2.8.17
Enter ".help" for instructions
sqlite> SELECT alias,ip FROM gkroute
   ...> ;
p98|192.168.22.253


Then I call number 6401:

ARJ|192.168.22.229:1720|6401:dialedDigits|dm:h323_ID|false|calledPartyNotRegistered|6e-b4-26-f0-8c-0d-df-11-85-2d-00-15-f2-95-49-0e;


Could you tell me what is wrong in my config?


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-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