202 Commits

Author SHA1 Message Date
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