Re: The prefix-rewrite...

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

 



You may put a hook there, but this will be a quick
and dirty solution. On the other way, auth modules
are designed to handle such scenarios.

----- Original Message ----- From: "Sergio Lenzi" <enigma@xxxxxxxxxxxxxxxxx>
Sent: Friday, January 14, 2005 12:35 AM



On Thursday 13 January 2005 19:46, Zygmuntowicz Michal wrote:
You need to build your own module, similar to sqlauth.cxx
(or derived from it), that process query results in other way.
Let's say your query can return a few columns. If one named
"redirectnumber" is found, then the module should redirect the call,
etc. GkAuthenticator module accepts a special structure as a parameter,
that hold redirect number/ip and other stuff (you can look at radauth.cxx
to see how it is done).
Ok thanks for the help....


Build a module is not the big problem, I think I can handle it may be the first try is a "hook' in the rewrite module...

but one more question that can save me looooooooots of time...

Can you please tell me what module the rewrite is done in gnugk???

Is it  all done in the toolkit.cxx???

If so I can put a "hook"  in that code that would do the "trick"...

Thanks for the help
Sergio



------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

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

  Powered by Linux