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
98a797a2f2
add apr-utils
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 22:38:53 +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
03cc285054
unix build tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@187 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 17:33:03 +00:00
Anthony Minessale
c0db418cd1
unix build tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@185 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 17:22:38 +00:00
Anthony Minessale
146b99e1d6
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@184 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 16:24:37 +00:00
Michael Jerris
8c50104132
gsm isn't done yet... don't use it yet.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@177 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 18:27:58 +00:00
Anthony Minessale
79b941494b
exosip oddness
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 16:03:16 +00:00
Anthony Minessale
006e0f8d14
add network_addr to profile (had to add a func to get it for iax)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@175 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 16:01:18 +00:00
Anthony Minessale
e4aae70c44
make it work on w32
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-19 20:03:37 +00:00
Anthony Minessale
ab0b99eb00
more event stuff
...
you should now be able to bind an event handler to a
paticiular file or function not just a paticular event
when using the custom event
like "file:somefile.c"
or "func:somefunc"
also events now have headers which can be added
with varargs and should be created and delivered with api calls
switch_event *event;
regular event:
if (switch_event_create(&event, SWITCH_EVENT_STARTUP) == SWITCH_STATUS_SUCCESS) {
switch_event_add_header(event, "event_info", "System Ready");
switch_event_fire(&event);
}
custom event:
if (switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, "some_subclass_string") == SWITCH_STATUS_SUCCESS) {
switch_event_add_header(event, "event_info", "hello world %d", 42);
switch_event_fire(&event);
}
switch_event_add_header(event, "test %d", 42);
also you can serialize and event into a buffer in
a printable/transferrable format with optional body
char buf[1024];
with body:
switch_event_serialize(event, buf, sizeof(buf), "This is a body my favorite number is %d", 42);
no body:
switch_event_serialize(event, buf, sizeof(buf), NULL);
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-19 19:57:32 +00:00
Anthony Minessale
2a58e2038a
yet more rearrangment of events ;-)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@172 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-19 18:55:31 +00:00
Anthony Minessale
fb3cb5f0a6
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@163 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-16 18:50:29 +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
033ee66fb1
add untested event changes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@159 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-15 23:56:21 +00:00
Anthony Minessale
b09fedf7e0
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@158 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-15 20:20:57 +00:00
Anthony Minessale
48e62491e1
make eventing cooler, yeah I know it's only 1 day old but... *shrug*
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@156 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-15 19:10:43 +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
6630e372c0
more event code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@154 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 22:58:19 +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
645e48cb82
lame
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@150 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 18:11:49 +00:00
Anthony Minessale
c01ecc8f20
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@149 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 17:02:57 +00:00
Anthony Minessale
905d424939
blah
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@148 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 16:41:20 +00:00
Michael Jerris
6b2a156651
add event system to msvc project files, make build and fix a warning.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@147 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 01:52:04 +00:00
Anthony Minessale
7125eac731
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@146 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 01:40:51 +00:00
Michael Jerris
f459a826b5
A little bitty cleanup.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@141 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 22:30:12 +00:00
Anthony Minessale
1c318ac0ee
arrgh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@136 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 21:20:47 +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
2620e0aa30
events
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@131 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 20:52:33 +00:00
Anthony Minessale
5029016e17
event_test
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@130 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 20:50:32 +00:00
Anthony Minessale
7db337c1e3
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@129 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 20:08:05 +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
Michael Jerris
611e80432e
move libg729 to codec dir.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@127 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 18:44:46 +00:00
Anthony Minessale
9e5c159002
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@119 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 16:46:02 +00:00
Anthony Minessale
d44cc5172e
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@116 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-12 21:30:03 +00:00
Anthony Minessale
6e1f64207b
let mod_portaudio get inbound calls
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-12 21:01:17 +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
0ad907ea46
fix codec
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@113 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-10 22:37:21 +00:00
Anthony Minessale
05ee76b30a
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-10 19:34:35 +00:00
Michael Jerris
8192167589
fix a little warning.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@111 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-10 18:19:54 +00:00
Michael Jerris
dda6be49dd
small fixes for g729 lib compiling and speex loading.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@110 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-10 17:55:46 +00:00
Michael Jerris
fc008444f7
Added speex codec to solution including autodownload of speex from speex.org. Added scripted build of g729 build.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-10 04:42:08 +00:00
Anthony Minessale
f467114570
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@108 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-10 04:18:48 +00:00
Anthony Minessale
d79ff1c66e
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@107 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-10 03:10:23 +00:00
Michael Jerris
0ce22f5ac7
g729 codec add (this needs to leave somwhere else)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@106 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-10 02:12:03 +00:00
Anthony Minessale
77980897b9
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@105 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-10 01:59:43 +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
c5174dbcc8
OMG this rocks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@102 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-09 22:19:08 +00:00
Anthony Minessale
86c1904cce
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@101 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-09 19:33:21 +00:00
Anthony Minessale
bbb07474a7
adding some shit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-09 19:23:04 +00:00
Anthony Minessale
c104ba366b
portaudio stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@99 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-09 02:02:05 +00:00
Anthony Minessale
64e29f7b16
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@96 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-08 23:15:08 +00:00
Anthony Minessale
8fab3d501f
Add portaudio files
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@95 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-08 23:10:59 +00:00
Anthony Minessale
e85eefe7f2
let modules see the filename they were called as
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@94 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-08 18:31:49 +00:00
Anthony Minessale
e6cdee481c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@93 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-07 19:28:27 +00:00
Anthony Minessale
513552692c
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@92 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-07 16:32:47 +00:00
Anthony Minessale
655338b453
iax
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@91 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-07 03:49:31 +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
935c23ca8b
first part of iaxchan windows build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@89 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-06 21:25:10 +00:00
Anthony Minessale
b15265cbdb
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@88 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-06 18:19:43 +00:00
Anthony Minessale
0e9c848ac3
iax and empty core for opal
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@87 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-06 17:19:44 +00:00
Anthony Minessale
8311b9a01a
iax and empty core for opal
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@86 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-06 17:18:56 +00:00
Anthony Minessale
749dd8e841
commmit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@80 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-30 22:27:10 +00:00
Michael Jerris
86ffdd7e6c
fixed the last of the warning messages in MSVC in mod_exosip.c. There are now no warning messages at all in all of the freeswitch code. The dependency libs are still another story.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@63 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-20 18:17:35 +00:00
Michael Jerris
f8b4096961
Suppress MSVC 8 warnings about crt functions.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@62 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-20 16:49:14 +00:00
Michael Jerris
d589778755
More win32 build cleanups
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@57 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-20 00:45:09 +00:00
Michael Jerris
aea6b816df
freeswitch win32 reorg and cleanup part 1. Everything works but mod_exosip
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@56 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-19 22:18:34 +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