121 Commits

Author SHA1 Message Date
Ken Rice
9075ed1c71 small mod to mod limit...
Add Optional user setable transfer destination number
example usage:

<application="limit" data="<realm> <id> <max> [transfer_destination_number]"/>
existing functionality is not changed... if limit is exceeded and 
transfer_destination_number is not specified call will still be redirected to limit_exceeded

Also add new channel variable limit_original_destination which is set to the 
destination_number before mod_limit does its thing



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-16 21:44:28 +00:00
Ken Rice
1121c2724e Change limit query to allow for sql wildcard in query
you can now do things like
<application="limit" data="realm id 2"/>
<application="limit" data="realm % 10"/>

this will allow both individual extension limits and realm limits



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7250 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-16 20:16:37 +00:00
Anthony Minessale
86da61bc8f delete repeat keys in db
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6882 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-18 22:06:06 +00:00
Anthony Minessale
5355075c60 blinking lights for xmas presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6849 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-18 01:12:50 +00:00
Michael Jerris
54ec86f6ce use switch_snprintf instead of snprintf becuase in insures null termination of strings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 21:53:32 +00:00
Michael Jerris
8fd67f8779 cleanup, null checks. etc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6695 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 03:21:14 +00:00
Michael Jerris
4110f73cf3 add msvc 2008 sln/project files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 01:40:13 +00:00
Anthony Minessale
4bc03bb392 almost ready for b3
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6573 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-08 00:14:21 +00:00
Anthony Minessale
a30c635e2a fix MODENDP-35
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6275 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-15 16:55:46 +00:00
Anthony Minessale
94b04a0e17 fix some stuff and add set_user func
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6249 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-13 22:06:44 +00:00
Anthony Minessale
81d01bec55 fix some stuff and add set_user func
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6248 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-13 22:05:02 +00:00
Anthony Minessale
b23c376d82 fix some stuff and add set_user func
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6246 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-13 22:03:05 +00:00
Anthony Minessale
0ac9a16321 fix some stuff and add set_user func
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-13 19:58:44 +00:00
Anthony Minessale
20a47df18b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6224 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-12 23:12:19 +00:00
Michael Jerris
3f4fd53c97 fix windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6218 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-10 12:25:54 +00:00
Anthony Minessale
fe80390877 add some more stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6217 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-10 01:48:42 +00:00
Anthony Minessale
d4c02943ec add db api cmd and db_insert dialplan app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6196 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-09 16:50:37 +00:00
Michael Jerris
a40ae4cb16 add mod_limit to windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6144 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-02 17:57:08 +00:00
Anthony Minessale
89bbd59cc3 small fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6142 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-02 17:23:38 +00:00
Anthony Minessale
2a3c143841 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6136 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-01 19:50:16 +00:00
Anthony Minessale
ae31d229e0 add mod_limit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6135 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-01 19:05:48 +00:00