Commit Graph

18189 Commits

Author SHA1 Message Date
Anthony Minessale 852c0dcfae move scale_and_patch operation to session specific thread to speed up central mux thread 2015-07-30 18:49:30 -05:00
Mike Jerris e3a301f31c Merge pull request #373 in FS/freeswitch from ~CXREG/freeswitch-api-redirect:feature/api-redirect to master
* commit '9b3f8702717cfbe7e1ad72365acb124a86060fbf':
  FS-7922 Add uuid_redirect API command
2015-07-30 18:45:07 -05:00
Anthony Minessale c727b985eb FS-7908 FS-7092 refactor #comment test 2015-07-30 18:11:13 -05:00
Dave Olszewski 9b3f870271 FS-7922 Add uuid_redirect API command
This provides the equivalent functionality of the dptools "redirect"
application as an api command
2015-07-30 13:26:05 -07:00
Brian West ab7f83c654 FS-7769
fixed vmute on personal canvas
fixed changing layouts on personal canvas
2015-07-30 14:29:09 -05:00
Brian West 13b840e75c FS-7917 #resolve Fixed default config, original patch was correct but we really shouldn't be setting ext-*-ip settings for ipv6 profiles 2015-07-30 11:45:46 -05:00
Michael Jerris 351a8ca34c Revert "FS-7917 add check for ipv6 in sofia_glue_create_via"
This reverts commit 4c8bf297fb.

This behavior change was incorrect, sorry
2015-07-30 11:44:38 -04:00
Mike Jerris 59ddb36a48 Merge pull request #377 in FS/freeswitch from ~LAZEDO/freeswitch:bugfix/fs-7917 to master
* commit '4c8bf297fb9c78fc59dc607c5c4fb221a873f731':
  FS-7917 add check for ipv6 in sofia_glue_create_via
2015-07-30 10:38:17 -05:00
Mike Jerris b006d30eeb Merge pull request #378 in FS/freeswitch from ~LAZEDO/freeswitch:bugfix/fs-7918 to master
* commit '183b51dd5c95910d0fffe4d1d375710c965d72bc':
  FS-7918 small fixes in mod_kazoo
2015-07-30 10:36:04 -05:00
Mike Jerris 40f95f28d8 FS-7919: [mod_conference] fix rebuild dependency on header file 2015-07-30 10:32:18 -05:00
Luis Azedo 183b51dd5c FS-7918 small fixes in mod_kazoo 2015-07-30 16:17:09 +01:00
Luis Azedo 4c8bf297fb FS-7917 add check for ipv6 in sofia_glue_create_via 2015-07-30 16:09:56 +01:00
Mike Jerris 01672dc96b Merge pull request #369 in FS/freeswitch from ~MICHAELGG/freeswitch:minor_perf_tweaks to master
* commit 'c599f4f44701af865283f33eb0100d395fa77c7f':
  FS-7894: On Windows, use critical sections instead of mutexes. (Mutexes on Windows are cross-process, unlike lightweight Linux futexes.)
  FS-7894: Event header ARRAY:: data -- use strcmp to ensure data begins with ARRAY:: instead of substring search
2015-07-29 22:16:34 -05:00
Mike Jerris 3e0a0ba833 attempt to optimize patch function 2015-07-29 22:11:59 -05:00
Anthony Minessale 51b38145e4 FS-7760 add clear vs allclear to logo and banner api to clear variable too 2015-07-29 21:31:56 -05:00
Mike Jerris c6596b1bd0 attempt to optimize patch function 2015-07-29 21:03:02 -05:00
Anthony Minessale 06758f6f4f FS-7913 #resolve 2015-07-29 16:00:22 -05:00
Anthony Minessale 7644b6834f FS-7760 add some more params 2015-07-29 15:53:29 -05:00
Chris Rienzo 6a0bfbf61a FS-7912 add session UUID to embedded language (lua, javascript, etc) logs when session sanity check fails 2015-07-29 15:11:47 -04:00
Michael Jerris 543fab93dd FS-7906: [mod_av] correct crash from multithreaded opening or closing of multiple files at the same time 2015-07-29 14:09:51 -05:00
Chris Rienzo a0b53d06f5 FS-7912 add session UUID to lua error logs, if known. 2015-07-29 14:43:34 -04:00
Anthony Minessale b60e92bc53 hack sync for now %noWIR 2015-07-28 21:42:08 -05:00
Anthony Minessale 43b7accfd9 don't reset logo on banner change 2015-07-28 20:18:24 -05:00
Anthony Minessale 34fd0e9ad8 FS-7769 More features
add var=val member lookup usable wherver member_id is valid in api commands
add bgimg to layouts with api command or config for global setting
fix bug with overlap layouts combined with odd sized layers
improve switch_img_fit to take a modifier for fit, streach or both at once
2015-07-28 19:43:04 -05:00
Brian West 37b6f48ae4 FS-7908 use rates for audio codecs only #resolve 2015-07-28 15:58:08 -05:00
Anthony Minessale d5a52273a9 FS-7519 FS-7677 fix h264 issue caused by 5e9a4992e6 2015-07-28 12:26:12 -05:00
Seven Du 7191e02f65 FS-7904 #resolve #fixed #comment fixed alpha image patching 2015-07-28 09:17:12 +08:00
Brian West da5416bf77 FS-7900 #resolve 2015-07-27 09:29:34 -05:00
Michael Giagnocavo c599f4f447 FS-7894: On Windows, use critical sections instead of mutexes. (Mutexes on Windows are cross-process, unlike lightweight Linux futexes.) 2015-07-26 20:02:22 -06:00
Michael Giagnocavo 17241c8bcd FS-7894: Event header ARRAY:: data -- use strcmp to ensure data begins with ARRAY:: instead of substring search 2015-07-26 19:56:32 -06:00
Anthony Minessale 75e46cedb8 FS-7893 --resolve 2015-07-25 12:52:46 -05:00
Michael Jerris 8e1b2eab7b FS-7839: attempt to work with new EC dtls requirements for firefox >38 2015-07-24 15:22:21 -05:00
Anthony Minessale 9665956431 FS-7887 #resolve 2015-07-24 13:47:48 -05:00
Anthony Minessale bd31d60ee9 FS-7891 should be bytes not samples 2015-07-24 11:43:34 -05:00
Anthony Minessale 00f1682617 avoid queue swell on local_stream vid 2015-07-24 11:38:39 -05:00
Mike Jerris 55aefa31af Merge pull request #367 in FS/freeswitch from ~SEVEN/fs-7677:fs7677 to master
* commit 'f55ac43672d6cdaeb412b14964b7701b3d7de4b5':
  FS-7677 handle packet loss
  FS-7519 FS-7677 trying to add H263 support FS-7519 FS-7677 fix key frame parsing and add some debug logs be verbose about invalid dimensions cleanup and refactor encoder params
2015-07-24 10:51:05 -05:00
Mike Jerris 51185079c2 Merge pull request #365 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:FS-7882 to master
* commit '1d7a496889dcf1dbb4cb9bb40a3b4b449cdfd60a':
  Allow JSON API commands to send third arg for muting
2015-07-24 10:32:32 -05:00
Mike Jerris 6fb5058257 Merge pull request #358 in FS/freeswitch from ~MICHAELGG/freeswitch:processor_times to master
* commit 'ba9c44bbd0fd0958f48744fcf00b6c619c0202fc':
  FS-7885 Add getcputime command
2015-07-24 10:29:31 -05:00
Michael Giagnocavo ba9c44bbd0 FS-7885 Add getcputime command 2015-07-24 02:34:00 -06:00
Anthony Minessale 7898c60282 FS-7891 #resolve #comment Resample audio to 8k before feeding it to spandsp dtmf detector 2015-07-24 01:11:04 -05:00
Seven Du f55ac43672 FS-7677 handle packet loss 2015-07-24 09:35:53 +08:00
Seven Du 5e9a4992e6 FS-7519 FS-7677 trying to add H263 support
FS-7519 FS-7677 fix key frame parsing and add some debug logs
be verbose about invalid dimensions
cleanup and refactor encoder params
2015-07-24 09:35:42 +08:00
Seven Du 967bff55a2 FS-7811 #comment use more common format CIF for blank img 2015-07-24 09:30:57 +08:00
Anthony Minessale 9e0272f63e FS-7654 part 3 2015-07-23 20:22:23 -05:00
Michael Jerris 12a6b8bc53 FS-7889: [mod_conference] move conference chat to use an event channel so messages only go to the right 'room' for the conference 2015-07-23 19:09:24 -05:00
Chad Phillips 1d7a496889 Allow JSON API commands to send third arg for muting
The mod_conference API supports passing an optional third arg for all
mute commands (mute, unmute, tmute, vmute, unvmute, tvmute). This patch
adds support for the optional third arg to the JSON API.

