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
Michael Jerris
bbdf4744aa
inital work on x64 windows build (FSBUILD-125)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12215 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 00:56:56 +00:00
Rupa Schomaker
4371f56802
handle case where custom_sql is braindead (no replaceable params)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12204 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-20 22:00:24 +00:00
Rupa Schomaker
cc6d9aa574
allow channel vars in custom_sql - unescaped for now
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12198 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-20 20:36:04 +00:00
Rupa Schomaker
2f2a193847
actually honor profile when used as a app
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12196 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-20 20:28:18 +00:00
Rupa Schomaker
9952b6d633
don't reuse the module loader's memory pool for our own
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12194 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-20 20:17:55 +00:00
Robert Joly
a418b61f60
Fixed VS2008 compiler warnings, including what clearly looks like a bug!
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12027 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-15 04:10:31 +00:00
Brian West
babb2f83f5
update copyright
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Brian West
e0572463f7
space after if
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11998 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 21:45:54 +00:00
Rupa Schomaker
294e788056
MODAPP-213 - lcr_carrier/rate vars on a and b legs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11976 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 23:52:03 +00:00
Rupa Schomaker
90691a7e76
destroy the hash BEFORE freeing the pool
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 15:05:37 +00:00
Rupa Schomaker
695f7b44cf
actually dedup based on endpoints when doing sorted insert to lcr list
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11908 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 01:18:43 +00:00
Rupa Schomaker
b15707e077
implement param reorder_by_rate which umm.. does that
...
default to false
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 21:33:22 +00:00
Michael Jerris
cc93b40d2b
fix windows build errors (MODAPP-212, FSBUILD-116, FSBUILD-117)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11883 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 18:08:04 +00:00
Rupa Schomaker
8c36c6d443
remove extra logs that were for debugging
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11874 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:39:03 +00:00
Rupa Schomaker
0cedb6c4a2
add support for pre_order on the profile, cleanup show profiles command
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11807 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:52:29 +00:00
Rupa Schomaker
5baed33c7e
add API lcr_admin show profiles
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 05:07:37 +00:00
Rupa Schomaker
fe47675bb6
initialize retval
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 02:55:17 +00:00
Rupa Schomaker
a425e283ae
support custom SQL for lcr queries
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11739 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 00:18:50 +00:00
Brian West
ae220d3341
update email
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Rupa Schomaker
5d0d61c7ff
make MikeJ happy - switch_assert argv[0] != NULL
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11623 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-03 22:19:31 +00:00
Rupa Schomaker
80ed8c86fc
protect switch_core_strdup from null db values
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11621 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-03 21:41:48 +00:00
Rupa Schomaker
92d9a0addd
use switch_core_sprintf instead
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11620 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-03 21:31:41 +00:00
Rupa Schomaker
10f57aad8f
Move to pools for dynamic allocations. Tested with valgrind.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11619 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-03 21:20:09 +00:00
Rupa Schomaker
417bbd1569
add mutex around odbc calls
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11609 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-03 15:59:46 +00:00
Michael Jerris
a6328e287a
build: add mod_lcr and mod_easyroute to msvc 2008 build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11533 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-28 01:55:02 +00:00
Michael Jerris
e27efe769e
mod_lcr: fix memory leak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11532 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-28 01:50:45 +00:00
Raymond Chandler
a5c06514b6
i'm finally over my tourettes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11252 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-16 01:11:11 +00:00
Raymond Chandler
af55fb0925
test
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-16 01:00:11 +00:00