Commit Graph

2659 Commits

Author SHA1 Message Date
Anthony Minessale
1ec6bad02c fix seg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4371 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 18:04:52 +00:00
Anthony Minessale
10b1187110 fix Client.pm recv len
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4370 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 18:02:50 +00:00
Michael Jerris
6b46843c57 try a bit harder to make sure we don't do printf like functions on null.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 17:28:41 +00:00
Anthony Minessale
bd62246033 handle fragmented reads on the socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4358 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 16:44:04 +00:00
Anthony Minessale
a644b549c5 remove redundant strlen
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4357 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 16:43:07 +00:00
Anthony Minessale
f8352e76ae fix transaction locking error in the core sql thread
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4356 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 16:42:40 +00:00
Michael Jerris
08f512f436 update windows build to use sqlite 3.3.13
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4353 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 23:13:56 +00:00
Michael Jerris
6461d8faff windows build tweaks to resolve warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4352 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 23:12:58 +00:00
Michael Jerris
5791353cec sync up our in tree sqlite with the 3.3.13 official release. Commit to follow to finish this process on the windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4351 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 22:09:42 +00:00
Anthony Minessale
64133ab31a one more for ilbc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4350 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 21:25:32 +00:00
Anthony Minessale
9bd118dc28 add mode goodies to ilbc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4349 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 21:13:36 +00:00
Anthony Minessale
77fe0e7bcd add mode goodies to ilbc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 20:56:23 +00:00
Anthony Minessale
a88da36253 add heartbeat event and core uuid
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 17:38:34 +00:00
Anthony Minessale
4dd3e158a0 send break sig after sending messages and events to sessions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-22 16:06:42 +00:00
Anthony Minessale
6c0152ca2f try to pass 2833-pt across calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-21 21:46:32 +00:00
Michael Jerris
d90ca2f270 added switch_file_lock and switch_file_unlock to the exposed functions from apr to be used to make FSCORE-14 jira ticket cross platform.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-21 18:39:10 +00:00
Anthony Minessale
5ca710d252 make ilbc fail the call when the frame is wrong
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4342 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-21 17:59:08 +00:00
Anthony Minessale
f703658741 add 120ms to g711, fix errs in g711 alaw defs, tweak buffer in file playback and add kill to hupall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4341 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-21 06:35:55 +00:00
Brian West
ddd613eefd change the override to header symbol from : to ^ (beware)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4340 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-21 03:37:17 +00:00
Michael Jerris
915944b7ed add pool allocated printf function switch_core_sprintf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4339 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-20 21:54:23 +00:00
Michael Jerris
e4947bfbfe refactor switch_core_sql_thread with the following main changes:
Do the entire transaction as a single exec, instead of 3 separate ones to resolve issue of unmatched transaction error.
try really hard to commit the transaction (1000 times) but we no longer try forever.  If 1000 times fail, you will lose some update/insert/deletes from the core db, but we will no longer continue to loop forever and stop processing the sql queue in the case of an error.
added better overflow protection to the buffer, we now ignore sql strings we get over 64k. (not full transactions, just individual sql strings that we get queued).  Previously this caused a buffer overflow.
We now use sprintf instead of snprintf as we are already handling overflow checks outside of the sprintf.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4338 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-20 18:27:21 +00:00
Anthony Minessale
9e8a2b3e07 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-20 17:50:50 +00:00
Michael Jerris
58705374f4 switch_channel_set_variable_nodup which does not dup the value from the session pool. The value MUST already be allocated from the pool for that session, or very bad things could happen. Use with caution.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4329 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 22:57:27 +00:00
Brian West
ad6cca6737 add channel data to event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 21:28:58 +00:00
Brian West
5e4396a46e making private events fire (please test)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4327 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 21:06:27 +00:00
Mike Murdock
d0cda3c757 Fix indents to tabs in previous commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4326 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 17:00:29 +00:00
Mike Murdock
4e858fc38c No entry at menu should not play the invalid prompt but still count as an invalid entry and repeat the menu
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4325 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 16:57:14 +00:00
Michael Jerris
1141525293 don't create new iax sessions when we shouldn't
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4324 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 16:56:48 +00:00
Anthony Minessale
962c8ba4f2 add rwlocks to bridge
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4323 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 15:20:16 +00:00
Michael Jerris
ee101704d7 constify switch_caller_profile_new
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4321 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 03:23:02 +00:00
Michael Jerris
bbf3c290d9 add switch_core_session_sprintf which allocates from the session pool
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 02:21:27 +00:00
Anthony Minessale
045eb8a9de update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-18 16:51:11 +00:00
Michael Jerris
6322a73341 fix typo to fix build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-18 14:33:55 +00:00
Anthony Minessale
0884c559ef update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4315 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-18 04:37:06 +00:00
Anthony Minessale
e87e5b5759 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4314 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 22:22:52 +00:00
Anthony Minessale
4974b5b2b1 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4313 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 22:19:56 +00:00
Anthony Minessale
b47cd0314b tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4312 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 22:13:19 +00:00
Anthony Minessale
368ac20dc1 rearrange things to work better
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4311 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 18:40:42 +00:00
Anthony Minessale
4913ae24e1 move session-rest
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 17:30:49 +00:00
Michael Jerris
4ae10379f2 add windows build for mod_xml_cdr. This probably also fixes the build on several non-linux systems.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4309 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 06:55:43 +00:00
Michael Jerris
7b4e100b31 Temporarily reverting sofia-sip library back to prior to the changes merged on 2/7/2007 due to ongoing unresolved issues in the new code. Will re-commit these changes once we receive fixes from the sofia-sip tree for these outstanding issues. Make sure recommended.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 06:25:21 +00:00
Michael Jerris
08debcfcb4 completion of the commit from revision 4305
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4307 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 06:22:47 +00:00
Michael Jerris
3f72839a65 constify switch_channel_set_variable and remove some incorrect casts in it's consumers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4306 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 00:56:16 +00:00
Michael Jerris
654dc6e616 fix copy/paste error on setting SWITCH_GLOBAL_dirs.temp_dir on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4305 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 23:37:14 +00:00
Michael Jerris
9fc1f45ebd constify switch_core_hash functions and some of their consumers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 23:36:10 +00:00
Michael Jerris
db797b8130 match new prototype for switch_ivr_park
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4303 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 23:12:20 +00:00
Michael Jerris
77347efd45 match new prototype for switch_ivr_menu_init
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4302 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 23:11:52 +00:00
Michael Jerris
276aa96ae4 add sqlite linking to dptools
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4301 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 23:11:08 +00:00
Anthony Minessale
a03f962174 add callbacks to park
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 21:32:49 +00:00
Anthony Minessale
9626393ef8 add export app (set + adding to export_vars) in 1
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 20:07:35 +00:00