Commit Graph

13615 Commits

Author SHA1 Message Date
Dušan Dragić 310ca8867d FS-8298 fix libctb build 2015-10-19 16:03:09 +02:00
Bradley Jokinen a52aaa9225 FS-8348 Fix crash caused by trying to get channel of a null session 2015-10-15 11:01:53 -05:00
shuntongzhang 4ce46043c3 FS-8341 [mod_distributor] fix gateway choose bug 2015-10-15 22:33:00 +08:00
Dragos Oancea d145111eed FS-8344: mod_opus: toggle FEC on the last frame which is to be packed, so that
FEC will be only present on the first SILK frame of the next Opus frame (Opus repacketization).
2015-10-15 08:48:25 -04:00
Brian West df8d8713fe FS-8287 Fix segfault from refactor 2015-10-14 10:27:56 -05:00
William King ab0f1423fb Merge pull request #545 in FS/freeswitch from ~PAULCUTTLER/freeswitch:feature/FS-7924-making-mod_rtmp-compatible-with-adobe to master
* commit '86d849c54e26951e313d1dcb4b220055f79aacc0':
  FS-7924: [mod_rtmp] Modify initStream & createStream responses
  Making mod_rtmp compatible with Adobe Media Server
2015-10-14 09:43:33 -05:00
Anthony Minessale 4e1ec89009 FS-6833 FS-6834 fix regression 2015-10-13 12:17:29 -05:00
Anthony Minessale aa7bc32375 FS-7834 #resolve [MOH doesn't work with inbound-bypass-media and resume-media-on-hold] 2015-10-13 11:51:51 -05:00
Anthony Minessale dc8f2b2044 FS-6833 FS-6834 found a few missing content-types in requests/resonses with sdp that were outside the norm 2015-10-12 12:38:25 -05:00
Ken Rice 61d9243e55 FS-8335 #resolve fix small error check that results in error message not being displayed. 2015-10-12 11:58:53 -05:00
Dragos Oancea 65fd07923e FS-8319: mod_opus: fix and cleanup of switch_opus_has_fec() and switch_opus_info(). 2015-10-12 10:37:09 -04:00
William King b5301688d7 FS-8306 Now command queues can specify the queue to subscribe to. This enables very interesting use cases that would involve single job queue, and multiple consumers. 2015-10-10 16:39:53 -07:00
William King ba63cc4574 FS-8306 #resolve if the exchange doesn't exist, then create it, else
fail. This resolves several error cases.
2015-10-10 16:30:28 -07:00
William King 444b9152b2 FS-8329 #resolve Also fixes default configs to keep in line with a change made for Fs-7806 FS-7803 2015-10-10 15:38:06 -07:00
Brian West 367e104773 FS-8328 'else' keyword is missing #resolve 2015-10-10 15:54:23 -05:00
William King bf38cd2388 FS-8316 more clean code this way 2015-10-09 11:08:19 -07:00
Anthony Minessale II 5b133bbb47 Merge pull request #551 in FS/freeswitch from bugfix/FS-8234 to master
* commit '2fce618f63e3f1f3b43d3d79318e8646243eea38':
  FS-8234 #resolve
2015-10-09 13:01:29 -05:00
Anthony Minessale 2fce618f63 FS-8234 #resolve 2015-10-09 13:00:15 -05:00
Anthony Minessale 393ee022b0 FS-8179 regression setting fec_decode breaks output on stereo calls 2015-10-09 12:30:45 -05:00
William King efc173e195 FS-8316 resolving the build warnings in one more module 2015-10-09 10:21:58 -07:00
Anthony Minessale 6837062563 FS-6833 add content-type header to ack with sdp 2015-10-09 10:28:02 -05:00
William King b9634d5f7a FS-8316 resolving the build warnings in the modules too 2015-10-08 13:01:04 -07:00
Anthony Minessale a53659c086 FS-7929 #resolve [ignore_early_media=true behaviour] 2015-10-08 13:17:39 -05:00
Anthony Minessale 1bf8fe2de0 FS-8318 #resolve [mod_av can record out of sync when video from chrome has packet loss] 2015-10-07 14:04:33 -05:00
Dragos Oancea ea65a31e30 FS-8313: mod_opus: show decoder stats at end of call (how many times it did PLC or FEC) 2015-10-07 14:55:34 -04:00
Mike Jerris 0a987a2502 Merge pull request #547 in FS/freeswitch from ~GIGGSEY/freeswitch:bugfix/FS-8311-leave-message-verbose-data-for-forwarded to master
* commit 'c50d87a09cd04043e1d9223bbcaf4a448fcc47e3':
  FS-8311 [mod_voicemail] Pass session to deliver_vm
2015-10-07 13:03:58 -05:00
Joshua Gigg c50d87a09c FS-8311 [mod_voicemail] Pass session to deliver_vm
Allows the leave-message event to add the verbose data

