Commit Graph

17338 Commits

Author SHA1 Message Date
Anthony Minessale 1061aef9fa FS-7500: convert more to typedef to avoid warnings and build problems 2015-05-28 12:46:56 -05:00
Seven Du 7bdd80499d FS-7513: fix assert 2015-05-28 12:46:56 -05:00
Seven Du d93f304b25 FS-7501: comment out unused function to shut warning on Mac 2015-05-28 12:46:56 -05:00
Anthony Minessale 91c20769ed FS-7513: conf WIP 2015-05-28 12:46:56 -05:00
Anthony Minessale 1422158271 FS-7500: add to last commit 2015-05-28 12:46:56 -05:00
Anthony Minessale ac140fb6dd FS-7500: codec tweaks 2015-05-28 12:46:56 -05:00
Anthony Minessale 13c3f053ab FS-7500: use the vpx_image_t from the installed header file to prevent mismatch 2015-05-28 12:46:56 -05:00
Anthony Minessale 260e277f36 FS-7513: conf WIP hard code 4x4 squares in 720p more to come 2015-05-28 12:46:56 -05:00
Anthony Minessale 7ccbf44725 FS-7500: fix missing division 2015-05-28 12:46:55 -05:00
Seven Du bc4e9704b8 FS-7513: refactor mcu code, put everyone on a canvas and send out using a dedicated thread with a constant FPS 2015-05-28 12:46:55 -05:00
Seven Du 7c0237c142 FS-7500: really fix image copy 2015-05-28 12:46:55 -05:00
Anthony Minessale d87cfae0c9 FS-7513: more conf vid WIP 2015-05-28 12:46:55 -05:00
Anthony Minessale 2f5989c453 FS-7500: fix compile err 2015-05-28 12:46:55 -05:00
Seven Du 89c02eada9 FS-7500: fix image copy 2015-05-28 12:46:55 -05:00
Anthony Minessale 387cbc9dda FS-7513: WIP CONF STUFF 2015-05-28 12:46:55 -05:00
Anthony Minessale d6ef34a725 FS-7508: trying to mitigate chrome going crazy on reload 2015-05-28 12:46:55 -05:00
Anthony Minessale 4d100bc2e8 FS-7509: stop media on verto detach 2015-05-28 12:46:55 -05:00
Anthony Minessale 59fa1b9ac7 FS-7499: mod vid refresh stuff 2015-05-28 12:46:55 -05:00
Anthony Minessale 982d05c30c FS-7501: fix vid buffer reset 2015-05-28 12:46:55 -05:00
Anthony Minessale e00fbe5aad FS-7508: reduce error freq 2015-05-28 12:46:55 -05:00
Anthony Minessale e79a24ed2b FS-7513: more floor stuff 2015-05-28 12:46:54 -05:00
Anthony Minessale deca70c270 FS-7513: adjust floor change code 2015-05-28 12:46:54 -05:00
Anthony Minessale 955dd099ca FS-7166 #resolve 2015-05-28 12:46:54 -05:00
Anthony Minessale 6789f37b39 # This is a combination of 2 commits.
# The first commit's message is:

FS-7166 #resolve

# This is the 2nd commit message:

