88 Commits

Author SHA1 Message Date
Rupa Schomaker
4988ef87a7 MODAPP-418 2010-04-10 13:23:13 -05:00
Anthony Minessale
4006ffa332 qualify the whole string is digits in test
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17053 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-19 23:23:04 +00:00
Anthony Minessale
90bb25c185 fix potential buffer overflow in mod_lcr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17051 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-19 21:45:33 +00:00
Anthony Minessale
886e1ddb4d run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Anthony Minessale
e5cadc5196 MODAPP-387
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16278 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 18:02:42 +00:00
Brian West
21e3bb970a if space
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 01:20:26 +00:00
Rupa Schomaker
7dc4612e2f use new cache db api
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-26 05:38:43 +00:00
Jeff Lenk
67b3210a31 fix compiler error
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15489 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 01:31:12 +00:00
Anthony Minessale
df7637f687 change switch_strlen_zero to zstr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Rupa Schomaker
31a6e90382 remove debug lines that should not have been there
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15170 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-16 17:55:06 +00:00
Rupa Schomaker
961e2244e6 MODAPP-340 - Add support for user_rates which are the (optional) end-user rates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15022 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-30 14:52:19 +00:00
Anthony Minessale
b869290bae MODAPP-337
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14922 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-18 22:55:33 +00:00
Brian West
357c93b999 fix vim format line
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-14 22:03:37 +00:00
Rupa Schomaker
bbe4ca9137 remove intra from indexes -- don't see why we need 'em
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14705 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-31 20:01:05 +00:00
Mathieu Rene
8225082036 mod_lcr: fix possible null string passed to switch_log_printf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14514 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-14 02:40:48 +00:00
Mathieu Rene
5acb8ad899 Per-call logging, part two
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14510 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-13 21:24:51 +00:00
Michael Jerris
58d5c86936 avoid grouchy compilers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14423 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 21:41:04 +00:00
Michael Jerris
0b38eb769a fix segfaults
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14422 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 21:30:05 +00:00
Rupa Schomaker
f95c325635 bah, update syntax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14312 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-21 18:49:02 +00:00
Rupa Schomaker
3769453f75 add "as xml" option
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14311 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-21 18:43:00 +00:00
Rupa Schomaker
0c2940b831 MODAPP-309 - variable expansion in cid regexp processing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-17 22:41:40 +00:00
Rupa Schomaker
11115bb720 uggh, typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14272 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-16 15:43:54 +00:00
Rupa Schomaker
8e01a2fc7e update sql
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14271 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-16 15:40:29 +00:00
Rupa Schomaker
d900c59ee4 add support for intra[state|lata] calls.
use npanxx table to determine intra status
changed intra field to intrastate_rate


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14270 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-16 15:38:16 +00:00
Raymond Chandler
f3d0cf2c73 apparently i forgot to add the intra stuff to mysql... whoops :-\
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14197 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 15:27:43 +00:00
Raymond Chandler
40dd768a3f i guess i should have put this here when it got promoted to prime time
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13980 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-26 18:02:18 +00:00
Michael Jerris
6348359d95 change odbc handling in code to be runtime instead of build time
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13936 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-24 16:02:43 +00:00
Raymond Chandler
fa7b79e19c this should handle all cases now
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13869 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-19 17:48:49 +00:00
Raymond Chandler
1a143ba260 adding support for routing by intrastate rates... still need work on the api command
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13863 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-19 14:46:51 +00:00
Raymond Chandler
942269648d remove pre_order stuff which was an "abortive attempt to avoid custom sql" :-)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13763 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-11 21:20:42 +00:00
Rupa Schomaker
67270b8d4f honor effective_caller_id_number for CID override
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13611 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 13:56:28 +00:00
Rupa Schomaker
2d42aff9f7 use origination_caller_id_number instead
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13547 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-02 16:39:54 +00:00
Rupa Schomaker
9fc160020e MODAPP-281 - add extra sip headers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13546 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-02 16:38:29 +00:00
Raymond Chandler
ceae13acc0 MODAPP-279
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13365 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 20:03:17 +00:00
Mathieu Rene
591f534578 mod_lcr: Add ifdefs around odbc calls in shutdown function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13268 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-09 16:51:12 +00:00
Rupa Schomaker
652e4b7e31 check for escape chars too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-30 17:22:24 +00:00
Rupa Schomaker
258efd37c0 add static to functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12972 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-09 20:58:34 +00:00
Rupa Schomaker
32a762641e set channel vars for rate, carrier, and codec for each route
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12882 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-02 12:32:18 +00:00
Rupa Schomaker
b3e27324f8 oops, actually work as a dialplan app
handle null cid gracefully


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12824 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-28 08:08:48 +00:00
Rupa Schomaker
0e7fd036a6 remove WTF
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12812 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-27 20:01:54 +00:00
Rupa Schomaker
8c1dee5ac9 don't leak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12721 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-23 15:34:46 +00:00
Michael Jerris
5d2b9966b0 fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12696 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-20 22:38:38 +00:00
Rupa Schomaker
80e897b3fd oops, fix test for invalid profile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12689 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-20 20:23:32 +00:00
Rupa Schomaker
a35aca24b3 Add support for specifying codec in carrier_gateway table
Add ability to test ${} queries even when no session is
 available (abuse events for this)
Test sql at startup, refuse to load invalid profile


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12688 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-20 20:15:39 +00:00
Rupa Schomaker
5d45679b63 allow profile named "default" to be the default
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12622 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-16 16:31:23 +00:00
Rupa Schomaker
464415efe5 parameter to say whether to quote the in list or not
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12620 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-16 15:54:44 +00:00
Rupa Schomaker
7b7f354f8d reduce random/rand tsts to absolute minimum stmnt required
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12619 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-16 15:35:10 +00:00
Michael Jerris
4212af498b build: build path cleanups (FSBUILD-130)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12490 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-06 19:27:14 +00:00
Brian West
db90b8270d damn OCD
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12439 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-05 04:08:31 +00:00
Mathieu Rene
0f966ded62 Use the core-provided memory pool instead of creating a new one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-23 20:46:46 +00:00