FS-8311 #resolve
2015-10-07 18:54:51 +01:00
Anthony Minessale 545c63bb3f FS-8317 #resolve [Playing stacked video files sometimes makes the floor layer unusable] 2015-10-07 12:43:20 -05:00
Paul Cuttler 86d849c54e FS-7924: [mod_rtmp] Modify initStream & createStream responses
Moved the response message mistakenly placed in the initStream
handler to the createStream handler
2015-10-07 14:50:27 +11:00
Anthony Minessale 7f85faf21e FS-8130 FS-8305 refactor of last patch plus suppression of scary harmless message about opus fec 2015-10-06 09:34:29 -05:00
Dragos Oancea 8a0006dcdc FS-8302: fix some printing/logging because switch_opus_show_audio_bandwidth() was not returning TRUE/FALSE as expected 2015-10-05 10:54:21 -04:00
Brian West 75b01a306e FS-8130 2015-10-04 16:53:54 -05:00
Anthony Minessale II 86197b7ee3 Merge pull request #479 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-init-improvements to master
* commit '27d7ebeb94c5ea23e612e0a7356919f19e74bdd5':
  FS-8296: mod_opus: Improve the way Opus is initialized when a call comes in .
2015-10-04 11:22:04 -05:00
Dragos Oancea 27d7ebeb94 FS-8296: mod_opus: Improve the way Opus is initialized when a call comes in . 2015-10-03 15:26:39 -04:00
Dragos Oancea 01545832f4 FS-8295: mod_opus: FMTP fixes: usedtx for 8khz . useinbandfec and cbr (both 48 khz and 8 khz)
Some FMTP params were broken when INVITE was originated by FS.
2015-10-03 14:47:08 -04:00
Anthony Minessale dcdf4685af FS-8243 8b088c26fb breaks perfectly working fec, adding back the missing part that actually works in most surroundings 2015-10-03 02:38:00 -05:00
Michael Jerris 5f210b4d75 FS-8243: fix typo of return from previous patch 2015-10-02 23:43:11 -04:00
Brian West ed9e9c6243 FS-8287 refactor local_stream api to be more consistent and add auto complete 2015-10-02 13:29:50 -05:00
Mike Jerris 76b11fd8c7 Merge pull request #430 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-originate-fmtp-ptime to master
* commit 'efeb720a01993a52f2614cbcab14995a88af2721':
  FS-8034: mod_opus: send correct (configured) fmtp ptime,minptime,maxptime when originating call
2015-10-02 12:57:53 -05:00
Mike Jerris 41431c0f09 Merge pull request #487 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-keep-fec-on-improvements-loss to master
* commit '6385fb863a7e800dbb2668fd0ed4e1203b1ba18e':
  FS-8161: mod_opus: Keep FEC enabled only if loss > 10 ( otherwise PLC is supposed to be better)
2015-10-02 12:52:51 -05:00
Anthony Minessale b61ebc759b FS-8179 2015-10-02 12:51:57 -05:00
Mike Jerris 822e5a7b96 Merge pull request #516 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-fec-detect-improvement to master
* commit '8b088c26fbf4eba3daaacfaa6e29ab765f7321ba':
  FS-8243: Improve the way FEC info is detected within frames (added support for ptimes higher than 20 ms for FEC detection ) (Claude Lamblin)
2015-10-02 12:50:34 -05:00
Mike Jerris 2b0681f798 Merge pull request #517 in FS/freeswitch from ~MBRANCA/freeswitch:bugfix/FS-8239-error-in-building-mod_av-on-centos to master
* commit 'fe1fa8c8fbf1785e8c3e5320b2c837feb4e14034':
  FS-8239 fix default value to avoid failed mod_av build on CentOS 7
2015-10-02 11:43:16 -05:00
Mike Jerris 620ceb4b1d Merge pull request #518 in FS/freeswitch from ~DCOLOMBO/freeswitch:bugfix/FS-8246-fix-default-value-param-delay-for to master
* commit 'c08f2e37a7ee391a406bde9024840bfb50ecdd5d':
  FS-8246: use seconds as default value for delay param
2015-10-02 11:41:15 -05:00
Corey Burke 3a9e7f08b4 FS-8286: Minor debug log level tweaks
Adjust some DEBUG and INFO log lines, reducing log verbosity at the INFO level while increasing call debugging info.
2015-10-02 08:41:41 -07:00
Corey Burke 0641315ef6 Use use-dtx setting from config in request to callee. 2015-10-02 08:13:05 -07:00
Anthony Minessale ead42d56b5 FS-8179 #resolve [mod_opus: improvement on new JB buffer debugging (debug lookahead FEC)] 2015-10-01 19:12:03 -05:00
Bradley Jokinen d8e21b43e0 FS-8274 Fix memory leak caused by images not being freed in video_thread_run 2015-10-01 16:34:05 -05:00
Ken Rice a983cc5228 FS-8273 #resolve clear the CF_RECOVERING flag in a spot that was missed 2015-10-01 15:23:21 -05:00
Anthony Minessale II 299529cb5e Merge pull request #522 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:mod_opus-more-fmtp-cleanup to master
* commit '30847cf76b410dba11385148110bcf82890d0dc5':
  FS-8256: mod_opus: more FMTP cleanup