FS-7882 #resolve
2015-07-22 21:58:32 -07:00
Michael Jerris cbc489fe27 FS-7870: [mod_conference] allow jsonapi commands to take string variant of id attr 2015-07-22 21:06:35 -04:00
Michael Jerris 64cbb72ac8 FS-7870: [mod_conference] allow jsonapi commands to take string variant of id attr 2015-07-22 18:13:10 -04:00
Anthony Minessale 16915ea996 FS-7874 #resolve 2015-07-22 14:42:58 -05:00
Michael Jerris 7b49bc8ecb FS-7872: [mod_verto] handle attempting to transfer 1 legged call gracefully 2015-07-22 11:00:54 -05:00
Anthony Minessale 17f8002936 FS-7654 regression on eavesdropping on channels with unlike rates 2015-07-22 00:37:41 -05:00
Anthony Minessale 95d4f18e52 FS-7654 regression on eavesdropping on channels playing a file because of channel count of 0 on write frame from stream_file 2015-07-22 00:29:56 -05:00
Brian West e2f17ea04a FS-7869: [mod_conference] fix deadlock on shutdown after playing video file that will not display video 2015-07-21 18:41:49 -05:00
Anthony Minessale cbccadaa2f factor out conference->canvas and allow per canvas record and play 2015-07-21 16:54:23 -05:00
Mike Jerris 42274f34cf Merge pull request #355 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-encode-repacketize to master
* commit '566a1491e30a0aa19fd6ade164beb72421c54749':
  FS-7848 : mod_opus: Add ptimes: 80 ms, 100 ms, 120 ms (Opus repacketize)
2015-07-21 16:28:02 -05:00
Dragos Oancea 566a1491e3 FS-7848 : mod_opus: Add ptimes: 80 ms, 100 ms, 120 ms (Opus repacketize) 2015-07-21 17:13:16 -04:00
Brian West 02539c6c4f FS-7861, FS-7862: [mod_conference] fix crash and other issues caused by multi canvas feature 2015-07-21 15:43:14 -05:00
Mike Jerris 81b209d516 Merge pull request #356 in FS/freeswitch from ~BRADLEYJOKINEN/freeswitch:FS-7789 to master
* commit 'f67b6d1cefe0e86205d8c7214b3db23ca81e04eb':
  FS-7789 [mod_av] Fixed issue with audio dropping out partway through recordings
2015-07-21 12:33:43 -05:00
Michael Jerris 6b68cf4beb FS-7866: fix crash when running incorrect var api expansion syntax "eval ${${external_sip_ip}:4}" 2015-07-21 12:23:21 -05:00
Seven Du ddfea1e4a0 FS-7856 #comment fix some segs and leaks, thanks Mike 2015-07-21 22:04:27 +08:00
William King dc3703709d Merge pull request #359 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:FS-7813-again to master
* commit 'bb75a34f34cbcb6f3da7e940580e506d2b8e5969':
  Restoring commit lost in mod_conference refactor.
2015-07-20 23:39:39 -05:00
Chad Phillips bb75a34f34 Restoring commit lost in mod_conference refactor.
Commit c49f87313a, which added a vmute
option to the conference member flags, was somehow lost in the
mod_conference refactor. This commit restores the lost code.

FS-7813 #resolve
2015-07-20 21:36:17 -07:00
William King 1442aeb425 FS-7860 #resolve 2015-07-20 21:09:25 -07:00
Bradley Jokinen 99f5234fef FS-7854 Add task_runtime to tasks table in core database
This patch adds the task_runtime column to the tasks table in the core
database. The BIGINT type is used for this column because a 64-bit integer
is used to store task runtimes within the scheduler.
2015-07-20 15:06:46 -05:00
Bradley Jokinen f67b6d1cef FS-7789 [mod_av] Fixed issue with audio dropping out partway through recordings
This fixes an issue with mod_av where audio was not included for the entire
duration of a recording initiated by something other than the record_av app.
2015-07-20 11:28:38 -05:00
Anthony Minessale 3148b1ad74 FS-7847 fix logo ratios and add borders too 2015-07-17 20:18:26 -05:00
Mike Jerris 3b2b09c3df FS-7847: [mod_conference] add layers that do not match the aspect ration of conference by using the new hscale layer param for horizontal scale, and add zoom=true param to crop layer instead of letterbox, add grid-zoom layout group that demonstrates these layouts 2015-07-17 16:37:24 -05:00
Michael Jerris e0ef31930d FS-7846: [mod_dptools] add eavesdrop_whisper_aleg=true and eavesdrop_whisper_bleg=true channel variables to allow you to start eavesdrop in whisper mode of specific call leg 2015-07-17 16:28:50 -05:00
Anthony Minessale 7b47e29919 fix whitespace snafu 2015-07-17 11:47:22 -05:00
William King 59d1bdae1e FS-7845 whitespace and indention 2015-07-16 17:43:12 -07:00
William King d8194e9edb FS-7845 File rename to remove mod_* prefix to local module C files. Change
function name prefixes from shorthand 'conf' to longer form
'conference'. Also fixes the channel variable names which had been
caught in an over zealous perl -pi -e command...
2015-07-16 17:15:09 -07:00
William King 14aa720512 FS-7845 Rename functions so that they relate to the file that they are
located in.
2015-07-16 14:36:58 -07:00
William King 756ef77b7b FS-7845 Refactor of mod_conference to improve compilation speed, and
logical organization.
2015-07-16 14:36:58 -07:00
Mike Jerris d569b4ab98 Merge pull request #351 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:rtcp_loss_fraction_codec_control-fix to master
* commit '18b47b8e781818e758bb0604b4b8e6ca2302497e':
  FS-7844: packet loss fraction fix when calculating loss average
2015-07-16 11:33:18 -05:00
Anton Lozovsky 8068c4e11c FS-7731 mod_xml_cdr: url_index global pointer concurrent access fix, curl default connection timeout fix
- thread variable copy of url_index global pointer to prevent the concurrent access having wrong state change if the posting to the current http server was unsuccessfull;
- overriding the default curl connection timeout

Based on need to figure out the smallest block of code need to mutex, and that libcurl (and its wrapper) is definitely thread safe.
2015-07-16 19:18:24 +03:00
Dragos Oancea 18b47b8e78 FS-7844: packet loss fraction fix when calculating loss average 2015-07-16 12:06:58 -04:00
Nimrod Astrahan 4c5125b5d2 FS-7549 #resolve
Added an API for removing an active ladspa effect on a channel. For conformance reasons, the uuid_ladspa command now accepts 'stop' and 'start', while the previous functionality (without any verb) which will simply add ladspa remains intact.
2015-07-16 16:05:45 +03:00
Anthony Minessale 2751039784 add dial-prefix and absolute-dial-string to the nightmare xml 2015-07-15 16:57:05 -05:00
Michael Jerris e910e86bfb FS-7760: revise channel fetch on nightmare transfer 2015-07-15 16:28:29 -05:00
Chad Phillips c49f87313a Add vmute member flag to mod_conference.
A 'vmute' flag can be applied to individual conferees when entering the
conference. When the flag is passed, conferees will enter the conference
with their video muted.

FS-7813 #resolve
2015-07-15 13:00:12 -07:00
Anthony Minessale 56ee6537ca allow groups to show up in layer list, add delay for new layers to change canvases to give it time to auto adust in group situations 2015-07-15 12:16:16 -05:00
Michael Jerris b1a5efcbe8 change log levels to debug 2015-07-15 12:50:36 -04:00
Mike Jerris 978c4c9367 Merge pull request #340 in FS/freeswitch from ~VIPKILLA/freeswitch-fs-7818:master to master
* commit 'af9310ce009ead48b68b437f32e8f6df6cccea6f':
  add channel variable odbc-cdr-ignore-leg to ignore per leg
2015-07-15 11:25:10 -05:00
Mike Jerris 0b097dd597 Merge pull request #346 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-sprop-stereo to master
* commit '37dc3929df76b2fbca1569ff3416b191a213029c':
  FS-7829: mod_opus: add sprop-stereo fmtp param (just read it)
2015-07-14 12:53:41 -05:00
Mike Jerris 3b10e4d9f2 Merge pull request #347 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-dtx to master
* commit 'dc6d7c32dd433735dcc1f20a50fdebffe71817fa':
  FS-7830: mod_opus: added use-dtx param in config file (enables DTX on the encoder, announces in fmtp)
2015-07-14 12:52:39 -05:00
Mike Jerris 0ab1f93945 Merge pull request #348 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-cleanup-bugfix-asymmetric-fmtp to master
* commit '65135c5f403b87b64281dbfc9e6a97e4b351600e':
  FS-7832: fixes when comparing local and remote fmtp params
