Commit Graph

607 Commits

Author SHA1 Message Date
Jeff Lenk bddec41f43 FSCORE-670 2010-09-12 15:38:58 -05:00
Anthony Minessale 977a8ad7ce add origination_caller_profile to log all attempted calls for a paticular leg 2010-09-08 13:19:56 -05:00
Anthony Minessale 91a87e9dd9 only let force_transfer_* vars work when an explicit value was not supplied 2010-07-22 10:50:00 -05:00
Anthony Minessale d3108020c5 use wait_for_state with NULL instead of same channel twice 2010-07-21 19:31:49 -05:00
Anthony Minessale 6c7970f969 let bypass calls sit in park 2010-07-02 12:04:02 -05:00
Anthony Minessale 3a6bb506c0 passing non-null value to generate_xml_cdr now implies its an initalized xml object 2010-07-01 15:22:13 -05:00
Anthony Minessale 2b2f921442 caller/callee id flipping for blind xfer 2010-06-14 18:37:53 -05:00
Anthony Minessale 57fc899842 add missing rwunlock 2010-06-09 11:15:07 -05:00
Anthony Minessale 4a4670a71e FSCORE-615 2010-06-03 10:17:00 -05:00
Anthony Minessale 468956e109 FSCORE-603 2010-05-04 11:24:35 -05:00
Anthony Minessale 9d05a502a5 FSCORE-577
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17074 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-23 15:27:13 +00:00
Michael Jerris 7c16b84aac first cut and say interface rework to include gender and put all args into a struct for easier future extension
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16929 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-07 19:34:05 +00:00
Anthony Minessale bddcc37571 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16865 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-02 17:50:56 +00:00
Anthony Minessale b8e1221e00 MODAPP-395
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-02 17:45:19 +00:00
Anthony Minessale 06a464b148 avoiding livelock
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16584 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-08 18:18:11 +00:00
Anthony Minessale 886e1ddb4d run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Anthony Minessale 1fca333ba4 more refactor
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16533 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-28 18:46:47 +00:00
Anthony Minessale 7f9ea01367 refactor
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16532 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-28 18:21:27 +00:00
Anthony Minessale 509d3fe101 small tweak to last commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16531 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-28 17:46:57 +00:00
Brian West 8f7a3e43dc fix some bypass media scenarios
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16480 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-23 18:35:05 +00:00
Anthony Minessale 25a4270e3d omfg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16477 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-23 06:53:30 +00:00
Anthony Minessale dc86b797fa try this darren
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16445 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-22 00:51:32 +00:00
Anthony Minessale 1390132682 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16430 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-21 02:51:04 +00:00
Michael Jerris d1c60899de add soundsdir configure var and sounds_dir global freeswitch var
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16241 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 16:32:35 +00:00
Anthony Minessale e26f141bf8 FSCORE-523
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16207 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-08 00:45:09 +00:00
Mathieu Rene f4e1b97ccd FSCORE-514
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15970 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-15 18:45:29 +00:00
Anthony Minessale 5e38b054a6 MODAPP-376 3rd time's a charm
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15919 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 21:51:10 +00:00
Anthony Minessale d1388fdf9a small regression from yesterday now that there are 2 queues only dec the flag that actually was in use
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15880 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 21:53:23 +00:00
Anthony Minessale 6fde2f3961 add priority queue for events so important broadcasts like hold music can take precedenced over event-lock
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15865 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 01:29:02 +00:00
Anthony Minessale df7637f687 change switch_strlen_zero to zstr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Anthony Minessale 0e0c6ea512 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15144 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-12 23:27:01 +00:00
Anthony Minessale 59b94dfacc refactor some of the message parsing code to use fifo to reduce threading contention
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15142 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-12 22:23:55 +00:00
Anthony Minessale 1cbd982a37 omfg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15125 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-09 00:52:25 +00:00
Anthony Minessale 539bccffe1 fix att xfer to an app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15122 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-08 18:09:06 +00:00
Anthony Minessale aaeb69d613 make moc happy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15105 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-07 04:30:19 +00:00
Brian West 3bc20b3c43 MODAPP-325 part 1
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14981 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-25 19:07:20 +00:00
Anthony Minessale d6217925b8 FSCORE-429
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-09 15:07:51 +00:00
Anthony Minessale 8c7652c345 add optional prefix arg to set_user FSCORE-429
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14789 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-08 19:05:32 +00:00
Anthony Minessale c0dbb3e561 add recursive flags and workaround for nested broadcast in controlled situations
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14644 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-26 17:42:36 +00:00
Mathieu Rene cf19a415ab DP-4
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14548 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-17 23:03:49 +00:00
Mathieu Rene c2d5f970bc Per-call logging, part one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14509 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-13 20:35:02 +00:00
Anthony Minessale 6b76a1a33c hit the xml registry to look up path information for the say app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-21 17:56:12 +00:00
Brian West e693a98ccc revert files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14277 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-16 20:12:55 +00:00
Michael Collins 28d8aeaf5c Update ChangeLog through r14275
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14276 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-16 20:05:54 +00:00
Anthony Minessale 4d19484dfa revert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14099 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-01 23:22:52 +00:00
Anthony Minessale 0becb377e3 change sound prefix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14098 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-01 23:12:59 +00:00
Anthony Minessale dbb8d6563a set sound path in say app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13904 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 13:40:07 +00:00
Michael Jerris de93df34d6 abolish mailbox attribute in users and use number-alias attribute instead MODAPP-218
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13378 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-18 17:11:47 +00:00
Michael Jerris 6aa139e59e FSBUILD-159
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13302 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-14 14:58:58 +00:00
Anthony Minessale 344e2db18b FSCORE-367
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13301 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-14 13:48:11 +00:00
Anthony Minessale 303271f92a allow socket app to operate without pre_answer (please test)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13294 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-13 16:34:39 +00:00
Anthony Minessale 0b66681f10 add resume command to event socket and socket_resume variable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13212 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-30 22:45:46 +00:00
Anthony Minessale 68b0359cfb FSCORE-349 add flag to denote if a codec is init or not
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-09 17:17:12 +00:00
Anthony Minessale 5b6b9f89ab fix xml code to dup the values instead of store direct pointers (scope issue)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12692 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-20 20:41:30 +00:00
Anthony Minessale 093d867d89 MODAPP-226
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12466 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-05 16:53:31 +00:00
Anthony Minessale 62a63cef2d double doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12264 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 19:58:45 +00:00
Anthony Minessale dfd3f28bdf doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 19:54:54 +00:00
Anthony Minessale 3dd6e878e7 MODAPP-221
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12262 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 18:36:45 +00:00
Anthony Minessale 99026e02e7 event socket / ESL improvements
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12228 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 23:19:58 +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 7aa3a2e670 doh, thanks raulfragoso
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11915 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 04:24:22 +00:00
Anthony Minessale be25cc9631 spring cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11730 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-10 19:09:06 +00:00
Michael Jerris ece81e6604 fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11678 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-06 23:49:22 +00:00
Anthony Minessale 6a405a2323 sound_test app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11658 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-05 19:53:13 +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 478efc5f71 tweaks to call setup code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11616 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-03 20:33:24 +00:00
Anthony Minessale 0463541d61 change low res sleep func api names
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-25 21:23:07 +00:00
Anthony Minessale 30e74fca2c FSCORE-272
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11274 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-19 16:00:11 +00:00
Anthony Minessale 6f8e06f087 fix disconnect issue in event socket and fix a few small bugs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11234 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-15 22:11:27 +00:00
Anthony Minessale ea5c385281 numerous fixes from regression testing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-09 20:34:01 +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
Anthony Minessale c576ef7a6e fix some media issues (shoud go into the 1.0 branch)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11081 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-06 22:39:48 +00:00
Anthony Minessale ea8ddfd4f2 fix some media issues (shoud go into the 1.0 branch)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11080 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-06 21:22:01 +00:00
Anthony Minessale 4cc1136433 fix some media issues (shoud go into the 1.0 branch)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11079 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-06 21:07:58 +00:00
Anthony Minessale ed100f44ea add group concept
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10917 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-23 17:36:50 +00:00
Anthony Minessale c2b1ce53bc MODAPP-182
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10861 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-17 21:50:34 +00:00
Anthony Minessale 71054917ac add sync param to sleep so you can choose to sync audio or not on sleep (reswig to follow)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-10 00:48:24 +00:00
Anthony Minessale 1136fcec4a a whole bunch of stuff just to avoid a sonus issue silence_when_idle=400 chanvar to send generated silence duing sleeps etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-09 00:32:51 +00:00
Anthony Minessale cb5096db71 FSCORE-240
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10559 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-01 16:21:27 +00:00
Anthony Minessale 7bc685dcca update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10556 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-27 04:02:57 +00:00
Michael Jerris 085771a4cc tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10543 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-26 18:56:37 +00:00
Michael Jerris 926bc917ed use switch_set_flag in a few places we were doing it manually before
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10534 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-25 18:21:44 +00:00
Anthony Minessale 8fb1e45e17 add some magic vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10466 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-19 20:42:28 +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 cc36e27286 It's time to play the music, It's time to light the lights
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10391 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-13 23:25:38 +00:00
Anthony Minessale 1d74ab745b more ref checking
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10375 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-13 17:40:25 +00:00
Anthony Minessale 722b830652 look out below....(make current)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10363 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 19:28:05 +00:00
Anthony Minessale 09f7c7f660 fix typo thanks MichaelGG
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10203 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-30 15:18:07 +00:00
Anthony Minessale 050dcab0ad fix park flag
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-27 17:14:55 +00:00
Anthony Minessale 30c318b995 clean some old members and naming conventions in the codec structs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10084 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-20 17:48:42 +00:00
Brian West 1cda796da8 spelling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-06 23:05:55 +00:00
Anthony Minessale f3b413edf1 write cng frames during sleep
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9811 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-03 18:14:11 +00:00
Anthony Minessale be3df211e3 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9604 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-19 20:59:23 +00:00
Anthony Minessale a6989de65c more crazy black magic
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9603 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-19 19:58:01 +00:00
Anthony Minessale 0da29822ca fix some regression caused last week re: rtp and async timers on and off
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9491 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-09 16:31:53 +00:00
Anthony Minessale 9d1df9df42 insert variables from the domain tag in the set_user app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9407 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-02 16:38:45 +00:00
Brian West 0a1d9b0206 comment cleanup and such
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-02 10:39:39 +00:00
Anthony Minessale 8b4433720e _
| |                  
  ____ ____  ____| | ____ ____   ____ 
 / _  ) _  |/ ___) |/ _  |  _ \ / _  |