2015-10-01 14:40:56 -05:00
Anthony Minessale 7994b3dff3 FS-8216 fix regression in hup_local_stream from last commit 2015-10-01 12:16:48 -05:00
Anthony Minessale f1c61f6f24 FS-8216 #comment please test 2015-09-30 22:03:33 -05:00
Anthony Minessale beb1521e88 revert 2015-09-30 22:02:50 -05:00
Anthony Minessale 8401e716b1 FS-8240 #comment please test 2015-09-30 22:00:47 -05:00
Brian West c974dd9115 FS-8261 #resolve 2015-09-30 17:38:51 -05:00
Dragos Oancea 30847cf76b FS-8256: mod_opus: more FMTP cleanup 2015-09-30 14:35:45 -04:00
Anthony Minessale 158bcb841b set level to 4.1 on voip 2015-09-30 12:05:07 -05:00
Anthony Minessale 32b43866f8 FS-8240 add video profile param for recording 264 and make it default 2015-09-30 11:42:46 -05:00
Davide Colombo c08f2e37a7 FS-8246: use seconds as default value for delay param 2015-09-30 10:36:38 +02:00
Anthony Minessale b990e30a93 FS-8240 finishing touches 2015-09-30 03:32:41 -05:00
matteo brancaleoni fe1fa8c8fb FS-8239 fix default value to avoid failed mod_av build on CentOS 7 2015-09-30 09:23:30 +02:00
Brian West 8318b0abce FS-8240 more 2015-09-29 23:02:29 -05:00
Anthony Minessale 3fdd1df415 FS-8240 more 2015-09-29 23:00:28 -05:00
Dragos Oancea 8b088c26fb FS-8243: Improve the way FEC info is detected within frames (added support for ptimes higher than 20 ms for FEC detection )
(Claude Lamblin)
2015-09-29 18:35:47 -04:00
Anthony Minessale 58ba3860cd FS-8241 #resolve [Conference stops playing video when local_stream changes source] 2015-09-29 14:48:24 -05:00
Anthony Minessale 243811ddc6 FS-8240 #resolve [local_stream a/v gets out of sync when running in the background] 2015-09-29 14:44:57 -05:00
Anthony Minessale fbacc27d29 FS-8232 #resolve [conference sending too many video refresh req] 2015-09-28 14:00:37 -05:00
Steve Underwood 721ea6dceb Removed use of _NONSTD for Windows builds of spandsp, so (hopefully) eliminate
compatibility problems with recent versions of MSVC
2015-09-28 21:47:27 +08:00
Anthony Minessale II 5a5793ce99 Merge pull request #508 in FS/freeswitch from bugfix/FS-7911 to master
* commit 'e5f31310db598c6f842cc007f158ae29d8477cae':
  FS-7911 #resolve
  correct version of proposed patch
2015-09-24 16:01:24 -05:00
Anthony Minessale e5f31310db FS-7911 #resolve 2015-09-24 16:00:39 -05:00
Anthony Minessale 037031fc80 FS-8216 #resolve [Occasional lip sync problems when recording with mod_av ] 2015-09-24 13:55:28 -05:00
Michael Jerris c167eb7d5d FS-8190: fix build regression from original FS-8190 commit 2015-09-23 16:40:13 -05:00
Anthony Minessale dd6da6e06a FS-8211 #resolve [Conference video recordings of layouts with overlap have flickering video] 2015-09-23 13:24:14 -05:00
Anthony Minessale 43ef01fbbe correct version of proposed patch 2015-09-23 11:58:57 -05:00
Anthony Minessale 819a2c13a9 FS-8210 #resolve [mod_verto can be unloaded while it is in use] 2015-09-23 10:35:45 -05:00
Anthony Minessale 7ea9b684a7 FS-8204 add sprop-stereo also 2015-09-22 15:31:20 -05:00
Saumar Hajjar 3aa051e1a1 FS-7673: ODBC NULL value incorrectly evaluated in mod_v8 2015-09-21 23:36:42 -03:00
Anthony Minessale f8b19b7485 FS-8190 #resolve [When using nixevent, freeswitch stops sending us certain custom event that were NOT part of the nixevent command] 2015-09-21 18:00:32 -05:00
Mike Jerris 47864eac86 Merge pull request #493 in FS/freeswitch from feature/FS-8042-store-sip-endpoint-ping-response to master
* commit '5509a627061a07d7db18967449c3e6f8f216c4a2':
  FS-8042, FS-8182: add ping time (in ms) to sip_registrations table, displays as part of the show commands that show registration details, add force_ping=true user var to force options ping on individual registered endpoints