2015-07-14 12:51:40 -05:00
Anthony Minessale 5cd888f840 pass refresh requests to gen key frames on video bridge 2015-07-14 11:17:39 -05:00
Dragos Oancea 65135c5f40 FS-7832: fixes when comparing local and remote fmtp params 2015-07-13 19:54:11 -04:00
Michael Jerris d18c964ba7 FS-7769: fix build issue 2015-07-13 18:14:10 -04:00
Dragos Oancea dc6d7c32dd FS-7830: mod_opus: added use-dtx param in config file (enables DTX on the encoder, announces in fmtp) 2015-07-13 18:12:11 -04:00
Anthony Minessale f726cb9a53 FS-7769: [mod_conference] Add new multi-canvas and telepresence features
mod_conference new features:
add conference layout "1x1+2x1" and add to layout group grid
add conference flag video-bridge-first-two conference flag
add conference flag video-required-for-canvas to only use avatars for members with video
add conference flag video-muxing-personal-canvas
add conf_verto_ prefix for variables to pass on live array subscription notice
add api command conference foo vid-canvas <member_id|all|last|non_moderator> [<newval>]
add api command conference foo vid-layer <member_id|all|last|non_moderator> [<newval>]
add api command conference foo vid-watching-canvas <member_id|all|last|non_moderator> [<newval>]
changed api command conference foo vid-layout, args are now "<layout name>|group <group name> [<canvas_id>]"
add channel vars you can set before entering conference video_initial_canvas and video_initial_watching_canvas
add many new output status vars to conference list api
add new conference member flag "second-screen"
add config param video-canvas-count
add config param video-super-canvas-label-layers
add config param video-super-canvas-show-all-layers
add config param video-super-canvas-bgcolor

