Commit Graph

12 Commits

Author SHA1 Message Date
Michael Jerris
6c86bd9cc3 fix non-windows build broken by msvc 9 fix.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6645 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 16:00:43 +00:00
Michael Jerris
5c19d7f5d1 fix for msvc 9 build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6630 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 10:10:03 +00:00
Michael Jerris
bb40700d84 fix udns/mod_enum msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5000 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-22 17:34:23 +00:00
Michael Jerris
b1d3ae83ab inline vs __inline for msvc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-20 20:59:21 +00:00
Michael Jerris
5bcc83f32b solaris porting
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4984 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-20 03:51:00 +00:00
Michael Jerris
a310b580f8 silence windows warning.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4942 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-16 14:00:59 +00:00
Michael Jerris
a483c238b9 move udns build directly into the mod_enum makefile so it gets all our cflags
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4919 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-11 14:37:40 +00:00
Michael Jerris
4fcdb2c057 add .update files to the libs that we can use to force rebuilds of libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4622 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-16 21:22:04 +00:00
Michael Jerris
17d57b7142 missing ;
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4168 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 19:35:07 +00:00
Michael Jerris
e7d0aaef27 fix warnings and some windows compatibility issues in enum/udns
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 19:23:36 +00:00
Michael Jerris
fadc1ccebe win32 build for mod_enum/libudns. Please note, this builds but still DOES NOT work on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3499 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 23:33:37 +00:00
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