2015-09-21 14:43:58 -05:00
Anthony Minessale 8a0366b999 FS-8130 running out of witty commit msgs 2015-09-21 14:08:38 -05:00
Michael Jerris 5509a62706 FS-8042, FS-8182: add ping time (in ms) to sip_registrations table, displays as part of the show commands that show registration details, add force_ping=true user var to force options ping on individual registered endpoints 2015-09-21 12:13:28 -05:00
Anthony Minessale 1b60510130 FS-8184 #resolve [Fix possible memory leak in mod_conference when hanging up on a video call] 2015-09-17 21:13:02 -05:00
Anthony Minessale 4a56b7d145 FS-8130 cont 2015-09-17 17:34:58 -05:00
Dragos Oancea 6385fb863a FS-8161: mod_opus: Keep FEC enabled only if loss > 10 ( otherwise PLC is supposed to be better) 2015-09-17 13:29:38 -04:00
Mike Jerris e7d11375ad Merge pull request #451 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus_repacketize_refactor to master
* commit '753213b7459000e8aa1c8aa170d04b9371c6f629':
  FS-8080: mod_opus: fine-tune FEC with repacketization (ptimes: 80 ms,100 ms,120 ms)
2015-09-17 11:33:51 -05:00
Dragos Oancea de67b09e80 FS-8179: mod_opus: improve JB debugging with FEC 2015-09-17 10:05:00 -04:00
Dragos Oancea 753213b745 FS-8080: mod_opus: fine-tune FEC with repacketization (ptimes: 80 ms,100 ms,120 ms) 2015-09-17 05:20:39 -04:00
Anthony Minessale d57ab43f32 FS-8130 code error 2015-09-16 17:05:00 -05:00
Anthony Minessale 882e6feaf2 FS-6833 FS-6834 add support for X-headers in this 3p mode 2015-09-16 16:12:16 -05:00
Anthony Minessale 3091301e34 FS-8172 #resolve [Regression from earlier commit to mod_conference breaks admin controls in verto demo app] 2015-09-16 13:20:57 -05:00
Anthony Minessale 8bdf956c0c FS-8130 redo last fix a different way 2015-09-16 12:34:56 -05:00
Anthony Minessale 04fc75e93b FS-8130 fix regression in conference recording 2015-09-16 11:46:06 -05:00
Anthony Minessale 703795e913 FS-8130 FS-7432 FS-8115 2015-09-15 20:33:55 -05:00
Anthony Minessale 0f490fdab1 FS-8130 add support for timestamp based counting for jitter buffer in audio mode 2015-09-15 14:59:11 -05:00
Anthony Minessale 52afedf23d FS-8053 addtl touchups 2015-09-15 12:14:09 -05:00
Anthony Minessale 79f158911e FS-8053 fix some regressions from original merge, add auto mute-unmute when toggling video send/recv 2015-09-14 16:49:55 -05:00
Michael Jerris 46ab943d06 swigall 2015-09-14 14:45:35 -05:00
Anthony Minessale eea76c8856 FS-8130
Port video buffer to also support audio and remove original STFU jitter buffer
Add some more resilience to video packet loss
Add codec control mechanism for both call-specific debug and codec/call specfic params
Make opus function better in packet loss and latent situations
Use new codec control prams to make JB lookahead FEC optionally enabled or disabled mid-call
Add Param to allow JB lookahead to be enabled.
2015-09-14 13:30:08 -05:00
Anthony Minessale c195ee4c60 FS-8130 don't set packet loss percent 2015-09-11 11:37:01 -05:00
Mike Jerris e0f57dcfba Merge pull request #477 in FS/freeswitch from ~TCSEKE/freeswitch:bugfix/FS-8147-mod_erlang_event_process_spawning_segfault to master
* commit '5ab4038f23a8ec968f1e89d033dcea22a968ccf5':
  Fix process spawing segfault
2015-09-10 09:05:18 -05:00
Michael Jerris 860dd29e08 FS-8149: fix mod_xml_cdr curl dependency in makefile 2015-09-10 08:48:01 -05:00
Tamas Cseke 5ab4038f23 Fix process spawing segfault
Don't delete spawn reply because it can cause segfault in strncmp
Check the flag instead
FS-8147 --resolve
2015-09-10 11:23:58 +02:00
Mike Jerris a12010ecd4 Merge pull request #465 in FS/freeswitch from bugfix/FS-8053 to master
* commit '331cde3c92140f85265978c75b73cc9a202ad714':
  FS-8053: handle a=sendonly, a=sendrecv, a=recvonly to change who is sending video during a call
2015-09-09 18:11:22 -05:00
Anthony Minessale 331cde3c92 FS-8053: handle a=sendonly, a=sendrecv, a=recvonly to change who is sending video during a call 2015-09-09 18:10:52 -05:00
Stanislav Sinyagin 98a190a107 FS-7967 SmartOS compatibility
configure.ac: honor NetBSD and SmartOS in search for system lua
src/switch_utf8.c: remove switch_u8_vprintf and switch_u8_printf
replace u_int32_t with C99 standard uint32_t, and also the same for
  8,16,64 bit
