Anthony Minessale
5fe3a22d83
fix inaccurate sample count in file handle, buffered samples were being double tallied
2011-09-21 11:05:33 -05:00
Michael S Collins
e4d473190d
mod_dptools: add transfer_on_failure ext/dp/context to play_and_get_digits
...
If max tries is reach and user has not made a valid entry then system transfers the call leg to the specified destination.
2011-08-18 20:29:52 -07:00
Anthony Minessale
5cf6dc3115
FS-3505 --resolve copied same code from the other place the original intention was to behave as described in the bug report but it seemed like a reasonable enough request
2011-08-16 16:11:38 -05:00
Anthony Minessale
38b3f43d7d
add prefix chars to playback_terminators + means include the term in the string and x means include the char and return SWITCH_STATUS_RESTART eg #+* only includes the * if you type it but not the #
2011-05-19 15:39:43 -05:00
Anthony Minessale
73279f01bf
FS-3166 --resolve
2011-04-22 16:43:29 -05:00
Marc Olivier Chouinard
4137b360cf
switch_ivr/xml: Change the structure of the phrases/language system. Previously it was fxml->phrases->macros->language->macro. Changed it so fxml->languages->language->phrases->macros->macro
...
You can have sub macros <macros name="voicemail"><macro ...> and allow you to call it login@voicemail.
Change the sound-path to sound-prefix to make it constistant with the rest of freeswitch.
Also allow to set a sound-prefix to a macros, so you can override it for a specific file set.
You can set say-modules="en" or whatever in the <language section to define that say module to use.
2011-04-20 13:09:03 -04:00
Daniel Swarbrick
8c98328433
Allow longer input regexes to be used in phrases
2011-04-06 15:36:35 +02:00
Anthony Minessale
0871b8c53a
FS-3217 --resolve
2011-03-31 18:29:49 -05:00
Anthony Minessale
913ec9861e
FS-3176 forget the last patch I forgot there is no way to know the right codec using it the file string way, you will just have to manually specify en.PCMA as before but now it should work
2011-03-31 15:01:58 -05:00
Anthony Minessale
bc397ab600
FS-2971
2011-02-25 10:55:47 -06:00
Anthony Minessale
976859bb45
fix unreachable condition with a null args to make any key stop playback/record etc without dequing and remove hard-coded flush digits in play_and_get_digits be sure to flush it yourself before using
2011-01-24 14:04:26 -06:00
Anthony Minessale
7a1dcb6958
add record_restart_time_limit_on_dtmf var
2011-01-24 09:43:16 -06:00
Anthony Minessale
b262f44ce2
add temp_hold_music var that is only valid until you transfer the call and finishing touches on bind meta to A-D
2011-01-05 18:58:56 -06:00
Anthony Minessale
27869d7a26
add bind meta on A-D and refactor
2011-01-05 17:53:27 -06:00
Brian West
3734f4cd44
bump copyright date and fix some email and typos from diego.
2011-01-05 10:09:04 -06:00
Jeff Lenk
fe005bddd7
FS-2789 fix secondary issue with min_digits = 0 and terminator key pressed to cancel
2010-12-21 22:15:03 -06:00
Anthony Minessale
28cab5ed46
FS-2923
2010-12-13 18:00:15 -06:00
Brian West
b2a3bbff9b
Fix samples for playback
2010-12-13 10:30:00 -06:00
Anthony Minessale
c4369fc84d
add uuid_fileman <uuid> <cmd>:<val> <-- same vals as the callbacks in js and lua to control the currently playing file of a channel from the cli or ESL (for the people who were ignoring me on the conference call so I decided to implement it instead of try to explain it )
2010-11-30 15:34:22 -06:00
Anthony Minessale
17ac6ba9c6
add record overwrite
2010-10-26 19:34:47 -05:00
Anthony Minessale
afb00ef5a1
tweaks
2010-10-17 18:52:03 -05:00
Anthony Minessale
ec9fddacce
add some more dmachine code for args parsing
2010-10-11 18:38:30 -05:00
Anthony Minessale
20d17baae2
set idle pattern to 255 instead of 0 to prevent clipping sound on short frames from mod_native_file FS-2772
2010-10-11 16:36:04 -05:00
Anthony Minessale
7f3319dc11
add switch_ivr_dmachine async digit parser to core
2010-10-04 18:23:43 -05:00
Anthony Minessale
cfa30468e8
sprinkle digit_timeout into switch_ivr_read and switch_ivr_play_and_get_digits and the higher level variants
2010-09-23 18:37:45 -05:00
Jeff Lenk
6d74d7ab66
MODAPP-448 Phrase "speak-text" application returns on first key press in phrase file on Windows
2010-08-23 15:54:23 -05:00
Anthony Minessale
d6d7773ca4
FSCORE-639 with some additional changes
2010-07-29 17:41:33 -05:00
Mathieu Parent
25fe16dfed
ivr_play: preanswer before getting variables to avoid crash
2010-07-22 23:53:11 +02:00
Anthony Minessale
dac1243900
add playback_timeout_sec to core and make it useful in valet_parking
2010-06-18 18:07:31 -05:00
Anthony Minessale
eba05c3c01
allow uuid_break to interrupt one or all in a delimited string of files the same as several individual files
2010-06-04 10:15:04 -05:00
Anthony Minessale
cb79d08592
FSCORE-571
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16995 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-15 20:41:56 +00:00
Mathieu Rene
52e52eb9d1
FSCORE-571
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-14 23:54:24 +00:00
Anthony Minessale
a0891fa211
check for true
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16965 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-10 23:53:12 +00:00
Anthony Minessale
cf521109d2
add record_fill_cng var
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16964 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-10 23:40:14 +00:00
Michael Jerris
aceb06f24f
move common say 'spell' function into shared code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16931 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-07 21:26:36 +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
2a0bc6c526
FSMOD-39
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16917 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-05 18:58:08 +00:00
Anthony Minessale
19e7c013d8
add an event to phrases to be used as possible variables in parsing
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16885 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-03 20:49:38 +00:00
Anthony Minessale
d2c6900240
fix mem leak in phrases
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16884 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-03 19:55:15 +00:00
Marc Olivier Chouinard
4ce38bb4d9
switch_ivr_play_say: Fix a segfault when using <nomatch/> in phrases
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16711 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-21 08:45:38 +00:00
Anthony Minessale
d4b1da5c67
FSCORE-554
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16706 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-19 18:59:10 +00:00
Brian West
ee2345d81c
FSCORE-552
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16694 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-18 19:54:58 +00:00
Anthony Minessale
644664004c
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16646 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-15 20:16:06 +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
3049cd5c8d
try this Vagabond
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16517 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-26 18:20:09 +00:00
Brian West
e485dcc73f
remove extra error log where not needed
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16077 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-29 17:59:30 +00:00
Anthony Minessale
fa34dcce04
DP-10
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16011 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-21 19:11:34 +00:00
Brian West
726464555c
FSCORE-517
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16003 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-18 23:19:53 +00:00
Anthony Minessale
6a82ae0485
null out var on each new call to read app
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15918 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 21:50:29 +00:00
Michael Jerris
06a4ef9735
core: don't hangup call on asr errors (FSCORE-493)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15623 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-23 17:54:08 +00:00
Anthony Minessale
9cf0d7f846
add append and truncate to audio file api
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15503 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 21:40:09 +00:00
Anthony Minessale
bd85ca8108
const
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15460 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-13 16:37:23 +00:00
Anthony Minessale
45dc6306ee
add read_frame_callback to gentones
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15459 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-13 15:52:20 +00:00
Brian West
a893812665
FSCORE-486
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15446 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-12 15:12:32 +00:00
Anthony Minessale
940ba327e7
fix some sample count issues
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15395 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-06 23:29:36 +00:00
Anthony Minessale
10bc5514df
missing %s in 2 places
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-01 18:51:02 +00:00
Anthony Minessale
eac46e9dc4
answer channel on record to ensure media
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15265 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-29 05:11:54 +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
1fd13eeb5e
fix playback_ms and record_ms to work right and add playback_seconds and record_seconds
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15155 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-13 22:29:20 +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
3fd6e624f0
FSCORE-463
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-12 16:21:39 +00:00
Marc Olivier Chouinard
6baff277af
PHRASES: Add Recursive phrases support (FSCORE-458)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15101 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-06 20:13:50 +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
e7fff13f76
BOUNTY-9 (Thank you Xpander Communications) [part 2]
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14891 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-16 20:46:36 +00:00
Anthony Minessale
2c0eaac332
add record_start and record_stop events
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14591 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-21 22:29:44 +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
b164cbfe9c
init buffer in lead out on speak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13787 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-16 21:33:31 +00:00
Anthony Minessale
9675a6e24b
record_sample_rate variable influences the rate record app will use
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13769 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-12 16:06:34 +00:00
Anthony Minessale
566e56b192
record_sample_rate variable influences the rate record app will use
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13767 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-12 15:59:19 +00:00
Michael Jerris
389bc359c5
fix div by zero
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13669 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-08 14:45:40 +00:00
Anthony Minessale
72c680f005
FSCORE-373
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13508 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-29 18:48:54 +00:00
Anthony Minessale
ff3be9d97f
MODAPP-280
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13382 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-18 17:39:59 +00:00
Brian West
2ca10c4f4f
fix play and get digits when using phrase macros
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-06 18:00:28 +00:00
Anthony Minessale
4ef0633663
fix unint memory issue
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-29 15:08:53 +00:00
Anthony Minessale
e223c655b8
Stings of files
...
method 1 high level (core most funcs that use switch_ivr_playback)
Delimiter is set by a var which also enables the parser
<action application="set" data="playback_delimiter=!"/>
<action application="set" data="playback_sleep_val=500"/>
<action application="playback" data="/ram/sr8k.wav!/ram/swimp.wav"/>
method 2 low level (mod_file_string lower level code that uses direct file handles)
Delimiter is always !
<action application="playback" data="file_string:///ram/sr8k.wav!/ram/swimp.wav"/>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-28 23:46:18 +00:00
Anthony Minessale
376754e4d1
when they want to waste they mean it
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13152 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-26 14:39:03 +00:00
Anthony Minessale
2ae88375cd
init buffer
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13151 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-25 22:10:40 +00:00
Anthony Minessale
a453609b38
add record_waste_resources channel variable to send blank audio during recording to shut up whiny sip providers for the guys on the list
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13144 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-25 13:05:39 +00:00
Anthony Minessale
1797ffc016
add record_ms, record_samples, playback_ms and playback_samples chanvars
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13105 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-21 19:32:55 +00:00
Anthony Minessale
21538b2bf9
run expand_vars if input contains a special escaped character not just when it contains a variable to eat up back slashes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13015 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-14 15:24:30 +00:00
Michael Jerris
7cd48301d9
fix play_and_get_digits to unset the var if the regex didn't match. and fix ESL/IVR to include the regex
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12921 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-06 19:25:02 +00:00
Anthony Minessale
718e5da6aa
FSCORE-347
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12873 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-01 20:11:36 +00:00
Anthony Minessale
debe5daebb
add read_terminator_used var
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12840 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-30 16:48:44 +00:00
Mathieu Rene
09e73f807d
dont leak the xml structure if answer fails
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12624 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-16 18:49:58 +00:00
Anthony Minessale
ad6d584403
MODAPP-228
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12480 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-06 14:12:32 +00:00
Anthony Minessale
7fee8a448a
MODLANG-100
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12431 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-05 03:08:15 +00:00
Anthony Minessale
8d377e5cff
remove unused code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12258 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 00:18:30 +00:00
Anthony Minessale
c5d6f3f440
oops
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12229 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 23:47:09 +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
Anthony Minessale
e66b78047a
fix some language issues and move media bug removal to hangup state
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12225 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 22:50:35 +00:00
Anthony Minessale
da507c5f1e
add resampler to speech handles
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12141 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-18 18:53:28 +00:00
Michael Jerris
b0fa96a32d
mod_say_en: add short form date/time (MODAPP-180)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12072 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 22:24:25 +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
Michael Jerris
93ec3d687a
prevent exclusive hold on xml registry during visits to the phrase section
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11900 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 00:27:07 +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
Anthony Minessale
0aa16a65d6
lisdexic
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-07 21:22:12 +00:00
Anthony Minessale
14aba33e38
add enable_file_write_buffering variable
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11677 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-06 20:44:53 +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
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
Brian West
69f7357506
Adding the ability to pass the var_name to store the results in.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-15 03:42:45 +00:00