Joao,
Joao Pereira wrote:
Hello I would like to know how to lookup to 2 ENUM trees (arpa and e164.org).
You might want to have a look at
http://nrenum.net/how-to_openser.html
that shows an example openser config that queries two ENUM trees (e164.arpa and nrenum.net).
Christian
I have this config:
loadmodule "enum.so"
modparam("enum", "domain_suffix", "e164.org.")
if ( method=="INVITE" && uri=~"sip:\+[1-9][0-9]*@mydomain.com") { if(!enum_query("e164.org.")) { log(1, "log: ENUM not found :( \n"); }else{ log(1, "log: ENUM found :) \n"); if (!method=="REGISTER") record_route(); t_relay(); return; } }
Thanks Regards Joao Pereira