2015-09-09 21:39:41 +00:00
Chris Rienzo 77a9aa69b1 FS-8143 #resolve #comment [mod_rayo] Fix crash caused by client disconnecting from mod_rayo while a message is being delivered to that client.
This is caused by the XMPP context's JID -> XMPP stream mapping not being cleaned up on XMPP stream destruction.
2015-09-09 17:06:37 -04:00
Dragos Oancea efeb720a01 FS-8034: mod_opus: send correct (configured) fmtp ptime,minptime,maxptime when originating call 2015-09-09 15:17:20 -04:00
Anthony Minessale d56c716c3f FS-1772 build err 2015-09-09 13:54:03 -05:00
Mike Jerris edbffd3462 Merge pull request #468 in FS/freeswitch from ~NCOPA/freeswitch:bugfix/FS-1772-need-a-way-for-individual-end-users to master
* commit '367dabcb55f48a3db1b02c0364e2352993eaa581':
  FS-1772 #resolve fix reset of voicemail greeting to default
2015-09-09 12:57:22 -05:00
Mike Jerris 14c43c0804 Merge pull request #470 in FS/freeswitch from ~NCOPA/freeswitch:bugfix/FS-8131-voicemail-does-not-reject-change to master
* commit '7aba5d52ee609e63ede7e76ab955179e9c61244d':
  FS-8131: [mod_voicemail] fix disallowed empty password set
2015-09-09 12:56:31 -05:00
Brian West 1fd9198c15 FS-8144 readability and code formatting cleanup of mod_opus whiel reviewing PLC/FEC bug and document missing options from opus.conf.xml 2015-09-09 12:48:41 -05:00
Anthony Minessale II 161ed4deb7 Merge pull request #473 in FS/freeswitch from ~ARTURZ/freeswitch:FS-8140-username-typo-in-sofia_handle_sip_i_invite to master
* commit '7e2082a55ac694a9278d198b809de7072cd6acb8':
  FS-8140 Fix user_name typo in sofia_handle_sip_i_invite
2015-09-09 12:45:41 -05:00
William King d7724cc2aa FS-8075 Fix for failover when you pull power on redis, while redis clients under load test 2015-09-09 10:39:20 -07:00
William King 8a388131b2 FS-8075 fix typo for dialplan app 2015-09-09 08:59:26 -07:00
Artur Zaprzała 7e2082a55a FS-8140 Fix user_name typo in sofia_handle_sip_i_invite 2015-09-09 10:33:23 +02:00
Natanael Copa 7aba5d52ee FS-8131: [mod_voicemail] fix disallowed empty password set
Prevent users to change password to an empty password when
allow-empty-password-auth is set to true.
2015-09-07 16:33:44 +02:00
William King 16d600c035 FS-8075 updates for limit release case 2015-09-04 14:46:10 -07:00
Natanael Copa 367dabcb55 FS-1772 #resolve fix reset of voicemail greeting to default
Allow entering 0 to restore the default greeting.
2015-09-04 16:22:20 +02:00
Anthony Minessale 2d2a27f6ad FS-8127 #resolve [update codec when detecting rate change in mod_conference more often] 2015-09-03 15:27:59 -05:00
Mike Jerris 49f5cede85 FS-7966: silence mod_lua build warnings in generated code 2015-09-02 15:55:01 -04:00
Michael Jerris dc80dbc8f3 FS-7966: don't manually edit generated source 2015-09-02 14:48:42 -05:00
Mike Jerris 46c0d05216 FS-7966: fix more msvc 2015 build warnings. 2015-09-02 13:07:17 -04:00
Anthony Minessale 08f634b215 move debug level to 5 for av codec msgs 2015-09-02 11:29:16 -05:00
Anthony Minessale 2feae3fc69 FS-6833 #comment please test this branch 2015-09-01 16:31:23 -05:00
Mike Jerris 58fc6abb17 Merge pull request #448 in FS/freeswitch from bugfix/FS-7911-master to master
* commit 'f2514644e1b9964bc4a2f91b8cbe6f8aedf1214b':
  FS-7911: [mod_conference] do not allocate for conference cdr if conference cdr is disabled, and fix leak in conference_record
2015-09-01 13:06:12 -05:00
Mike Jerris c3dbf25bd7 Merge pull request #392 in FS/freeswitch from ~VIPKILLA/freeswitch:master to master
* commit 'e2cf1f5270b22c1d6e36fcdc200cd6aa76c7511e':
  FS-7954: [mod_nibblebill] use switch_core_session_execute_exten instead of switch_ivr_session_transfer to perform inline dialplan action
2015-09-01 13:02:44 -05:00
Mike Jerris 8577601f5f Merge pull request #400 in FS/freeswitch from ~BRADLEYJOKINEN/freeswitch:FS-7983 to master
* commit '723e8a1f9a899564b89e70d5e6c4a8799413579b':
  FS-7983 Added param for specifying video encoding speed
