Commit Graph

136 Commits

Author SHA1 Message Date
Mathieu Rene 62341a9526 POSIX says never to compare pthread_t directly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16501 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-24 19:23:58 +00:00
Anthony Minessale 0c63f02f75 mutex uuid creation
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16067 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-28 22:04:50 +00:00
Anthony Minessale 6812bfc771 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16062 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-28 16:40:18 +00:00
Anthony Minessale 0e2fe14aa6 DP-11
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16061 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-28 16:37:54 +00:00
Jeff Lenk 45267d1133 dumb
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16032 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-22 22:25:20 +00:00
Jeff Lenk 71cb806239 Windows UUID
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16030 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-22 21:47:58 +00:00
Anthony Minessale 9cf0d7f846 add append and truncate to audio file api
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15503 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 21:40:09 +00:00
Anthony Minessale 677144f30c db cache part 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15497 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 19:16:24 +00:00
Michael Jerris 5a08b02e20 add non opaque return for switch_thread_cond_timedwait
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15322 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-02 22:36:01 +00:00
Michael Jerris 8c05b2f711 core: add switch_sockaddr_equal (LBAPR-3)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14397 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-28 16:03:45 +00:00
Michael Jerris a7d94c99b4 build: fix compile on Mac OS X Snow Leopard 10.6 (FSBUILD-178)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14333 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-23 20:22:31 +00:00
Andrew Thompson 8b6143fb38 int32_t -> uint8_t
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13800 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-17 03:44:47 +00:00
Andrew Thompson d195845e5c Wrap apr_mcast_hops as switch_mcast_hops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-17 03:36:45 +00:00
Anthony Minessale 49d49737f5 add more ridiculous timeout to socket send
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13496 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-28 23:31:27 +00:00
Michael Jerris aeb6f6e212 fix type issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13457 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-27 04:22:35 +00:00
Michael Jerris ffa7c709e1 core: fix handle leak in switch_thread_self on windows (FSCORE-371)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13421 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-21 22:17:39 +00:00
Michael Jerris 34f4535cb2 fix windows pch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13392 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 20:12:32 +00:00
Michael Jerris e2760c6fbe ensure vasprintf is available on linux (FSBUILD-160)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13361 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 18:10:59 +00:00
Michael Jerris d9e27370fe ensure vasprintf is available on linux (FSBUILD-160)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13358 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 17:44:47 +00:00
Anthony Minessale fd115395f9 FSCORE-365
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-12 16:46:16 +00:00
Anthony Minessale c82440e246 change blocking rtp to psuedo-blocking to avoid endlessly blocking reads and refactor jitter buffer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-30 21:12:06 +00:00
Mathieu Rene 574b7b1e3e Fix a bunch of const (-Wcast-qual checking start)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12640 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-17 13:25:02 +00:00
Anthony Minessale f125872c73 FSCORE-297
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-20 01:10:59 +00:00
Brian West babb2f83f5 update copyright
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Brian West ae220d3341 update email
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Anthony Minessale abb2691bde ditto
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11082 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-06 23:26:49 +00:00
Raymond Chandler 2addd616b4 FSCORE-255
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10783 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-15 20:12:26 +00:00
Anthony Minessale f6ae3b3c44 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10540 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-26 15:22:26 +00:00
Anthony Minessale 8609549b3a close FSCORE-227
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10458 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-19 17:06:58 +00:00
Anthony Minessale 2ed601f934 more stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 23:31:21 +00:00
Anthony Minessale c217d45cf0 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-05 00:20:30 +00:00
Anthony Minessale 7074c7abdd add hashing to event header lookup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10227 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-03 20:08:44 +00:00
Anthony Minessale 64f4e98eb5 all vm to auth from the same a1-hash param used by sip (part deux)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10087 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-20 23:27:29 +00:00
Michael Jerris b17e3bff8a add switch_md5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10085 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-20 22:45:09 +00:00
Anthony Minessale c7ca7cc5ea expose more of apr socket code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10043 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-16 15:24:02 +00:00
Michael Jerris 1f47ff15b3 validate strftime format string input (when necessary)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9985 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-12 21:51:51 +00:00
Anthony Minessale c8b8672a3e still try to graceful shutdown in dire cirumstances
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9490 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-09 15:25:31 +00:00
Anthony Minessale a9886895f1 add patch from FSCORE-160
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9118 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-21 13:12:22 +00:00
Anthony Minessale 1df3896b34 nut n' honey
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-17 19:46:25 +00:00
Michael Jerris 64997c4d8e vim extendtab is bad
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 19:12:26 +00:00
Michael Jerris 1d46f922e2 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 18:50:15 +00:00
Michael Jerris 6f70ef86f8 attempt to fix MODEVENT-25 (WSAWOULDBLOCK error on socket send in windows)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8818 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-23 15:56:24 +00:00
Anthony Minessale 3c349c274e indent pass 1
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8686 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:30:03 +00:00
Anthony Minessale bba65f4a1e add acl stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7966 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-26 22:14:09 +00:00
Anthony Minessale fcdb3925ac trade a straw for a fire hose
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7789 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-04 23:53:23 +00:00
Michael Jerris e1786743e6 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7704 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-19 21:24:13 +00:00
Michael Jerris ec7d356e83 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7701 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-19 21:17:00 +00:00
Brian West b0ad7ab50c set tab mode properly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:14:57 +00:00
Brian West 28e07fb347 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7415 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 20:57:45 +00:00
Michael Jerris afce1e1952 whitespace cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7398 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 01:11:26 +00:00
Brian West 84161010ab cleanup and consistency.. blah rain @ PHX fun
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 20:01:02 +00:00
Brian West c815c0599e code formating cleanup, More when I land at PHX
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7392 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 17:36:53 +00:00
Anthony Minessale 6a5c7a933d avoiding racelock
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7297 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-19 02:27:26 +00:00
Anthony Minessale 1e9155c37a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7076 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-03 21:41:15 +00:00
Michael Jerris 15d12ce20a cleanups and more checking.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6843 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-17 21:08:24 +00:00
Michael Jerris 06a0c90e50 add check.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6842 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-17 20:51:32 +00:00
Anthony Minessale 2ff5e3ec40 gimmie a break
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6705 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 21:12:10 +00:00
Michael Jerris 1b63fa5503 use file locks to keep multiple concurrent copies of freeswitch from running at the same time (FSCORE-14)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6575 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-08 03:41:00 +00:00
Anthony Minessale 836f55ba33 misc changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6550 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-06 22:26:37 +00:00
Michael Jerris 91862ed0d3 add switch_file_rename
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6502 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-04 21:05:10 +00:00
Anthony Minessale 60c783c636 rss feeds of your voicemail
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-28 19:56:25 +00:00
Anthony Minessale eb9f9fb263 some time changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6238 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-13 18:47:08 +00:00
Anthony Minessale 0ed7b160b1 handle APR_EINTR response in queue push\trypop
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6021 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-22 23:29:29 +00:00
Anthony Minessale 2b9a0327d0 wait there's more
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5884 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-16 01:08:51 +00:00
Anthony Minessale 5baa5facf0 fix apr send func not sending all the bytes we asked it to.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5883 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-15 23:49:05 +00:00
Anthony Minessale 230a77714d EXECUTE ORDER 66
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 03:28:59 +00:00
Anthony Minessale ffb989e435 tear the hell out of everything and rip it up into itsy bitsy pieces and put it all back together
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-29 01:06:08 +00:00
Anthony Minessale 5081d1fe0f globs on #includes
no leading seperator indicates realitive
to the default conf dir.