verto client:
add google login
add hipchat js file
conf_verto_hipchatURL= to control what hipchat server appears if any
global device init and overrides
allow passing sessid
add confMan.canvasCount
add handling of multiple canvases and launching them, and controlling all of their layouts
re-layout moderator controls and add support for changing the watching and input canvas and layers
when launching another canvas, watch subscriptions for the original call so we can automatically close the additional window
maintain camera settings on call recovery
2015-07-13 18:03:16 -04:00
Dragos Oancea 37dc3929df FS-7829: mod_opus: add sprop-stereo fmtp param (just read it) 2015-07-13 17:40:34 -04:00
Bradley Jokinen c797e948c8 FS-7824 Add functionality for capturing screenshots from both legs to uuid_write_png
With this patch, uuid_write_png is able to capture screenshots from both
legs of a bridged video call. It still expects a uuid and filename for
the first two arguments. If given a third argument, it must be concat
or split. If concat is specified, screenshots from both ends are taken
and written side by side to the given filename. If one image is shorter
than the other then it is padded with black and vertically centered. If
the third argument is split then the two screenshots are written to
separate files. In this case, a second filename is expected as a fourth
argument.
2015-07-13 09:35:38 -05:00
karl anderson 58043483cd FS-7773 [mod_sofia] transfer events #resolve 2015-07-10 19:46:10 +01:00
Brian West 7e660ea856 Merge pull request #341 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-keep-fec-on-improve to master
* commit '244331aa1536a0dad2cc115757fc5507446e1b00':
  FS-7819: mod_opus: restore bitrate after increase (if there's no more packet loss) , added step for 60 ms
2015-07-10 10:57:36 -05:00
Dragos Oancea 244331aa15 FS-7819: mod_opus: restore bitrate after increase (if there's no more packet loss) , added step for 60 ms 2015-07-10 11:35:27 -04:00
Emmanuel Schmidbauer af9310ce00 add channel variable odbc-cdr-ignore-leg to ignore per leg 2015-07-10 10:10:12 -04:00
Artur Zaprzała 9d6ad1f9a5 FS-7405 Fix <condition regex="all"> to work with time conditions 2015-07-09 23:03:15 +02:00
Luis Azedo 4dc7b3b246 FS-7760 #resolve
added xml fetch for channels to externally support nightmare transfer
depends on channel-xml-fetch-on-nightmare-transfer profile param (default is disabled)

fixes missing entry in switch_xml.c to enable the xml binding
2015-07-09 20:00:28 +01:00
Mike Jerris 637f0695d3 Merge pull request #277 in FS/freeswitch from ~ARTURZ/freeswitch:FS-7639-audio-sent-as-dtmf to master
* commit '8b1ce0f163e5c8fd3cbdbdd3ae67784859ba80b9':
  FS-7639 Fix rtp_session->recv_te and rtp_session->cng_pt comparisions in switch_rtp.c
2015-07-09 12:23:17 -05:00
Mike Jerris 934e445b6f Merge pull request #308 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-7198:master to master
* commit '48b44832b2902831c86e96ca7fa29680eec7defa':
  FS-7198 add coma separated values and reverse ranges for time-of-day and day-of-week matches
2015-07-09 12:13:21 -05:00
Mike Jerris 72c5d6fa3f Merge pull request #338 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-ptime-60ms-support to master
* commit '76bdd2b0d57e63a0d59bf78088af25ec733b7426':
  FS-7809: mod_opus: added 60 ms ptime for Opus at 8 khz  ( opus@8000h@60i )
2015-07-09 11:11:36 -05:00
Mike Jerris 58fe3c5ab2 Merge pull request #337 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-cbr to master
* commit 'be6e6ea5fb7b25001ea371ef2c537a5bf2fa7dd1':
  FS-7801: mod_opus: added support to set CBR mode
2015-07-09 11:10:17 -05:00
Dragos Oancea 76bdd2b0d5 FS-7809: mod_opus: added 60 ms ptime for Opus at 8 khz ( opus@8000h@60i ) 2015-07-09 11:53:37 -04:00
François 48b44832b2 FS-7198 add coma separated values and reverse ranges for time-of-day and day-of-week matches 2015-07-09 10:43:13 +02:00
Hristo Trendev 410850fa75 FS-7685 fix Dutch numbers pronunciation
The Dutch number pronunciation is more like the German one. 21 is
pronounced as "one-and-twenty".

FS-7685 #resolve
2015-07-09 09:34:46 +02:00
Dragos Oancea be6e6ea5fb FS-7801: mod_opus: added support to set CBR mode 2015-07-08 20:03:54 -04:00
Mike Jerris 6548d619c8 Merge pull request #168 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-7200:master to master
* commit '57a76001d076cc7f0eb7ca8064b3eb48a1b6cf42':
  FS-7200, fix dialplan parsing when using date/time matches
2015-07-08 16:51:39 -05:00
Mike Jerris 569c75c17d Merge pull request #336 in FS/freeswitch from ~BRADLEYJOKINEN/freeswitch:FS-7799 to master
* commit '31ade5f9680ddbb25f6b18ebf879ce537b9f5a6e':
  FS-7799 Add API command uuid_write_png to mod_png
2015-07-08 15:59:03 -05:00
Bradley Jokinen 31ade5f968 FS-7799 Add API command uuid_write_png to mod_png
This adds the API command uuid_write_png to mod_png which takes a uuid and
file as input. This command takes a screenshot from the session associated
with the given uuid and writes it to the given file. If an absolute path
is not specified, the images directory is used as a prefix.
2015-07-08 15:36:44 -05:00
William King 49a26049cb Merge pull request #177 in FS/freeswitch from ~VIPKILLA/freeswitch-fs-7232:master to master
* commit '521b3037016e276ddc8e1aae50ecaf6464b3a433':
  change event header 'call-direction' to 'presence-call-direction'
2015-07-08 14:58:31 -05:00
Mike Jerris ae5ce2ec97 Merge pull request #330 in FS/freeswitch from ~MARKL/freeswitch-fs-7778:master to master
* commit '97394bd679ca39d630010449adf6fcef0d01466f':
  FS-7778 Fix ALTER TABLE statement to use single quotes.
2015-07-07 15:25:51 -05:00
William King cba690e395 Merge pull request #311 in FS/freeswitch from ~LAZEDO/freeswitch:feature/sms_delivery_report to master
* commit '05c476f9f8ba14b2db8a81e241d1ccb7b6530ea4':
  FS-7764 #resolve
2015-07-07 11:23:50 -05:00
Mike Jerris 0e8ea8573b Merge pull request #329 in FS/freeswitch from ~LAZEDO/freeswitch:feature/fs-7776 to master
* commit 'eaf6430e0d3cb72525fbd7af4975341439d62c49':
  FS-7776 #resolve add mod_kazoo to build system
2015-07-07 11:20:15 -05:00
Mike Jerris 8cd05e6b24 Merge pull request #331 in FS/freeswitch from ~CRIENZO/freeswitch:fs-7780-add-max-session-transfers to master
* commit '05cc8bb37d4ec19446943c98cfb6e21cd6aaf9e9':
  FS-7780 add new channel variable max_session_transfers.  If set, this variable is used to count the number of session transfers allowed instead of the max_forwards variable.  If not set, the existing behavior is preserved.
2015-07-07 11:16:03 -05:00
Mike Jerris 5b76e4ade9 Merge pull request #327 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-keep-fec-on to master
* commit 'b3f453b02f62da450681c4b584bda838134c1317':
  FS-7772: mod_opus: add functionality to keep FEC enabled on the encoder by modifying the bitrate if packet loss changes (Opus codec specific behaviour).
2015-07-07 11:13:57 -05:00
Mike Jerris 367a7a73b7 Merge pull request #334 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-8khz-fix-init-ptime-40ms to master
* commit '12d240308cd22f824ef30d9d879bdc56e22290fb':
  FS-7785: mod_opus: fix for invalid ptime 30 ms for opus@8000h . Replaced 30 ms with 40 ms.
2015-07-07 11:10:23 -05:00
Mike Jerris 7b61cad61b Merge pull request #335 in FS/freeswitch from ~SAFAROV/freeswitch2:mod_erlang to master
* commit '97ed52cbefebb192fa5c16e28eb7bc2733f9a77c':
  FS-7628: mod_erlang_event - removed unused var
2015-07-07 11:04:32 -05:00
Michael Jerris b5e7599ac1 FS-7762: [mod_av] handle buffer allocation failures of large buffers 2015-07-07 11:50:07 -04:00
Sergey Safarov 97ed52cbef FS-7628: mod_erlang_event - removed unused var 2015-07-07 16:22:36 +03:00
Dragos Oancea 12d240308c FS-7785: mod_opus: fix for invalid ptime 30 ms for opus@8000h . Replaced 30 ms with 40 ms. 2015-07-07 07:59:17 -04:00
Seven Du 3cec36f168 FS-7585 fix copyright copy and paste error 2015-07-07 08:12:18 +08:00
Dragos Oancea b3f453b02f FS-7772: mod_opus: add functionality to keep FEC enabled on the encoder by modifying the bitrate if packet loss changes (Opus codec specific behaviour). 2015-07-06 18:27:37 -04:00
Luis Azedo eaf6430e0d FS-7776 #resolve add mod_kazoo to build system 2015-07-06 23:13:00 +01:00
William King eed386bc8d FS-7783 Add channel variable for capturing DTMF input when using play_and_get_digits when the response does not match 2015-07-06 14:13:12 -07:00
Chris Rienzo 05cc8bb37d FS-7780 add new channel variable max_session_transfers. If set, this variable is used to count
the number of session transfers allowed instead of the max_forwards variable.  If not set, the existing
behavior is preserved.
2015-07-06 15:26:56 -04:00
Mark Lipscombe 97394bd679 FS-7778 Fix ALTER TABLE statement to use single quotes.
sofia_glue.c tries to issue an SQL "ALTER TABLE" statement to add the
ping_status column to sip_registrations, but fails because the default
is incorrectly quoted (double quotes vs single quotes).
2015-07-06 12:10:08 -03:00
Seven Du 08c7a1de34 FS-7777 #resolv 2015-07-04 14:10:29 +08:00
Mike Jerris a817701824 Merge pull request #290 in FS/freeswitch from ~SAFAROV/freeswitch2:mod_erlang_socket to master
* commit '97c25275a629f88700d28513a98f234d821ac9d7':
  FS-7628: mod_erlang_event - added ipv6 support
2015-07-03 18:00:08 -05:00
Mike Jerris dde04772f7 Merge pull request #283 in FS/freeswitch from bugfix/FS-7572-broadcasting-multiple-wav-files-using to master
* commit '9049c004b70207a43b73c7b2b31d19410fc2c4bf':
  FS-7572: add some events for file open/close/fail when using file_string
2015-07-03 17:57:52 -05:00
Mike Jerris 6189ac0192 Merge pull request #274 in FS/freeswitch from bugfix/FS-7578-telephone-event-codec-clock-rate to master
* commit 'f35343a9cc26ba08b20571784f14a5ef36bca0fc':
  FS-7578: properly generate telephone-event in sdp for each rate of codec being offered
2015-07-03 17:32:35 -05:00
karl anderson d66839debe FS-7774 add mod_kazoo
#resolve
2015-07-03 22:54:47 +01:00
Anthony Minessale 178ed75571 FS-7775: [mod_conference] fix threading issue causing stuck worker threads 2015-07-03 16:46:04 -05:00
Brian West f0417cdf57 FS-7760 test_pflag not test_flag 2015-07-03 16:35:52 -05:00
William King 775ce5c0a8 Adding mod_smpp as an event_handler module.
FS-7730 #resolve
2015-07-03 14:26:05 -07:00
Mike Jerris 1a47cd0d44 Merge pull request #318 in FS/freeswitch from ~LAZEDO/freeswitch:feature/silence_hits_exausted to master
* commit 'c4bd342bdaae6f8881b0099d596e8309997121cb':
  FS-7771 #resolve
2015-07-03 15:11:27 -05:00
karl anderson b2b9555d34 FS-7760 #resolve
added xml fetch for channels to externally support nightmare transfer
depends on channel-xml-fetch-on-nightmare-transfer profile param (default is disabled)
2015-07-03 19:28:17 +01:00
Anthony Minessale b6a6cde728 FS-7486 2015-07-03 14:22:20 -04:00
William King 20be305b1c Merge pull request #263 in FS/freeswitch from ~LAZEDO/freeswitch-fs-7463:FS-7463 to master
* commit 'e12608bd11c62de715c1d6eecf05a8fe8b8becb0':
  FS-7463 #resolve
2015-07-03 12:28:16 -05:00
karl anderson c4bd342bda FS-7771 #resolve
set a channel var if the recording is terminated due to silence hits
2015-07-03 10:36:58 +01:00
Anthony Minessale 2f836a2c53 FS-7744 amend 2015-07-02 16:12:28 -05:00
Anthony Minessale 987c84a119 mod_av use time_now instead of micro_time_now and hide annoying warning 2015-07-02 15:13:50 -05:00
Anthony Minessale fcbdc48592 FS-7744 #resolve 2015-07-02 13:39:56 -05:00
Brian West 41067cc7b7 FS-7767 #resolve 2015-07-02 13:19:01 -05:00
Luis Azedo 05c476f9f8 FS-7764 #resolve
add sms delivery report event to mod_sms
2015-07-02 18:53:44 +01:00
Mike Jerris ff9877586b Merge pull request #324 in FS/freeswitch from ~LAZEDO/freeswitch:feature/fs-7758 to master
* commit 'e336ca8c37806f105b3cc266d44eb1ae03d57052':
  FS-7758 #resolve
2015-07-02 12:00:43 -05:00
karl anderson 46d98d4a19 FS-7759 #resolve added a channel var to suppress setting the completed elsewhere cause 2015-07-02 17:02:47 +01:00
karl anderson e336ca8c37 FS-7758 #resolve
emit an event if a loopback bowout occurs
2015-07-02 16:28:54 +01:00
Brian West c6ccf1c513 FS-7761 [core] fix shutdown races running api commands during shutdown 2015-07-02 10:08:54 -05:00
Brian West 1b86c73034 Merge pull request #140 in FS/freeswitch from ~ARON45/freeswitch:FS-5945 to master
* commit '2cad5a6940bb76458e909a56c5e5e35e622467ed':
  more whitespace cleanup
  fixed indentation
  cleanup
  cond api return -ERR on all syntax errors
  FS-5945 - cond api improved
  FS-5945 - cond api escape special charactars
2015-07-02 09:45:27 -05:00
Anthony Minessale f0eefb7a1f FS-7753 #resolve 2015-07-01 14:39:30 -05:00
Anthony Minessale 3274853b00 FS-7750 #resolve 2015-07-01 12:54:51 -05:00
Chris Rienzo 3533c653c4 FS-7752 [mod_rayo] increase maximum number of <tag> elements from 30 to 1024. This allows adhearsion to create large grammars to navigate IVR menus. 2015-07-01 11:30:39 -04:00
Mike Jerris 4582498b5e Merge pull request #322 in FS/freeswitch from ~MISHEHU/freeswitch:bugfix/FS-7429-mod_curl-json-response to master
* commit '8ca2cfa574fa453d094356e5905a2a2bc61dc999':
  FS-7429: fix to output proper json
2015-06-30 13:08:06 -05:00
Yossi Neiman 8ca2cfa574 FS-7429: fix to output proper json 2015-06-30 12:45:01 -05:00
Anthony Minessale 1d91b7d61c FS-7721 #resolve #comment this will fix your issue but of course now your example will not function anymore because you are unsetting the input callback and dtmf will be ignored but this is to be expected 2015-06-30 12:30:36 -05:00
Anthony Minessale a73952ceca FS-7726 #resolve 2015-06-29 16:06:13 -05:00
Mike Jerris a3972c5c0f Merge pull request #303 in FS/freeswitch from ~DCOLOMBO/freeswitch:master to master
* commit 'cfb7e3d1cd56b84d5d7e5e6de25112f441e110e7':
  FS-7732 follow recording on other session
2015-06-29 12:55:10 -05:00
Davide Colombo cfb7e3d1cd FS-7732 follow recording on other session
follow recording on other session
2015-06-29 16:21:24 +02:00
Andrew Cassidy 5c7f0bc010 FS-7734 fixed mutex lock that should be an unlock 2015-06-27 21:30:17 +01:00
Brian West 986921b0db FS-7729 properly format v6 addresses #ocd #resolve 2015-06-25 17:34:25 -05:00
Anthony Minessale e80d129617 FS-7679 #resolve #comment should work now 2015-06-25 15:10:43 -05:00
Anthony Minessale c014c00bbf FS-7679 revert unwanted change 2015-06-25 14:40:06 -05:00
Anthony Minessale 6a102816f6 FS-7679 #resolve #comment please test, also added some cases of calling a file with no video as well 2015-06-25 13:33:47 -05:00
Anthony Minessale 4a86252c9f FS-7519 refs = 3 setting causes a regression in visual appearance of decode app output 2015-06-25 12:29:56 -05:00
Anthony Minessale f107ea54a8 FS-7656 skip main file as well as chime file when hup is called during chime 2015-06-24 17:34:37 -05:00
Michael Jerris f727cdb9d1 FS-7724: [mod_conference] fix segfault when missing fonts when trying to render banner 2015-06-24 17:10:24 -05:00
Anthony Minessale aed0ee2716 FS-7489 #resolve 2015-06-24 16:52:12 -05:00
Michael Jerris 5afdc24bf7 add a debug log 2015-06-24 17:43:38 -04:00
Bradley Jokinen 208c3cfe42 FS-7722 fixed issue with record_session including params when creating path 2015-06-24 12:25:48 -05:00
Chris Rienzo 06f7040e21 FS-7720 improve play_and_detect_speech to set current_application_response channel variable as follows:
"USAGE ERROR": bad application arguments
    "GRAMMAR ERROR": speech recognizer failed to load grammar
    "ASR INIT ERROR": speech recognizer failed to allocate a session
    "ERROR": any other errors

  This is useful for determining that play_and_detect_speech failed because the recognizer is out of licenses
  giving the developer a chance to fall back to traditional DTMF menu navigation.
2015-06-24 11:50:53 -04:00
Ken Rice d4fff39edc copyright update 2015-06-23 14:45:42 -04:00
Ken Rice 278b9fa0c1 copyright date update 2015-06-23 14:43:16 -04:00
Ken Rice 29773dcdbe quite some compiler warning 2015-06-23 12:22:04 -04:00
Brian West 33f161b2df Update G729 binary date for master 2015-06-23 09:21:40 -05:00
Sergey Safarov 97c25275a6 FS-7628: mod_erlang_event - added ipv6 support 2015-06-23 10:41:40 +03:00
Italo Rossi be3c868655 FS-7467: mod_callcenter - Fixing uuid-standby agents. 2015-06-22 17:51:08 -03:00
Michael Jerris 4264f519da FS-7655: fix build error when we have PNG but not YUV 2015-06-22 14:36:57 -04:00
Michael Jerris 7963c4045e FS-7707: fix build error on centos7 2015-06-22 14:36:09 -04:00
Anthony Minessale f19be2fdbc FS-7656 make chime work with video files 2015-06-19 20:37:36 -05:00
Anthony Minessale 19ace86b4f FS-7696 2015-06-19 18:21:48 -05:00
Anthony Minessale ccaf29254e FS-7696 2015-06-19 18:08:27 -05:00
Anthony Minessale f953514b41 FS-7696 #resolve 2015-06-19 18:03:51 -05:00
Anthony Minessale f44af63d79 FS-7656 parse metadata from files and put video banner up if artist or title is set 2015-06-19 18:00:47 -05:00
Anthony Minessale 33878dd55e FS-7656 scan for relative file in art/eg.wav.png and display it as video when playing audio files 2015-06-19 15:14:07 -05:00
Anthony Minessale c657180ea4 FS-7694 #resolve 2015-06-19 13:57:18 -05:00
Anthony Minessale 58ba5ec0ac mod_av avformat remove unused code 2015-06-19 13:55:26 -05:00
Anthony Minessale e34b195988 FS-7689 #resolve 2015-06-19 13:23:04 -05:00
Brian West 41fc713baf FS-7297 sigh 2015-06-19 08:55:47 -05:00
Anthony Minessale 834a0186e0 don't block on read of video file in the core 2015-06-19 01:50:48 -05:00
Anthony Minessale 0865c7e331 FS-7678 #resolve 2015-06-19 01:34:31 -05:00
Anthony Minessale 70684fe109 typo 2015-06-19 01:33:58 -05:00
Anthony Minessale c7166926aa typo from last commit 2015-06-19 01:23:22 -05:00
Anthony Minessale 385a3b545c FS-7656 fix various edge cases with video and non video files mixed into a source, fix a typo bug in file_read_video and fix same bug in mod_vlc, add a new flag to file_read_video to check if the handle is has active video, make mod_conference move the video in and out of a layer when the stream has video or not 2015-06-19 00:57:02 -05:00
Michael Jerris 434d39d450 FS-7660: [mod_opus] cleanup issues from inital commit of opus_debug command 2015-06-18 17:34:59 -04:00
Anthony Minessale 9a0bbc4543 FS-7656 fix a/v sync on first connection (retry 1) 2015-06-18 15:57:25 -05:00
Anthony Minessale a341c54399 FS-7656 fix a/v sync on first connection 2015-06-18 15:47:51 -05:00
Mike Jerris 2283270b8b Merge pull request #288 in FS/freeswitch from ~MICHAELGG/freeswitch:winperf to master
* commit '81190c6d89aa7bedbda041c8a8519081856effff':
  FS-7644. Fix build on VS2013/Win by creating and forcing nf (nofork) to true.
  FS-7644. Remove non-existent projects.
  FS-7644. Add switch_core_video.c and switch_vidderbuffer.c to VS2013 FreeSwitchCore.2013.vcxproj
  FS-7644. Change 2013.vcxproj references to 2013
2015-06-18 15:35:02 -05:00
Mike Jerris 76df60a6c7 Merge pull request #284 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus_debugging_audiobandwidth to master
* commit '595bba201bcb52150cfdd17de460ed3ec9b7476a':
  FS-7660: mod_opus: add function to show information about Opus payload (number of frames, number of samples per frame, audio bandwidth, FEC info). Enabled with new API command "opus_debug".
2015-06-18 14:41:09 -05:00
Mike Jerris 1f7982f365 Merge pull request #289 in FS/freeswitch from ~SAFAROV/freeswitch2:mod_erlang_socket3 to master
* commit '53759ff143450f369c0d7eca13ef20c3c699ab90':
  FS-7628: Fixed name of Erlang naming daemon
2015-06-18 14:37:22 -05:00
Anthony Minessale c29568f1c2 FS-7432 regression from 251c4ab439 don't count recovering channels 2015-06-18 13:33:50 -05:00
Anthony Minessale bc92a8bf4a add auto bandwidth for conference config 2015-06-18 13:01:42 -05:00
Anthony Minessale 7d2468563f FS-7519 fix bitrate translation from FS to av and add some presets 2015-06-18 12:47:10 -05:00
Michael Giagnocavo 81190c6d89 FS-7644. Fix build on VS2013/Win by creating and forcing nf (nofork) to true. 2015-06-18 04:53:56 -06:00
Sergey Safarov 53759ff143 FS-7628: Fixed name of Erlang naming daemon 2015-06-18 13:22:57 +03:00
Michael Giagnocavo f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06:00
Dragos Oancea 595bba201b FS-7660: mod_opus: add function to show information about Opus payload (number of frames, number of samples per frame, audio bandwidth, FEC info). Enabled with new API command "opus_debug". 2015-06-17 18:23:31 -04:00
Mike Jerris 9ebb6f8257 Merge pull request #282 in FS/freeswitch from ~CHEWI/freeswitch:feature/FS-7645-ctrl-c to master
* commit '69ac02bb39c9f31ca5380c34a1671b0d9b37de7e':
  FS-7645: Allow Ctrl+C (SIGINT) when running in foreground without console (-nf -nc)
2015-06-17 15:11:16 -05:00
Travis Cross 7f6f139fe5 Remove mod_celt and mod_vp8 remnants
Jeff added these directories back in commit 345e50d which causes our
debian/bootstrap.sh to add these back to debian/control-modules.
2015-06-17 19:35:13 +00:00
Travis Cross 1d726c1d91 Fix docs on enabling cert CN/SAN validation
The correct incantations to enable certification common name / subject
alternative name verification, per our code, are `subjects_all`,
`subjects_in`, and `subjects_out` in a Sofia profile's
`tls-verify-policy`.  What we've had in our examples and documentation
for years are `all_subjects`, `in_subjects`, and `out_subjects`.

The result of this is that we've almost certainly confused people into
using the incorrect forms.  Those poor people will believe that they
are verifying the CN/SAN of the received host certificate against the
list in `tls-verify-in-subjects` when in fact they are not.

One clear issue in this case was that the incorrect forms failed to
have any effect without providing any warning or error.  This issue
could not have persisted if we had made more noise about incorrect
input.

Given how long this has been broken, it's tempting to alias the
incorrect forms to the correct ones.  However this would certainly
break many existing installations that have, because of this error,
never actually tested their setup with CN/SAN validation enabled.

In this commit, we fix the examples and documentation, and add an
error-level log output when unknown values are passed to
`tls-verify-policy`.

Thanks-to: Andrew Patrikalakis <anrp+freeswitch@anrp.net>
2015-06-17 17:10:29 +00:00
Michael Jerris e2d0de3d8e FS-7650: #resolve [mod_verto] Fix crash when making a call from a verto user with profile-variables in their user profile 2015-06-17 10:34:35 -05:00
Seven Du 009b7123f4 FS-7517 squash fix copy & paste err 2015-06-17 09:51:54 +08:00
Seven Du 8f7c2f9ed9 FS-7517 FS-7519 add H264 STAP-A packetizing support so it would work with FireFox 2015-06-17 09:43:00 +08:00
Michael Jerris 5734b9b2ce FS-7655: fix a few functions that need to be disabled without YUV 2015-06-16 20:02:59 -05:00
Michael Jerris e298831b3c FS-7655: fix build issue w/ strict prototypes 2015-06-16 19:58:16 -04:00
Michael Jerris 4ad0aa91a4 FS-7655: attempt to make libvpx and libyuv optional (none of the video features will work without them) The following modules require these libraries to be installed still: mod_av mod_cv mod_fsv mod_mp4v2 mod_openh264 mod_vpx mod_imagick mod_vpx mod_yuv mod_png mod_vlc 2015-06-16 18:24:35 -05:00
Michael Jerris 2558049e49 FS-7667: [mod_java] fix include directory detection when using debian java pacakges and use detected directory 2015-06-16 14:29:18 -05:00
Brian West 34ec9f861f update languages to use swig2.0 and reswig 2015-06-16 12:58:24 -05:00
Brian West 4e88d9eea1 update languages to use swig2.0 and reswig 2015-06-16 12:44:37 -05:00
Brian West 6a903e2397 fix perl swig patching to work with latest swig from debian jessie 2015-06-16 12:03:53 -05:00
Anthony Minessale 7cc657e1eb FS-7665 #resolve 2015-06-16 11:55:00 -05:00
Anthony Minessale 696496c252 FS-7656 not quite reporting when it was video or not 2015-06-16 11:55:00 -05:00
Brian West a81a896690 FS-7666: [mod_managed] pass in proper core CPP flags to find public headers 2015-06-16 11:24:00 -05:00
Brian West 34f5994aa2 swigall 2015-06-16 11:23:25 -05:00
William King 30b83daaab Merge pull request #197 in FS/freeswitch from ~SAFAROV/freeswitch-mod-radius-cdr_improvement:feature/timezone-support to master
* commit 'ce36330b5c7ecc6243994469f42659419cc590c8':
  FS-7303 #comment Added adjustment of time values reported by FS server when RADIUS server located in different timezone
2015-06-15 22:49:09 -05:00
Anthony Minessale eb1abd70b5 FS-7649 #resolve 2015-06-15 15:12:03 -05:00
Anthony Minessale cd398673b2 FS-7629 #resolve #comment add livearray-json-status to conference-flags to enable 2015-06-15 12:30:28 -05:00
Brian West 3f7fa55540 FS-7656 finishing touches 2015-06-15 10:39:16 -05:00
Brian West e14f4b0b09 Merge pull request #280 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus_asymmetric-fmtp to master
* commit 'fe29cc6885269f06c635bc652007da834465c7f9':
  mod_opus : asymmetric sample rates based on fmtp params (maxplaybackrate and sprop-maxcapturerate)
2015-06-15 09:08:43 -05:00
Michael Jerris 9049c004b7 FS-7572: add some events for file open/close/fail when using file_string 2015-06-15 02:27:12 -04:00
Anthony Minessale a647b42910 FS-7656 not quite right 2015-06-14 01:25:51 -05:00
Anthony Minessale c48a83a3e1 FS-7656 mod_local_stream Video Support 2015-06-13 18:00:22 -05:00
Anthony Minessale 0511896444 FS-7641 fix seg from wrongly nulling ping_frame 2015-06-13 16:19:13 -05:00
Anthony Minessale 7c94fc1680 play video files for hold_music
squashme
2015-06-13 16:18:45 -05:00
Anthony Minessale d6a0abf1db FS-7654 #resolve 2015-06-12 23:55:29 -05:00
Anthony Minessale 3e2d5e009e fix typo 2015-06-12 23:55:29 -05:00
Michael Jerris dd2b8ac481 FS-7601: modify jitterbuffer usage in mod_silk to match the api change 2015-06-12 16:36:19 -05:00
Anthony Minessale II cc2741e267 Merge pull request #281 in FS/freeswitch from feature/FS-7641-add-video-support-to-eavesdrop to master
* commit '9d40e1397d2a41bff8fe1c56363afa82e0704024':
  FS-7641
2015-06-12 15:58:18 -05:00
Anthony Minessale 9d40e1397d FS-7641 2015-06-12 15:59:02 -05:00
Michael Jerris 660e79edd7 FS-7338: remove mod_shout dep libs to system libs. On debain jessie requires libmpg123-dev libshout3-dev libmp3lame-dev 2015-06-12 14:56:01 -05:00
James Le Cuirot 69ac02bb39 FS-7645: Allow Ctrl+C (SIGINT) when running in foreground without console (-nf -nc) 2015-06-12 13:32:12 +01:00
Artur Zaprzała 8b1ce0f163 FS-7639 Fix rtp_session->recv_te and rtp_session->cng_pt comparisions in switch_rtp.c 2015-06-12 10:28:21 +02:00
Anthony Minessale 8188dd717e FS-7621 #resolve 2015-06-11 18:40:27 -05:00
Dragos Oancea fe29cc6885 mod_opus : asymmetric sample rates based on fmtp params (maxplaybackrate and sprop-maxcapturerate) 2015-06-11 19:32:30 -04:00
Jeff Lenk e2e1465851 FS-7644 add missing files doh - note this is incomplete and non functional 2015-06-11 15:48:54 -05:00
Jeff Lenk 345e50d25a FS-7644 2015-06-11 15:29:28 -05:00
William King 9410d7c602 FS-7623 Fix param name ordering bug in mod_amqp due to exposing these params 2015-06-11 12:33:16 -07:00
Brian 2815994647 FS-7638 properly match ACL with IPv4 mapped IPv6 addresses 2015-06-11 10:41:33 -05:00
Anthony Minessale 7b47692597 FS-7636 #resolve 2015-06-10 16:18:39 -05:00
Michael Jerris 2cc0348422 FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used. 2015-06-10 16:33:14 -04:00
Anthony Minessale 0005a74652 lower debug message level 2015-06-10 14:41:12 -05:00
Anthony Minessale 2e47abc9e6 FS-7602 regression from c9065a85b6 (typo) 2015-06-09 15:58:46 -05:00
Anthony Minessale f35343a9cc FS-7578: properly generate telephone-event in sdp for each rate of codec being offered 2015-06-09 15:38:05 -05:00
Michael Jerris 20f9b5c046 FS-7601: [mod_opus] remove a bounds check that can never be true in opus fec code 2015-06-09 14:43:01 -04:00
William King 18063a4754 FS-7586 #resolve handle VLC rename of the aac codec to the generic name of mpga 2015-06-08 21:27:56 -07:00
William King 257bb5c655 FS-7623 allow for custom exchange name and type for mod_amqp producers 2015-06-08 20:33:16 -07:00
William King 6484c6fc0a FS-7622 make sure to close the connections on destroy. Currently the connection is malloc'd from the module pool, so there is nothing to destroy. 2015-06-08 20:28:38 -07:00
Anthony Minessale 251c4ab439 FS-7432 send actpass on re-invites 2015-06-08 16:17:53 -05:00
Anthony Minessale b3d2c92101 FS-7621 2015-06-08 15:06:51 -05:00
Anthony Minessale f8853ac620 set higher flush len (wtf misssing *) 2015-06-08 13:26:14 -05:00
Anthony Minessale 0370debeee set higher flush len 2015-06-08 13:24:47 -05:00
Anthony Minessale 773cf18736 back off input buffer slower instead of flushing it 2015-06-08 13:17:52 -05:00
Anthony Minessale 96b450817a only find exact ts not a range 2015-06-08 13:17:52 -05:00
Italo Rossi bebd4c4e3e FS-7138 - new mod_callcenter param: reserve-agents
Sets the agent state to Reserved before calling him. In this case,
the Agent is first updated to state Reserved ONLY if his previous
state was Waiting and status was Available/Available (On Demand).
The purpose is to avoid possible race conditions when external
applications are manipulating `agents` table.

Disabled by default.
2015-06-08 14:38:51 -03:00
Anton Schur b7e70bf141 FS-7612: callflow section in json_cdr as array. 2015-06-08 09:40:34 +03:00
William King d43808fd6a FS-7586 Silence the warning when the value is set to 1 in the configs 2015-06-05 22:28:59 -07:00
Anthony Minessale 31a7c446e6 FS-7479 fix regression 2015-06-05 23:46:56 -05:00
Brian 6bb8ee321a FS-7601 improve opus packet loss routines #resolve 2015-06-05 18:11:20 -05:00
Michael Jerris 90bae91af7 FS-7613: fix use after free error in switch_img_txt_handle_render 2015-06-05 17:57:06 -05:00
Ryan Lantzer 9a6344c30f Updated SKINNY on-hook action to hang up all calls on a device, except those in a short list of call states (or perform a blind transfer).
Added a hook after completing the hangup operation to start ringing if there is an inbound call active on the device.

Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
2015-06-05 17:36:06 -05:00
Mike Jerris 40254d322e Merge pull request #245 in FS/freeswitch from ~SAFAROV/freeswitch-mod-radius-cdr_improvement:FS-7311 to master
* commit 'd5cc4a1d87cee1c56b54403affd23feb86cead80':
  FS-7311: Updating display name is disabled when caller_id equal "_undef_"
2015-06-05 14:18:37 -05:00
Sergey Safarov d5cc4a1d87 FS-7311: Updating display name is disabled when caller_id equal "_undef_" 2015-06-05 21:36:10 +03:00
Ítalo Rossi 6f057b795e Merge pull request #249 in FS/freeswitch from ~SAFAROV/freeswitch-mod-radius-cdr_improvement:origin/FS-7524 to master
* commit '7e1f8bc4c7795451ee6140f65588e590cc4af024':
  FS-7524: mod_callcenter - Fixing tiers, level and position should default to 1 instead of 0
2015-06-05 13:08:58 -05:00
Sergey Safarov 7e1f8bc4c7 FS-7524: mod_callcenter - Fixing tiers, level and position should default to 1 instead of 0 2015-06-05 19:35:04 +03:00
Michael Jerris e4fef7bdca FS-7610: fix gcc5 compilation issue 2015-06-05 11:41:16 -04:00
Anthony Minessale 8aea72c825 FS-7602 FS-7499 FS-7587 modify dtls init function placement 2015-06-04 20:37:15 -05:00
Brian 22335d212d FS-7601 allow setting the packet loss percentage on the encoder from the opus.conf.xml file 2015-06-04 15:57:33 -05:00
Anthony Minessale 28e0dcdc85 remove autocorrect thing from jb 2015-06-04 15:24:23 -05:00
Anthony Minessale 5c5b53a453 FS-7601 #resolve 2015-06-04 15:01:36 -05:00
Anthony Minessale 6209d91f9c FS-7479 #resolve 2015-06-04 13:16:02 -05:00
Seven Du 1f25952008 FS-7585 add bandwidth settings to flash video 2015-06-04 23:33:00 +08:00
Ken Rice f866313835 Merge pull request #271 in FS/freeswitch from ~SILIK0N/freeswitch:FS-7607 to master
* commit '02a0a2a06897cdd044ab254f8d7f3089af3df715':
  FS-7607 #resolve #comment Update URLs to reflect https protocol on freeswitch.org websites and update additional URLs to avoid 301 redirects.
2015-06-04 09:27:59 -05:00
Anthony Minessale 150ebff5d4 FS-7602 FS-7499 FS-7587 #comment another refactoring pass on candidate parsing and ipv4/6 parsing (part 2) 2015-06-03 16:04:51 -05:00
Anthony Minessale 6c135e15c1 FS-7602 FS-7499 FS-7587 #comment another refactoring pass on candidate parsing and ipv4/6 parsing 2015-06-03 15:54:21 -05:00
Anthony Minessale fc075a75e5 FS-7513 make sure user does not have auto avatar when not visible 2015-06-03 15:54:21 -05:00
Ken Rice 02a0a2a068 FS-7607 #resolve #comment Update URLs to reflect https protocol on freeswitch.org websites and update additional URLs to avoid 301 redirects. 2015-06-03 15:23:40 -05:00
Mike Jerris 0f6ec8e27c Merge pull request #149 in FS/freeswitch from ~TMPD/freeswitch-esl-104:master to master
* commit '72897018156e0eff4c61b567ef655a433f55b199':
  FS-7603: Implement failover for socket application
2015-06-03 15:21:39 -05:00
William King 581c104753 FS-7586 Change the default min-required-recording-participants option for mod_conference from 2 to 1. #NEEDSDOCS 2015-06-03 09:16:48 -07:00
Anthony Minessale c9065a85b6 FS-7602 add some of 3b2d00f3e6 from verto to sip and refactor some code to keep sip working like verto 2015-06-02 21:20:03 -05:00
Anthony Minessale 51c6a6f7b5 add a bit to 2db8f94ab6 2015-06-02 21:09:59 -05:00
Michael Jerris 49778c34e5 FS-7258, FS-7571: [mod_xml_cdr] properly encode xml cdr for post to web server 2015-06-02 18:54:15 -05:00
Ítalo Rossi 0c45bee409 Merge pull request #257 in FS/freeswitch from ~ITALOROSSI/freeswitch:bugfix/FS-7569-mod_callcenter_strategy to master
* commit '890991cd28bb2b2860c988476f8641d7b32f02c8':
  FS-7569 mod_callcenter - Tracking queue strategy changes to avoid stuck members
2015-06-02 17:48:46 -05:00
Ítalo Rossi e6bb3ed434 Merge pull request #246 in FS/freeswitch from ~ITALOROSSI/freeswitch:bugfix/FS-7464-callcenter-cannot-play-us-ring-tone_stream to master
* commit '1bc241922e3136dda8067723a4d4c9ebdd51f101':
  FS-7464 mod_callcenter moh-sound needs to be expanded when containing variables.
2015-06-02 17:33:29 -05:00
Ítalo Rossi 9cd8f19ead Merge pull request #237 in FS/freeswitch from ~VICTORTORRES/freeswitch-fs-7445:master to master
* commit '69d5333bfc18342e856cadccf668432948c45374':
  FS-7445 fixes cc_outbound_cid_name_prefix
2015-06-02 17:29:07 -05:00
Seven Du 22cb3f708f FS-7585 increasing AMF buffer for larger picture 2015-06-03 06:01:03 +08:00
ico 7289701815 FS-7603: Implement failover for socket application 2015-06-02 21:39:26 +03:00
Michael Jerris e21a423d9f FS-7436: [mod_opus] fix the plc counter to actually count 2015-06-02 13:23:43 -04:00
Mike Jerris 4aaaa485ce Merge pull request #264 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:mod_opus_fec_jb to master
* commit 'bd3589a2fbb56486f3c76548a4197716ebcce8c7':
  FS-7436: added FEC support for mod_opus
2015-06-02 12:01:10 -05:00
doancea bd3589a2fb FS-7436: added FEC support for mod_opus
You need an enabled jitter buffer for FEC to work.
If a packet is missing we look in the jitter buffer for the next one,
if the next packet is present we pass it to the decoder to extract
the FEC info from it. If there's no FEC inside the packet, the Opus decoder
will return PLC.
2015-06-02 18:36:36 +02:00
Mike Jerris 95c387315e Merge pull request #33 in FS/freeswitch from ~MOY/freeswitch:sip-watch-headers to master
* commit '3df55b9bb5325ed0f7273576264c5aa94a8a6810':
  Add sip_watched_headers variable to launch events when a SIP message contains a given SIP header
2015-06-02 11:19:05 -05:00
Chris Rienzo d04e1f03ff FS-7564 #resolve #comment [mod_rayo] Added new algorithms for offering calls to clients.
Two new params added to autoload_configs/rayo.conf.xml
     offer-algorithm
       all: offer to all clients (default and old behavior)
       first: offer to first client, fails over to next client in list
       random: offer to random client, fails over to next random client

     offer-timeout-ms
       0: disable
       > 0 and < 120000: time to wait for reply from offer.  On timeout, next client is offered call.
                         If no other clients available, call is rejected.  5000 is default.
2015-06-02 10:54:38 -04:00
Seven Du 6bfa299216 set affected_rows also for non-SELECT queries 2015-06-02 18:46:50 +08:00
Moises Silva 3df55b9bb5 Add sip_watched_headers variable to launch events when a SIP message contains a given SIP header
FS-6801 #resolve
2015-06-02 00:47:18 -04:00
doancea 8392366057 Fixed encoded_data_len for MODE 2400, it should be 6 bytes. Also replaced 2550 bps bitrate (obsoleted operation mode) by 2400 2015-06-02 01:44:15 +02:00
Mike Jerris 12504aa210 Merge pull request #99 in FS/freeswitch from ~BRIAN/freeswitch-brian:bugfix/FS-6961-mod_erlang_event-add-call-uuid-to to master
* commit '89f3f5e2986d24800e40064f9966675389f5f8a0':
  FS-6961: [mod_erlang_event]: Add call UUID to call_hangup message
2015-06-01 16:32:11 -05:00
Michael Jerris 651c312a75 FS-7499: fix build error on 32bit platforms 2015-06-01 15:28:33 -04:00
Mike Jerris 6323803353 Merge pull request #262 in FS/freeswitch from feature/FS-7587-add-ipv6-support-to-verto-websockets to master
* commit '3b2d00f3e65061393da10a4ba286ac72cdb3c16e':
  FS-7587 Add ipv6 support to Verto / Websockets
2015-06-01 14:19:40 -05:00
Mike Jerris a564f5c71e Merge pull request #248 in FS/freeswitch from ~ANDEE/freeswitch-nibble:master to master
* commit '8f343939dc7f63f6a1686941e7d34e1cbf27a1c3':
  Added new options to nibble bill for minimum charges and rounding #FS-7560
2015-06-01 14:13:09 -05:00
Luis Azedo e12608bd11 FS-7463 #resolve
allow intercept of replaced call-id when processing the replaces header by providing a a-leg parameter in replaces header.
without this change one leg calls could not be picked because there is no bridge_uuid
2015-06-01 20:11:40 +01:00
Mike Jerris 641fc1f18e Merge pull request #169 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-7204:master to master
* commit '441dd9128862ce741a56a01acfa3e862949d1347':
  FS-7204, Allow to force a per-account send-message-query-on-register
2015-06-01 13:54:15 -05:00
Mike Jerris bbad395866 Merge pull request #174 in FS/freeswitch from ~FLAVIO/freeswitch:origin/bugfix/FS-7196 to master
* commit 'f135232ef5ab3f53f76cfa8ec2a1225f7700de90':
  FS-7196: add recording_follow_transfer support for semi attended transfers
2015-06-01 13:52:05 -05:00
Anthony Minessale 3b2d00f3e6 FS-7587 Add ipv6 support to Verto / Websockets 2015-06-01 13:39:47 -05:00
Andrew Cassidy 8f343939dc Added new options to nibble bill for minimum charges and rounding #FS-7560
These options are:

1) nibble_rounding: The number of decimal places to round the cost of the call to
2) nibble_minimum: The minimum charge to apply to a call

