On Sunday 06 February 2005 23:40, Jose Ramon wrote: > Somebody tell me who work sql accounting, I should that gnugk require at start cll if the h323 alias have money in the moment of make the call and if the alias is not active or donÂt have money then the reject the call, and I donÂt know how gnugk work with sql for accounting > > Thanks. > Just create an insert trigger in the postgresql that tests the condition you want to NOT make the call, return NULL as the trigger result Sergio ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________________ List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id 49 Homepage: http://www.gnugk.org/