Michael Jerris
e5dff3e822
add checking for successful re-sampler allocation. Add ifdefs to disable build with re-sampler.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4782 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 18:21:00 +00:00
Anthony Minessale
d9de1807ee
Add state change i/o hook to the core and change some spidermonkey behaviour.
...
The most important thing to check is you now must create a new session with a blank constructor:
s = new Session();
then call s.originate() with all the former args that were documented to be for the constructor
this will will return true or false to indicate if the call worked.
See below this sample code demonstrates all of the changes:
////////////////////////////////////////////////////////////////////////////////
function on_hangup(hup_session)
{
console_log("debug", "HANGUP!!!! name: " + hup_session.name + " cause: " + hup_session.cause + "\n");
//exit here would end the script so you could cleanup and just be done
//exit();
}
//set the on_hangup function to be called when this session is hungup
session.setHangupHook(on_hangup);
//allocate a new b_session
var b_session = new Session();
//make a call with b_session. If this fails, all we will be able to access is the b_session.cause attr
if (b_session.originate(session, "sofia/mydomain.com/888@conference.freeswitch.org")) {
//Inform the scripting engine to automaticly hang this session up when the script ends
b_session.setAutoHangup(true);
//set the on_hangup function to be called when this session is hungup
b_session.setHangupHook(on_hangup);
//bridge session with b_session
bridge(session, b_session);
} else {
console_log("debug", "Originate Failed.. cause: " + b_session.cause + "\n");
}
////////////////////////////////////////////////////////////////////////////////
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4773 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-27 00:40:53 +00:00
Anthony Minessale
0a11fbe996
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4699 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 21:42:02 +00:00
Anthony Minessale
15318689b5
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4694 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 21:20:14 +00:00
Anthony Minessale
221bf43984
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 20:37:52 +00:00
Anthony Minessale
bfe8264939
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4665 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-19 19:54:36 +00:00
Anthony Minessale
7e2977b2b6
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-19 19:44:22 +00:00
Anthony Minessale
e5407ed1ef
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4663 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-19 19:43:25 +00:00
Anthony Minessale
9ffe54df46
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4613 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-15 22:49:58 +00:00
Brian West
ffde2ff0af
update2
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4600 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-15 01:58:41 +00:00
Anthony Minessale
d69cde6367
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4598 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-15 00:36:14 +00:00
Anthony Minessale
78c058423b
tweaks to file buffering
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4575 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-12 20:17:34 +00:00
Michael Jerris
178a333539
push prefix dir from configure instead of from the makefile to clean up the compile line a bit. Follow-up commit of autotools, please hold.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4508 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 01:07:47 +00:00
Brian West
9263ef1f72
add url syntax for playback
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4501 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-10 02:36:55 +00:00
Anthony Minessale
2df583650f
cleanup some stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4498 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 23:51:52 +00:00
Michael Jerris
42e78242a3
add wrapper code to fully encapsulate apr, apr-utils, pcre, and sqlite. fully use switch_ namespace in modules, create our own format and type defines. follow up commit for unix autotools coming soon after this. PLEASE NOTE: you will NEED to do a make megaclean and run configure again after this update (and the following commit) or it will not build.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 20:44:13 +00:00
Anthony Minessale
2d78da120a
avoid races in super high volume of no media calls
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4493 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 20:37:30 +00:00
Anthony Minessale
9eaa28a9e8
pass frame data better
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4480 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-08 14:59:10 +00:00
Anthony Minessale
5131ee1cae
add management interface and some rtp goodies
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4464 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 18:34:22 +00:00
Michael Jerris
ec3fcde87d
change switch_core_timer_next to return switch_status_t, update all users to new usage, add some error checking to mod_conference so that it bails out of the loops more gracefully on shutdown.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4454 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-05 23:18:29 +00:00
Anthony Minessale
1b5fe10277
change a few things to allow timers to generate timestamps
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4452 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-05 20:53:54 +00:00
Brian West
343c2210da
fix comments
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4442 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-04 01:47:08 +00:00
Brian West
bd6720df94
Please besure to do "make sure" this should fix the assert people were getting on ALL channel drivers.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4438 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-03 21:02:02 +00:00
Anthony Minessale
b7520f6676
pesky * bug
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4433 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-02 23:50:13 +00:00
Brian West
0ddffd3ef6
fix potential naughty bug you will need 'make sure'
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4432 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-02 23:38:01 +00:00
Anthony Minessale
71a5fbfbd1
change wanring level
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4429 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-02 17:55:22 +00:00
Anthony Minessale
ed76b25241
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-01 17:23:02 +00:00
Anthony Minessale
df3effba3f
be more specific
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4407 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-27 22:52:37 +00:00
Michael Jerris
9eaac73b59
don't printf null on application with null arguments
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4379 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 21:04:36 +00:00
Michael Jerris
1109bc83c7
put blank, not printf'd null into the module load sql statements.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4376 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 20:13:15 +00:00
Anthony Minessale
f8352e76ae
fix transaction locking error in the core sql thread
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4356 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 16:42:40 +00:00
Michael Jerris
6461d8faff
windows build tweaks to resolve warnings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4352 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 23:12:58 +00:00
Anthony Minessale
9bd118dc28
add mode goodies to ilbc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4349 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 21:13:36 +00:00
Anthony Minessale
77fe0e7bcd
add mode goodies to ilbc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 20:56:23 +00:00
Anthony Minessale
a88da36253
add heartbeat event and core uuid
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 17:38:34 +00:00
Anthony Minessale
4dd3e158a0
send break sig after sending messages and events to sessions
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 16:06:42 +00:00
Anthony Minessale
6c0152ca2f
try to pass 2833-pt across calls
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-21 21:46:32 +00:00
Anthony Minessale
f703658741
add 120ms to g711, fix errs in g711 alaw defs, tweak buffer in file playback and add kill to hupall
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4341 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-21 06:35:55 +00:00
Michael Jerris
915944b7ed
add pool allocated printf function switch_core_sprintf
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4339 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-20 21:54:23 +00:00
Michael Jerris
e4947bfbfe
refactor switch_core_sql_thread with the following main changes:
...
Do the entire transaction as a single exec, instead of 3 separate ones to resolve issue of unmatched transaction error.
try really hard to commit the transaction (1000 times) but we no longer try forever. If 1000 times fail, you will lose some update/insert/deletes from the core db, but we will no longer continue to loop forever and stop processing the sql queue in the case of an error.
added better overflow protection to the buffer, we now ignore sql strings we get over 64k. (not full transactions, just individual sql strings that we get queued). Previously this caused a buffer overflow.
We now use sprintf instead of snprintf as we are already handling overflow checks outside of the sprintf.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4338 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-20 18:27:21 +00:00
Brian West
5e4396a46e
making private events fire (please test)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4327 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 21:06:27 +00:00
Michael Jerris
bbf3c290d9
add switch_core_session_sprintf which allocates from the session pool
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 02:21:27 +00:00
Anthony Minessale
368ac20dc1
rearrange things to work better
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4311 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 18:40:42 +00:00
Michael Jerris
08debcfcb4
completion of the commit from revision 4305
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4307 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 06:22:47 +00:00
Michael Jerris
654dc6e616
fix copy/paste error on setting SWITCH_GLOBAL_dirs.temp_dir on windows.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4305 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 23:37:14 +00:00
Michael Jerris
9fc1f45ebd
constify switch_core_hash functions and some of their consumers.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 23:36:10 +00:00
Anthony Minessale
9626393ef8
add export app (set + adding to export_vars) in 1
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 20:07:35 +00:00
Anthony Minessale
b154ea7e2b
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4279 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 23:08:10 +00:00
Anthony Minessale
e96f7a118c
add resets to a few places
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4277 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 22:41:03 +00:00
Michael Jerris
2b507706c9
switch_core_session_strdup now takes const char * arg.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4264 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:14:53 +00:00
Michael Jerris
251723ba41
fix missing strdup in switch_ivr_menu_bind_function
...
change most char * values in ivr_menu functions to const char *
change switch_core_strdup to get passed const char * instead of char *
change switch_xml_find_child to get passed const char * instead of char *
change the ivr dialplan application to free the xml config as soon as it is done building the xml menu and not hold it until the menu is done being run, so that you can do a reloadxml while someone is in a menu without blocking.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 17:28:42 +00:00
Michael Jerris
258e28dd11
constification for switch_core_hash_find and switch_event_create_subclass
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:22:43 +00:00
Michael Jerris
ceafc84ca0
constify some arguments to switch_console_printf and switch_cut_path and remove improper casts for the consumers of those functions.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4241 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 21:03:06 +00:00
Anthony Minessale
a62d9fd951
lord of the rings
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4230 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 15:47:15 +00:00
Anthony Minessale
9a870c5fb6
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4229 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 14:58:06 +00:00
Michael Jerris
07d6f12018
use "%s" format specifier for uses of switch_event_add_header that just pass a string to avoid potential issues/exploits"
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 04:43:49 +00:00
Michael Jerris
489354037d
indirection misdirection?
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4222 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 02:48:50 +00:00
Michael Jerris
db5557983a
use const for switch_core_permanent_strdup var.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4220 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 02:31:26 +00:00
Michael Jerris
edbc5594af
be more safe about compiler qwirkyness in initialization.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4196 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 23:26:53 +00:00
Anthony Minessale
f03226debb
update core
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 20:03:07 +00:00
Michael Jerris
f359f847f7
fix magic emacs and vi formatting comments in the bottom of our source files to use tabs instead of spaces
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 02:36:03 +00:00
Anthony Minessale
ed41805c17
improve core and basic flow
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 01:34:01 +00:00
Anthony Minessale
5327a156ee
fix bug/race in core
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4170 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 20:47:46 +00:00
Anthony Minessale
cb587626ea
timer mojo (cont)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4151 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 19:18:15 +00:00
Anthony Minessale
66feec2da5
timer mojo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4149 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 18:44:00 +00:00
Michael Jerris
608fac923a
pass and decrement max_forwards across the bridge for sip
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4135 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 18:11:25 +00:00
Michael Jerris
cfdd586224
add -conf, -db, and -log params to the binary to allow for running multiple copies of freeswitch concurrently on the same box. Please note that these params may change in the future. Patch from Bret McDanel.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4133 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 17:05:14 +00:00
Anthony Minessale
96e32a8d4c
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4123 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 17:56:09 +00:00
Anthony Minessale
6f9be6bf5a
bug in the bugs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-02 21:01:13 +00:00
Anthony Minessale
59ed99a9a8
core framework for reverse media bugs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4105 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 23:09:33 +00:00
Anthony Minessale
2d4d6ea756
make send_dtmf parse w and W for 500 and 1000 ms pause
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4086 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 20:11:26 +00:00
Anthony Minessale
db70ef2a37
codec tweaks (do a make sure)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4077 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 15:43:41 +00:00
Anthony Minessale
0ed9ebe492
CODEC TWEAK
...
mod_sofia will now examine a variable in the channel to
see what the channel's originator was using for a codec and
try to put that to the top of the list in the sdp.
if this new sofia profile param is set:
<param name="disable-transcoding" value="true"/>
All outbound calls will use *only* the codec that thier originator
is using to ensure no transcoding.
(of course that could lead to a failed call where there is no way to do this, so use sparingly)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 17:37:51 +00:00
Anthony Minessale
85dab893d9
A few changes:
...
1) The xml_curl now has a more enterprise config where it can have more than 1
url configured so you could have failover. (*note the syntax change*)
2) dialplan modules now take an extra arguement making it possible to pass runtime params to
them. This is now used in mod_dialplan_xml to allow an alternate file path to be specified.
dialplans were already stackable meaning you can configure a sofia profile, for example,
to use enum followed by the default XML dialplan.
e.g. <param name="dialplan" value="enum,XML"/>
From now on, you can also specify :param after each dialplan name to allow param
to be passed to the module. mod_dialplan_xml uses this param as a way to override
where it looks for the dialplan making it possible to stack mutiple calls to the XML dialplan.
e.g. <param name="dialplan" value="XML:/some/xml/file.xml,XML"/>
With this you can search the local file file.xml first and if there is still no match
the hunt will move on to the standard XML using the onboard XML registry and or the external
gateways.
*NOTE* this alternate path does not use the external bindings but it does parse the #includes etc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4066 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 16:23:33 +00:00
Michael Jerris
bb2bbf827e
void functions shouldn't return values.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4030 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 12:50:20 +00:00
Anthony Minessale
d3e1f400e5
tweak core for build err and add core_get_var
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4021 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 21:59:07 +00:00
Michael Jerris
4457fe7596
rearrange a bit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4016 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 17:16:25 +00:00
Anthony Minessale
c4717f9077
fix locking and add lock debugging as a define
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-29 16:39:56 +00:00
Anthony Minessale
3b998f7c91
tweak locks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3869 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-29 06:21:04 +00:00
Anthony Minessale
968f4fccc3
fix sofia (part 2) you'd better 'make sure'
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3860 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-28 19:38:35 +00:00
Anthony Minessale
905a48c85f
fix sofia (part 1)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-28 01:08:06 +00:00
Anthony Minessale
ae2aed9dff
fix dialplan stack
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 02:49:26 +00:00
Michael Jerris
855c7b9a77
char * -> const char *
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3691 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 04:32:50 +00:00
Anthony Minessale
44cc7d5cfe
build progress break everything
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-17 01:01:09 +00:00
Anthony Minessale
9914dd71f5
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3558 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-06 17:19:07 +00:00
Anthony Minessale
d20870e121
fix obscure bs, remove CR from dptools, add info app
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3463 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 02:23:26 +00:00
Michael Jerris
44649c70b4
Add magic comments for emacs and vi in source and header files to properly format and display tabs vs. spaces in those editors:
...
/* For Emacs:
* Local Variables:
* mode:c
* indent-tabs-mode:nil
* tab-width:4
* c-basic-offset:4
* End:
* For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
*/
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 22:30:48 +00:00
Anthony Minessale
b2bc13dc7e
Add signal handlers for SIGIO and SIGPOLL
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3423 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-20 21:43:44 +00:00
Anthony Minessale
9f9abf2ea1
stackable dialplans
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3412 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:21:41 +00:00
Anthony Minessale
d7baa16132
Ringback (sponsored by Front Logic)
...
This addition lets you set artifical ringback on a channel
that is waiting for an originated call to be answered.
the syntax is
<action application="set" data="ringback=[data]"/>
where data is either the full path to an audio file
or a teletone generation script..
syntax of teletone scripts
LEGEND:
0-9,a-d,*,# (standard dtmf tones)
variables: c,r,d,v,>,<,+,w,l,L,%
c (channels) - Sets the number of channels.
r (rate) - Sets the sample rate.
d (duration) - Sets the default tone duration.
v (volume) - Sets the default volume.
> (decrease vol) - factor to decrease volume by per frame (0 for even decrease across duration).
< (increase vol) - factor to increase volume by per frame (0 for even increase across duration).
+ (step) - factor to step by used by < and >.
w (wait) - default silence after each tone.
l (loops) - number of times to repeat each tone in the script.
L (LOOPS) - number of times to repeat the the whole script.
% (manual tone) - a generic tone specified by a duration, a wait and a list of frequencies.
standard tones can have custom duration per use with the () modifier
7(1000, 500) to generate DTMF 7 for 1 second then pause .5 seconds
EXAMPLES
UK Ring Tone [400+450 hz on for 400ms off for 200ms then 400+450 hz on for 400ms off for 2200ms]
%(400,200,400,450);%(400,2200,400,450)
US Ring Tone [440+480 hz on for 2000ms off for 4000ms]
%(2000,4000,440,480)
ATT BONG [volume level 4000, even decay, step by 2, # key for 60ms with no wait, volume level 2000, 350+440hz {us dialtone} for 940ms
v=4000;>=0;+=2;#(60,0);v=2000;%(940,0,350,440)
SIT Tone 913.8 hz for 274 ms with no wait, 1370.6 hz for 274 ms with no wait, 1776.7 hz for 380ms with no wait
%(274,0,913.8);%(274,0,1370.6);%(380,0,1776.7)
ATTN TONE (phone's off the hook!) 1400+2060+2450+2600 hz for 100ms with 100ms wait
%(100,100,1400,2060,2450,2600)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:05:06 +00:00
Anthony Minessale
89989bc34f
vg mode
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3388 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 19:43:25 +00:00
Anthony Minessale
68bab16e37
make event_serialize dynamic
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3314 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-11 19:32:45 +00:00
Anthony Minessale
44fc26f7d4
Finalization of speech detect interface and API
...
This changes the core to have the necessary tools to create
a speech detection interface.
It also changes the code in javascript (mod_spidermonkey)
there are a few api changes in how it handles callbacks
It also adds grammars as a system dir to store asr grammars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:39:04 +00:00
Anthony Minessale
9ab2b1db57
Media Management (Sponsored By Front Logic)
...
This modification makes it possible to change the media path of session in the switch on-the-fly and from the dialplan.
It adds some API interface calls usable from a remote client such as mod_event_socket or the test console.
1) media [off] <uuid>
Turns on/off the media on the call described by <uuid>
The media will be redirected as desiered either into the switch or point to point.
2) hold [off] <uuid>
Turns on/off endpoint specific hold state on the session described by <uuid>
3) broadcast <uuid> "<path>[ <timer_name>]" or "speak:<tts_engine>|<tts_voice>|<text>[|<timer_name>]" [both]
A message will be sent to the call described by uuid instructing it to play the file or speak the text indicated.
If the 'both' option is specified both ends of the call will hear the message otherwise just the uuid specified
will hear the message.
During playback when only one side is hearing the message the other end will hear silence.
If media is not flowing across the switch when the message is broadcasted, the media will be directed to the
switch for the duration of the call and then returned to it's previous state.
Also the no_media=true option in the dialplan before a bridge makes it possible to place a call while proxying the session
description from one endpoint to the other and establishing an immidiate point-to-point media connection with no media
on the switch.
<action application="set" data="no_media=true"/>
<action application="bridge" data="sofia/mydomain.com/myid@myhost.com"/>
*NOTE* when connecting two outbound legs by using the "originate" api command with an extension that has no_media=true enabled,
the media for the first leg will be engaged with the switch until the second leg has answered and the other session description
is available to establish a point to point connection at which time point-to-point mode will be enabled.
*NOTE* it is reccommended you rebuild FreeSWITCH with "make sure" as there have been some changes to the core.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3245 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 21:38:06 +00:00
Anthony Minessale
1f29ce2749
add some more nifty stuff and fix a bug or 2
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3134 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 04:58:15 +00:00
Michael Jerris
c1f346b99e
change to switch_mprintf
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3107 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 16:42:41 +00:00
Anthony Minessale
12243c194e
tidy up, note yesterday's propagate_vars was changed to export_vars
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3106 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 16:33:54 +00:00
Anthony Minessale
99e22d69bd
refactor earlier junk from this eve and add ken's propagate variable thing
...
set this sometime before an origination (bridge etc).
<action application="set" data="propagate_vars=my_cool_var1,my_cool_var2,foo,bar"/>
and they should be cloned over to the new channel when it's substantiated
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3101 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 07:13:34 +00:00
Anthony Minessale
70bfba5b63
Christmas Presence
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-18 22:57:35 +00:00
Brian West
614010db63
Rename ani2 to aniii and ANI2 to ANI-II where appropriate. Because its not ANI2 its ANI II (eye eye)
...
What is ANI II ?
Refer to:
http://en.wikipedia.org/wiki/Automatic_number_identification
Thanks,
/b
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-17 23:33:32 +00:00
Anthony Minessale
438cf0327e
rpid for sofia
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3058 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-16 04:39:00 +00:00
Anthony Minessale
ba46200539
refactoring and general improvement (do a make sure)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3035 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 00:59:09 +00:00
Anthony Minessale
672842361b
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 22:46:51 +00:00
Anthony Minessale
6a96670267
refine code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3006 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 02:24:43 +00:00
Michael Jerris
3667da49b6
add description and syntax to interface database, add description and syntax headers to events for interface add for api and application interface, add appropriate output to show and help commands.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3003 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 08:35:27 +00:00
Anthony Minessale
741b8329b9
Modifying the behaviour of the dialplan engine
...
the 'data' field in action tags may now refer to variables and api functions
to be expanded at runtime.
Syntax:
$varname
${varname}
&func_name(func args)
Exception:
variables that are numeric are still expanded at dialplan compile time based on the regex eg $1 $2 etc
Example:
<extension name="1000">
<condition field="destination_number" expression="^(1000)$">
<action appplication="my_route_app" data="$1"/>
<action appplication="bridge" data="$destination"/>
</condition>
</extension>
Here the $1 is ecaluated before the call begins setting it to 1000 based on the regex ^(1000)$
$destination is evaluated on the fly in execution once the my_route_app has run and has had a
chance to set the variable 'destination' to the correct value.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2994 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 19:54:04 +00:00
Anthony Minessale
0d23976f2a
Insane amounts of yucky satanic code to make transfer and that kind of thing work.
...
Transfers work better when both legs of the call live in thier own channel eg bridged calls
A -> B where you want a to make B -> C
when you route a call to an IVR or playback app you are not really bridging you have
A all alone executing the script so it's hard to transfer that.
I do have it aparently working but it's goofy and you are better off
putting your IVR on it's own switch so they are all inbound calls
then you have A -> B -> IVR
now A can happily transfer B who can stay on line with IVR without stopping
the execution. You can also accomplish this by calling in a loop back to the same box
if you dont want to have 2 boxes.
Also the beginning effort at bridging calls with no media is here
set this magic variable in your dialplan to convince mod_sofia
to pass A's sdp as it's own to B and return B's sdp back to A on 200 or 183
<action application="set" data="no_media=true"/>
<action application="bridge" data="sofia/id@host.com"/>
You will need a new sofia tarball for this version
There is a bunch of other odds and ends added like a function or 2 etc
Oh,
And don't be suprised if it introduces all kinds of bugs!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-06 22:39:49 +00:00
Michael Jerris
af06084f43
fix prototype of signal handler functions (sun studio doesn't like these wrong)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2949 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 16:48:00 +00:00
Michael Jerris
6797158b61
solaris warning tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2948 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 16:23:39 +00:00
Anthony Minessale
fa5767ebf7
fixes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-22 15:22:31 +00:00
Anthony Minessale
893c7210a2
more optimizationification
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2775 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-22 02:10:27 +00:00
Michael Jerris
73b5fcf641
win32 tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2767 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-20 20:47:28 +00:00
Anthony Minessale
90815616cc
small core refactoring use -hp arg to gain high priority mode, add fsctl command USAGE: fsctl [hupall|pause|resume|shutdown]
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-20 20:25:26 +00:00
Michael Jerris
cd74bf6501
tweak types
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2754 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-19 19:09:10 +00:00
Anthony Minessale
7045c12e3b
fix a bunch of stuff you want this version
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2752 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-19 15:33:02 +00:00
Anthony Minessale
19446804c7
pull down stack size another 128k, make the sql use mem cache and add session count to the status command
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2747 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 22:22:25 +00:00
Michael Jerris
2343fdd8cf
Attribution.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2734 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 05:08:55 +00:00
Anthony Minessale
32198c36e4
trying paul's patch
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2721 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 18:03:32 +00:00
Anthony Minessale
555bd0af08
ok maybe this will fix the conditional mutext race we will readlock the session during any callbacks and cancel the operation if read_lock fails
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2709 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-16 00:43:58 +00:00
Anthony Minessale
aa2a793e28
optimizations and disable the conditional thing till we see why it dies at 100cps X 800 calls
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2708 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-15 21:43:18 +00:00
Anthony Minessale
0fcf13bc34
misc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2704 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 22:11:30 +00:00
Anthony Minessale
8a0e9ccf1f
performance tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 00:15:03 +00:00
Anthony Minessale
387fdc5311
add justinu's patch
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2670 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 22:24:39 +00:00
Anthony Minessale
56827bc9ec
enhance timers and make rtp use it that way
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2669 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 22:23:45 +00:00
Anthony Minessale
b3c437630f
use steve's g711 (thanks steve), chage the conditional mutex based on paul T's input (thanks paul) and take the yield away on switch_yield and just sleep
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2663 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 17:17:02 +00:00
Anthony Minessale
1ce451ad65
less priority
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2645 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 23:58:52 +00:00
Michael Jerris
9361860401
expand types for type safety
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2605 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-10 05:37:07 +00:00
Anthony Minessale
26d79e6c64
small change
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2599 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-09 12:42:38 +00:00
Anthony Minessale
ae9d56e288
Adding bugs to the core
...
This is the primary commit to add bugs to the core (media bugs that is)
Media bugs are kind of like what ChanSpy is in Asterisk only cooler (I wrote ChanSpy too so I can say that)
Here is an example of using them to record a call by the higher level switch_ivr functionality passed
up to the dialplan via mod_playback.
The call will be recorded while the some.wav plays then stop for the rest of the call (when some_other.wav plays)
The bugs may have bugs since this is 1 day's work so happy hunting ......
<extension name="42">
<condition field="destination_number" expression="^42$">
<action application="set" data="RECORD_TITLE=recording test"/>
<action application="set" data="RECORD_ARTIST=FreeSWITCH"/>
<action application="record_session" data="/tmp/rtest.wav"/>
<action application="playback" data="/tmp/some.wav"/>
<action application="stop_record_session" data="/tmp/rtest.wav"/>
<action application="playback" data="/tmp/some_other.wav"/>
</condition>
</extension>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2588 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-09 03:39:28 +00:00
Anthony Minessale
eed1180192
add dynamic buffers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2585 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 19:17:23 +00:00
Anthony Minessale
4531a4e3e1
add dynamic buffers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2584 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 19:00:40 +00:00
Anthony Minessale
f689b62fb6
add dynamic buffers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2583 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 18:57:24 +00:00
Anthony Minessale
5816256ce3
let g729 be setup for pass through compile like this... MOD_CFLAGS="-DG729_PASSTHROUGH" make installall
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2575 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 15:43:45 +00:00
Anthony Minessale
52956d5cb1
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2554 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 15:08:40 +00:00
Michael Jerris
69933df109
update build on windows from latest core changes.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2542 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 05:35:08 +00:00
Anthony Minessale
80722357a6
Mega Changes
...
adding mod_park for putting channels in limbo state for remote control.
adding stuff to mod_event_socket to let you do the bgapi <command> <args>
this will let you execute a job in the bg and the result will be sent as an event with an
indicated uuid to match the reply to the command
adding switch_core_port_allocator (to be used soon)
adding "make sure" to do a full rebild of the freeswitch object files
There will be more to this committed as the week progresses
make sure you do a rebuild after this update or you'll be sowwie
./configure && make sure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2540 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 03:58:01 +00:00
Michael Jerris
657ca535ed
fix crash when passing null string to switch_core_session_locate (via killchan with no param)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2479 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-02 07:31:18 +00:00
Anthony Minessale
d94e810630
add some events
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2425 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-29 15:17:06 +00:00
Anthony Minessale
353f936095
tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-28 23:05:26 +00:00
Michael Jerris
b4d3a5089d
fix db path to use globals dir. Fixes windows service failure on opening/creating db's.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2389 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-25 05:50:49 +00:00
Anthony Minessale
aa196711a1
codec sql
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2387 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-25 01:33:28 +00:00
Anthony Minessale
b76793d84a
fix 183 on exosip
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2364 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-22 21:08:34 +00:00
Anthony Minessale
4f17ab7714
bunch of tweaks to make ivr more fun
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2350 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-21 19:14:51 +00:00
Michael Jerris
93d8d55755
get rid of extra \ in windows paths
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-20 19:20:53 +00:00
Michael Jerris
6d414c5644
fix windows line endings and fix potential memory leak from SWITCH_GLOBAL_dirs on win32.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2340 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-20 03:36:14 +00:00
Michael Jerris
c08217c886
add first revision of windows services. fix breakage of -stop.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2339 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-20 03:04:55 +00:00
Michael Jerris
c15da98579
Add switch_core_init_and_modload to core, from switch.c. Add additional shutdown functionality to switch_core_destroy. move around more code in switch.c and fix freeswitch -stop on windows.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2336 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-19 18:51:22 +00:00
Anthony Minessale
155420a73b
tweaks part 2
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2329 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 20:03:34 +00:00
Anthony Minessale
47192db741
Upgrade Dingaling to meet new googletalk spec upgrade your client if you have issues.
...
codecs need more work...
Expose events into javascript so you can create and fire events and
and pick up chat events with chat-enabled clients like googletalk
EXAMPLE:
session.answer();
e = new Event("custom", "JS::Custom");
e.addHeader("subject", "cool");
e.addBody("hello this is a test");
e.fire;
while(session.ready()) {
session.execute("sleep", "1000");
event = session.getEvent();
if (event) {
str = event.serialize(); // or ("xml")
console_log("debug", "Dump Event:\n" + str + "\n");
e = new Event("custom", "JS::Chat");
e.addHeader("works", "yes");
e.addBody("you said: " + event.getBody());
session.sendEvent(e);
event.destroy();
}
}
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2323 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-18 01:28:50 +00:00
Anthony Minessale
5782555e70
redecorating
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2301 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-15 21:38:24 +00:00
Anthony Minessale
748f0194f9
tweak shutdown process
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-15 19:02:06 +00:00
Anthony Minessale
a675393bb7
performance tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2298 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-15 17:52:12 +00:00
Anthony Minessale
4395e55493
typo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2185 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-27 15:45:19 +00:00
Anthony Minessale
da4ae7be4c
add metadata functions to sound file api
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-25 22:37:52 +00:00
Anthony Minessale
ca98141ed7
enhance the show command
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2011 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-20 03:55:07 +00:00
Anthony Minessale
72d0128f95
name change for c++ compate
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1988 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-19 18:34:28 +00:00
Anthony Minessale
8c51cc2934
small fix to sql shipping stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1963 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-19 01:19:46 +00:00
Anthony Minessale
7712c6637c
messaging stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1902 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-17 14:12:07 +00:00
Anthony Minessale
6d43892f22
add effective callerid variables
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1867 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-13 17:58:28 +00:00
Anthony Minessale
45dd9a44cd
fix sql stmts
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1857 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-13 01:06:06 +00:00
Anthony Minessale
d77e574d4e
rearrange the furnature
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-12 18:39:19 +00:00
Michael Jerris
03ac8289e8
fix windows build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1833 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-11 20:59:07 +00:00
Anthony Minessale
b5a19020f7
add session counter and make all sessions hang up elegantly on shutdown
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1788 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-07 18:59:14 +00:00
Anthony Minessale
8e60a68f14
add more l16 implementations and fix a typo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-03 19:46:32 +00:00
Anthony Minessale
22e3e0f6df
core tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1695 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-28 19:12:56 +00:00
Michael Jerris
f9cdd8aacc
Fix xml error message on bad config file.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1591 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-10 03:45:08 +00:00
Anthony Minessale
fe32a839df
use channel flag to tell when to read from channel during some stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1590 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-09 22:59:13 +00:00
Anthony Minessale
5c57580955
ivr stuff (part 1)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1573 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-08 19:22:54 +00:00
Anthony Minessale
7b4cc868e4
ivr stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1569 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-08 01:58:37 +00:00
Anthony Minessale
5337872ce8
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1545 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-05 18:36:02 +00:00
Michael Jerris
e9563fbf5d
make snprintf commands use the path seperator macro.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1544 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-05 18:12:33 +00:00
Anthony Minessale
cfae7d1581
fix sample goodies
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1525 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-30 17:19:01 +00:00
Anthony Minessale
ac8a3e43ea
buffer was too small on cepstral damn it
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1516 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-27 18:39:20 +00:00
Anthony Minessale
9d68a23929
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-15 18:16:43 +00:00
Anthony Minessale
d314140374
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1445 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-12 15:33:49 +00:00
Anthony Minessale
174ad6edc8
sip reg
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1433 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-11 21:11:20 +00:00
Michael Jerris
7c0fce5a01
correctly fix potential int type rollover in switch_core_measure_time.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1411 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 04:42:31 +00:00
Michael Jerris
f5f1f5f26f
fix potential int type rollover in switch_core_measure_time.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1407 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 04:05:07 +00:00
Anthony Minessale
751e2db03d
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1406 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 03:54:53 +00:00
Anthony Minessale
93666f6dd7
XMLification (wave 1)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 03:23:05 +00:00
Anthony Minessale
28173df273
make crash protection a configure option --enable-crash-protection and make mini-rtp have 4 byte headers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1368 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-05 13:35:33 +00:00
Brian West
0a17cada81
linux and gnuc required for this feature.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1325 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-03 15:44:58 +00:00
Michael Jerris
b6545379d6
add interfaces to sqlite db table for quick show api commands (coming soon)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1313 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-01 19:44:21 +00:00
Anthony Minessale
7bacd1a0ad
forgot a t
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-30 17:54:05 +00:00
Michael Jerris
14fee78470
part 3 of 3 standardizing typedefed types to end in _t.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-29 23:43:28 +00:00
Michael Jerris
73a3adac8f
part 2 of many standardizing typedefed types to end in _t
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1294 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-29 06:05:03 +00:00
Michael Jerris
d0347b2a95
part 1 of many standardizing typedefed types to end in _t
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1292 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-29 01:00:52 +00:00
Anthony Minessale
35dc32018c
add transfer capability and small ways to test it
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-28 19:46:57 +00:00
Anthony Minessale
e1dc35f734
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1283 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-27 21:56:09 +00:00
Anthony Minessale
5ab733c606
crash prevention
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1281 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-27 21:09:58 +00:00
Anthony Minessale
24627a7a4b
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1279 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-27 15:59:58 +00:00
Anthony Minessale
31e31566a5
set some key functions to report the file func line of the caller not of the actual function
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1278 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-27 15:02:35 +00:00
Anthony Minessale
152e42aa6c
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1272 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-26 23:09:48 +00:00
Anthony Minessale
7d2756f14a
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1266 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-26 20:15:16 +00:00
Anthony Minessale
380bc2b68c
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1265 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-26 19:29:56 +00:00
Anthony Minessale
76b63d3a38
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1264 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-26 19:11:49 +00:00
Michael Jerris
364e2c53b2
variable type fixes and msvc tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1262 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-26 18:37:03 +00:00
Anthony Minessale
f69aafcfe5
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1261 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-26 17:46:11 +00:00
Anthony Minessale
d59cae60c7
add nitrous oxide tank to core event sql backend
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-26 17:18:33 +00:00
Anthony Minessale
92bba4dbe6
adjust
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1255 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-25 23:11:56 +00:00
Anthony Minessale
ba6b7651b2
improve bridge code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-25 18:02:12 +00:00
Anthony Minessale
0cb0ad7c32
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1225 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-22 01:49:27 +00:00
Anthony Minessale
a9f86cb58a
add VAD
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1222 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-21 22:31:08 +00:00
Anthony Minessale
3c11be7fc2
add yucky hacks to make googletalk work with ilbc (shame on them)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1205 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-19 20:46:07 +00:00
Anthony Minessale
ed53c98d67
add yucky hacks to make googletalk work with ilbc (shame on them)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1204 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-19 20:38:02 +00:00
Anthony Minessale
56cb227eb7
add ilbc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1199 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-19 19:04:30 +00:00
Michael Jerris
026e8d39ca
Set log levels on many existing log messages. A huge thanks to James Martelletti for going through all the log calls to do this.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-16 06:05:53 +00:00
Anthony Minessale
d5457f8eca
backend for session to session event trading
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1157 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-14 16:43:49 +00:00
Michael Jerris
9ac4da17f6
add stdio.h include for msvc, remove truncating cast warning, change to dynamic runtime on msvc. You can not pass FILE * between mods with differrent runtimes on msvc.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1125 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-12 15:25:26 +00:00
Brian West
559b8ab26c
Gut Logger and put it back modular style
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1117 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-11 21:13:44 +00:00
Brian West
628e59a3ae
add some events and more data to core DB
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-11 14:55:14 +00:00
Michael Jerris
9db533862d
standardize to some more specific int types for frame size and rate variables.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1095 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-09 00:10:13 +00:00
Anthony Minessale
0af60e1b2f
move CNG into the core and rearrange a few things
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1066 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-06 19:50:53 +00:00
Anthony Minessale
35b309e91b
add stun to dingaling
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1049 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-05 20:17:22 +00:00
Anthony Minessale
fc9be366fd
internal tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1044 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-04 21:26:21 +00:00
Anthony Minessale
64507e70ca
icc changes part 1
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@982 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-30 23:02:50 +00:00
Anthony Minessale
9ed06edb96
optimize
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@963 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-29 21:27:35 +00:00
Anthony Minessale
896c8a1d93
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-29 19:15:44 +00:00
Anthony Minessale
fac7b4a64e
optimize
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@960 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-29 19:11:20 +00:00
Anthony Minessale
76109c5124
logical err
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@957 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-28 21:22:05 +00:00
Anthony Minessale
6fa667c27e
that's the 2nd time we were burned by the * char
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@939 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-27 17:42:59 +00:00
Anthony Minessale
7236ed5267
dont mind me lots of these today
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@938 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-27 16:13:26 +00:00
Anthony Minessale
0e76b6355c
64 bit goodies
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@897 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-22 17:05:16 +00:00
Anthony Minessale
cefb356398
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@871 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-18 04:04:59 +00:00
Anthony Minessale
d86231404d
tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@867 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-17 19:27:26 +00:00
Brian West
235466d196
fix core
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-06 23:10:22 +00:00
Anthony Minessale
d29cd78976
slowly unbreak things broken since the 'break everything' commit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@742 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-03 17:49:22 +00:00
Anthony Minessale
32a7b3c2ca
add mod_perl
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-03 16:57:21 +00:00
Anthony Minessale
c2398be31b
make mac like cepstral
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@734 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-02 21:05:07 +00:00
Anthony Minessale
acc02b4c94
get rid of pesky *
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@731 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-02 20:35:15 +00:00
Anthony Minessale
e9ba607a6c
add optional pool arguement to outgoing channel to allow pre-created pools to be donated to the new session
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@726 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-02 14:49:23 +00:00
Anthony Minessale
aabfeee994
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@724 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-02 00:32:45 +00:00
Anthony Minessale
4799ec8b8a
break everything
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@720 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-01 22:55:28 +00:00
Anthony Minessale
7665bf3e8e
fix lots of BS
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-01 17:06:10 +00:00
Michael Jerris
92a326c1da
add curl and teletone to mod_spidermonkey. fix /tmp/ dir for windows, added global temp dir var. Multiple type fixes.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@713 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-01 06:25:56 +00:00
Michael Jerris
12094ad7a0
make global directory struct work on windows.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@703 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-28 23:00:34 +00:00
Anthony Minessale
62e510c9b1
general haphazzard rearrangement
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@702 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-28 21:21:48 +00:00
Michael Jerris
4363c224f5
fix msvc warnings. fix high priority on windows.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@695 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-28 05:55:22 +00:00
Anthony Minessale
bdd2223542
more ivr stuff (not done)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-28 02:08:42 +00:00
Michael Jerris
56727a4712
more tts interface fixes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@688 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-27 04:48:51 +00:00
Michael Jerris
5fdc0232c4
add mod_cepstral, more tweaks to the tts interface
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@687 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-27 04:33:58 +00:00
Michael Jerris
e42dd48d7f
add mod_spidermonkey to msvc build, tweak mod_spidermonkey warnings, fix tts interface.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@686 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-27 04:01:38 +00:00
Anthony Minessale
9369bfba5a
add mod_cepstral to test tts backend
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@681 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-26 20:23:23 +00:00
Anthony Minessale
14072e8725
remove freeswitch's privates (couldn't resist)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@677 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-26 04:52:34 +00:00
Anthony Minessale
fb9b21144b
mess around on win32 a little
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@675 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-26 03:13:01 +00:00
Anthony Minessale
50b78f79ee
tweaks for daemon mode and wanpipe
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@665 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-24 19:11:49 +00:00
Anthony Minessale
9bfd7ae25a
*) Add support for unified config:
...
When config file does not exist the system will
browse freeswitch.conf (if it exists) for an embedded file.
Embeded files denoted with +file.conf
Terminated by either another [+XXX] or EOF
eg
[+iax.conf]
...
[+exosip.conf]
...
EOF
*) Change default examples to use this method
*) Fix small bug in core to pass along failure when outgoing channel fails.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@663 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-24 16:47:22 +00:00
Michael Jerris
f36292af04
get rid of unnecessary pragmas.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@655 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 22:36:52 +00:00
Anthony Minessale
009e9607e7
fix evil pragmas in unix and get rid of horrible ^M in the files (dont do that)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@644 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-21 18:34:32 +00:00
Michael Jerris
fea14e6d90
block unimportant warnings in core.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@642 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-21 17:55:38 +00:00
Anthony Minessale
2bea53541b
cleanup some warnings
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-21 15:05:18 +00:00
Michael Jerris
241903ba4e
fix more msvc warnings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@636 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-20 06:13:56 +00:00
Michael Jerris
fc341792be
turn on higher warning level in msvc for the core and libteletone and resolve warnings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@634 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-20 00:23:25 +00:00
Anthony Minessale
5bf08ed3c6
fix internal state machine session yuckyness
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@599 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-13 17:43:49 +00:00
Anthony Minessale
abde08febc
fix internal state machine session yuckyness
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@598 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-13 17:37:10 +00:00
Anthony Minessale
1bd8aaa8f1
Add mod_ldap as directory example
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@580 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-09 22:37:44 +00:00
Anthony Minessale
ef6d92ae7d
fix bug 2 (core was hacking the buffer size value)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@576 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-09 17:01:32 +00:00
Anthony Minessale
95fbe70503
Initial framework for directory interface modules (ldap etc)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@575 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-09 16:28:49 +00:00
Anthony Minessale
9e85723e3f
Fresh updates (Beware... all coded today)
...
*) Rename *event_handler* to state_handler to avoid confusion with newer eventing engine.
*) Allow application level of state_handler to be layered/stacked (up to 30)
*) Add new core global state_handler stack (also up to 30.. seems reasonable, constant in switch_types.h)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@554 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-07 20:47:15 +00:00
Anthony Minessale
17e06cf6bc
Add framework for speech modules (asr/tts)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@457 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-27 16:43:57 +00:00
Anthony Minessale
48ae14726b
make test 'record' app in app_playback.c
...
You are best off doing wav (trust me)
It can record at 8 16 22 and 32 khz if you can manage to have a channel at that speed.
syntax [record /tmp/blah.wav]
dial * to end (dtmf only works in iax and portaudio {beg file to add it to mod_exosip})
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@453 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-27 01:46:14 +00:00
Anthony Minessale
217b5e2735
fix switch_core_thread_session_end to not make the channel hangup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@439 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-25 22:22:41 +00:00
Michael Jerris
92628433da
fix oops (svn merge -r 418:417 http://svn.freeswitch.org/svn/freeswitch/trunk )
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-20 15:05:05 +00:00
Anthony Minessale
0ea203849f
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-20 02:02:03 +00:00
Anthony Minessale
42383b1f15
indent
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@416 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-20 00:40:29 +00:00
Anthony Minessale
2a329aa5e7
make all buffers the same size
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@384 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-14 16:44:52 +00:00
Anthony Minessale
980a1ec470
grr
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@338 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-13 02:05:39 +00:00
Anthony Minessale
e01bd8b6ad
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@332 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-12 21:22:20 +00:00
Anthony Minessale
17ec402b74
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@326 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-12 19:12:39 +00:00
Anthony Minessale
b7dcbe1b04
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@324 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-12 18:27:20 +00:00
Anthony Minessale
061c1ecb1b
inter session communication goodies
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@309 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-09 19:48:20 +00:00
Anthony Minessale
208ec3ff7a
stream id stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@307 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-09 18:40:56 +00:00
Anthony Minessale
26e057a32d
ok we have 22k chatting with 8k
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@294 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-06 01:34:10 +00:00
Anthony Minessale
4e64802ef6
lame
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@285 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 22:34:26 +00:00
Anthony Minessale
dcc5720728
castaway
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@281 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 21:05:46 +00:00
Anthony Minessale
a4d3a30ac2
what's up doc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-05 21:03:22 +00:00
Anthony Minessale
8a292bf0b2
stupid crap
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@279 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-04 01:04:33 +00:00
Michael Jerris
bedcabb8ec
cleanup and formating
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@261 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 01:17:59 +00:00
Anthony Minessale
111a0f6deb
resample into core
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@254 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 17:28:59 +00:00
Anthony Minessale
d1764080c7
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@246 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-30 17:26:38 +00:00
Anthony Minessale
e98104d109
Add rate to frames and a bunch of evil resample code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@240 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-30 00:00:21 +00:00
Anthony Minessale
e7c060b8b9
add channels arg to codec
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@227 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 20:06:03 +00:00
Anthony Minessale
be19275578
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@224 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 17:11:47 +00:00
Michael Jerris
49f595176d
Fix msvc build configurations so debug builds all debug modules and release builds all release modules. Fix a few warnings in switch_core.c.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@221 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 07:01:21 +00:00
Anthony Minessale
24b9c3391e
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@217 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-28 05:17:21 +00:00
Anthony Minessale
378ce8e115
let codecs and timers use existing pool and add new file i/o backend
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@212 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-27 18:46:12 +00:00
Anthony Minessale
a0d199af73
let codecs and timers be init with an existing pool
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@209 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-26 21:01:22 +00:00
Anthony Minessale
b4845b9ff1
ok gsm works
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@206 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-26 19:09:59 +00:00
Anthony Minessale
c08d15846c
fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-22 22:18:53 +00:00
Anthony Minessale
0fd698a347
fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-22 22:17:25 +00:00
Anthony Minessale
3e0234219b
use more of apr-utils in the event stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@191 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-22 18:53:33 +00:00
Anthony Minessale
e60fbc2267
get uuid from apr-utils for channel events
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-22 01:57:32 +00:00
Anthony Minessale
6949227ca1
more events and some build changes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@188 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 22:25:22 +00:00
Anthony Minessale
9aab183178
fix pa
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@162 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-16 18:10:37 +00:00
Anthony Minessale
ced29c144d
make things work right in windows
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@155 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-15 00:45:38 +00:00
Anthony Minessale
230c5012a6
more event code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@153 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 22:46:09 +00:00
Anthony Minessale
03533ad0f3
make events queue in the bg
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@152 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 21:29:46 +00:00
Anthony Minessale
e16f28d529
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@151 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 20:22:19 +00:00
Anthony Minessale
9a199db004
mac
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@132 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 21:04:03 +00:00
Anthony Minessale
40824bc41a
add event system
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@128 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 19:53:29 +00:00
Anthony Minessale
6fd5a33dbf
codec improvement
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-12 17:50:07 +00:00
Anthony Minessale
b4e75a2743
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-10 01:14:49 +00:00
Anthony Minessale
46b0e12a66
merge
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@90 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-06 21:25:56 +00:00
Michael Jerris
b266ae8b11
Moved remotely
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@48 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-19 20:09:09 +00:00