freeswitch/libs
Anthony Minessale 60434decf5 ENUM Support
mod_enum can be used as a dialplan app, an api call from the console or as a dialplan interface.


Dialplan Interface:
put enum as the dialplan parameter in an endpoint module
i.e. instead of "XML" set it to "enum" or "enum,XML" for fall through.

Dialplan App:
This example will do a lookup and set the a variable that is the proper
dialstring to call all of the possible routes in order of preference according to 
the lookup and the order of the routes in the enum.conf section.

<extension name="tollfree">
  <condition field="destination_number" expression="^(18(0{2}|8{2}|7{2}|6{2})\d{7})$">
    <action application="enum" data="$1"/>
    <action application="bridge" data="${enum_auto_route}"/>
  </condition>
</extension>

You can also pick an alrernate root:
<action application="enum" data="$1 myroot.org"/>	


API command:
at the console you can say:
enum <number> [<root>]

The root always defaults to the one in the enum.conf section.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 21:28:32 +00:00
..
codec tweak warning level up. 2006-10-21 01:32:11 +00:00
iax add endian defines on MSVC 2006-10-19 01:21:17 +00:00
libdingaling tweak 2006-11-30 15:27:37 +00:00
libresample remove sum unnecessary files, add a missing one 2006-10-02 18:21:02 +00:00
libspeakup update 2006-10-29 15:36:23 +00:00
libteletone Add magic comments for emacs and vi in source and header files to properly format and display tabs vs. spaces in those editors: 2006-11-27 22:30:48 +00:00
srtp up the msvc warning level on srtp 2006-10-19 06:29:49 +00:00
udns ENUM Support 2006-11-30 21:28:32 +00:00
win32 update to new sofia snapshot. Fixes a memory leak on invite, a timer bug, and several other issues as follows: 2006-11-20 21:54:19 +00:00
libresample-0.1.3.build.sh tweak to build libresample on FreeBSD 5.4 thanks to xachen. 2006-03-25 02:59:28 +00:00
mozilla.build.sh fix spidermonkey build on FreeBSD (patch from Matt Klein) 2006-11-29 14:43:41 +00:00
openldap-2.3.19.build.sh a fresh install on fedora core 3 revealed some necessary tweaks 2006-02-21 16:03:18 +00:00
portaudio.build.sh fix portaudio build on ppc, thanks puzzled on irc. 2006-11-16 23:09:36 +00:00
sqlite-3.3.6.build.sh fix sqlite build on netbsd 2006-10-02 00:53:48 +00:00
srtp.build.sh tweak to run in pieces 2006-10-02 01:27:06 +00:00