Hi Nguyen, which variable names to use for interaction between LUA and GnuGk is documented with each LUA policy. Here is a simple example how to replace a hash with a star in dialed numbers: [Routing::Lua] Script=destAlias=string.gsub(calledAlias, "#", "*") ; gnugk.trace(1, destAlias) Regards, Jan -- Jan Willamowius, Founder of the GNU Gatekeeper Project EMail : jan@xxxxxxxxxxxxxx Website: https://www.gnugk.org Support: https://www.willamowius.com/gnugk-support.html Relaxed Communications GmbH Frahmredder 91 22393 Hamburg Geschäftsführer: Jan Willamowius HRB 125261 (Amtsgericht Hamburg) USt-IdNr: DE286003584 Nguyen Nam wrote: > Hello, > Can anyone help me with a working lua example script? I have no > experience with lua,but one small script may give me better > understanding about in/out between gnugk and lua. > Thanks in advance, > Nguyen _______________________________________________________ Posting: mailto:gnugk-users@xxxxxxxxxxxxxxx Archive: https://lists.gnugk.org/pipermail/gnugk-users/ Unsubscribe: https://lists.gnugk.org/lists/listinfo/gnugk-users Homepage: https://www.gnugk.org/