Rounding is applied before the minimum charging, and these steps only occur at call end to make sure they're accurate.

Checks for minimum_charge before call starts

"Billing done" flag to the data struct, and used that to exit early in the event processing during hangup has already occured.
2015-06-01 19:39:03 +01:00
Mike Jerris 89f838e020 Merge pull request #230 in FS/freeswitch from bugfix/FS-7405 to master
* commit 'a4ef9d6ba3d210cb0589342a0e059cf9bca98ae7':
  FS-7405: if all is required don't pass if total ne pass
2015-06-01 13:25:47 -05:00
Mike Jerris bd02432d03 Merge pull request #232 in FS/freeswitch from ~ITALOROSSI/freeswitch:bugfix/FS-7242-delayed-bye-after-REFER to master
* commit 'beeea0172411f6274effdac8b90f970fa317b159':
  FS-7242 Waiting for state CS_PARK when receiving REFER.
2015-06-01 13:10:43 -05:00
Mike Jerris 37d8ce6185 Merge pull request #239 in FS/freeswitch from ~MOY/freeswitch:park-before-media to master
* commit 'b4250c87a53310d934052ef2226b9a5983ff9e6f':
  Fix switch_ivr_parse_event() to not hangup a session when there is no media yet
2015-06-01 13:03:37 -05:00
William King 4a623c45b5 Merge pull request #231 in FS/freeswitch from ~SEKIL/freeswitch-7412:master to master
* commit 'f5e0a879b2c5e035075db2c9441a111020575dea':
  JIRA FS-7412. Added new LDAP schema (fsaccount.schema) with relevant attributes to match FS directory params and variables. Changed mod_xml_ldap code to reflect new schema. Updated xml_ldap.conf.xml as well to reflect mapping of new attributes.
