VoIP Cookbook: How to route ENUM Query in OpenSIPS

From OnnoWiki
Jump to navigation Jump to search

Steps to route ENUM query in OpenSIPS is as follows,

  • Prepare ENUM modul in OpenSIPS configuration
  • Create routing table for ENUM

ENUM query in OpenSIPS is basically transform the URI address from ENUM to URI SIP. Call process is normally done using the URI SIP.

To prepare the ENUM module in OpenSIPS configuration, we need to edit /usr/local/etc/opensips/opensips.cfg or /etc/opensips/opensips.cfg

# vi /usr/local/etc/opensips/opensips.cfg

Enter the following command

loadmodule "enum.so"
modparam("enum", "domain_suffix", "e164.arpa.")
modparam("enum", "i_enum_suffix", "e164.arpa.")

We can change e164.arpa to other ENUM top level domain, such as, e164.id or e164.th.

See Also