2015-09-01 12:58:34 -05:00
Mike Jerris 3be62e292e Merge pull request #434 in FS/freeswitch from ~VIPKILLA/freeswitch-odbc_cdr-b-leg-fix:master to master
* commit '00a2e4814d2b3a5fcb4fc62cb7814384afeb0d89':
  FS-8044: [mod_odbc_cdr] fix how module detects b-leg
2015-09-01 12:57:48 -05:00
Chris Rienzo 070f53205e FS-8110 #resolve #comment [mod_rayo] prompt IQ error reply was being deleted after being sent for delivery. This is incorrect since message delivery thread will clean up the message. 2015-09-01 13:44:23 -04:00
Chris Rienzo 1588ebda0f FS-8082 #resolve #comment [mod_rayo] do not remove items from hash while iterating 2015-09-01 12:50:58 -04:00
Michael Jerris 6f1a00fe81 FS-8108: remove legacy mod_lua, the regular mod_lua works with system lua now 2015-09-01 11:15:12 -05:00
Chris Rienzo ed59a6286e FS-8103 #resolve #comment [mod_rayo] handle <prompt> where <output> finishes unexpectedly before start event is received 2015-09-01 11:01:58 -04:00
Michael Jerris 57682b8a45 FS-7966: fix scope masked declaration 2015-08-31 17:26:51 -05:00
Michael Jerris a55d146368 FS-7966: fix scope masked declaration 2015-08-31 17:23:51 -05:00
Mike Jerris d698492aaf Merge pull request #457 in FS/freeswitch from ~LEKENSTEYN/freeswitch:bugfix/FS-8099-lua-dialplan to master
* commit '7749a9f51d57266f42adc0cf25d8f885ebad382d':
  Restore LUA dialplan ACTIONS functionality
2015-08-31 17:06:48 -05:00
Mike Jerris de300df7c5 FS-7966: fix buffer overflow in mod_vmd found by msvc 2015 2015-08-31 17:56:01 -04:00
Mike Jerris 403c1735e5 FS-7966: fix more msvc 2015 warnings. 2015-08-31 17:47:57 -04:00
Michael Jerris a552997e7b FS-7966: fix mod_managed reference 2015-08-31 16:10:50 -05:00
Mike Jerris 5c59a0159d FS-7966: fix more msvc 2015 warnings. 2015-08-31 17:08:52 -04:00
Michael Jerris b126788ac7 FS-7966: fix build issue from incorrect msvc warning fix 2015-08-31 13:32:46 -05:00
Mike Jerris 2e3e09cb38 FS-7966: fix more msvc 2015 build warnings. 2015-08-31 13:26:36 -04:00
Michael Jerris 164c6111a1 FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead 2015-08-31 10:19:10 -05:00
Peter Wu 7749a9f51d Restore LUA dialplan ACTIONS functionality
Since using SWIG 2.0 to generate the code, two new items have been
pushed on the stack. Use relative stack indices to avoid breakage.