2015-06-01 12:46:41 -05:00
Nathan Neulinger d7a1f3d424 FS-7593 --resolve add locking keyed on device name around any database updates adding/removing the device 2015-06-01 12:45:19 -05:00
doancea 8d98bc27ef FS-7462: fix FMTP in the INVITE - make it use values from opus.conf.xml 2015-06-01 12:45:19 -05:00
Anthony Minessale 3702ce5a8e squash 2015-06-01 12:45:19 -05:00
Anthony Minessale f82dd1e9ea FS-7513 add video-auto-floor-msec param to control how long a member must have the audio floor before also taking the video floor %NEEDS_DOC 2015-06-01 12:25:13 -05:00
Michael Jerris f792f9de9e FS-7570: fix status variable reference that is breaking compile w/ zrtp enabled 2015-06-01 12:25:13 -05:00
Artur Zaprzała 0c4f85111f FS-7337: Add support for Remote-Party-ID header in UPDATE request. 2015-06-01 12:25:13 -05:00
Brian 8131f210b3 FS-7579 --resolve 2015-06-01 09:16:25 -05:00
Seven Du 55a955787c disable debug log 2015-05-30 06:40:47 +08:00
Seven Du 5da76480ba detect more deep too see if we should offer video 2015-05-30 06:36:54 +08:00
Seven Du 8adca82644 FS-7585 detect packet loss where possible 2015-05-29 12:16:54 +08:00
Seven Du 721c9c9989 CID:1300973 fix copy & paste err 2015-05-29 12:14:06 +08:00
Seven Du 81ad7562a3 CID:1301050 fix possible NULL 2015-05-29 12:12:07 +08:00
Seven Du 55462887e8 CID:1301065 fix possible NULL 2015-05-29 12:11:01 +08:00
Seven Du 47f88e920d CID:1301106 fix logically dead code 2015-05-29 12:10:29 +08:00
Seven Du e46ae6c77d CID:1025061 add missing break 2015-05-29 12:09:27 +08:00
Seven Du 6c61fd195b CID:1301110 CID:1301110 logically dead code 2015-05-29 12:08:46 +08:00
Anthony Minessale 8e37e9b4d4 FS-7513 flush video on video mute/unmute 2015-05-28 21:05:56 -05:00
Seven Du 143c1eb504 FS-7519: CID:1294454 fix leak 2015-05-28 12:47:35 -05:00
Michael Jerris 4dfbbc6742 CID:1301145,1301144: Bit shift bounds checking 2015-05-28 12:47:35 -05:00
William King cdead84d3b CID 1216601 Fix a possible memory leak in mod_basic 2015-05-28 12:47:34 -05:00
Anthony Minessale 3e93e9f5b4 FS-7519 mod_av cleanup and refactor to work on higher resolution 2015-05-28 12:47:34 -05:00
Anthony Minessale 76fc6940df FS-7513 refactor 2015-05-28 12:47:34 -05:00
Anthony Minessale 2188358832 FS-7500 FS-7499 refactoring while battling chrome 2015-05-28 12:47:34 -05:00
Seven Du 0c819da6f5 FS-7585: add rtmp video support 2015-05-28 12:47:34 -05:00
Seven Du e187479784 FS-7585: spaces to tabs and clean up trilling spaces 2015-05-28 12:47:34 -05:00
William King 2eda7eb3c3 FS-7519: reverting part of f85a86e64d3ebcd34d63bc6239694e5a524760a1 2015-05-28 12:47:34 -05:00
William King 7b1bc2e604 FS-7519: fix build issue with clang-3.5 2015-05-28 12:47:34 -05:00
Anthony Minessale dc2e98e536 FS-7500: start media thread one answer/pre_answer 2015-05-28 12:47:34 -05:00
Anthony Minessale d8242cbf42 FS-7519: fix typo 2015-05-28 12:47:34 -05:00
Anthony Minessale 40484fce58 FS-7499 FS-7500 mods for interop against latest chrome builds 2015-05-28 12:47:34 -05:00
Anthony Minessale abd6943cf5 FS-7500 just send refresh and not full reset on uuid_video_refresh 2015-05-28 12:47:33 -05:00
Anthony Minessale 817d98e7b6 FS-7513 mods to bandwidth sizing and remove flush calls 2015-05-28 12:47:33 -05:00
Anthony Minessale 700a18ae6b FS-7519: auto set some values on avformat recording 2015-05-28 12:47:33 -05:00