Go to file
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
build fix build 2006-10-19 00:20:40 +00:00
conf ENUM Support 2006-11-30 21:28:32 +00:00
docs dox 2006-05-10 20:02:01 +00:00
libs ENUM Support 2006-11-30 21:28:32 +00:00
mac/xcode Remove ExoSip from Xcode project. 2006-10-01 00:35:19 +00:00
scripts merge mod_python fixes from Johny Kadarisman <jkr888 at gmail.com>. mod_python actually works now, please report problems. 2006-11-14 06:13:04 +00:00
src ENUM Support 2006-11-30 21:28:32 +00:00
support update public key 2006-11-28 19:07:29 +00:00
w32 prepare for libteletone linking to the core in the windows build 2006-11-18 16:31:19 +00:00
.indent.pro update .indent.pro, and script to generate it 2006-10-15 02:03:49 +00:00
AUTHORS playfile fixes for startpos from Matt Klein. 2006-11-29 20:07:13 +00:00
COPYING fix oops (svn merge -r 418:417 http://svn.freeswitch.org/svn/freeswitch/trunk) 2006-01-20 15:05:05 +00:00
ChangeLog hi 2005-11-12 21:27:19 +00:00
Freeswitch.sln prepare for libteletone linking to the core in the windows build 2006-11-18 16:31:19 +00:00
INSTALL Add a notice to try and deal with a common build problem. 2006-11-28 22:13:45 +00:00
Makefile.am build stuff 2006-11-09 05:31:29 +00:00
Makefile.in build stuff 2006-11-09 05:31:29 +00:00
NEWS hi 2005-11-12 21:27:19 +00:00
README this was all wrong.. blanking it out for now.. I am sure we should have somthing useful in there. 2006-10-28 19:59:01 +00:00
aclocal.m4 build stuff 2006-11-09 05:31:29 +00:00
build.sh change build.sh to ensure gnu make 2006-02-08 21:32:03 +00:00
configure build stuff 2006-11-09 05:31:29 +00:00
configure.in use usleep when possible, ./configure && make sure when you update 2006-09-17 18:44:53 +00:00
generic_mod.mk ok this is just being picky but on darwin and mac we really should call it .dylib instead of .so but this also gave me a chance to get better with the build system. /b 2006-03-05 23:44:04 +00:00
indent_options.sh update .indent.pro, and script to generate it 2006-10-15 02:03:49 +00:00
modules.conf.in spidermonkey has it's own loadable modules now good luck 2006-11-10 21:49:57 +00:00

README