FS-8099 #resolve
2015-08-30 22:34:49 +02:00
William King d582e08da8 Startiing the deprecation mod_redis in favor of mod_hiredis. 2015-08-28 16:56:47 -07:00
William King d1d0f553bc FS-8075
Initial commit of mod_hiredis. Add expanded redis support to include
raw redis command support, as well as the existing support for
FreeSWITCH limits.
2015-08-28 16:56:38 -07:00
Mike Jerris 288c62576f FS-7966: fix more warnings in msvc 2015 build 2015-08-28 17:42:55 -04:00
Michael Jerris 4d16691a22 FS-8093: [mod_silk] remove giant stack allocation in switch_silk_decode. 2015-08-28 16:35:55 -05:00
Michael Jerris f2514644e1 FS-7911: [mod_conference] do not allocate for conference cdr if conference cdr is disabled, and fix leak in conference_record 2015-08-28 16:23:43 -05:00
Mike Jerris 5de2f7d7bd FS-7966: multiple fixes for msvc 2015 build, silence multiple warnings 2015-08-27 18:49:13 -06:00
Mike Jerris de0327960a FS-7966: multiple fixes for msvc 2015 build, fix x64 build 2015-08-27 17:26:42 -06:00
Mike Jerris 04f30edc6a FS-7966: multiple fixes for msvc 2015 build, fix openssl linking 2015-08-27 16:22:40 -06:00
Mike Jerris ac945c012a FS-7966: multiple fixes for msvc 2015 build, remove unintended file add 2015-08-27 15:13:35 -06:00
Mike Jerris 9485fc9581 FS-7966: multiple fixes for msvc 2015 build 2015-08-27 14:37:33 -06:00
Brian West ea38fe940b FS-8077 #resolve [Memory leak in conference_record thread] 2015-08-27 15:19:12 -05:00
Mike Jerris 7efc1f3bfb FS-7135: [mod_sofia] fix response to re-invite with duplicate sdp (such as we get from seesion refresh) when soa is disabled to include an sdp. Fixes t.38 fax failure on session refresh 2015-08-27 11:42:40 -05:00
Michael Jerris 0954eec9dc FS-8058: [mod_vpx] build correctly against libvpx that is not installed into default locations on the system 2015-08-26 17:32:23 -05:00
Michael Jerris e1aa9b11ca FS-8056: [mod_voicemail] fix segfault on vm_inject, regression from FS-7968 2015-08-26 17:06:28 -05:00
Anthony Minessale de3b0a0957 FS-8053 #resolve [When WebRTC's SDP contains a=sendonly for video, the client will still receive the video stream] 2015-08-26 12:10:34 -05:00
Chris Rienzo 03219436d5 FS-8054 #resolve #comment [mod_rayo] fix warning when building on Debian. 2015-08-26 10:52:33 -04:00
Michael Jerris 451b6e393d FS-8047: [build] fix build errors in mod_rtmp, mod_oreka, and mod_sangoma_codec due to using __FUNCTION__ on newer compilers 2015-08-26 09:28:54 -04:00
Michael Jerris 15fb6c6546 FS-8047: [build] fix build error in mod_basic due to using __FUNCTION__ on newer compilers 2015-08-25 21:48:02 -04:00
Seven Du 1c76a0db98 FS-8050 #resolve 2015-08-26 08:48:49 +08:00
Anthony Minessale 84ef99b55e FS-8049 #resolve [Add getenv FSAPI] 2015-08-25 17:26:38 -05:00
Michael Jerris d609becdd6 FS-8047: [build] fix build error in mod_basic due to using __FUNCTION__ on newer compilers 2015-08-25 17:36:23 -04:00
Emmanuel Schmidbauer 00a2e4814d FS-8044: [mod_odbc_cdr] fix how module detects b-leg 2015-08-25 12:54:24 -04:00
Brian West fb383f247b FS-8037 #resolve [zrtp-passthru shouldn't activate unless the zrtp-hash is in the SDP.] 2015-08-25 11:44:05 -05:00
Bradley Jokinen 723e8a1f9a FS-7983 Added param for specifying video encoding speed
With this patch, the param vencspd can be set to slow, medium, or fast to
adjust the speed of video encoding on a per file basis. Currently, this
only has an affect on files recorded using mod_av with H.264 as the video
codec.
2015-08-25 09:02:53 -05:00
Emmanuel Schmidbauer e2cf1f5270 FS-7954: [mod_nibblebill] use switch_core_session_execute_exten instead of switch_ivr_session_transfer to perform inline dialplan action 2015-08-25 08:52:01 -04:00
Joshua Gigg 1e27e9f5e7 FS-7968: [mod_voicemail] fix verbose events
- Fix record-name event missing VM-Name-Path
 - Fix verbose events for mod_voicemail 'folder-summary'
 - Send change-password event in mod_voicemail
 - Fix verbose events for mod_voicemail 'leave-message'
2015-08-24 18:12:17 +01:00
Anthony Minessale cadc2397a4 FS-8028: [mod_shout] fix random sockets being closed regression from FS-7621 2015-08-23 16:43:18 -05:00
Michael Jerris f929a9ccbf FS-7966: we still need to do declarations first until we fully switch to 2015 and change the flags on other builds to not error on code before declaration 2015-08-21 18:47:58 -04:00
Michael Giagnocavo 5e456fe9a6 FS-7966. First pass at moving to Visual Studio 2015.
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04:00
Brian West d262f07d0f FS-7855 pass userVariables back to the live array 2015-08-20 20:57:58 -05:00
Anthony Minessale ebff42790f FS-8016 #resolve [Reduce buffering of video in conference mux] 2015-08-20 12:03:14 -05:00
Michael Giagnocavo 37df3ee6da FS-8015 --resolve - Add project dir to include for mod_conference so it picks up mod_conference.h. 2015-08-20 04:56:16 -06:00
Michael Jerris 61c641aa0b swigall 2015-08-19 16:41:39 -05:00
Mike Jerris 6b23acc100 Merge pull request #403 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-fix-plc-init to master
* commit 'ecabfc7f9a71b8ec17e1a0253d3811c08fbdcbce':
  FS-8005: mod_opus : fix for rare decoder error when doing PLC, OPUS_GET_LAST_PACKET_DURATION might return 0
2015-08-19 15:04:07 -05:00
Anthony Minessale 876e8296cb FS-8007 #resolve [Send Keyframe on Multiple NACKS] 2015-08-19 14:58:13 -05:00
Dragos Oancea ecabfc7f9a FS-8005: mod_opus : fix for rare decoder error when doing PLC, OPUS_GET_LAST_PACKET_DURATION might return 0 2015-08-19 14:34:51 -04:00
Anthony Minessale 45bc79af78 FS-7985 #resolve [mod_voicemail fails to compile on 32-bit PPC platform] 2015-08-18 16:11:14 -05:00
Mike Jerris 3e78565441 Merge pull request #398 in FS/freeswitch from ~GIGGSEY/freeswitch:bugfix/FS-7968-verbose-events-for-voicemail to master
* commit '5802ba71ac80aa88d99b45963e86c53a993a5f94':
  Fix record-greeting event missing VM-Greeting-Path
