Anthony Minessale
5355075c60
blinking lights for xmas presence
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6849 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-18 01:12: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
Anthony Minessale
44636d333f
sample platter
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6706 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 21:30:55 +00:00
Anthony Minessale
4968e0f6a1
smaller buffer
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6657 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 17:55:12 +00:00
Michael Jerris
d78adf7376
cleanup hidden vars, protect against null dereference, use switch_assert macro.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6656 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 17:48:32 +00:00
Michael Jerris
598b483889
test new macro
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 17:18:46 +00:00
Anthony Minessale
7d9e3c577a
fix energy stuff to work better on 16khz calls
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6395 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-24 21:48:25 +00:00
Michael Jerris
e49f38e855
add some missing \n's to switch_log_printf messages.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6390 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-23 18:50:54 +00:00
Michael Jerris
1c06b51686
fix for MODENDP-31, send stop-talking events after CNG packets as well as silent frames.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6374 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-22 06:56:02 +00:00
Michael Jerris
c5cc708fe7
merge MODAPP-50 (modified for changes in api)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6353 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-20 03:44:19 +00:00
Anthony Minessale
3932394d93
fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6158 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-03 02:41:17 +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
Brian West
141ce4a8e1
more path bs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6107 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-31 20:04:11 +00:00
Michael Jerris
fa7d8da54c
be more careful about not dereferencing NULL (attempt to fix MODAPP-45)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6085 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-29 18:18:13 +00:00
Michael Jerris
84a87805e3
some comment cleanup.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6082 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-29 06:55:51 +00:00
Michael Jerris
cc5cf12a55
add conference_add_event_member_data and conference_add_event_data functions to add conference and member headers to events. Includes adding profile name to conference dtmf (and all the other events) fix for MODAPP-31
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6062 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-26 02:42:18 +00:00
Anthony Minessale
06a9cae17e
fix MODAPP-22
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6058 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-25 21:02:31 +00:00
Anthony Minessale
a93ddbd212
presence crap
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6048 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-24 23:20:47 +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
Anthony Minessale
42a9b8fb07
you probably think i am joking but the g722 rfc ppl need to be punished
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5990 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 05:09:18 +00:00
Anthony Minessale
7c3f707fef
more g722 fun
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5987 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 03:21:37 +00:00
Michael Jerris
a45f8065d7
don't do operations in an assert (re: FSCORE-50)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5985 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 00:44:27 +00:00
Anthony Minessale
3d1394c06c
sigh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5980 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 22:41:58 +00:00
Anthony Minessale
a2a3c63e53
fix conf
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5974 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 18:40:20 +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
6a262d7c43
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 17:24:53 +00:00
Anthony Minessale
1944a0ff6a
fix typo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5773 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-01 20:39:04 +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
Anthony Minessale
038a60d5d4
add endconf member flag to make a specific member cause the conference to end when he leaves
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5714 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 16:20:00 +00:00
Anthony Minessale
5e0c3ee5b7
fix small problem in speech stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-14 20:00:26 +00:00
Anthony Minessale
779ca66f0c
tweak to avoid cepstral crash
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5697 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-11 20:41:16 +00:00
Anthony Minessale
e6d06e502b
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5679 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-30 00:25:06 +00:00
Anthony Minessale
160edc558d
clean up speak code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5670 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-28 17:06:20 +00:00
Anthony Minessale
1a091c1ad2
change javascript and confernece to use cached speech handles
...
This is for better performace and to take atvantage of mrcp connections.
There should be no apparent change in usage.
The conference now supports changing the voice via the text string
by starting a text blurb with #voice# eg
#william#This will sound like William.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-25 21:33:26 +00:00
Anthony Minessale
1de25f3514
fix conference buffer for 30ms conference and 20ms chans
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5649 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 15:49:31 +00:00
Anthony Minessale
53382fe8da
revert unintended commit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5602 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-14 19:36:56 +00:00
Anthony Minessale
09e96025e9
don't rebuild mod_shout on every make
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5601 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-14 19:34:53 +00:00
Michael Jerris
c829877254
fix for MODAPP-25.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-09 03:19:07 +00:00
Michael Jerris
742ac5a525
fix for MODAPP-17, using the +pin on the conference app args, with nothing following the + will now override and not prompt for a pin
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5577 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-07 02:46:55 +00:00
Anthony Minessale
51fe761840
possible fix for branchcut
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5488 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-02 20:16:38 +00:00
Anthony Minessale
158d1f4631
kill mysterious race bug that magicly showed up last week
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5455 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 19:47:39 +00:00
Michael Jerris
b9c9f4c9e9
add SWITCH_STANDARD_APP helper macro
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 05:39:50 +00:00
Michael Jerris
db2121b84d
move mod_conference to use new module loader interfaces.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5398 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 04:17:26 +00:00
Michael Jerris
cc47e3aba6
play only to member
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5394 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-19 23:04:31 +00:00
Michael Jerris
7a66d1dd8a
merge patch from MODAPP-15 with 2 changes as discussed with the submitter:
...
add missing part of if for starting sound.
add a file stop specific to async and only stop the async file play.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5359 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-14 15:24:20 +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
50fe6fbac8
merge mod_bridgecall, mod_echo, mod_park, and mod_playback all into mod_dptools. You will need to remove these from your modules.conf and configuration files.
...
move some applications to use the new module interface macros.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5342 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 16:00:14 +00:00
Anthony Minessale
7363fcf9e3
the endless saga of g722 bs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-11 22:12:10 +00:00
Anthony Minessale
d3388d72ea
add perpetual-sound option to conference
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5307 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-11 21:44:41 +00:00
Anthony Minessale
7300c50352
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-07 19:59:01 +00:00
Anthony Minessale
fa65607734
fix rate issue in conference
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5283 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-07 19:26:26 +00:00
Michael Jerris
521eac756e
create macro to define api command prototypes.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 21:36:15 +00:00
Michael Jerris
a4ff7e88da
adding const qualifiers across the api as appropriate.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 14:48:14 +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
f29aa2d96c
add new feature to mod_conference
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4990 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-20 20:44:54 +00:00
Anthony Minessale
eb2124ae32
refactor to avoid some potential issues with channels that are hungup instantly after being answered
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4926 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-13 22:15:58 +00:00
Anthony Minessale
4fdf7af7b9
fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-05 20:29:14 +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
e5dff3e822
add checking for successful re-sampler allocation. Add ifdefs to disable build with re-sampler.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4782 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 18:21:00 +00:00
Anthony Minessale
3b84b53819
fixes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-23 16:34:13 +00:00
Anthony Minessale
573058c6d3
shhhh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-21 18:50:51 +00:00
Anthony Minessale
2da36dea17
fix typos
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4715 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-21 17:09:39 +00:00
Michael Jerris
e42d7ec1c9
fix some warnings
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4641 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-18 16:40:01 +00:00
Michael Jerris
beea6225c1
fix windows build error
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4620 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-16 21:02:23 +00:00
Anthony Minessale
b9e033535b
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4616 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-16 17:19:44 +00:00
Anthony Minessale
210926e5bf
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4615 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-16 01:38:29 +00:00
Anthony Minessale
372c744b99
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4614 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-16 00:10:10 +00:00
Anthony Minessale
9ffe54df46
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4613 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-15 22:49:58 +00:00
Michael Jerris
2da5437e0b
fix build. arguments out of order.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4601 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-15 04:31:17 +00:00
Brian West
ffde2ff0af
update2
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4600 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-15 01:58:41 +00:00
Anthony Minessale
d69cde6367
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4598 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-15 00:36:14 +00:00
Anthony Minessale
2df583650f
cleanup some stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4498 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 23:51:52 +00:00
Anthony Minessale
30a9513b5a
more conference fixes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 00:53:51 +00:00
Anthony Minessale
feb323e04d
fix logic bug in conference
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4461 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-06 21:19:32 +00:00
Anthony Minessale
29eabfe73d
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4459 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-06 04:59:20 +00:00
Anthony Minessale
b813cac121
make timer in conference match channel not conference thread so we can generate timestamps
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4456 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-06 02:52:11 +00:00
Michael Jerris
ec3fcde87d
change switch_core_timer_next to return switch_status_t, update all users to new usage, add some error checking to mod_conference so that it bails out of the loops more gracefully on shutdown.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4454 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-05 23:18:29 +00:00
Anthony Minessale
1b5fe10277
change a few things to allow timers to generate timestamps
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4452 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-05 20:53:54 +00:00
Anthony Minessale
a287409c76
add outcall support to nonexistant conferences (needs testing)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4436 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-03 01:18:51 +00:00
Anthony Minessale
9ca0aee975
add outcall support to nonexistant conferences (needs testing)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4435 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-03 01:08:08 +00:00
Anthony Minessale
627f7781c0
add outcall support to nonexistant conferences (needs testing)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4434 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-03 01:01:37 +00:00
Michael Jerris
e99f3e2460
match type as member_flag_t
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-27 07:28:36 +00:00
Michael Jerris
3e3760a996
add flags to the application interface for marking if apps support no media mode. FSCORE-7
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-26 21:38:10 +00:00
Anthony Minessale
5090abc9cf
update conference to have waste mode for naughty providers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4399 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-26 18:33:01 +00:00
Michael Jerris
671259959b
a little re-work in preparation for being able to outdial from a conference that does not yet exist.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 17:28:09 +00:00
Michael Jerris
11a8218db0
potential format string exploits (warning: format not a string literal and no format arguments)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4254 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:45:10 +00:00
Michael Jerris
67a42d5a12
mod_conference use void function pointer for the caller control function table instead of a void data pointer (c99 likes to keep them separate)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4245 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 22:07:28 +00:00
Michael Jerris
07d6f12018
use "%s" format specifier for uses of switch_event_add_header that just pass a string to avoid potential issues/exploits"
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 04:43:49 +00:00
Michael Jerris
5ba24598e1
data pulled from xml needs to be duped in order for it to stay around for sure.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4209 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 20:30:13 +00:00
Michael Jerris
f359f847f7
fix magic emacs and vi formatting comments in the bottom of our source files to use tabs instead of spaces
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 02:36:03 +00:00
Anthony Minessale
b650424da0
insist on a conference profile
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 15:39:14 +00:00
Michael Jerris
0d35fb0308
Fix typo in several places. Patch from Matt Klein.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4163 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 13:50:28 +00:00
Anthony Minessale
e216bbe095
timer mojo (cont)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4150 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 19:01:07 +00:00
Michael Jerris
021de27399
fix segfault on failure to create file on conference record, and deref of null on conference record.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4122 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 02:52:34 +00:00
Anthony Minessale
a2b435768c
minor conference tweak (needs testing)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 16:44:00 +00:00
Anthony Minessale
82db5e0112
fix sample calc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4108 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-02 20:28:34 +00:00
Michael Jerris
8a3007536f
code before declaration, and function must return value.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4095 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 19:20:41 +00:00
Anthony Minessale
07833b9e77
conf tweaks the series
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4090 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 00:43:14 +00:00
Anthony Minessale
a4d3d77871
fix conference parse bug
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 18:05:22 +00:00
Anthony Minessale
b4e374af10
fix mute
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4067 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 16:37:10 +00:00
Anthony Minessale
c48449854d
add more hint info to conference xml open
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4059 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 15:58:35 +00:00
Anthony Minessale
a4e967a097
add more hint info to conference xml open
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4058 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 15:48:58 +00:00
Anthony Minessale
4e75aa0b52
make conference_local_play_file honor the sound-prefix param
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4056 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-25 17:26:23 +00:00
Anthony Minessale
7c4d9e1c83
fix play member in conf
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3976 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-16 20:05:06 +00:00
Anthony Minessale
408464c0b4
factor out pool
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3973 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-16 15:50:13 +00:00
Anthony Minessale
926282b5a8
Avoiding Deadlock
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3950 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-12 00:26:36 +00:00
Anthony Minessale
4c9da6fa4d
Avoiding Deadlock
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3949 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-12 00:15:21 +00:00
Anthony Minessale
03f2a4ad7b
Avoiding Deadlock (by puting the mutex in the right place)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3948 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-12 00:09:43 +00:00
Anthony Minessale
9d91113b47
add rwlock to members
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3945 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-11 22:34:04 +00:00
Anthony Minessale
e37559eb0e
update conference to add lock sounds, sound prefix, and use say: syntax
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3943 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-11 18:14:02 +00:00
Anthony Minessale
97cf339c7e
minor tweaks in conference
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3930 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-08 17:19:59 +00:00
Michael Jerris
1dcfa50d76
potentially uninitialized vars
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3924 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-07 04:34:22 +00:00
Anthony Minessale
6d35d0c44f
add dtmf function to conference
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3907 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-04 18:00:13 +00:00
Anthony Minessale
73609f0478
fix uninit ints
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3904 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-04 01:18:06 +00:00
Anthony Minessale
8e84f70d59
fix conference stop bug
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3896 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 22:55:21 +00:00
Anthony Minessale
591c9b87aa
ruin everything, sorry jamesdotcom
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3815 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-23 16:40:37 +00:00
Anthony Minessale
acfe369ca4
fix small bugs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3811 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-23 00:30:42 +00:00
Michael Jerris
47343dcb87
api commands should not return false unless there is a fatal error warnings about no such command etc still considered sucess cos it has io
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 18:39:36 +00:00
Michael Jerris
431ae09c25
disable controls until there is security
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3789 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 22:01:20 +00:00
Michael Jerris
25131f4124
fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3788 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 21:26:48 +00:00
Michael Jerris
c539bab153
smaller func name so it prints nicer
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3787 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 20:52:19 +00:00
Michael Jerris
f666a32d64
add knhor changes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 20:27:51 +00:00
Anthony Minessale
346e529007
increase energy to go up in 200 unit increments instead of 100 and max out at 3000 instead of 1200
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3779 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 16:51:58 +00:00
Anthony Minessale
a97672afa9
picky
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3742 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 00:53:13 +00:00
Anthony Minessale
c40aa9eec4
add break
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3705 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 21:40:04 +00:00
Anthony Minessale
487cb888d0
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3679 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-16 22:47:41 +00:00
Anthony Minessale
3137cee530
fix printf macros
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3678 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-16 22:20:14 +00:00
Anthony Minessale
218b495bb3
fix probe presence stuff on conference, do a make sure
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3676 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-16 03:00:56 +00:00
Michael Jerris
cb77ea07a6
typo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3672 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-15 17:25:17 +00:00
Anthony Minessale
d06a2c7e0a
avoid potential div by zero
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3670 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-15 17:01:01 +00:00
Anthony Minessale
8ccdcce193
fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3668 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-15 03:07:44 +00:00
Anthony Minessale
d48c40a350
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3666 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 23:01:07 +00:00
Anthony Minessale
5f7de34604
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3656 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 21:18:20 +00:00
Anthony Minessale
2096e491a5
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3655 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 21:16:48 +00:00
Anthony Minessale
7c170893e4
add some events
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 17:58:17 +00:00
Anthony Minessale
809284e703
add some events
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 17:54:07 +00:00
Anthony Minessale
9aab10e820
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3646 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 02:35:39 +00:00
Anthony Minessale
6a25dae421
mutiple transfers in conf
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 02:02:04 +00:00
Anthony Minessale
e3e3730cfa
optimize
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3606 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-12 01:14:07 +00:00
Anthony Minessale
d16297cc46
optimizations for conference
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3584 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-08 17:34:30 +00:00
Anthony Minessale
e7ca2cad19
fix typo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3576 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-08 04:08:47 +00:00
Anthony Minessale
efd277768f
where did the read lock go in del_member
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3567 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-07 18:16:29 +00:00
Anthony Minessale
6fb36fcb2c
lets send the event about the conference before we free the pool mmmkay
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3566 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-07 18:02:35 +00:00
Michael Jerris
07c3c5eda0
Fixes/tweaks to conference from Neal Horman
...
1. 3 retries for pin entry
2. don't require pin entry for outbound calls
3. allow outbound calls to enter the conference when locked
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3553 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-06 07:21:12 +00:00
Michael Jerris
efa2322670
initial bits of conference control changes.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3548 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-05 22:58:26 +00:00
Michael Jerris
aa926a5b86
cleanups in mod_conference from Neal Horman.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3547 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-05 22:28:30 +00:00
Anthony Minessale
906adea94d
feeling lucky part 2
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3545 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-05 21:26:26 +00:00
Anthony Minessale
8fd300e992
feeling lucky
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3544 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-05 21:10:33 +00:00
Michael Jerris
44649c70b4
Add magic comments for emacs and vi in source and header files to properly format and display tabs vs. spaces in those editors:
...
/* For Emacs:
* Local Variables:
* mode:c
* indent-tabs-mode:nil
* tab-width:4
* c-basic-offset:4
* End:
* For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
*/
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 22:30:48 +00:00
Anthony Minessale
44fc26f7d4
Finalization of speech detect interface and API
...
This changes the core to have the necessary tools to create
a speech detection interface.
It also changes the code in javascript (mod_spidermonkey)
there are a few api changes in how it handles callbacks
It also adds grammars as a system dir to store asr grammars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:39:04 +00:00
Michael Jerris
e7dae8a9d9
add missing Member-ID header to a couple events, merged from knhor's branch.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-05 19:32:32 +00:00
Anthony Minessale
252afb823f
add some sanity code to originate and conference
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 01:00:26 +00:00
Anthony Minessale
b30eb82b84
new sofia rollout
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3166 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 20:28:55 +00:00
Anthony Minessale
776919d5fd
tweeks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3164 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 17:34:03 +00:00
Michael Jerris
af23ce4853
whitespace cleanup.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3158 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 17:44:41 +00:00
Michael Jerris
1cd8709762
add "all" member target for vol and energy commands, fix init of len for record.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3157 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 17:07:28 +00:00
Anthony Minessale
aba9c77c35
your run-of-the mill nightmarish attempt at normalizing not one crazy protocol but many....
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3151 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 04:37:19 +00:00
Michael Jerris
dd5d73742a
add ability to specify member "all" on conference api commands taking a member (thanks knhor).
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3142 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 23:01:17 +00:00
Anthony Minessale
b2f9fae6d1
conference recording
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 21:19:40 +00:00
Anthony Minessale
7e61bcf9bb
fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3133 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 03:19:48 +00:00
Michael Jerris
beb4922646
fix typo, thanks knhor
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3132 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 01:33:23 +00:00
Anthony Minessale
59f3204d61
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3130 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 01:20:46 +00:00
Anthony Minessale
343fd5cea5
refactor the presence stuff and add it to mod_conference
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3124 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 22:11:26 +00:00
Michael Jerris
dfb9845d85
making the world a little less ugly, one commit at a time.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3026 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-10 12:00:22 +00:00
Anthony Minessale
6a96670267
refine code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3006 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 02:24:43 +00:00
Michael Jerris
c822f94125
add syntax to api structures, use them for usage returns, do more checking on valid usage and cleanup some output of api commands.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3001 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 07:11:42 +00:00
Michael Jerris
2b53e80e34
add syntax field to the api interface struct.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3000 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 05:04:34 +00:00
Anthony Minessale
d80ce73564
umm, yeah, when it's dynamic, and there are no members, let's go ahead and ummmm exit the thread, mmmkay?
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2966 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-03 18:02:23 +00:00
Anthony Minessale
0fcf13bc34
misc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2704 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 22:11:30 +00:00
Anthony Minessale
387fdc5311
add justinu's patch
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2670 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 22:24:39 +00:00
Anthony Minessale
cb2da2328a
pass cause from originate
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2647 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 01:32:04 +00:00
Michael Jerris
89649d47d8
rever oops
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2606 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-10 05:52:45 +00:00
Anthony Minessale
ae9d56e288
Adding bugs to the core
...
This is the primary commit to add bugs to the core (media bugs that is)
Media bugs are kind of like what ChanSpy is in Asterisk only cooler (I wrote ChanSpy too so I can say that)
Here is an example of using them to record a call by the higher level switch_ivr functionality passed
up to the dialplan via mod_playback.
The call will be recorded while the some.wav plays then stop for the rest of the call (when some_other.wav plays)
The bugs may have bugs since this is 1 day's work so happy hunting ......
<extension name="42">
<condition field="destination_number" expression="^42$">
<action application="set" data="RECORD_TITLE=recording test"/>
<action application="set" data="RECORD_ARTIST=FreeSWITCH"/>
<action application="record_session" data="/tmp/rtest.wav"/>
<action application="playback" data="/tmp/some.wav"/>
<action application="stop_record_session" data="/tmp/rtest.wav"/>
<action application="playback" data="/tmp/some_other.wav"/>
</condition>
</extension>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2588 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-09 03:39:28 +00:00
Anthony Minessale
f689b62fb6
add dynamic buffers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2583 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 18:57:24 +00:00
Michael Jerris
12d496bb75
make detecting if it's a soundfile more flexible on windows.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2577 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 16:35:58 +00:00
Michael Jerris
597e2becbc
add flags to conference dial. add mute and/or deaf after the dial string, or none if you dont want any flags, but need to do cid number/name. Please test.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2571 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 04:49:38 +00:00
Michael Jerris
7863ad0d70
remove unnecessary muting on volume adjust and energy, bad bluetooth headsets find bugs, thanks Jason Garland for finding this one.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2541 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 05:34:11 +00:00
Michael Jerris
19a820229f
make conf use default profile if none specified, make it work with soundfiles on windows, must have full drive letter and path (i.e. C:\Windows\Media\blah.wav)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2499 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-04 03:36:56 +00:00
Anthony Minessale
1569055084
conference update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-24 20:23:43 +00:00
Anthony Minessale
d8703f5bd2
change conference
...
no more <rooms>
rooms will just be created on the fly.
<action application="conference" data="myconf@myprofile+1234"/>
+1234 is optional on-the-fly pin
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2381 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-24 02:22:57 +00:00
Anthony Minessale
9d3d3a5d69
add 1 person dyna conference
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2380 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-24 00:44:47 +00:00
Anthony Minessale
31892070a6
working towards stability with new functions
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2368 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-22 22:34:48 +00:00
Anthony Minessale
4f17ab7714
bunch of tweaks to make ivr more fun
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2350 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-21 19:14:51 +00:00
Anthony Minessale
78d060c6a7
*deep breath*
...
Ok,
This one adds a bunch of stuff on top of the framework restructuring from yesterday.
1) originate api function:
Usage: originate <call url> <exten> [<dialplan>] [<context>] [<cid_name>] [<cid_num>] [<timeout_sec>]
This will call the specified url then transfer the call to the specified extension
example: originate exosip/1000@somehost 1000 XML default
2) mutiple destinations in outbound calls:
This means any dialstring may contain an '&' separated list of call urls
When using mutiple urls in this manner it is possible to map a certian key as required
indication of an accepted call. You may also supply a filename to play possibly instructing the
call recipiant to press the desired key etc...
The example below will call 2 locations playing prompt.wav to any who answer and
completing the call to the first offhook recipiant to dial "4"
<extension name="3002">
<condition field="destination_number" expression="^3002$">
<action application="set" data="call_timeout=60"/>
<action application="set" data="group_confirm_file=/path/to/prompt.wav"/>
<action application="set" data="group_confirm_key=4"/>
<action application="bridge" data="iax/guest@somebox/1234&exosip/1000@somehost"/>
</condition>
</extension>
The following is the equivilant but the confirm data is passed vial the bridge parameters
(This is for situations where there is no originating channel to set variables to)
<extension name="3002">
<condition field="destination_number" expression="^3002$">
<action application="bridge" data=/path/to/prompt.wav:4"confirm=iax/guest@somebox/1234&exosip/1000@somehost"/>
</condition>
</extension>
Omitting the file and key stuff will simply comeplete the call to whoever answers first.
(this is similar to how other less fortunate software handles the situation with thier best effort.)
This logic should be permitted in anything that establishes an outgoing call with
switch_ivr_originate()
Yes! That means even in this new originate api command you can call mutiple targets and send
whoever answers first to an extension that calls more mutiple targets. (better test it though!)
Oh, and you should be able to do the same in the mod_conference dial and dynamic conference features
please report any behaviour contrary to this account to me ASAP cos i would not be terribly
suprised if I forgot some scenerio that causes an explosion I did all this in 1 afternoon so it probably needs tuning still.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2311 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-17 00:53:09 +00:00
Anthony Minessale
6175062b27
consolidate code in conference into todays changes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2303 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-16 00:35:02 +00:00
Anthony Minessale
0562e38a51
add proper shutdown to mod_conference
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2302 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-15 22:19:38 +00:00
Anthony Minessale
e54c549840
add bridge indication to conferences so sip disables the async rtp since we already have dual threaded i/o
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2293 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-14 21:16:17 +00:00
Michael Jerris
f1e3aa5a96
time_t cast.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-11 15:01:48 +00:00
Anthony Minessale
3a5af506b3
remove naughty operation that makes things not work
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2253 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-11 01:11:16 +00:00
Anthony Minessale
c4d890e0a4
Modify XML Dialplan
...
BTW, forget what I said yesterday RE: the strftime app I was at McDonalds, how can I concentrate there eh?
see below....
The Definitive Guide To XML Dialplan:
The "dialplan" section of the freeswitch.xml meta document may contain several contexts
<?xml version="1.0"?>
<document type="freeswitch/xml">
<section name="dialplan" description="Regex/XML Dialplan">
<!-- the default context is a safe start -->
<context name="default">
<!-- one or more extension tags -->
</context>
<!-- more optional contexts -->
</section>
</document>
The important thing to remember is that the dialplan is parsed once when the call
hits the dialplan parser in the RING state. With one pass across the XML the result
will be a complete list of instructions installed into the channel based on
parsed <action> or <anti-action> tags.
Those accustomed to Asterisk may expect the call to follow the dialplan by executing the
applications as it parses them allowing data obtained from one action to influence the next action.
This not the case with the exception being the %{api func} {api arg} field type where an pluggable api call from
a module may be executed as the parsing occurs but this is meant to be used to draw realtime info such as
date and time or other quickly accessible information and shold *not* be abused.
The anatomy of an <extension> tag.
Legend:
Text wrapped in [] indicates optional and is not part of the actual code.
a '|' inside [] indicates mutiple possible values and also is not part of the code.
Text wrapped in {} indicates it's a description of the parameter in place of the param itself.
<extension name="{exten_name}" [continue="[true|false]"]>
continue=true means even if an extension executes to continue
parsing the next extension too
The {exten_name} above may anything but if it's
an exact match with the destination number the parser will leap to this extension
to begin the searching that does not mean it will execute the extension.
Searching will either begin at the first extension in the context or at the point
the the parser has jumped to in the case described above.
Each condition is parsed in turn first taking the 'field' param.
The parser will apply the perl regular expression to each 'field' param encountered.
If the expression matches, it will parse each existing <action> tag in turn and add
the data from the <application> tags to the channels todo list.
If a matched expression contains any data wrapped in () the variables
$1,$2..$N will be valid and expanded in any of 'data' params from the subsequent action tags.
If the expression does NOT match, it will parse each <anti-action> tag in turn and add
the data from the <application> tags to the channels todo list.
*NOTE* since there was no match the () feature is not availabe in anti-actions
The 'break' param indicates how to behave in relation to matching:
*) 'on-true' - stop searching conditions after the first successful match.
*) 'on-false' - stop searching after the first unsuccessful match.
*) 'always' - stop at this conditon regardless of a match or non-match.
*) 'never' - continue searching regardless of a match or non-match.
<condition field="[{field name}|${variable name}|%{api func} {api arg}]" expression="{expression}" break="[on-true|on-false|always|never]">
<action application="{app name}" data="{app arg}"/>
<anti-action application="{app name}" data="{app arg}"/>
</condition>
<!-- any number of condition tags may follow where the same rules apply -->
</extension>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-26 20:12:49 +00:00
Anthony Minessale
da67398911
add stricter checking
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2082 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-24 18:56:20 +00:00
Anthony Minessale
7712c6637c
messaging stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1902 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-17 14:12:07 +00:00
Anthony Minessale
f45ecee214
fix command parser
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1885 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-14 21:15:26 +00:00
Michael Jerris
0d82c97797
Fix win32 Build
...
Update win32 Setup
add show calls and show channels
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1884 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-14 19:55:55 +00:00
Anthony Minessale
4aab8842cd
tweaks for wideband tests
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1883 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-14 19:42:09 +00:00
Michael Jerris
03ac8289e8
fix windows build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1833 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-11 20:59:07 +00:00
Brian West
e9fc56225f
tweak (work in progress)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1816 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-10 20:28:22 +00:00
Anthony Minessale
b9195e2db9
add ability to set mute and deaf flag from the dialplan +flags{<mute>|<deaf>}
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1811 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-10 16:28:54 +00:00
Anthony Minessale
4b4cca9c56
forgot a few stupid things, here they are
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-08 19:11:09 +00:00
Anthony Minessale
47b3010ce7
fix param names
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1789 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-07 19:07:07 +00:00
Anthony Minessale
ecb7c08923
Add volume, gain and energy controls.
...
DTMF:
1 = volume down
2 = volume default
3 = volume up
4 = gain down
5 = gain default
6 = gain up
7 = energy level down
8 = energy level default
9 = energy level up
* = toggle mute + deaf
0 = toggle mute
# = quit
new api commands to adj volume, gain and energy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1787 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-07 16:47:20 +00:00
Anthony Minessale
d3509c6b98
small change for energy detection stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1783 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-07 13:38:14 +00:00
Anthony Minessale
ee5e2e0994
add a new software conference module (mod_conference)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1770 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-06 20:12:53 +00:00