What I want to be able to do is have a variable in openser, and assign that to my domain for enum.
For example, psuedo code:
mydomain = get_from_number + '.' + get_from_domain;
newdomain = get_cname(mydomain);
modparam("enum", "domain_suffix", newdomain);
or, forget the cname part, just:
mydomain = get_from_number + '.' + get_from_domain; modparam("enum","domain_suffix",mydomain);
As it is, I hacked a function that does what I want. It would be easier if the ser language was more procedural, so I can invent stuff like this on the fly. I've noticed that most of the functions that are called in the modules don't return any strings directly. Does avp let me write a function that returns a string so I can use the value later?
-g
On Feb 2, 2006, at 5:19 AM, Daniel-Constantin Mierla wrote:
Hello,
On 02/01/06 19:35, Greg Fausak wrote:
Can I do a cname or txt query in openser? I'm trying to create a cname for a enum soa. That is, I want to do:
soa: e164.test.com cname: other.test.com -> e164.test.com
Is there any way to accomplish this sort of thing through DNS?
openser is able to process CNAME records. How you want to be the translation? Which is the domain you want to be resolved in your case?
Cheers, Daniel
-g
-- Greg Fausak greg@thursday.com
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users