Now I set it that way but still not working. ConfigQuery=SELECT '[RasSrv::GWRewriteE164]',h323_id,tech_prefix FROM endpoints WHERE status='1' And the output looks good: "[RasSrv::GWRewriteE164]","gw1","in=00=1010#" I'm using: Gatekeeper(GNU) Version(2.2.2) Ext(pthreads=1,radius=1,mysql=1,pgsql=0,large_fdset=0) Build(Jun 16 2005, 14:47:58) Sys(Linux i686 2.6.11-1.14_FC3) -----Original Message----- From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Zygmuntowicz Michal Sent: Wednesday, July 13, 2005 12:48 PM To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Subject: Re: RasSrv::GWRewriteE164 with SQLConfig problem You need to return only 3 columns: '[RasSrv::GWRewriteE164]', 'gw1', 'in=00=1010#' ----- Original Message ----- From: "Dimitar Dragoev" <ddragoev@xxxxxxxxx> Sent: Wednesday, July 13, 2005 11:12 AM > I'm trying to load [RasSrv::GWRewriteE164] from SQL database but without > luck. > > In DB I have h323_id, tech prefix and status for example: > gw1,1010#,1 > > This didn't work: > [SQLConfig] > ConfigQuery=SELECT '[RasSrv::GWRewriteE164]', h323_id, 'in', '00', > tech_prefix FROM endpoints WHERE status='1' > > And this is fine: > [RasSrv::GWRewriteE164] > gw1=in=00=1010# > > I'm sure that the query returns "gw1 in 00 1010#" > > Am I missing something or this function can not be loaded from SQL? > > Best, > Dimitar Dragoev ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/ ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/