Anthony Minessale
690f7cbe9f
FS-10371: [mod_httapi] Typo in httapi causes files to always report video #resolve
2017-06-06 12:37:56 -05:00
Sergey Safarov
df1ab07ca4
FS-9924: Removed extra space in source files
2017-02-09 23:59:49 -05:00
Mike Jerris
6393832c7c
Merge pull request #1043 in FS/freeswitch from ~PERRO/freeswitch:feature/FS-9325 to master
...
* commit 'b5266ed6b44a8219be55a3f81726dbde69e8994a':
FS-9325 [mod_dptools] Priority flag for faster bind_digit_action matches
2016-11-11 15:37:43 -06:00
Mike Jerris
4dacece6a3
FS-9592: [mod_httapi] make sure to reset one time params when starting over in httapi app
2016-11-11 10:55:24 -05:00
Andy Newlands
b5266ed6b4
FS-9325 [mod_dptools] Priority flag for faster bind_digit_action matches
...
Add exec: flag, 'P' (for "Priority") to bind_digit_action so that a
match is returned as soon as it is found, without waiting for the
inter-digit timeout to expire.
This can be very useful where the system needs to be more responsive
to the user.
By default, if multiple bindings are enabled and one or more use a
regex, switch_ivr_dmachine_check_match waits for the inter-digit
timeout to expire before returning a match. This ensures overlapping
patterns, such as "^\d{4}$" and "^\12{3}$" can both be reliably matched
When the 'P' flag is specified with bind_digit_action, whose action is
exec, a match is returned as soon as the condition is satisfied,
regardless of whether or not a longer match may be possible if further
digits were entered.
For example:
<action application="bind_digit_action" data="test,~^*\d{2}$,
exec[P]:execute_extension,myextn,self,self"/>
<action application="bind_digit_action" data="test,~^#\d{2}$",
exec:execute_extension,myotherextn,self,peer"/>
The first example causes a match to be returned immediately
after the 2nd digit is received, whereas the second example
defaults to waiting for the inter-digit timeout to expire
before returning.
In cases where the 'P' flag is used with a regex and string, and both
are matched, the more explicit, string match will be returned.
For example:
<action application="bind_digit_action" data="test,~^*\d{2}$,
exec[P]:execute_extension,myextn,self,self"/>
<action application="bind_digit_action" data="test,*12,
exec[P]:execute_extension,myotherextn,self,self"/>
If "*12" is matched, myotherextn is executed, because "*12" is
more explicit/specific than "^*\d{2}$"
If the 'P'(riority) flag is not used, behaviour is unchanged from
previous versions. This ensures backward compatibility.
FS-9325 #resolve
2016-11-08 13:47:37 +00:00
Seven Du
732b6e75fe
FS-9700 #resolve
2016-11-05 20:43:27 +08:00
Anthony Minessale
328146c2fd
FS-9345 #resolve [HTTAPI truncates string when response spans multiple packets]
2016-07-12 10:54:08 -05:00
Anthony Minessale
ce087fcea6
FS-9296 #resolve [Video support for mod_httapi]
2016-06-23 16:07:31 -05:00
Anthony Minessale
550029b80e
FS-8811 #resolve [FS 1.7 crashes intermittently]
2016-03-04 16:56:55 -06:00
Ken Rice
99ca223f82
FS-8582 #resolve make sure the URL being passed here is not null
2015-11-27 10:39:38 -06:00
Mike Jerris
5c59a0159d
FS-7966: fix more msvc 2015 warnings.
2015-08-31 17:08:52 -04:00
Chris Rienzo
b28f7acac1
FS-7496 Updated mime.types, added switch_core_mime_type2ext function and used it in mod_httapi. Now, file extensions defined in mime.types will be applied if mod_httapi downloads a file without one.
2015-04-30 14:24:41 -04:00
Anthony Minessale
f770b318cf
FS-7106 #resolve
2015-01-21 18:59:05 -06:00
Brian West
1965b3b18d
FS-7106 #resolve Fix concurrency issue
2014-12-30 09:06:32 -06:00
Nathan Neulinger
dbc5571594
FS-6983 wrap new curl TLS macro usage with ifdefs
2014-11-11 16:26:44 -06:00
Anthony Minessale
33d37ce0f5
PLIV-13 #resolve
2014-11-11 14:51:19 -06:00
Anthony Minessale
ce5d21106e
FS-6761 #resolve
2014-09-11 03:29:07 +05:00
Anthony Minessale
52ed525b97
fix channel count in embedded file formats
2014-08-06 00:25:04 +05:00
Brian West
d9eafdf0cb
FS-6681: fix dup of audio/wav and add audio/x-wav
2014-07-24 08:30:44 -05:00
Michael Jerris
0469db0305
CID:1214200 Dereference null return value
2014-05-15 13:47:24 +00:00
Michael Jerris
92c6f3abc5
CID:1214192 Dereference after null check, don't crash when no file name passed on file open
2014-05-15 13:37:26 +00:00
Anthony Minessale
4178688b4a
add switch_hashtable_insert_destructor so you can insert a pointer into a hash with a custom destructor and use it in spandsp to fix a leak on reloadxml with the tone_descriptor tables and fix a bunch of random tiny leaks etc
2014-04-09 23:26:47 +05:00
Anthony Minessale
1ce92b3ae7
FS-6421 --resolve
2014-04-02 16:43:36 -05:00
Anthony Minessale
7151d6acea
FS-6402 part 2
2014-04-02 03:21:37 +05:00
Anthony Minessale
5c0cff70b3
FS-6402 --resolve
2014-04-02 01:20:19 +05:00
Brian West
666231f91b
BNPH-6149: allow to use system curl again, fix some types on auth_scheme values to all be long, don't use curl private function in our wrapper. This may cause missing symbol curl_easy_setopt with visibility turned on, if it does that, please let me know
2014-03-12 13:47:24 -05:00
Anthony Minessale
bc70900335
PLIV-5 --resolve httpapi cache not working for some urls
2014-03-10 12:20:16 -05:00
Anthony Minessale
804ef7709d
change from sqlite hash to newly added one
2014-03-09 00:37:17 +05:00
Anthony Minessale
79c8951260
FS-6228 --resolve
2014-02-14 21:04:51 +05:00
Ken Rice
6e7d5d0897
update copyright header for 2014
2014-02-12 12:08:56 -06:00
Peter Olsson
084e245085
Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks.
2014-01-22 22:30:23 +01:00
Anthony Minessale
715731de9a
FS-6026 --resolve
2013-12-05 11:35:33 -06:00
William King
3329141e74
Don't risk the double free, use switch_safe_free here same as in ~15 lines.
2013-09-15 15:57:17 -07:00
Anthony Minessale
7d6d688e53
FS-5731 --resolve
2013-08-26 20:25:14 +05:00
Anthony Minessale
2ea31f5d95
add preAnswer and ringReady too
2013-06-27 16:31:29 -05:00
Anthony Minessale
41c1c1cb75
add answer work tag to httapi
2013-06-27 16:25:59 -05:00
Nathan Neulinger
32adc789f6
make noexpandtab explicit in all vim modelines other than xml files
2013-06-25 11:50:17 -05:00
Anthony Minessale
d049b71ca7
favor the lessor of the configured cache-ttl or the max-age, add an abs-cache-ttl to be forced cache ttl, and add cache_ttl and abs_cache_ttl url params to set it per req
2013-04-23 15:52:41 -05:00
Anthony Minessale
10af50d96c
FS-5219 --resolve
2013-03-26 10:09:02 -05:00
Anthony Minessale
c7fcf8c3c6
FS-5200 --resolve this patch did not apply please be up to date with latest HEAD when generating patches
2013-03-19 08:39:19 -05:00
Anthony Minessale
8afe9f3c3f
FS-5196 --resolve
2013-03-19 08:31:57 -05:00
Anthony Minessale
2dc3b47db1
FS-5196 --resolve
2013-03-18 16:12:11 -05:00
Anthony Minessale
e7f6ea7200
FS-5197 --resolve
2013-03-18 16:08:46 -05:00
Anthony Minessale
abdc4bf091
add some more mime types for wav and mp3
2013-03-15 20:34:24 -05:00
Anthony Minessale
a684e7511d
fix cache file messup
2013-03-15 20:34:24 -05:00
Anthony Minessale
e76e6b20f6
FS-5129 --resolve
2013-02-26 20:48:39 -06:00
Anthony Minessale
48e9a476c9
detect extension based on content-type when one is not specified for wav and mp3
2013-02-26 15:36:24 -06:00
Anthony Minessale
e0b883f581
FS-5105 --resolve
2013-02-19 13:17:24 -06:00
Anthony Minessale
6abdbe5ac4
FS-5044 --resolve proposed solution appears to be the best route
2013-02-14 11:20:11 -06:00
Anthony Minessale
dd8784a9e0
add terminators to dmachine and a way to use them in dp_tools and httapi
2013-01-21 15:36:35 -06:00