revert
2015-05-28 12:46:54 -05:00
Anthony Minessale f110ce40e2 FS-7501: mod of video i/o for jb 2015-05-28 12:46:54 -05:00
Anthony Minessale 0c56081975 FS-7499: copy port to where apr keeps it too 2015-05-28 12:46:54 -05:00
Anthony Minessale 2983c7e6df FS-7499: keep track of from addr from rtp separate since on ice you get stun packets etc from other ip. This helps auto adjust work properly 2015-05-28 12:46:54 -05:00
Anthony Minessale d2bbd50791 FS-7513: tweak locking on video read callback 2015-05-28 12:46:54 -05:00
Anthony Minessale a006d53a3d FS-7499: tweak nack and fir handling 2015-05-28 12:46:54 -05:00
Anthony Minessale d56a681f0a FS-7513: reduce complexity of video_bridge feature 2015-05-28 12:46:54 -05:00
Anthony Minessale 9e4eff192f FS-7513: fix vid floor logic 2015-05-28 12:46:54 -05:00
Seven Du c52d69d173 FS-7500: add switch_img_copy to clone an image 2015-05-28 12:46:54 -05:00
Anthony Minessale d026624631 FS-7513: restore video relationships and refactor conference to use video_read callbacks instead of its own thread and change behavior so video floor holder never sees their own video unless they are the only one with video in the conference 2015-05-28 12:46:54 -05:00
Anthony Minessale a69938c3d5 FS-7500: factor back in video_thread callback and move it to the video_read_frame 2015-05-28 12:46:53 -05:00
Anthony Minessale 81887e9bfc FS-7501: add video jitterbuffer debug controls 2015-05-28 12:46:53 -05:00
Anthony Minessale ac2e1b692e FS-7501: tweak some settings on jb 2015-05-28 12:46:53 -05:00
Anthony Minessale 6b92f8624c FS-7501: remove debug 2015-05-28 12:46:53 -05:00
Anthony Minessale bc24e0f28a support AVPF too 2015-05-28 12:46:53 -05:00
Anthony Minessale 6ba2205cf7 FS-7499: enable nack in video negotiation 2015-05-28 12:46:53 -05:00
Anthony Minessale 17aa836403 FS-7499: add generic nack support to rtp stack 2015-05-28 12:46:53 -05:00
Anthony Minessale 836e2b2888 FS-7500: add switch_inthash variety of hash that can key on int 2015-05-28 12:46:53 -05:00
Anthony Minessale 79ffc95928 FS-7514: keep pointer pointed 2015-05-28 12:46:52 -05:00
Anthony Minessale b63683ade0 FS-7501: more code 2015-05-28 12:46:52 -05:00
Anthony Minessale 785ecdb39e FS-7508: revert 2015-05-28 12:46:52 -05:00
Anthony Minessale 4e7cda1b49 FS-7501: remove debug 2015-05-28 12:46:52 -05:00
Anthony Minessale 0d626bc715 FS-7501: more factoring on vid buffer 2015-05-28 12:46:52 -05:00
Anthony Minessale 0e991e7d0f FS-7501: connect video buffer for testing, still needs a lot of work 2015-05-28 12:46:52 -05:00
Anthony Minessale 91b88aefe7 FS-7517: this mode is more reliable, default for now 2015-05-28 12:46:52 -05:00
Anthony Minessale 2a50c6d55c FS-7501: use vidderbuffer in rtp 2015-05-28 12:46:52 -05:00
Anthony Minessale 7b323f0b17 FS-7501: add vidderbuffer 2015-05-28 12:46:52 -05:00
Seven Du f6484f5bf4 FS-7517: add warning dropped from 0353e45 back in case it still happens 2015-05-28 12:46:52 -05:00
Seven Du a50789f97f FS-7499: magic number to macro 2015-05-28 12:46:52 -05:00
Anthony Minessale faa99a7a47 FS-7499: don't send fir or pli till stun is established 2015-05-28 12:46:51 -05:00
Anthony Minessale ae44bd27e2 FS-7499: tweaks to rate of fir/pli 2015-05-28 12:46:51 -05:00
Anthony Minessale 063eec1e8e FS-7500: fix recovery for video 2015-05-28 12:46:51 -05:00
Anthony Minessale 76ec99ed97 FS-7500: poll rtp on answer until dtls is negotiated 2015-05-28 12:46:51 -05:00
Anthony Minessale 1d844f150b FS-7514: don't auto answer in decode_video 2015-05-28 12:46:51 -05:00
Anthony Minessale 753f49fe32 FS-7517: use start and end bits 2015-05-28 12:46:51 -05:00
Anthony Minessale f5346bfe80 FS-7517: Reset context->nalu_28_start on mark bit - This makes FU-A parsing work 2015-05-28 12:46:51 -05:00
Anthony Minessale 303a4ecf99 FS-7499: move fir and pli into the normal rtcp code so it can be bundled with a report block per the rfc 2015-05-28 12:46:51 -05:00
Anthony Minessale 6a7509ffbc FS-7499: default rtcp to once a second for video and every 5 for audio 2015-05-28 12:46:51 -05:00
Anthony Minessale e1321c8775 FS-7517: fix pack mode 1 2015-05-28 12:46:51 -05:00
Anthony Minessale bc3ee71f87 FS-7517: this seems to actually work for some reason 2015-05-28 12:46:51 -05:00
Anthony Minessale a64d8b01d1 FS-7517: doh 2015-05-28 12:46:51 -05:00
Anthony Minessale 43ec552252 FS-7517: hack workaround in, its better than the way it is, must be fixed 2015-05-28 12:46:50 -05:00
Anthony Minessale de4a0e7a3c FS-7500: nevermind 2015-05-28 12:46:50 -05:00
Anthony Minessale be21d4f28f FS-7500: use unsigned int for frame->timestamp 2015-05-28 12:46:50 -05:00
Seven Du 23410ab94a FS-7514: use a larger and not hardcoded buffer for video packet 2015-05-28 12:46:50 -05:00
Anthony Minessale 970064294c FS-7500: refactoring 2015-05-28 12:46:50 -05:00
Anthony Minessale b0fd27bb8f FS-7500: comment debug 2015-05-28 12:46:50 -05:00
Anthony Minessale 8f0910509f FS-7500: add keyframe req and session refresh req debounce 2015-05-28 12:46:49 -05:00
Anthony Minessale 91602e9cfa FS-7499: properly decode rtcp 2015-05-28 12:46:49 -05:00
Anthony Minessale 01aea82cbe FS-7519: add debug line 2015-05-28 12:46:49 -05:00
Anthony Minessale 03d870bb19 FS-7508: revert chage to debounce key reqs 2015-05-28 12:46:49 -05:00
Anthony Minessale 2ea12656ea FS-7500: improvement for conf vid 2015-05-28 12:46:49 -05:00
Seven Du e3ffa73636 FS-7519 FS-7517: looks like decoders don't decode FU-A bit steams, this is a simple implementation that works with some FU-A bit streams, mod_av works better most cases 2015-05-28 12:46:49 -05:00
Seven Du 978748ed09 FS-7519: set encoder zerolatency 2015-05-28 12:46:49 -05:00
Anthony Minessale 45898cfad7 FS-7500: better version of last commit 2015-05-28 12:46:49 -05:00
Anthony Minessale b747687bb2 FS-7500: set ssrc from frame not rtp session so the ssrc changing coded can detect a shift 2015-05-28 12:46:49 -05:00
Anthony Minessale 853873725b FS-7500: factor out the write_image callback and fix the vlc video endpoint to setup and match the audio params of the A leg when bridged 2015-05-28 12:46:48 -05:00
Anthony Minessale 01fda5748c FS-7500: another round of trying to make things work 2015-05-28 12:46:48 -05:00
Seven Du 81bec5ebd0 FS-7519: add missing deps 2015-05-28 12:46:48 -05:00
Anthony Minessale 2e1bdfb24a FS-7519: add automistake for mod_av 2015-05-28 12:46:48 -05:00
Anthony Minessale 8a56d8a086 FS-7508: seems to work better restarting on error 2015-05-28 12:46:48 -05:00
Seven Du 5ce10274e1 FS-7500: use the new video function instead of start a new thread in record_fsv 2015-05-28 12:46:48 -05:00
Seven Du ba43facf91 FS-7500: fix play_fsv for WebRTC 2015-05-28 12:46:48 -05:00
Seven Du dcb9d3c99e FS-7519: rename mod_ffmpeg to mod_av 2015-05-28 12:46:48 -05:00
Seven Du 4c95ae0510 cleanup mod_ffmpeg 2015-05-28 12:46:48 -05:00
Anthony Minessale a8b00acda7 FS-7500: sync up going both ways after picture reset 2015-05-28 12:46:48 -05:00
Anthony Minessale b90d24a05f FS-7513: fix video switching in conference 2015-05-28 12:46:48 -05:00
Anthony Minessale b8577d0ce9 FS-7500: fix seg and clean up keyframe code 2015-05-28 12:46:48 -05:00
Anthony Minessale ca70f76a8b FS-7500: refresh vid the other way too when asking for keyframe 2015-05-28 12:46:48 -05:00
Anthony Minessale 85d34e7ac9 FS-7514: SQUASH ME 2015-05-28 12:46:47 -05:00
Anthony Minessale 6402f3533c FS-7514: vlc audio buffer tweak 2015-05-28 12:46:47 -05:00
Anthony Minessale 79bc5bcda2 FS-7513: add video decode conference flag 2015-05-28 12:46:47 -05:00
Anthony Minessale fbe347ead4 add mod_ffmpeg 2015-05-28 12:46:47 -05:00
Anthony Minessale e83db9e249 FS-7517: remove debug 2015-05-28 12:46:47 -05:00
Anthony Minessale 57bbdc929b FS-7500: remove debug code 2015-05-28 12:46:47 -05:00
Anthony Minessale c874fe05d8 FS-7500: SQUASH ME WITH THE LAST ONE 2015-05-28 12:46:47 -05:00
Anthony Minessale b8ba1a1469 FS-7500: reduce CNG frames on video and move debug from mod_fsv to the core with a flag to enable it since the raw packet is not available anymore when you set DECODED READ flag 2015-05-28 12:46:47 -05:00
Anthony Minessale 140a1c9661 FS-7500 FS-7508: shift some hacks around 2015-05-28 12:46:47 -05:00
Anthony Minessale c584bf5511 FS-7500: reverse default for CF_VIDEO_ECHO to false and now it must be enabled when desired instead of disabled when not needed 2015-05-28 12:46:47 -05:00
Anthony Minessale 4dc155f164 FS-7500: add switch_core_session_raw_read to put session into raw read mode without needing a local codec var (WE SHOULD REFACTOR MUCH OF switch_ivr_* to use this...) and add echo_decode_audio option to echo app 2015-05-28 12:46:47 -05:00
Anthony Minessale a74b6f62a2 FS-7500: fix some of the debugging tools 2015-05-28 12:46:46 -05:00
Seven Du 55c5f1da1f FS-7500: fix decode_video App 2015-05-28 12:46:46 -05:00
Seven Du aa654da777 FS-7500: use SWITCH_DEFAULT_VIDEO_SIZE as slice size 2015-05-28 12:46:46 -05:00
Seven Du 3c7fc85a31 FS-7500: add more example yuv files 2015-05-28 12:46:46 -05:00
Seven Du 3b7bdac4b9 FS-7517: mod_openh264 follows up the new encoder flow 2015-05-28 12:46:45 -05:00
Anthony Minessale e7d34f3170 FS-7508: tolerate some messed up packets a little more 2015-05-28 12:46:45 -05:00
Anthony Minessale 40ee25f5b8 FS-7508: change vpx encoder to not re-init the whole codec, it messes it up but side effect, we need to init the encoder at 4k and scale down to aovid the vpx resize seg 2015-05-28 12:46:45 -05:00
Anthony Minessale 96025a407d FS-7500: remove debug 2015-05-28 12:46:45 -05:00
Anthony Minessale 6822994d25 FS-7500: video_decoded_echo to echo_decode_video 2015-05-28 12:46:45 -05:00
Anthony Minessale 1093139271 FS-7500: make play_yuv silent since opus echo tends to kill chrome 2015-05-28 12:46:45 -05:00
Anthony Minessale fe957fe66a FS-7500: remove temp bridge echo hack 2015-05-28 12:46:45 -05:00
Anthony Minessale d7af2b128c FS-7500: clean up logic of encoder flow and set rules on return values and tweak some codec settings on vp8 2015-05-28 12:46:45 -05:00
Anthony Minessale ec9b7c0499 FS-7500: add video_decoded_echo var to make the echo app decode and re-encode video frames for testing 2015-05-28 12:46:45 -05:00
Seven Du 2d49b33002 FS-7500: fix follows the last refactor of core code 2015-05-28 12:46:45 -05:00
Anthony Minessale 73b2a5ea87 FS-7500: tmp comment 2015-05-28 12:46:45 -05:00
Anthony Minessale 22020c86cb FS-7500: add SFF_USE_VIDEO_TIMESTAMP to tell video write frame if it needs to use a timer or not for timestamps 2015-05-28 12:46:45 -05:00
Anthony Minessale 0cd5658caa FS-7500: another refactoring pass, temp code still in place, WORK IN PROGRESS 2015-05-28 12:46:44 -05:00
Seven Du 258dacc742 FS-7500: fix if statement 2015-05-28 12:46:44 -05:00
Anthony Minessale 44e7929507 FS-7500: revert earlier bridge change 2015-05-28 12:46:44 -05:00
Anthony Minessale 3c29d4e8a7 FS-7500: mark places to fix later 2015-05-28 12:46:44 -05:00
Anthony Minessale 659c1e474e FS-7500: Work in progress. Added codec config params that can be set from session and made vpx codec re-init on size change. Also add periodic key frame timer 2015-05-28 12:46:44 -05:00
Anthony Minessale 365a5dd820 FS-7500: major refactoring pass. Push concepts from mod_vlc as deep as possible and flesh out api to use everywhere else. Round 2 will be to convert the bridge and other places using the same code 2015-05-28 12:46:44 -05:00
Anthony Minessale 765fff3d75 FS-7500: add support for codec control and use it to pass messages down to the codec and use it to implement keyframe reset for fir, pli and nack. Later we will expand to handle nack correctly. 2015-05-28 12:46:44 -05:00
Anthony Minessale d4a5ebf97d FS-7500 FS-7517 FS-7508 FS-7514: chrome working on most, bria working on some 2015-05-28 12:46:44 -05:00
Anthony Minessale 9fdb54766c FS-7508 FS-7517: import h264 and vpx codec files 2015-05-28 12:46:44 -05:00
Anthony Minessale d0d2e03672 FS-7514: [mod_vlc] temp workaround 2015-05-28 12:46:44 -05:00
Brian West cd98ec85e2 fix line endings 2015-05-28 12:46:43 -05:00
Seven Du 3466a2e468 FS-7500: fix and use 32bit timestamp, frame->timestamp is defined as switch_size_t and not always 32bit 2015-05-28 12:46:43 -05:00
Seven Du 055de41484 FS-7513: let the core thread to read video if vid-floor in conference already locked-hold by someone else 2015-05-28 12:46:43 -05:00
William King 4fc94e3907 FS-7500 S-7513: Few build fixes 2015-05-28 12:46:43 -05:00
Seven Du 99ed41a4bd FS-7513: Example code to use the core video thread with a custom callback
It by default remains the default behaviour

