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
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
712acbc576
unix build tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 17:24:23 +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
c574627ee7
project and build files for gnutls for msvc. Still need to do the scripting for autobuild. In the meantime, each w32.zip file should be extracted to a w32 dir in the appropriate lib, and built.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@183 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-21 08:04:08 +00:00
Anthony Minessale
978b64e9f4
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 23:26:41 +00:00
Anthony Minessale
d512d3084a
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 23:20:56 +00:00
Anthony Minessale
6f0e998e92
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 23:17:30 +00:00
Michael Jerris
f13315cb41
iksemel build on win32.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@179 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 19:10:21 +00:00
Anthony Minessale
7b9975902f
iksemel
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@178 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 18:45:20 +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
Michael Jerris
07920c0a94
update gsm codec based on codecs from open h323.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@171 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-18 20:41:43 +00:00
Michael Jerris
342e73399e
oops.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@170 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-18 05:21:13 +00:00
Michael Jerris
36f0b95f2c
msvc ports for ilbc and lpc10 codec libs.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-18 05:14:20 +00:00
Michael Jerris
20ff10947b
gsm library port to msvc, fix some warnings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@168 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-18 04:06:23 +00:00
Anthony Minessale
644656c84c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-17 23:23:37 +00:00
Michael Jerris
2afd11a6d2
add test version of jrtp that includes jrtp4c and jthread. Autoconf\Automake needs to be re-run on this and it needs to be tested on unix platforms.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@166 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-17 23:03:16 +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
Michael Jerris
89cfca15ea
MSVC project files and generated header files to build pcre 6.4. This can be downloaded from ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-6.4.tar.gz or http://www.sofaswitch.org/mikej/pcre-6.4.tar.gz To build on msvc, create a subdir in the extracted tar file (called w32 or somthing of the sort), copy the 3 committed files to that dir, and build the appropriate configuration from the vcproj. This file includes both dll and static lib both debug and release.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@161 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-16 08:56:01 +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
Anthony Minessale
368ffeef91
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@145 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 00:11:55 +00:00
Anthony Minessale
fc355b6cca
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@144 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 00:07:42 +00:00
Anthony Minessale
82d953c66e
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@143 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 00:00:35 +00:00
Anthony Minessale
5ccb077948
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@142 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 23:54:52 +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
Michael Jerris
2cf51b62bd
more executable flags.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@140 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 21:39:17 +00:00
Michael Jerris
ee2ece13ed
add executable flags.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 21:36:23 +00:00
Anthony Minessale
e22b8b01af
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@138 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 21:30:10 +00:00