111 Commits

Author SHA1 Message Date
Michael Jerris
b8d838640e %d can't take the long long result.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4272 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 20:15:51 +00:00
Michael Jerris
11a8218db0 potential format string exploits (warning: format not a string literal and no format arguments)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4254 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:45:10 +00:00
Michael Jerris
f5de340dcc some msvc warnings that I re-enabled came back due to messy header files in some libs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4242 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 21:38:12 +00:00
Michael Jerris
64c3ecf288 use switch_log_printf instead of switch_console printf so it will hit other logger services.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 20:31:23 +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
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
5bb82ebbf8 fix event_socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4141 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 21:42:22 +00:00
Michael Jerris
40e96b94d6 make mysql cdr build conditional on mysql being installed. Fixes auto build of mod_cdr on machines without mysql
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4132 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 16:11:25 +00:00
Yossi Neiman
1a25d91044 Merged changes from my branch r4024.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4025 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 23:33:35 +00:00
Yossi Neiman
26bbed3d92 Commented out the CFLAGS in mod_cdr for using my apr_queue enhancements by default.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4023 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 22:08:13 +00:00
Yossi Neiman
c5d86f3e6f Merged changes in from my branch at r4020.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4022 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 22:03:56 +00:00
Anthony Minessale
151e400ebe let bgapi choose your own id
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4014 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-21 19:36:55 +00:00
Anthony Minessale
09384634cc add getvar
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3931 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-09 00:39:11 +00:00
Michael Jerris
716a9fbd94 switch all libs and mods to use the dynamic instead of the static runtime so everything in freeswitch runs in a single instance of the runtime.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3929 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-08 13:48:41 +00:00
Michael Jerris
63d89577d6 switch all libs and mods to use the dynamic instead of the static runtime so everything in freeswitch runs in a single instance of the runtime.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-07 04:35:16 +00:00
Michael Jerris
e614e06545 datatype to match usage.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3920 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-06 20:24:37 +00:00
Anthony Minessale
9d1e2e9167 don't call us we'll call you
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3917 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-06 17:06:18 +00:00
Michael Jerris
1198931d48 fix windows build paths from moving libs in tree.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 19:02:52 +00:00
Michael Jerris
47343dcb87 api commands should not return false unless there is a fatal error warnings about no such command etc still considered sucess cos it has io
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 18:39:36 +00:00
Michael Jerris
83f4a9dc2f add iksemel to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3756 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 15:45:14 +00:00
Michael Jerris
8b87814097 Updated mod_cdr to match changes in core to switch_channel_t, added in some new API commands, added new functionality (depends on a define and patching apr_queue.c/h) changes merged from mishehu branch.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3564 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-07 04:15:38 +00:00
Michael Jerris
2c4cd71f95 comment this out in the sample to avoid support issues when people use the default config.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3543 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-05 18:58:47 +00:00
Michael Jerris
50d87f2c78 more ani2 -> aniii changes. Note, if you have mysql tables setup, you may need to alter them
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3483 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 14:32:11 +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
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
2d3ab6b5d8 let you pick event type
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 22:32:50 +00:00
Anthony Minessale
7e61bcf9bb fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3133 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 03:19:48 +00:00
Anthony Minessale
ce984a90fe present from tony
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3111 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 19:09:51 +00:00
Anthony Minessale
858cc7fa19 present from pdt
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3110 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 18:52:46 +00:00
Michael Jerris
80f91a5824 add xmlcdr to windows build of mod_cdr.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 06:30:15 +00:00
Michael Jerris
25273b6d9d add XmlCDR (like pddcdr, but xml format). Thanks ken for another great contribution.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3093 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 03:51:46 +00:00
Michael Jerris
56c9608c4d finish ani-ii name change.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3078 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-18 18:29:29 +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
4c386b1959 dont write nulls in event_socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3045 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-13 14:32:38 +00:00
Michael Jerris
bddb61709a typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2941 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 04:25:41 +00:00
Michael Jerris
5ecbe8b168 make this build in a few more places for now. This still needs proper autoconf detection for mysql.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2940 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 04:19:04 +00:00
Michael Jerris
cba33ca50a make this build in a few more places for now. This still needs proper autoconf detection for mysql.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2939 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 04:11:22 +00:00
Michael Jerris
1dfd6885db add ws2_32.lib library for gethostname
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-28 17:34:44 +00:00
Michael Jerris
7805761afd types change for msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2853 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-28 01:39:42 +00:00
Anthony Minessale
663079d8a6 add multicast stuff to sofia reg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2851 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-27 20:18:14 +00:00
Anthony Minessale
e561fa1c25 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2849 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-27 17:15:17 +00:00
Anthony Minessale
18a7339d8a remove potential buffer overrun
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2833 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-25 20:04:40 +00:00
Anthony Minessale
464eada653 add sendevent command to event_socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2780 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-22 13:52:36 +00:00
Anthony Minessale
fadbb9d401 add nixevent command to allow 'events all' followed by 'nixevent <some_event>' to do all but 1 type scenerio (inspired by pdt)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2763 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-20 14:57:13 +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
Anthony Minessale
15696c8696 add an element
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2442 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-30 04:58:13 +00:00
Anthony Minessale
300737a18a bigger socket bufer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2437 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-29 23:06:12 +00:00
Anthony Minessale
884cfc4465 fix event_socket bugs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2430 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-29 20:27:43 +00:00
Anthony Minessale
2fe0375f77 add reply
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2379 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-23 23:24:23 +00:00