However, you can setup a relationship between members to let the
member choose to see anyone else but the floor, e.g.:

  conference 3000 relate 1 2 sendvideo

In the above command member 2 will see member 1's video regardless
member 1 has video floor or not
2015-05-28 12:46:43 -05:00
Seven Du 35ff4b5cda FS-7500: add ability to insert a custom callback to the core video thread
the callback will be called on each loop on read video frame, or
the callback function call run it's own loop to take over the core
loop so it can read video from session by itself.

the callback function can -

return SWITCH_STATUS_SUCCESS to wait another loop
return SWITCH_STATUS_CONTINUE to continue use the default behaviour
return anything else will break the core video loop and end the
       core thread
2015-05-28 12:46:43 -05:00
Seven Du 422a1f0419 FS-7513: show relationships 2015-05-28 12:46:43 -05:00
Seven Du 48c1363476 FS-7513: force floor on member join 2015-05-28 12:46:43 -05:00
Seven Du d33e5659f6 FS-7514: refresh req on vlc channel 2015-05-28 12:46:43 -05:00
Seven Du 78efac8154 FS-7514: not hardcoded H264 anymore 2015-05-28 12:46:43 -05:00
Seven Du 282b04a880 FS-7514: cleanup 2015-05-28 12:46:43 -05:00
Seven Du 240ec72fa4 FS-7514: allows the core video thread to read from the vlc endpoint 2015-05-28 12:46:43 -05:00
Seven Du 8e5cbb0e26 FS-7514: follow the last core_video refactor 2015-05-28 12:46:42 -05:00
Seven Du f3ad699526 FS-7500: update yuv codec 2015-05-28 12:46:42 -05:00
Seven Du ea2f00b3d9 FS-7500: refactor to use switch_core_video
added switch_core_codec_encode_video and switch_core_codec_decode video and add separate video implementations
the switch_core_video code depends on libvpx, wraped into the switch_ namespace like switch_apr, need to figure out how to find the correct libvpx lib in autotools
2015-05-28 12:46:42 -05:00
Seven Du bcbdf8a347 FS-7500: add switch_core_video code 2015-05-28 12:46:42 -05:00
Seven Du 71cafe536b FS-7500: add decode_video App 2015-05-28 12:46:42 -05:00
Seven Du 74d6db8809 FS-7514: refactor timestamp code 2015-05-28 12:46:42 -05:00
Seven Du c9a13474a4 FS-7517: add play_yuv to test encoder 2015-05-28 12:46:42 -05:00
William King 6dec4de2fe FS-7508 FS-7517: [build] Convert the build over to automake, though there is still room to fix
the autoconf portion to detect the correct location of libopenh264

