• Anthony Minessale's avatar
    ENUM Support · 60434dec
    Anthony Minessale 提交于
    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
    60434dec
名称
最后提交
最后更新
build 正在载入提交数据...
conf 正在载入提交数据...
docs 正在载入提交数据...
libs 正在载入提交数据...
mac/xcode 正在载入提交数据...
scripts 正在载入提交数据...
src 正在载入提交数据...
support 正在载入提交数据...
w32 正在载入提交数据...
.indent.pro 正在载入提交数据...
AUTHORS 正在载入提交数据...
COPYING 正在载入提交数据...
ChangeLog 正在载入提交数据...
Freeswitch.sln 正在载入提交数据...
INSTALL 正在载入提交数据...
Makefile.am 正在载入提交数据...
Makefile.in 正在载入提交数据...
NEWS 正在载入提交数据...
README 正在载入提交数据...
aclocal.m4 正在载入提交数据...
build.sh 正在载入提交数据...
configure 正在载入提交数据...
configure.in 正在载入提交数据...
generic_mod.mk 正在载入提交数据...
indent_options.sh 正在载入提交数据...
modules.conf.in 正在载入提交数据...