2015-08-18 13:09:19 -05:00
Seven Du 514cfbd9f5 add newline to log %nojira 2015-08-18 23:05:50 +08:00
Joshua Gigg 5802ba71ac Fix record-greeting event missing VM-Greeting-Path
FS-7975 #resolve
2015-08-18 09:14:14 +01:00
Anthony Minessale 4abbda1554 FS-7965 #resolve 2015-08-17 14:34:59 -05:00
Michael Jerris 58f1272490 FS-7955: [mod_sofia] fix crash caused by invalid contact when using event to send a notify message 2015-08-14 12:51:12 -05:00
Paul Cuttler 53c37d2385 Making mod_rtmp compatible with Adobe Media Server
Adobe Media Server connects differently to mod_rtmp than the way
Flash player connects. The RTMP publish handler rtmp_i_publish
message needs to match the RTMP specification, and a new initStream
handler is required.

This patch modifies the rtmp_i_publish handler to send an onStatus
message to Adobe Media Server that includes an object with "level",
"code" and "description" fields.

The initStream message is sent by Adobe Media Server to notify Freeswitch
of the stream ID for the publish stream. This cannot clash with the play
stream ID so the initStream handler can simply increment the next_streamid
field. The initStream message is undocumented in the RTMP specification.

The transaction ID for onStatus messages has been modified to 0 instead
of 1 to match with the RTMP specification.

FS-7924 #resolve
2015-08-14 06:06:43 +10:00
Chris Rienzo dff03e35cf FS-7951 #resolve #comment completely clean up mod_rayo if it fails to load 2015-08-13 08:35:18 -04:00
Michael Jerris 2f61fe0193 FS-7958: [mod_conference] fix race condition causing crash in conference video MCU 2015-08-12 18:31:30 -04:00
Michael Jerris 28ae331c93 FS-7930: [mod_conference] Correct termination of conference when the last member with endconf left. Caused by typo in migration to conference_utils_set_flag function when we switched to array based flags 2015-08-10 18:48:01 -04:00
Norm Brandinger 47f7f45acc FS-7952 mod_opus: remove duplicate test/set of sprop-maxcapturerate 2015-08-10 17:10:34 -05:00
Mike Jerris 5339a9f558 fix issue on single core or similar vm causing conference to spin in loop 2015-08-07 05:45:25 +00:00
Anthony Minessale c38a0f33a4 don't mix personal canvas and multi-canvas modes 2015-08-06 19:08:31 -05:00
Anthony Minessale b3c248048e destroy personal canvas after member is out of the list 2015-08-06 18:57:59 -05:00
Brian West 240cfef430 Merge branch 'master' of https://freeswitch.org/stash/scm/fs/freeswitch 2015-08-05 10:21:32 -05:00
Anthony Minessale 78ac8e5560 FS-7940 #resolve 2015-08-05 10:21:23 -05:00
Michael Jerris b5b7740a1d FS-7728: working windows build minus video features 2015-08-05 01:35:05 -05:00
Vladimir 240bf74d3a FS-7728: fix windows build issues 2015-08-04 23:29:01 -05:00
Brian West 25d9184e10 whatev %noWIR 2015-08-04 00:16:09 -05:00
Brian West 8835487172 fix regression in bugged layers 2015-08-03 22:37:04 -05:00
Brian West fc201f4588 revert 2015-08-03 15:39:19 -05:00
Luis Azedo 4114c1d59a FS-7806 FS-7803 #resolve
added new properties to amqp configuration
fixed - enable_fallback_format_fields usage, only worked on first event
added amqp_util_encode to fix routing key
2015-08-03 13:25:28 +01:00
Anthony Minessale 6813d6647b try with no threads in vp8 for a while %noWIR 2015-08-01 04:31:12 -05:00
Anthony Minessale 90b7ed72d7 fix regressions from last commit %noWIR 2015-08-01 01:37:25 -05:00
Anthony Minessale c4242dd9d8 conference optimizations %noWIR 2015-07-31 13:49:13 -05:00
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
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
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
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
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 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
Anthony Minessale d5a52273a9 FS-7519 FS-7677 fix h264 issue caused by 5e9a4992e6 2015-07-28 12:26:12 -05:00
Brian West da5416bf77 FS-7900 #resolve 2015-07-27 09:29:34 -05:00
Anthony Minessale 75e46cedb8 FS-7893 --resolve 2015-07-25 12:52:46 -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
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
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
Seven Du ddfea1e4a0 FS-7856 #comment fix some segs and leaks, thanks Mike 2015-07-21 22:04:27 +08: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
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