Basic conversion for vpx too.
Borrowing from ldns handling, setup mod_vpx to prompt for the required library when the module is enabled
2015-05-28 12:46:42 -05:00
Seven Du 4af7e7c68d FS-7514: vlc video 2015-05-28 12:46:42 -05:00
liyang 90818f137e FS-7500: allow using the video thread externally - e.g. non rtp based video 2015-05-28 12:46:42 -05:00
Seven Du e80b40f9f1 FS-7500: add raw video codec yuv I420 2015-05-28 12:46:42 -05:00
Seven Du 998d933671 FS-7500: initial idea to decode video in core 2015-05-28 12:46:42 -05:00
Seven Du 416745e2cd FS-7500: move video bridge logic to switch_core_media so possible to do transcoding 2015-05-28 12:46:41 -05:00
Seven Du dcca71d97d FS-7502: refresh video on video record or eavesdrop 2015-05-28 12:46:41 -05:00
Seven Du b23ba52807 FS-7502: video eavesdrop 2015-05-28 12:46:41 -05:00
Seven Du 90b654e923 FS-7502: add simple video media bug implementation, should work with .fsv, be sure to set enable_file_write_buffering=false
Conflicts:
	src/include/switch_types.h
2015-05-28 12:46:41 -05:00
Seven Du 67334bea27 FS-7513: [mod_conference] video recording in conference
conference 3000 record /tmp/testrecord.fsv
call 9194 try to playback
mp4 should also work with the mp4 file format, will be available soon
2015-05-28 12:46:41 -05:00
Seven Du a7b6ef0888 FS-7500: [mod_fsv] fix fsv sample_count and mux of channels 2015-05-28 12:46:41 -05:00
Anthony Minessale b5f75a0f43 FS-7582 #resolve #comment port from 1.6 its probably better to start working on 1.6 for any webrtc or dtls stuff 2015-05-27 16:48:16 -05:00
Anthony Minessale 2db8f94ab6 skip rtcp addr when mux is set 2015-05-27 06:14:08 -05:00
Brian West 1073b32bcf FS-7529 correct fix 2015-05-21 12:42:51 -05:00
Anthony Minessale d413bcd7b3 FS-7567 #resolve #comment additional occurrences beyond the initial patch discovered 2015-05-21 09:50:49 -05:00
Brian West 38ab8a9b31 Merge branch 'master' of https://freeswitch.org/stash/scm/fs/freeswitch 2015-05-20 14:52:44 -05:00
Brian West 4811ec9d6a FS-7562 --resolve 2015-05-20 14:52:23 -05:00
Jeff Lenk 278b42eb11 FS-7488 remove windows duplicate files 2015-05-20 13:19:12 -05:00
Anthony Minessale 5045864672 FS-7541 use switch_time_now for more accurate timestamps and wait for 3 consecutive missing packets to write silence into native recordings 2015-05-18 14:29:39 -05:00
Jeff Lenk acdb1ca582 FS-7488 windows fix build error 2015-05-17 13:45:52 -05:00
Chris Rienzo 25f2f18c5f FS-7557 fix crash when doing 'limit_usage mongo foo bar' 2015-05-15 08:43:00 -04:00
Chris Rienzo 13513439ba FS-7557 mod_mongo add limit backend - still testing 2015-05-14 17:19:42 -04:00
Michael Jerris 9fc8772aef FS-7463: revert commits c2c04632f3 b33563138b and 6bf74877b5f0. Future pull requests should be verified that they compile before submitting. 2015-05-14 13:55:32 -04:00
Luis Azedo 64c7fee8ca conditionally allow intercept of replaced call-id when processing replaces header
without this change one leg calls inhaled could not be picked because there is no bridge_uuid.

