93 Commits

Author SHA1 Message Date
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
Anthony Minessale
43b712b7b1 add some write locks to the core and a function to unregister event bindings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8880 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-01 23:41:09 +00:00
Brian West
b8fcbe02b8 MODLANG-67 part2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8812 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-18 18:42:21 +00:00
Anthony Minessale
aa4d4500c0 add header
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-06 16:14:29 +00:00
Michael Jerris
40091bd693 don't deref NULL. Found by Klockwork (www.klocwork.com)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8700 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 20:04:04 +00:00
Anthony Minessale
f930eaeec7 indent pass 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8689 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:54:52 +00:00
Brian West
e341914d25 Add MODEVENT-21 and a small tweak to voicemail to not light up on saved message counts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8133 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-21 15:25:09 +00:00
Anthony Minessale
be85fcd204 avoid little race
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8105 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-14 16:18:49 +00:00
Michael Jerris
2a98f0639b use the same type to avoid overflow (could we even cause this?)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7987 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-31 16:05:32 +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
6074db4a74 deal with blank api command replies in es
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7803 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-06 18:12:38 +00:00
Michael Jerris
0bab557232 tweak error handling on socket app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-29 15:39:56 +00:00
Michael Jerris
bcae062ac8 merge patch from MODEVENT-16
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-26 21:53:48 +00:00
Michael Jerris
69a27f15b0 don't log lost logs of 0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7656 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-17 06:02:45 +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
Michael Jerris
482badffca code analysis, clean up asserts related to switch_core_session_get_channel.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 07:26:10 +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
Anthony Minessale
a2d8262289 add resistance on blocking writes to stdout
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7363 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-25 23:09:33 +00:00
Anthony Minessale
e7d29df822 fix mem leak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-20 22:39:08 +00:00
Anthony Minessale
6a6f522bb1 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-18 15:43:57 +00:00
Anthony Minessale
143bed09a3 try to use clock_gettime to make sure we don't care if the system time changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-11 00:43:49 +00:00
Michael Jerris
f3870cb6cb add \n
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7136 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-08 05:24:49 +00:00
Michael Jerris
85f28ac6ab cleanup, reduce large stack allocation, bounds checking, etc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6827 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-16 03:01:50 +00:00
Michael Jerris
54ec86f6ce use switch_snprintf instead of snprintf becuase in insures null termination of strings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 21:53:32 +00:00
Michael Jerris
4110f73cf3 add msvc 2008 sln/project files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 01:40:13 +00:00
Anthony Minessale
70c65fc3c2 add more data to cdr_csv and debug option to dump all the vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6677 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 22:19:49 +00:00
Michael Jerris
cc71ce69e0 handle invalid log level strings. (FSCORE-69)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6604 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-10 19:16:50 +00:00
Anthony Minessale
1bbb57a82c fix SFSIP-37
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6481 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-04 00:21:32 +00:00
Anthony Minessale
b4c2c875b4 silence error
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6479 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-03 16:27:29 +00:00
Michael Jerris
6f30fe29b2 fix for MODEVENT-2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6475 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-03 16:06:47 +00:00
Anthony Minessale
dc96942b88 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6455 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-30 23:45:27 +00:00
Michael Jerris
622a2733dc use more correct const char * for things that should not be modified. This should also fix the switch_cpp.cpp changes from MODAPP-44. More patches to follow up on this for a few more modules that will likely break with this commit.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6120 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-01 11:28:26 +00:00
Anthony Minessale
0300e8e64a 7 not 4
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-31 22:29:15 +00:00
Michael Jerris
66501a6cdd build cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5986 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 02:46:05 +00:00
Michael Jerris
6959c3ddd7 move some modules to use .vsprops files to centralize where settings are made and to simplify the project files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5971 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 18:11:43 +00:00
Michael Jerris
9488c6da9b move some modules to use .vsprops files to centralize where settings are made and to simplify the project files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5965 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 08:13:08 +00:00
Michael Jerris
83c21e77f3 move some modules to use .vsprops files to centralize where settings are made and to simplify the project files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5963 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 07:21:38 +00:00
Michael Jerris
bbffdd99ab cleanup some project file properties and hopefully fix the release build enum issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 04:15:33 +00:00
Anthony Minessale
b099f96e4e format
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-17 14:59:17 +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
Michael Jerris
f1222ba2fd fix for FSCORE-40
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5566 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-03 21:29:01 +00:00
Anthony Minessale
25057d40ac fix up some event issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5541 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-24 21:26:04 +00:00
Anthony Minessale
a039d870c3 Add events around all application execution:
fire SWITCH_EVEHT_CHANNEL_EXECUTE
<execute app>
fire SWITCH_EVEHT_CHANNEL_EXECUTE_COMPLETE

This can be used in async socket connections to tell
when a queued application has finished executing.



Add the "event" application to the dialplan:

<action application="event" data="header1=val1,header2=val2"/>

Events fired from this applcation will always have the type SWITCH_EVENT_CHANNEL_APPLICATION.

You can add up to 25 headers of your own to the event via the application arguements.





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-23 05:41:07 +00:00
Michael Jerris
ae02cbef83 add more modules to new mod loader macros/api.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5404 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 07:53:33 +00:00
Anthony Minessale
95f007586f stage 1 of wrecking ball (duck!)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 20:40:06 +00:00
Michael Jerris
b67f9c5b2a move some modules to use the new module interface macros.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 17:06:10 +00:00
Anthony Minessale
efca0c8087 hack up the core with a butcher knife
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5314 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-12 21:00:26 +00:00
Anthony Minessale
91cb42b7ea fix accidental missing event enum name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-08 15:17:43 +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