Michael Jerris
16bf3f42a1
don't leak after allocation failure. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8443 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 17:07:10 +00:00
Michael Jerris
d13fa0d211
tweak asserts. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8441 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 16:59:34 +00:00
Anthony Minessale
88b177c1b4
add patch from MDXMLINT-27
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 20:29:08 +00:00
Anthony Minessale
d5e4046daf
fix build prob
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8366 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-12 16:58:44 +00:00
Anthony Minessale
e0e04b9f9c
fix fifo logic bug
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8279 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-06 21:43:42 +00:00
Anthony Minessale
2b5f3563a2
make callback stuff work on mod_perl
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8247 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-02 13:58:44 +00:00
Anthony Minessale
5952667987
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8214 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-29 23:34:26 +00:00
Anthony Minessale
d7e0ef295c
small fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8087 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-11 15:53:25 +00:00
Michael Jerris
8712d3827b
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7901 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-17 16:25:53 +00:00
Michael Jerris
8033a4790c
an array of any other size.....
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7897 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-16 18:31:27 +00:00
Anthony Minessale
179461fe6a
some more stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7891 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-14 16:21:13 +00:00
Anthony Minessale
1cf6273641
spray the core with scotchguard(tm)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7889 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-14 03:47:45 +00:00
Anthony Minessale
e65075b63f
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7841 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-08 02:11:21 +00:00
Anthony Minessale
a3be4e8e72
add reloadxml event
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7775 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-03 19:32:42 +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
92f722b535
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7424 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-29 19:01:35 +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
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
591f098a14
change xml_lookups to take an event as params instead of url string this will break your xml_curl scripts please update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-23 21:14:38 +00:00
Anthony Minessale
1424b6c73b
change xml_lookups to take an event as params instead of url string this will break your xml_curl scripts please update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7333 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-23 20:59:25 +00:00
Anthony Minessale
61414b6626
add func to expand event headers from a template string
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7312 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-21 18:17:12 +00:00
Michael Jerris
0fc1cd534a
constify functions
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-12 07:14:48 +00:00
Anthony Minessale
1bbeb4f706
cross t's and dot i's
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7075 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-03 21:34:44 +00:00
Anthony Minessale
a2847f0ba9
cleanup events
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7069 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-03 01:21:26 +00:00
Anthony Minessale
98ac3c579f
fix indent
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7068 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-03 01:01:04 +00:00
Anthony Minessale
601f7b6e4a
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6951 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-21 18:15:33 +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
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
e46266fb4f
cleanup, null checks. etc.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6673 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 21:31:57 +00:00
Michael Jerris
55a194e54e
use switch_assert macro
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 19:23:57 +00:00
Anthony Minessale
2dd0e0eb58
add hostname and ip to every event
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6452 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-30 21:57:49 +00:00
Anthony Minessale
8e4524727f
fix stupidness
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6038 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-23 21:56:31 +00:00
Anthony Minessale
e5b16c4374
add channel_originate event
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5886 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-16 13:56:44 +00:00
Anthony Minessale
f82e478cb5
more cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5800 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 20:22:37 +00:00
Anthony Minessale
2222933908
a bunch of fixes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 17:25:06 +00:00
Anthony Minessale
bd6bd9ad57
add softtimer to the core, begin framework for static modules and reduces calls to gettimeofday for timestamps
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-03 16:44:11 +00:00
Anthony Minessale
1a316ca6db
add log and event object recycling to reduce malloc per sec in high call load
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5768 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-30 20:05:18 +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
d3aa5b433b
fix for FSCORE-37
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5565 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-03 16:56:54 +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
fdf9a8f052
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5465 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-25 21:25:33 +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
008777e95e
add more modules to new mod loader macros/api.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 07:15:53 +00:00
Anthony Minessale
4ca73d77e0
upgrade fax_detect to tone_detect
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5379 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-16 02:25:40 +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
1be5b1ff45
general improvements
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5078 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-03 16:28:23 +00:00
Anthony Minessale
e47596fca5
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4832 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-02 20:20:46 +00:00
Anthony Minessale
101fd38e09
fix race
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4810 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 17:25:48 +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