FS-7463 #resolve
2015-05-14 17:43:09 -05:00
Anthony Minessale II c2c04632f3 Merge pull request #241 in FS/freeswitch from ~LAZEDO/freeswitch-fs-7463:FS-7463 to master
* commit 'b33563138b0953693dbe0d32a439c533ea8b4316':
  conditionally allow intercept of replaced call-id when processing replaces header
2015-05-14 11:37:51 -05:00
William King 346f6cb6af FS-7552 #resolve 2015-05-13 15:56:18 -07:00
Steve Underwood b156cbd604 A slightly mroe elegant an commented fix for the potential overflow issue in udptl.c 2015-05-12 12:00:04 +08:00
Michael Jerris dbc550a26d FS-7184: add buffer overflow check in udptl_rx_packet 2015-05-11 19:46:27 -05:00
Brian West 8ce7f24b41 FS-7529 --resolve 2015-05-11 16:47:02 -05:00
doancea ccbef9e0c7 opus@8000h : with this change there RTP timestamps will be incremented with 960 (20 ms ptime) - per RFC , and the frame size will be 160 samples. 2015-05-11 16:48:49 +02:00
William King 15d8821ede FS-7060: On first startup, on a clean platform, make sure to create the amqp exchange. 2015-05-04 21:36:15 -07:00
Michael Jerris 2b79637036 FS-7523: [mod_json_cdr] don't install state handlers before we configure the module 2015-05-04 15:58:48 -04:00
Michael Jerris 7382cecf8c FS-7523: [mod_json_cdr] don't bind events before we configure the module 2015-05-04 11:46:30 -04:00
Michael Jerris 1b322bd952 FS-7425: #resolve dhparams might not be present, causing a seg. Make sure they are there before we apply them 2015-05-04 11:23:33 -04:00
William King d3bac671d2 FS-7526: add enable_fallback_format_fields for mod_amqp producer profiles if the profile param is set. 2015-05-03 11:23:30 -07:00
Chris Rienzo d8d3db284c FS-7496 [mod_http_cache] lookup file extension from content-type if missing in URL 2015-04-30 16:06:19 -04:00
Brian West d29c2d74b6 FS-7496 #resolve strip url args after the file extension 2015-04-30 14:29:21 -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
Brian 518d74a4bc FS-7492 fix copy paste typo 2015-04-30 07:35:40 -05:00
Anthony Minessale c143ef1b3d FS-7466 2015-04-29 19:18:59 -05:00
Chris Rienzo 4bd9cdf423 FS-7491 #resolve #comment [mod_graylog2] send timestamp with millisecond precision instead of microsecond as required by GELF. 2015-04-28 16:18:46 -04:00
Chris Rienzo 5816ddcd39 FS-7490 #resolve #comment mod_rayo, srgs to regex transform: latest PCRE doesn't like regex generated by mod_rayo. It requires the group name not to start
with a digit.
2015-04-28 14:38:38 -04:00
Anthony Minessale II 50edd26068 Merge pull request #199 in FS/freeswitch from ~ARTURZ/freeswitch:FS-7307-native-recording-buffering to master
* commit '8e72fafb2c11d6fc8532f0de8d9d5d26200376fd':
  FS-7307: When recording a call in native format, buffering does not work