( (/ ( ( | | |   | ( ( | | | | ( ( | |
 \____)_||_|_|   |_|\_||_|_| |_|\_|| |
                               (_____|




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9225 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-05 21:50:48 +00:00
Anthony Minessale 4722de507b add domain-based acl auth thingy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9056 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-16 17:44:54 +00:00
Anthony Minessale 1f830b03e9 fix outbound event_socket + late negotiation
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8949 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 23:30:17 +00:00
Anthony Minessale 2a5b1a9a60 add another missing bit to sleep
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8946 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 23:13:02 +00:00
Anthony Minessale 0606f993fd forgot some code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8933 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 19:26:44 +00:00
Anthony Minessale 32bbdb74a8 add args to sleep
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8930 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 17:27:02 +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
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 57117acdbc add -bleg to intercept
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8583 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 17:28:04 +00:00
Anthony Minessale 5605a69d7e typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8577 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 03:26:57 +00:00
Anthony Minessale 4cd75ebf39 fix seg when using unicast on socket when call has no read_codec (MODAPP-95)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8573 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 02:39:23 +00:00
Anthony Minessale d3616deb87 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8568 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 01:43:12 +00:00
Stefan Knoblich 088b842ced Add safety check for codec implementations with bytes_per_frames being larger than the recommended buffer size (Klocwork #1039)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8514 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-21 22:26:30 +00:00
Anthony Minessale 0ba45ead64 fix small att_xfer issue from mailing list
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8461 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 14:30:39 +00:00
Michael Jerris 0a766e14a0 check value before using. Found by Klockwork (www.klocwork.com)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8447 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 17:55:12 +00:00
Anthony Minessale 42a54d19ae update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8411 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 14:49:11 +00:00
Anthony Minessale 628e1b4c4c doh should probably expose say
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 22:16:08 +00:00
Anthony Minessale 7050c330b2 allow blind xfers on no-media calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8342 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 19:59:42 +00:00
Anthony Minessale c4a18a09c2 spring cleaning, lose some pointless code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-08 19:19:47 +00:00
Anthony Minessale 4b929592cc change names to protect the innocent
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-05 15:30:55 +00:00
Anthony Minessale 580f545e26 tewaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8232 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-01 16:41:46 +00:00
Michael Jerris f095ef0645 try to avoid internal routing loops.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8103 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-14 15:55:37 +00:00
Anthony Minessale 730feae63e can't double park
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-14 14:05:22 +00:00
Michael Jerris 98c5cd7d21 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8029 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-04 21:43:20 +00:00
Anthony Minessale 61f23283ec add some goodies to mod_fifo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8026 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-04 21:18:16 +00:00
Anthony Minessale 85b79c083a tweak fifo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8012 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-03 21:27:16 +00:00
Anthony Minessale 409e0da357 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7956 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-25 00:24:23 +00:00
Anthony Minessale 4d0b60ad16 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7955 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-24 20:58:44 +00:00
Anthony Minessale dc3a65388b the same guy who added att xfer to asterisk was nice enough to add it to freeswitch too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7885 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-13 01:08:42 +00:00
Anthony Minessale e76486968e update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7884 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-12 16:40:01 +00:00
Anthony Minessale 5fae364cfd update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7871 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-12 00:30:52 +00:00
Anthony Minessale 2afd0fed8f update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-12 00:11:33 +00:00
Anthony Minessale 74a3d8ab95 fix a bunch of stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7854 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-11 03:45:16 +00:00
Anthony Minessale 2c8a689d8b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7851 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-10 16:19:55 +00:00
Anthony Minessale 747e0905d2 add read app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-04 18:55:16 +00:00
Michael Jerris bc2fd445ca fix for FSCORE-97 and add set_name app to rename channel
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7752 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-26 23:29:58 +00:00
Anthony Minessale cb12f3cfd6 fix sdp pass-thru of 200 OK in proxy mode aka (bypass_media=true)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7717 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-21 17:48:41 +00:00
Brian West 22670165c1 if and only if
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7641 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-15 23:16:01 +00:00
Michael Jerris d6c105efe0 switch_bytes_per_frame -> switch_samples_per_frame rename
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-15 23:02:06 +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 284d03e5e1 code analysis, bounds checks, buffer overrun fixes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 08:47:55 +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
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
Ken Rice ee328938aa on a transfer lets update the rdnis to the old number
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-16 22:13:36 +00:00
Anthony Minessale 58a8979c6e tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7199 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-13 18:39:51 +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 31d0a1a02d don't set blank vars, and handle them in error cases.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7138 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-08 16:20:00 +00:00
Anthony Minessale df749a420f fix dtmf code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7125 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-07 16:49:46 +00:00
Stefan Knoblich 499e8af075 Spelling fixes #2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7120 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-07 10:55:15 +00:00
Anthony Minessale 698b1b1b56 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7099 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-05 17:32:13 +00:00
Anthony Minessale 69120105ee support crazy transfer crap
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-05 01:03:08 +00:00
Michael Jerris 0db0451306 fix msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6953 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-22 00:51:26 +00:00
Anthony Minessale 2931fc9109 dtmf overhaul testers wanted
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6952 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-22 00:32:20 +00:00
Anthony Minessale 613db6143f cdr update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6916 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-20 17:27:11 +00:00
Michael Jerris d4d9ae9832 whoops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6873 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-18 18:31:38 +00:00
Michael Jerris 0fe7efe735 cleanups
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6869 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-18 17:50:39 +00:00
Anthony Minessale 73f501852c opts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6867 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-18 17:33:29 +00:00
Michael Jerris 304d5004a6 varname scope un-masking and fix a check
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6845 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-17 23:19:10 +00:00
Anthony Minessale 911db88a6e add park_state
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6771 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-13 22:17:20 +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 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
Michael Jerris 952756ab28 reduce indentation / cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6625 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 04:21:54 +00:00
Anthony Minessale efe70a0857 fix transfer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6526 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-05 22:35:37 +00:00
Anthony Minessale 837e5349da fix tiny snafu
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6148 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-02 18:34:26 +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 ec8d21a7db move set
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6116 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-31 23:19:30 +00:00
Anthony Minessale f4380aae7f fix names to match default style
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-31 21:44:49 +00:00
Anthony Minessale 6b1fa2191b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 15:31:02 +00:00
Michael Jerris e8f7c1b4fc fix windows build.. break other things.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5853 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 20:14:41 +00:00
Anthony Minessale 4fbcb206b0 fix echo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5809 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-05 00:05:41 +00:00
Michael Jerris 3cd6a49d8f fix warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5797 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 18:28:05 +00:00
Anthony Minessale 1418927007 add delay_echo application
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 15:09:44 +00:00
Anthony Minessale 50390a7083 improve mod-fifo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5779 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-02 19:58:06 +00:00
Anthony Minessale cbac77fa9f refactor xml cdr and some cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5778 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-02 16:38:15 +00:00
Anthony Minessale 6d2ff03bb1 add -bleg and -both flags to the transfer api command so you can transfer both sides or the opposite side of a call as well
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5770 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-01 14:57:15 +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 d33b5670f0 fix some races and alter core (do a full rebuild)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-24 19:34:25 +00:00
Michael Jerris 5bea2ea06c svn:eol-style properties, and make eol-style consistent in some files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-21 18:49:14 +00:00
Anthony Minessale 7e27f582b2 make the park function only pre-answer and not answer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5722 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 19:33:03 +00:00
Michael Jerris 2b3b300e4b fix for FSCORE-34
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5564 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-03 16:46:21 +00:00
Anthony Minessale 189802c555 add exec_after_bridge_app and exec_after_bridge_arg and fix the hangup command in event parse
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5545 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-26 00:49:02 +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 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 dc4f3fd903 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5191 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-16 17:35:00 +00:00
Anthony Minessale 614177acd9 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-14 23:50:38 +00:00
Anthony Minessale 139b505f91 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5178 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-14 20:38:18 +00:00
Anthony Minessale 7a8c84791f update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5177 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-14 18:18:38 +00:00
Anthony Minessale d6efffd9bc these aren't the droids you're looking for....
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-09 19:44:15 +00:00
Anthony Minessale 6a392d2577 add locking to vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5035 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-28 21:48:03 +00:00
Anthony Minessale 7da3873056 add app log
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4994 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-21 01:03:58 +00:00
Anthony Minessale ff44ce11cc let unicast mode operate on the native codec if desired
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-13 16:24:02 +00:00
Michael Jerris 0734faef39 use the right data types.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4912 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-10 21:18:33 +00:00
Michael Jerris 77121a3184 windows build var types.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4909 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-10 17:34:53 +00:00
Anthony Minessale 4b9afa2b36 unicast framework
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4900 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-09 18:38:47 +00:00
Anthony Minessale ad7a1b2e67 hold stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4816 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 22:13:19 +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 a021945cef switch_malloc and switch_zmalloc macros that are fatal if malloc fails both in debug and release modes, switch_zmalloc includes a companion memset for the malloc'd block.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 17:37:42 +00:00
Anthony Minessale 8a4406ece2 Addition of scheduler engine and a few applications to use it.
This patch adds a scheduler thread to the core and moves the heartbeat
event to use the new scheduler as an example.

Also The following features are implemented that use this scheduler:

sched_hangup dialplan application:

<action application="sched_hangup" data="+10 normal_clearing bleg"/>

** The cause code is optional and the optional bleg keyword will only hangup the
   channel the current channel is bridged to if the call is in a bridge.

sched_transfer dialplan application:

<action application="sched_transfer" data="+10 1000 XML default"/>

** The last 2 args (dialplan and context) are optional

sched_broadcast dialplan application:

<action application="sched_broadcast" data="+10 playback:/tmp/foo.wav"/>
<action application="sched_broadcast" data="+10 playback!normal_clearing:/tmp/foo.wav"/>

** The optional !<cause_code> can be added to make the channel hangup after broadcasting the file.


sched_hangup api function:

sched_hangup +10 <uuid_string> normal_clearing

** The cause code is optional

sched_transfer api function:

sched_transfer +10 <uuid_string> 1000 XML default

** The last 2 args (dialplan and context) are optional

sched_broadcast api function:

sched_broadcast +10 <uuid_str> playback:/tmp/foo.wav
sched_broadcast +10 <uuid_str> playback!normal_clearing:/tmp/foo.wav

** The optional !<cause_code> can be added to make the channel hangup after broadcasting the file.

The new C functions in the core are documented in the doxeygen.

*NOTE* This commit should satisfy at least 2 bounties on the wiki



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4785 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 23:37:12 +00:00
Anthony Minessale 4450a80bd8 This patch adds 2 important variables to the originate subsystem
originate_retries:
		This variable controls how many times the system should retry the
		entire dialstring before exiting on failure (default 1)

originate_retry_sleep_ms: 
		This variable controls how long in milliseconds to pause between 
		retries (default 1000)

*NOTE*	when using the , and & symbols to call sequential or simultaneous channels in conjunction with this feature,
	the *entire* dialstring will be repeated as many times as you specify in ${originate_retries}

Here is an example using the bridge application to originate the call. (The feature will also work anywhere else 
an origination can be made.)

<extension name="1000">
  <condition field="destination_number" expression="^1000$">
    <action application="set" data="originate_retries=10"/>
    <action application="set" data="originate_retry_sleep_ms=1000"/>
    <action application="bridge" data="sofia/$${domain}/1000@somehost.com"/>
  </condition>
</extension>





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4776 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-27 17:15:10 +00:00
Anthony Minessale 9bacb04df9 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4720 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-21 21:23:40 +00:00