Quick Search:

Line History

line history graph

Show Arbitrary Diff

From to

Supports revisions and tags.

History

root: 5738 3494

latest revision download Branch root:

5738 annotated / raw | Diffs: previous, other | Lines: 67 ( +0, -0 )

Created: 2007-09-21 14:49:14 -0400 (14 months ago) | Author: mikej | Changeset: 5738

svn:eol-style properties, and make eol-style consistent in some files.

3494 new annotated / raw | Lines: 67 ( +67, -0 )

Created: 2006-11-30 16:28:32 -0500 (2 years ago) | Author: anthm | Changeset: 3494

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.