2015-04-28 13:14:41 -05:00
Michael Jerris b90aa23cbd FS-7488: [mod_managed] fix build error 2015-04-28 11:59:15 -05:00
Anthony Minessale 6e588b551b FS-7472 2015-04-28 16:12:37 -05:00
Anthony Minessale 452a4c1b05 swigall 2015-04-27 12:35:38 -05:00
Anthony Minessale 3058709a92 swigall 2015-04-25 14:15:26 -05:00
Anthony Minessale d60a8ab223 fix switch_core_codec_copy blocking interface forever issue 2015-04-25 13:22:46 -05:00
Anthony Minessale c56b7da53a copy part of 0e7eb72ca75a3584d203c6464fc8ceaacf79ebae 2015-04-25 13:22:43 -05:00
Eric Tamme b9b1b61d20 FS-7425: set dh params and call set_tmp_dh to enable PFS for DTLS-SRTP 2015-04-24 10:31:17 -05:00
Michael Jerris dbc124d45e FS-7465: make sure write buffer is big enough on stereo file handles 2015-04-24 09:50:01 -05:00
Anthony Minessale d3a747ad02 FS-7470: add force-register-domain param to verto 2015-04-24 09:49:54 -05:00
William King b01352c133 Fixing a typo from a last minute refactor after fixing a bug 2015-04-22 21:33:08 -07:00
Luis Azedo b33563138b conditionally allow intercept of replaced call-id when processing replaces header
without this change one leg calls inhaled could not be picked because there is no bridge_uuid.

FS-7463 #resolve
2015-04-22 20:11:12 +01:00
Michael Jerris a4d877c189 FS-7460: don't force ice in 3pcc-mode=proxy 2015-04-21 19:58:28 -04:00
Jeff Lenk 921f1a2bd2 FS-7458 2015-04-21 12:06:42 -05:00
Michael Jerris 9d68cab2ac FS-7456: also more complete fix for FS-7440, handle sdp with m lines in any order 2015-04-21 12:07:54 -04:00
William King 777c1154ee Additional fix for error case when connection succeeds, but login fails 2015-04-19 19:11:47 -07:00
William King c620ee32c7 If we lost connection and can't reconnect, make sure to set active connection to NULL 2015-04-19 18:43:03 -07:00
Anthony Minessale II 4f134467e3 Merge pull request #236 in FS/freeswitch from ~CRIENZO/freeswitch:fs-7434 to master
* commit '638e93242257ca2c16dc3ab11ded5768a30f7007':
  FS-7434 reset jitter buffer when SSRC changes