examples:
<!--#include "profiles/*"-->
<!--#include "profiles/a*.xml"-->
<!--#include "/tmp/somedir/*"-->




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-23 15:19:04 +00:00
Michael Jerris 5cebcc1f66 unreachable code causes leak.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-25 00:27:15 +00:00
Anthony Minessale f4c1039a16 add prototype for local_stream test it and let me know what you think
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5461 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 23:09:28 +00:00
Michael Jerris f0bf734e6e change the directory walking functions to pass it the buffer.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5458 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 20:37:41 +00:00
Michael Jerris 105f4cfe4c build tweak.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5255 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-04 17:12:02 +00:00
Anthony Minessale 15dfbbe9f7 add switch_file_printf to the api
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-01 15:17:30 +00:00
Michael Jerris 55cf8326db some quick apr_dir wrappers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-04 01:13:34 +00:00
Michael Jerris 7db63e84db wrap some other bits for use in the near future.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5033 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-28 19:00:57 +00:00
Michael Jerris ae1a6184e2 Fix 2 errors in mod_spidermonkey on windows.
1. We need a pool for apr_stat.  Expand api and create a pool when necessary.
2. Don't use -1 value in enum for no reason as they can be signed or unsigned (compiler defined) so there is an int overflow.  This fixes an incorrect assert in the spidermonkey exception handling caused by an unsigned int overflow.

resolve http://jira.freeswitch.org/browse/MODLANG-7. 


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5002 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-23 15:33:25 +00:00
Michael Jerris 83253d287c fix some warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4891 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-08 16:11:03 +00:00
Anthony Minessale c15d7892c0 indent again
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:15:25 +00:00
Anthony Minessale debdfb1aab indent
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:13:31 +00:00
Anthony Minessale 3a54126261 spring cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 22:31:56 +00:00
Michael Jerris a7909fb093 I think this is actually more correct from what I read.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4764 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-24 20:12:41 +00:00
Michael Jerris 496bae429a a bit cleaner.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4763 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-24 19:54:38 +00:00
Michael Jerris db9e1c549b a more proper replacement for vasprintf. Lets see if we can actually do it this way (seems to work on msvc which is the only platform I have seen that does not have vasprintf available).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4762 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-24 19:33:34 +00:00
Michael Jerris 550db707af a little realloc never hurt anyone.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4756 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-23 22:44:28 +00:00
Michael Jerris efd567034f windows line endings, sorry.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4496 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 21:12:41 +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