2015-04-17 17:07:37 -05:00
Michael Jerris 753030acf5 handle m=video lines before m=audio 2015-04-17 11:26:15 -05:00
Chris Rienzo 638e932422 FS-7434 reset jitter buffer when SSRC changes 2015-04-16 16:02:16 -04:00
Brian 40441413e0 Typo from previous convenience app commit 2015-04-16 07:50:07 -05:00
Brian 6a4c2b3406 convenience app 2015-04-15 17:01:12 -05:00
Anthony Minessale 464d8ab910 FS-7431 #resolve 2015-04-14 15:46:04 -05:00
Michael Jerris 3bbfa9f341 FS-7407: when using proxy, make sure to pick the right transport to the proxy 2015-04-13 22:54:02 +00:00
William King b51c054474 FS-7060 add configuration of the amqp command binding key 2015-04-08 16:04:00 -07:00
William King d55c4a053b FS-7060 expanded configuration for amqp command configuration 2015-04-07 16:11:34 -07:00
William King 7b6a9efcaa FS-7060 More accurate logging, and improve handling of producer reconnect attempt interval 2015-04-07 10:52:30 -07:00
Anthony Minessale 6eb59c7119 add variable expansion to mod_xml_ldap 2015-04-04 04:39:35 -05:00
William King 1a96f23f27 Adding mod_amqp as an event_handler module
AMQP(Advanced Message Queueing Protocol) is an event bus protocol
with more info here http://www.amqp.org/about/what

mod_amqp implements the client side of the amqp protocol. Currently
the module supports two separate, but not mutually exclusive usages:

1. Sending a filtered whitelist of events to an AMQP server. The
before the events are sent an amqp routing header is generated so that
downstream subscriptions can subscribe using filters. If the
connection to the remote server is interrupted, the module will
attempt to reconnect.

2. Subscribing to a 'control' channel on the remote AMQP server. When
events are received on this channel if they match a configured filter,
the commands are run locally as api commands. If the filter for the
events being sent to the remote AMQP server include SWITCH_EVENT_API
then the results of the api commands will be sent back to the AMQP
server.

FS-7060 #resolve
Thanks-to: Daniel Bryars <danb@aeriandi.com> and Tim Brown <tim.brown@aeriandi.com>
2015-04-03 15:34:09 -07:00
Chris Rienzo c6ef0558ff FS-7406 added deduplicate_dtmf application 2015-04-01 14:08:49 -04:00
Chris Rienzo 3c2afc6a2c FS-7406 #resolve #comment Added DTMF-Source header to DTMF event.
DTMF-Source may have the following values:
   APP : injected by application (send_dtmf, etc)
   ENDPOINT : detected by endpoint signaling (like SIP INFO)
   INBAND_AUDIO : detected by start_dtmf, spandsp_start_dtmf, etc
   RTP : detected as 2833/4733 telephone event
   UNKNOWN : unknown source

One possible use of this header is to determine telephone events
are being received, and if so, disable inband detection.
2015-04-01 11:00:43 -04:00
Anthony Minessale f2a5271009 doh 2015-03-27 00:01:05 -05:00
Anthony Minessale 2c92ef31e3 FS-7386
Conflicts:
	src/switch_core_media.c
2015-03-26 23:52:53 -05:00
Brian West 183570bd94 FS-7396: #resolve update dtls socket when socket changes on auto-adjust that changes address families and also include link local v6 addresses in approrpiate auto acls 2015-03-26 17:38:12 -05:00
Mike Jerris f5d40ba84a Merge pull request #228 in FS/freeswitch from ~MARCELHALDEMANN/freeswitch-fs-7391:master to master
* commit 'c7fdcc2ad866540ddbf6cf7b21ea9a33ad857c49':
  FS-7391 #resolve corrected currency for mod_say_de it's now "Ein Euro und Ein Cent" rather than "Eins Euro und Eins Cent"
2015-03-26 13:32:46 -05:00
Marcel Haldemann c7fdcc2ad8 FS-7391 #resolve corrected currency for mod_say_de it's now "Ein Euro und Ein Cent" rather than "Eins Euro und Eins Cent" 2015-03-26 19:16:44 +01:00
Brian West 36e1840d63 Merge pull request #207 in FS/freeswitch from ~MBRANCA/freeswitch:bugfix/FS-6954-freeswitch-adds-additional-m-audio to master
* commit 'ca2dd2f3ba80924567472c0516ee8bac2af34d6a':
  FS-6954 Detect when we have T.38 in nomedia or proxy media mode and apply same fixups as in media mode.
2015-03-26 10:00:48 -05:00
Matteo Brancaleoni ca2dd2f3ba FS-6954 Detect when we have T.38 in nomedia or proxy media mode and apply same fixups as in media mode. 2015-03-26 15:33:30 +01:00
William King ed0a434b95 Fail the call with 502 bad gateway if the outbound leg returns a redirect with an invalid URI.
FS-7385 #resolve
2015-03-25 12:46:59 -07:00
Anthony Minessale bd10f08934 add support for file:func to custom log mappings 2015-03-24 22:29:24 -05:00
Chris Rienzo cbd94aac29 FS-7300 [mod_rayo] set iq type to error when prompt component forwards input/output error back to rayo client. 2015-03-22 14:40:25 -04:00
Jeff Lenk 3d644029b0 FS-7149 #comment mod_flite for windows fix 2015-03-21 14:55:21 -05:00
Chris Rienzo 21d1e6fc4b FS-7378 play_and_detect_speech: protect against NULL result 2015-03-18 15:30:12 -04:00
Chris Rienzo ab3d967115 FS-7378 #resolve #comment play_and_detect_speech can now detect DTMF if you set the playback_terminators channel variable to any or specific DTMF. The result will be stored in speech_detect_result and in playback_terminator_used. Also added channel variable play_and_detect_speech_close_asr which will release the speech recognition port when the detection is completed. This will prevent speech licenses from being held the entire call. 2015-03-18 15:06:14 -04:00
Brian West 44118fa8e6 FS-7297 fix incomplete patch for previous issue 2015-03-18 13:51:12 -05:00
Anthony Minessale 42961b7f2e remove debug 2015-03-17 18:27:08 -05:00
Anthony Minessale 1f5e5abbed fix frame size for encoder 2015-03-12 23:58:14 -05:00
Chris Rienzo f2c993e5ee FS-7300 #resolve #comment [mod_rayo] handle all MRCP completion causes in SPEECH-COMPLETE event and validate / load input grammar URLs 2015-03-11 23:53:50 -04:00
Mike Jerris e1f329734c Merge pull request #217 in FS/freeswitch from ~JEREMYCX/freeswitch-fs-5570:master to master
* commit '669d613777bfac4e909b63401321e27cb54d6499':
  FS7750: When using the api command group, there is no way to return the contact list separated by :_:, which is required to group call extensions that have been multiply-registered.
2015-03-09 08:25:49 -05:00
Mike Jerris eb4a6732bb Merge pull request #219 in FS/freeswitch from ~SAFAROV/freeswitch-mod-radius-cdr_improvement:erlang-filter to master
* commit '57aba47f6e51e067f593fb32ccc43c015ae63d8d':
  FS-7354: Filter feature ported from mod_event_socket to mod_erlang_event
2015-03-09 08:24:22 -05:00
Mike Jerris 016474cfd1 Merge pull request #216 in FS/freeswitch from ~MANAV/freeswitch:doc-switch_core_set_variable to master
* commit '830bc28c45091990ad7f53e3fdea2f1166b5901d':
  FS-7352: Document how to use switch_core_set_variable to delete variables
2015-03-09 08:21:27 -05:00
Sergey Safarov 57aba47f6e FS-7354: Filter feature ported from mod_event_socket to mod_erlang_event 2015-03-09 10:55:28 +03:00
Manav Rathi 830bc28c45 FS-7352: Document how to use switch_core_set_variable to delete variables
I had to scan through the source of the function to verify that this
is the indeed the actual behaviour, and that NULL is a valid
argument. By mentioning this in the header, we save posterity that
effort.
2015-03-07 06:59:06 +05:30
Jeremy Childs 669d613777 FS7750: When using the api command group, there is no way to return the contact list separated by :_:, which is required to group call extensions that have been multiply-registered. 2015-03-06 14:39:53 -07:00
Mike Jerris 5e43c6dd25 Merge pull request #170 in FS/freeswitch from ~NIMAST/freeswitch-fs-7203:rtcp-source-fraction-fix to master
* commit '5f7e111f79dd1a965aa956da7495485f52b0a1cc':
  Fix source fraction always 0 in RTCP events
2015-03-06 13:36:37 -06:00
Anthony Minessale II b448953fab Merge pull request #206 in FS/freeswitch from ~ARTURZ/freeswitch:FS-7306-fs_encode-sleep-cleanup to master
* commit '921f77668f39ee9a768c0515dba054f99cf0bd75':
  FS-7306: fs_encode is sleeping to much - cleanup
2015-03-06 11:31:56 -06:00
Anthony Minessale 5a96512345 FS-7305 #resolve 2015-03-06 16:44:53 -06:00
Nathan Neulinger c35a23af44 roll back 9593796420 due to problems in actual use 2015-03-05 15:45:00 -06:00
Michael Jerris 3a70750b42 FS-7340: remove all build system references to json-c because we are no longer using it anywhere 2015-03-04 14:06:18 -05:00
Mike Jerris 3c9711f160 Merge pull request #213 in FS/freeswitch from ~MISHEHU/freeswitch:bugfix/FS-7340-mod_curl-json-api-change to master
* commit '5303101df05a01e82060df253d68d14a44f4260b':
  FS-7340: Converting the json handling to use the types and functions in switch_json.h .
2015-03-04 12:37:07 -06:00