Commit Graph

18737 Commits

Author SHA1 Message Date
Mike Jerris fdedaadd23 Merge pull request #770 in FS/freeswitch from FS-8750-1 to master
* commit 'bdeacb1d29d78626474bf53cf8969bf3ea20c751':
  FS-8751 [Conference Play Video Total Time and Current Time]
  FS-8748 FS-8751 check current play_status
  FS-8748 track pdf total pages and current page
  FS-8754 add ability to read high quality PDF
  FS-8750 implement file_seek for video files
2016-03-25 10:36:40 -05:00
Anthony Minessale 77f70e002e FS-8977: Add support for NVENC H264 2016-03-25 11:23:48 -04:00
Phil Lavin a1ee1a03bf FS-8978: [mod_redis] Fix limit counter not decrementing on hangup
The limit counter value is not automatically decremented in Redis when
the call is hung up. This results in it only ever counting up and the
limit being eventually hit.

The linked list is moved on too early. When `limit_pvt` is checked, it
is `NULL`. This means the `decr` command is never sent to Redis.
2016-03-24 18:38:07 +00:00
Michael Jerris 4e8c2249f3 FS-8959, FS-8186: fix build with --disable-libyuv 2016-03-24 12:15:23 -04:00
Michael Jerris 674d40ef40 FS-8959: a bit more refactor of avcodec 2016-03-24 11:28:56 -04:00
Michael Jerris b8a82c5bd8 FS-8959: fix var types to match the prototype 2016-03-24 11:02:17 -04:00
William King eec93d87fa FS-8971 Resolve globals struct handling. Thanks to Ben Hood for reporting the issue. 2016-03-24 07:50:23 -07:00
Seven Du a42ab11022 FS-8959 #resolve refactor code 2016-03-24 06:53:37 +08:00
Mike Jerris 0929d7d7a9 Merge pull request #766 in FS/freeswitch from ~O_EMILIANO/freeswitch:bugfix/FS-8959-memory-leak to master
* commit 'f683c78a0e1e661fc6ae07ab30da361aa2cd10aa':
  FS-8959: [mod_av] fixed memory leak problem in encoding h264
2016-03-23 17:19:22 -05:00
Michael Jerris 21ee27fe24 temp silence warnings until we can resolve deprecation warnings on newer lib versions 2016-03-23 13:38:50 -04:00
emiliano f683c78a0e FS-8959: [mod_av] fixed memory leak problem in encoding h264
FS-8959: [mod_av] fixed memory leak problem in encoding h264, fixed

FS-8959: [mod_av] fixed memory leak problem in encoding h264
2016-03-23 18:09:35 +01:00
Anthony Minessale ddd7fa3c03 FS-8975 #resolve [DTMF variables not functioning] 2016-03-23 09:55:43 -05:00
Anthony Minessale 72e3462118 FS-7800 disable video floor changes on multi canvas 2016-03-23 08:45:30 -05:00
Seven Du c11c2832e4 FS-8973 #resolve 2016-03-23 20:13:39 +08:00
Seven Du a1c0062fef FS-8914 feed NULL to flush encoder at the end of recording, this fixes possible infinite loop 2016-03-23 20:13:39 +08:00
Seven Du fa702f2710 FS-8959 refactor improve memory processing 2016-03-22 11:18:04 +08:00
Mike Jerris 9e6593aa73 Merge pull request #762 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8961-avmd-increase-robustness-of-variance to master
* commit '63a30499dbb8d280dbf4d18b393aa68ac3ce8c15':
  FS-8961 Increase robustness of estimation
2016-03-21 15:36:41 -05:00
Mike Jerris 4ff1a6d2cc Merge pull request #761 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8960-avmd-set-buffer-position-to-beginning to master
* commit 'fce7cfee35468decc8246c410cfd100dc6df7d5a':
  FS-8960 Set buffer position to beginning on reset
2016-03-21 15:35:42 -05:00
Anthony Minessale e3ccb0385a FS-8964 #resolve [Make it possible to disable picture_fast_update INFO requests] 2016-03-21 12:58:34 -05:00
Moises Silva 35259cf36c Reset the whole transcoding session memory on destroy
Again, this shouldn't fix anything, but should make debugging easier.

FS-8312
2016-03-20 20:12:50 -04:00
Piotr Gregor 63a30499db FS-8961 Increase robustness of estimation
Add optional requirement of consecutive streak
of estimations in SMA buffer. Fix definitions.
Add options to control debugging/printing.
2016-03-21 00:10:36 +00:00
Moises Silva f3ac24bb66 Small adjustment to mod_sangoma_codec
* Remove unnecessary memset
* Narrow the scope of the global lock on session initialization
* Assert for couple of expected pointers

This won't fix anything, it's just maintenance clean up done
while investigating FS-8312.
2016-03-20 20:03:34 -04:00
Piotr Gregor fce7cfee35 FS-8960 Set buffer position to beginning on reset
Now buffer position is reset to 0.
2016-03-19 23:43:50 +00:00
Anthony Minessale f93668e3fd FS-7800 fix some stuff in multi-canvas 2016-03-18 18:21:25 -05:00
Anthony Minessale 3eff2d553d FS-7800 should be able to call extra screens with same extension as the original and place the param conferenceCanvasID with the desired canvas id into the call params in the same place bandwidth prefs are added 2016-03-18 14:54:31 -05:00
Anthony Minessale 4c0998659f FS-8957 #resolve [Video image sometimes blips on personal canvas mode when 1 participant is watching voh] 2016-03-18 14:13:18 -05:00
Flavio Grossi d1680d7b3b FS-7915 parse and store multiple path fields 2016-03-18 09:52:43 +01:00
Anthony Minessale 29447feadf FS-8663 cont 2016-03-17 21:09:30 -05:00
Seven Du a70eb4be4e fix typo from 8e7cfce564 2016-03-18 09:19:54 +08:00
Seven Du 3d90d752fc FS-8406 #resolve #comment improvement to drop video packets on slow rtmp link 2016-03-18 09:05:45 +08:00
Seven Du 13c99e938b FS-8406 #comment add options to scale down cavas size, fps and bandwidth 2016-03-18 09:05:10 +08:00
Anthony Minessale 8e7cfce564 FS-8663 add saftey checks for this command 2016-03-17 19:31:35 -05:00
Anthony Minessale 8423f28d43 FS-8841 #resolve [Debian - FS Hang ] 2016-03-17 18:48:59 -05:00
Seven Du 0311e4b516 FS-8168: use copy image functions from libyuv instead of our home rolled versions as the libyuv versions have optimizations 2016-03-17 14:05:48 -05:00
Mike Jerris ba403891ac Merge pull request #714 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8855-avmd-bug-in-calculation-of-tone-s to master
* commit 'f561f1cdd6e724a092bb47ad0de301ddcf290976':
  FS-8855 fix calc of variance of tone's freq estimator
2016-03-17 12:58:15 -05:00
Michael Jerris 94d28e0fd6 FS-8928: flag a bidning error when using EventConsumer::bind with invalid event name instead of blindly using custom 2016-03-17 12:51:35 -05:00
Michael Jerris f5050b1c40 FS-8952: fix unreachable code and simplify conditions 2016-03-17 12:10:26 -05:00
Ken Rice e18c12b609 FS-8953 [core] white space clean up. 2016-03-17 08:55:00 -05:00
Piotr Gregor f561f1cdd6 FS-8855 fix calc of variance of tone's freq estimator
Change SMA buffer APPEND_SMA_VAL macro so now the variance
of tone's frequency estimation is correctly calculated.
Change frequency advertised in log on beep detection from
most recently computed value to average of all values used
in DESA computation.
2016-03-17 12:39:03 +00:00
Seven Du bdeacb1d29 FS-8751 [Conference Play Video Total Time and Current Time] 2016-03-17 09:34:58 +08:00
Seven Du 648ec5db84 FS-8748 FS-8751 check current play_status 2016-03-17 09:34:57 +08:00
Seven Du 8b7f0766f1 FS-8748 track pdf total pages and current page 2016-03-17 09:34:57 +08:00
Seven Du 1204abf87a FS-8754 add ability to read high quality PDF 2016-03-17 09:34:57 +08:00
Seven Du 5ca9dea684 FS-8750 implement file_seek for video files 2016-03-17 09:34:43 +08:00
Anthony Minessale 10b46424f3 FS-8951 #resolve [Video lockup in conference due to race condition] 2016-03-16 17:38:33 -05:00
Mike Jerris 0850f96971 Merge pull request #753 in FS/freeswitch from ~ZSOMKOVACS/freeswitch:feature/FS-8870-log-call-quality-statistics to master
* commit '73c309992dbbce5d7f1550e24867c009dea064ed':
  FS-8870: add human-readable call quality statistics logs on call hangup
2016-03-16 16:41:00 -05:00
Michael Jerris 973e203191 FS-8937: [mod_easyroute] handle segfault when using bad customer query or on query error 2016-03-16 16:10:57 -05:00
Michael Jerris c422cddb77 FS-8946: [mod_xml_cdr] fix segfault on call after loading with no config file or event bind failure causing module load failure 2016-03-16 11:56:43 -05:00
Nathan Neulinger da91717b8e FS-8950 fix a few memory leaks in mod_skinny 2016-03-16 10:48:30 -05:00
Zsombor Kovács 73c309992d FS-8870: add human-readable call quality statistics logs on call hangup 2016-03-16 12:18:12 +01:00
Mike Jerris 000fdbd2d8 Merge pull request #742 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8853-enable-change-of-resolution-and-size-2 to master
* commit 'da7be641bac16dbe5575c0f266a10d1819ab0026':
  FS-8853 enable change of resolution of fast arc cos table
2016-03-15 16:13:22 -05:00
Mike Jerris 02e83c91d9 Merge pull request #712 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8810-avmd-cosinus-table-creation-fails to master
* commit '1c39305fad68b03bf578a77e91d0c20ba8b8145e':
  FS-8810 fix crash on FS startup
2016-03-15 16:11:11 -05:00
Mike Jerris 17476675de Merge pull request #180 in FS/freeswitch from ~CXREG/freeswitch-memcache-file:file_interface_for_mod_memcache to master
* commit 'a2cecbcca42f9e8252936c94152f4fce73e4eb91':
  FS-7286 add file_interface support to mod_memcache
2016-03-15 15:57:04 -05:00
Mike Jerris 6c63fd2ddd Merge pull request #748 in FS/freeswitch from ~RAVENOX/freeswitch:FS-8936 to master
* commit '73684796e6229836d7fae82ad114c3f163a087de':
  FS-8936 - Added swig typemap for "const char **" for fix invocation problems, reswig
2016-03-15 10:36:30 -05:00
Anthony Minessale a916a12ddf FS-8938 #resolve [Clear res id when setting same res id to another member] 2016-03-14 16:24:31 -05:00
Artur Kraev 73684796e6 FS-8936 - Added swig typemap for "const char **" for fix invocation problems, reswig 2016-03-14 23:36:33 +03:00
Michael Giagnocavo c96d0098cc FS-8932 - Add in process loading via LoadEmbeddedPlugins 2016-03-13 18:29:03 -06:00
Dave Olszewski a2cecbcca4 FS-7286 add file_interface support to mod_memcache
This allows you to play files directly from memcached.
Currently only 8000hz 16 bit raw audio is supported.

Usage: playback(memcache://key)
2016-03-11 17:08:31 -08:00
Piotr Gregor 1c39305fad FS-8810 fix crash on FS startup
The float-int-float fast arc cosine
mapping is now properly constructed (reused).
2016-03-12 00:20:17 +00:00
Piotr Gregor da7be641ba FS-8853 enable change of resolution of fast arc cos table
It is possible now to apply lower resolution to mapping
of float-integer-float and decrease size of mapped file.
2016-03-11 19:27:21 +00:00
Seven Du 566cc41908 FS-8836 2016-03-10 17:05:55 -06:00
Mike Jerris 9f9078b6f6 Merge pull request #713 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8854-initialize-circular-buffer to master
* commit '3af3e54a6f287b9b045cbe62249b5eecde2b4f80':
  FS-8854 initialize circular buffer
2016-03-10 14:09:06 -06:00
Mike Jerris 226eb6accf Merge pull request #711 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-8852-avmd-change-stop-condition-in-loop to master
* commit '1e8d315178b66cc97f9afffb4168678b25431e2b':
  FS-8852 change stop condition in for loop
2016-03-10 14:06:49 -06:00
Anthony Minessale 69dfcb9f63 FS-8752 #resolve [When recording a conference, the first 2 seconds are pixelated] 2016-03-10 13:59:55 -06:00
Anthony Minessale bf30ad3194 FS-8909 FS-8914 2016-03-10 13:58:42 -06:00
William King c90bed79f3 FS-8915 event header name shortened. 2016-03-10 08:56:49 -08:00
Seven Du 8c21dcf28e FS-8836 #comment WIP codec should working now 2016-03-10 15:38:30 +08:00
Anthony Minessale a3e316157f FS-8921 #resolve [Tweak banner code in mod conference] 2016-03-10 01:25:52 -06:00
Brian West 49b9d7f9ff FS-8898 log setVariable at debug, so you can tell what variables are being set with ease from scripts 2016-03-09 20:33:52 -06:00
Brian West 56332c92c8 swigall 2016-03-09 19:11:16 -06:00
Anthony Minessale bdf84bb58b FS-8909 FS-8914 refactoring 2016-03-09 18:01:13 -06:00
Anthony Minessale f39c9e009b FS-8909 FS-8914 2016-03-09 18:01:13 -06:00
Mike Jerris a5a5cc47b4 Merge pull request #733 in FS/freeswitch from ~TCSEKE/freeswitch:bugfix/FS-8866-mod_erlang_event-memleak to master
* commit '0914a501cd315fc2b397cf7dd4a296e36eb7a051':
  Fix memory leaks
2016-03-09 11:26:36 -06:00
Anthony Minessale 98c8e73d57 FS-8761 #resolve [Memory leak in FreeSWITCH] 2016-03-09 11:05:22 -06:00
Anthony Minessale 5db985d117 FS-8909 add record_indication variable/param with path to beep sound etc 2016-03-09 10:56:07 -06:00
Seven Du 950c26c878 borrow code from ffmpeg to fix log_packet function for debuging 2016-03-09 20:54:18 +08:00
Seven Du e07c472ff9 FS-8916 comment out dead code from the last bug fix, add to TODO 2016-03-09 20:54:06 +08:00
Seven Du 24d22d6737 FS-8916 #resolve 2016-03-09 15:31:40 +08:00
Anthony Minessale II 360cee1a70 Merge pull request #737 in FS/freeswitch from ~CARLOSP/freeswitch:bugfix/FS-8910-sdes-not-properly-negotiated-when to master
* commit '8fa947aa19a9c6e202ab644975be39b966f6201c':
  FS-8910: Properly negotiate SDES when receiving SDP with a=crypto:0
2016-03-09 00:40:38 -06:00
Anthony Minessale 7422482ef6 FS-8914 2016-03-09 00:15:23 -06:00
Anthony Minessale 2cf9962f61 FS-8914 2016-03-09 00:02:59 -06:00
Anthony Minessale 86e6480af8 revert 2016-03-08 21:57:03 -06:00
Anthony Minessale d0b813f0d7 FS-8914 2016-03-08 20:19:33 -06:00
Anthony Minessale 68588e811f FS-8914 #resolve [recording mp4 cuts off the end in some cases] 2016-03-08 18:53:55 -06:00
Davide Colombo 3e9e239864 FS-8911: fix typo in conference_member 2016-03-08 12:22:06 +01:00
Carlos Perez Alcaraz 8fa947aa19 FS-8910: Properly negotiate SDES when receiving SDP with a=crypto:0
When receiving an SDP with a=crypto:0 with the wanted crypto suite, we should
maintain that crypto tag in the local SDP in order for SDES setup to succeed.
2016-03-08 12:10:43 +01:00
Anthony Minessale ee7a298f40 FS-8868 #resolve [recording app to respect bandwidth set in SDP] 2016-03-07 21:56:13 -06:00
Anthony Minessale b7227465b6 FS-8909 #resolve [Add feature to play background video while recording inbound video] 2016-03-07 19:59:10 -06:00
Anthony Minessale 3ca6ed4365 FS-8864 fix regression to recording 2016-03-07 19:59:10 -06:00
Brian West 8fd8c84c3b FS-8878 fix compiling without the library installed 2016-03-07 12:20:00 -06:00
Brian West ff9cbe6c67 Merge pull request #722 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:mod_amr-octet_aligned to master
* commit '8dcf8caa85c8aa9c451592292c5b4b6248e334d9':
  FS-8878: mod_amr: make AMR NB transcode in octet-align mode (when compiled with HAVE_AMR)
2016-03-07 10:15:34 -06:00
Tamas Cseke 0914a501cd Fix memory leaks
Destroy session event hash and events in queue
FS-8866 --resolve
2016-03-07 13:20:37 +01:00
Anthony Minessale e0b303e2cb FS-8905 #resolve [Heap overflow in img patch] 2016-03-05 14:41:38 -06:00
Seven Du 931e8b6633 FS-8905 #comment fix possible out of boundary access, please test 2016-03-05 22:22:36 +08:00
Seven Du f0c76fab80 FS-8811 fix divide by 0 2016-03-05 20:32:40 +08:00
Anthony Minessale b80eb983ec FS-8905 2016-03-04 20:02:46 -06:00
Anthony Minessale 96d37a8951 FS-8905 doing -1 here prevents the crash, its something to do with the last row in the height 2016-03-04 19:54:56 -06:00
Anthony Minessale ce8761a427 FS-8904 #resolve [Fix mem leak in img_write_text] 2016-03-04 19:52:23 -06:00
Anthony Minessale 550029b80e FS-8811 #resolve [FS 1.7 crashes intermittently] 2016-03-04 16:56:55 -06:00
Anthony Minessale 89c2abaff2 FS-8903 #resolve [Add logo img to local_stream] 2016-03-04 16:38:41 -06:00
Anthony Minessale 135f04e64a FS-8851 #resolve [Codec for recording is negotiated before call answered] 2016-03-04 12:22:33 -06:00
Anthony Minessale 66fe6e5a46 FS-8811 #comment please test 2016-03-03 18:37:42 -06:00
Anthony Minessale c366e3615f FS-8354 #resolve [G722 audio issues with mod_conference after fab435479a] 2016-03-03 17:28:28 -06:00
Brian West f28babf358 swigall 2016-03-03 11:00:31 -06:00
Brian West 0b8fbb47b2 FS-8891 #resolve [T38 fax fails between 2 freeswitch boxes, with high cpu usage (comparison overflow?)] 2016-03-03 09:32:12 -06:00
Anthony Minessale 041dc0a62d FS-8864 set video ready on first push to avoid catch 22 on some video files 2016-02-29 17:00:42 -06:00
Anthony Minessale a2b806c01c FS-8876 make function public and use it in conference also 2016-02-29 16:22:13 -06:00
Michael Jerris 1540546cc1 FS-8884: add --disable-libyuv and --disable-libvpx configure args to disable building these libraries 2016-02-29 12:39:51 -05:00
Anthony Minessale d89a0ad52d FS-8864 2016-02-26 18:43:33 -06:00
Brian West 2c031e4b91 FS-8879 #resolve [SIP UPDATE and attended transfer] 2016-02-26 17:44:33 -06:00
Anthony Minessale 339cef5d05 FS-8864 2016-02-26 17:44:51 -06:00
Anthony Minessale e4e752fdde FS-8864 2016-02-26 17:42:41 -06:00
Anthony Minessale 6334e1ce39 FS-8864 #resolve [Improve video file playback] 2016-02-26 15:28:03 -06:00
Dragos Oancea 8dcf8caa85 FS-8878: mod_amr: make AMR NB transcode in octet-align mode (when compiled with HAVE_AMR) 2016-02-26 10:50:18 -05:00
Anthony Minessale 3d7fbd17be FS-8876 #resolve [Bind video threads to CPU alternating] 2016-02-25 16:11:37 -06:00
Michael Jerris febe0f8dac FS-8867: build using in tree libvpx, vpx no longer optional and does not use system libvpx due to issues with having to update it frequently conflicting with system libraries, now we link to the static in tree version instead. Also, mod_vpx is now a core module instead of a loadable module, so mod_vpx.so will no longer be built 2016-02-24 18:44:11 -05:00
Brian West bcbb2fd873 FS-8862 auto adjust on passthru 2016-02-24 17:28:23 -06:00
Michael Jerris 44da905b4f FS-8867: build using in tree libyuv to match required version and not impact system ones that are never sufficient version 2016-02-24 16:52:40 -05:00
Seven Du ed78d38994 FS-8867: create conversion function stubs in the core so modules do not need to use libyuv directly 2016-02-24 15:12:05 -06:00
Anthony Minessale e0657a82e0 FS-8842 #comment please try this patch on latest master 2016-02-22 13:31:22 -06:00
Italo Rossi e95da7a80f FS-8856 - [mod_callcenter] Inserting member as a new one when restoring action fails because our agent_dispatch_thread removed the members just before we tried to update him. 2016-02-22 09:54:53 -03:00
Piotr Gregor 3af3e54a6f FS-8854 initialize circular buffer
Now all members of buffer are initialized
in INIT_CIRC_BUFFER macro.
2016-02-22 11:15:10 +00:00
Piotr Gregor 1e8d315178 FS-8852 change stop condition in for loop
Now we use predefined table length instead
of hardcoded computation in stop condition
of for loop.
2016-02-20 18:02:16 +00:00
Anthony Minessale 3bd26eaa6b FS-8847 #resolve [Silence Error on shutdown of video call] 2016-02-19 09:34:38 -06:00
Anthony Minessale 9f4f67df5d FS-8821 2016-02-18 17:04:01 -06:00
Mike Jerris 771d503579 Merge pull request #709 in FS/freeswitch from ~CRIENZO/freeswitch:bugfix/FS-8806 to master
* commit '94c11e41d29f3ba3201b2e1e86c86cc592d7e359':
  FS-8806 Change group_confirm_cancel_timeout to apply only to the legs that answer the call.
2016-02-18 12:45:03 -06:00
Anthony Minessale a1fff59c25 FS-7132 2016-02-18 11:44:16 -06:00
Anthony Minessale 5b456b395c FS-8688 #resolve [Implement VP9 draft uberti payload 01 and libVPX 1.5] 2016-02-17 16:49:02 -06:00
Anthony Minessale 2b5f40b38e FS-8811 #resolve [FS 1.7 crashes intermittently] 2016-02-17 15:15:14 -06:00
Chris Rienzo 94c11e41d2 FS-8806 Change group_confirm_cancel_timeout to apply only to the legs that answer the call. 2016-02-17 11:19:04 -05:00
Chris Rienzo 0bdf4b83da FS-8838 [mod_rayo] Do a better job of detecting when output component completed because of hangup and preventing operations on output component when call has ended. 2016-02-16 17:46:01 -05:00
Chris Rienzo 1289aa5060 FS-8838 [mod_rayo] fix syntax error in previous commit 2016-02-16 15:47:54 -05:00
Chris Rienzo 7e38ce9899 FS-8838 [mod_rayo] improve logging and error handling when executing API on output component. Attempt to make output component stop a little more robust. 2016-02-16 13:54:14 -05:00
William King 00ac46bd98 FS-8830 SDP line separator fix for SDP generated by the core
Sofia when giving an SDP through SOA was parsing the SDP and rewriting
it. For endpoints that use the core SDP as is will have more accurate
SDP now.
2016-02-11 12:46:31 -06:00
Italo Rossi 0b840c8721 Merge pull request #700 in FS/freeswitch from ~RORAMIREZ/freeswitch:feature/mod_callcenter-realtime-counter-answer-abandoned to master
* commit '1661fc6a519dac70bafbe0b0767f5302337a9fb3':
  FS-8822 - [mod_callcenter] Realtime counter for  calls in a queue
2016-02-10 19:20:27 -06:00
Anthony Minessale 3658763cba swigall 2016-02-10 17:07:53 -06:00
Anthony Minessale cb280ab14b FS-8821 #resolve [Check for status of executed operation] 2016-02-10 14:55:20 -06:00
Ken Rice a80c67e375 FS-8818 #resolve refactor X-PRE include to not toss error if there are not files that match the include 2016-02-09 16:38:47 -06:00
Mike Jerris 809d5bd2d5 Merge pull request #640 in FS/freeswitch from ~VIPKILLA/freeswitch-eschmidbauer:FS-8668 to master
* commit 'f2fcfe1a75833cf0c5e9b599e12169674460351a':
  FS-8668: allow channel variable prefix-a-leg to override global setting in mod_xml_cdr
2016-02-09 10:57:55 -06:00
Anthony Minessale eea9f03ddd FS-8816 #resolve [switch_hashtable_insert_destructor() returns 0/-1 but switch_core_hash_insert_destructor never checks this] 2016-02-09 10:45:29 -06:00
Mike Jerris 79e2d4ed93 Merge pull request #701 in FS/freeswitch from ~TINKYWINKY/freeswitch:bugfix/FS-8809-avmd-compilation-fails-if-fastmath to master
* commit 'b8a8c88572cb0195aa274ed7bf07a6fe2fba1b06':
  FS-8809 fix MAP_POPULATE undeclared
2016-02-09 09:51:33 -06:00
Piotr Gregor b8a8c88572 FS-8809 fix MAP_POPULATE undeclared
Add AM_MOD_AVMD_CXXFLAGS compile flag to mod avmd
and set this flag to -std=gnu99 in configure.ac
in case compiler vendor is xgnu.
2016-02-08 23:02:22 +00:00
Artur Zaprzała e24c393979 FS-8812 Respect in_thread_only parameter in switch_channel_check_signal() 2016-02-08 15:04:02 +01:00
Rodrigo Ramírez Norambuena 1661fc6a51 FS-8822 - [mod_callcenter] Realtime counter for calls in a queue
Added counters for answered and abandoned calls for a queue.

Create two vars for cc_queue struct
    - calls_answered
    - calls_abandoned

These increases when the call is hangup.

This change also :
 - refactor long lines of header and body to  print the queue information.
 - Update year in copyright
2016-02-08 01:22:37 -03:00
Seven Du f04a935ff9 FS-6544 fix return type 2016-02-06 17:01:32 +08:00
Piotr Gregor 5216adef09 Merge branch 'bugfix/refactor' into bugfix/FS-8808-avmd-code-refactor
This commit merges changes from bugfix/refactor that was created
by myself to refactor [avmd] code. There was no Jira issue for this
change, so after Jira issue has been set up I have created this
branch to fix Jira case.
2016-02-05 21:53:01 +00:00
Piotr Gregor 6d8fd0def6 refactor: fix comments
Applying code guidelines. No side effects.
2016-02-05 21:42:09 +00:00
Anthony Minessale d60ea97157 FS-6833 2016-02-05 13:03:15 -06:00
Anthony Minessale f96e016135 FS-6544 2016-02-05 11:56:44 -06:00
Piotr Gregor 2e30c94c35 refactor: fix comments
Applying code guidelines. No side effects.
2016-02-05 00:37:33 +00:00
Piotr Gregor 43d89f0258 refactor: fix comments
Applying code guidelines. No side effects.
2016-02-05 00:07:00 +00:00
Anthony Minessale 19a86d55a5 FS-6833 2016-02-04 17:37:42 -06:00
Anthony Minessale dd2ad0e300 FS-6833 2016-02-04 15:25:33 -06:00
Mike Jerris 09b4156f74 Merge pull request #693 in FS/freeswitch from ~CORSMITH/freeswitch:bugfix/FS-8778-FreeBSD-bswap to master
* commit '30077789d56f106cadf2dece2089f76715a8f45a':
  FS-8778 #resolve FreeBSD: src/mod/endpoints/mod_verto/ws.h define __bswap_64
2016-02-04 11:08:30 -06:00
Corey Smith 3cb04ced21 FS-8779: [mod_shout] properly detect lame/lame.h
* Add correct mp3lame configure check since it does not use pkg-config
* Update mod_shout Makefile to log failure message if mp3lame not available
* Rewrite #include for lame.h to lame/lame.h in mod_shout.c
2016-02-03 20:45:39 -05:00
Piotr Gregor bfe2ba45ec refactor: fix comments
Simple, independent change with no side effects.
2016-02-03 23:43:20 +00:00
Anthony Minessale 93587f21bb FS-6833 ammendium 2016-02-03 11:28:13 -06:00
Anthony Minessale II 993c6e85aa Merge pull request #695 in FS/freeswitch from bugfix/FS-8726-spurious-case-of-thread-stuck-and to master
* commit '49462bfe00b1e3e7083093d00421f41a207eea92':
  FS-8726 #resolve [Spurious case of thread stuck and saturating CPU]
2016-02-03 11:11:18 -06:00
Anthony Minessale 49462bfe00 FS-8726 #resolve [Spurious case of thread stuck and saturating CPU] 2016-02-03 11:12:05 -06:00
Brian West 277ce6d0de FS-8789: remove ability to swap to personal canvas while recording and prevent recording while personal canvas is on. 2016-02-02 17:34:02 -06:00
Anthony Minessale 46ebf3cea7 FS-6833 #resolve [Allow Freeswitch to initiate Late offer calls.] #comment Regression from addition of custom variables 2016-02-02 17:15:27 -06:00
Brian West 6f936349f7 FS-8789 fix warning thats printed when it shouldn't be 2016-02-02 11:18:09 -06:00
William King 1cb7a5ba43 Clean up whitespace, and remove surplus log line at crit level. #NOWIR 2016-02-01 17:58:12 -08:00
Anthony Minessale 60bd4bec38 FS-8802 #resolve [RTP stops sending audio when sent timestamp rolls over] 2016-02-01 16:23:43 -06:00
Corey Smith 30077789d5 FS-8778 #resolve FreeBSD: src/mod/endpoints/mod_verto/ws.h define __bswap_64 2016-01-31 05:09:38 -05:00
Italo Rossi fe5fd7667a FS-8768 - [mod_callcenter] Releasing db handle after reserving agent 2016-01-30 22:35:32 -03:00
rajeshvaya 23e53df721 FS-8799 [mod_callcenter] Add JSON API interface for mod_callcenter
Adding a JSON API interface to fetch data in the JSON format. It abides with the JSON command and its implementations by other modules like mod_verto.
It outputs the exactly same column names as the data in CLI.
Various listing of mod_callcenter data such as agents, queues, members, tiers are as follows below.

- Listing of agents
Command: `json {"command": "callcenter_config", "format": "pretty", "data": {"arguments":"agent list"}}`

- Listing of queues
Command: `json {"command": "callcenter_config", "format": "pretty", "data": {"arguments":"queue list"}}`

- Listing of agents for a queue
Command: `json {"command": "callcenter_config", "data": {"arguments":"queue list agents", "queue_name":"support@default"}}`
(`queue_name` is a required)

- Listing of members(callers) for a queue
Command: `json {"command": "callcenter_config", "data": {"arguments":"queue list members", "queue_name":"support@default"}}`

- Listing of tiers for a queue
Command: `json {"command": "callcenter_config","data": {"arguments":"queue list tiers", "queue_name":"support@default"}}`

- Listing of members(callers)
Command: `json {"command": "callcenter_config","data": {"arguments":"member list"}}`

- Listing of tiers
Command: `json {"command": "callcenter_config","data": {"arguments":"tier list"}}`

It handles various errors and also returns back response in JSON as follow
E.g. Send a command without a required field (`queue_name`)
Command: `json {"command": "callcenter_config", "data": {"arguments":"queue list agents"}}`
Output: `{"command":"callcenter_config","data":{"arguments":"queue list agents"},"status":"error","message":"The command returned an error","response":{"error":"Missing data attribute: queue_name"}}`
2016-01-30 12:25:57 +04:00
Mike Jerris caff4d8b4e Merge pull request #661 in FS/freeswitch from ~ANDEE/freeswitch:bugfix/FS-8424-commit-8f343939dc7f63f6a1686941e7d34e1cbf27a1c3 to master
* commit '92ac448c951e575a8b9b417f5e8e5ed05341b586':
  FS-8424 fix for default rounding values
2016-01-29 11:51:40 -06:00
Mike Jerris 224bdb9a14 Merge pull request #682 in FS/freeswitch from ~WAL-D/freeswitch:bugfix/FS-8775-mod_say_de.c-is-missing-short_date_time to master
* commit 'f6e1056c9417f85024920fd4a6054b8b96b2bcbd':
  FS_8775 Add function SST_SHORT_DATE_TIME to mod_say_de.c and some language tweaks
2016-01-29 11:10:55 -06:00
Mike Jerris 0d6474be36 Merge pull request #684 in FS/freeswitch from ~CORSMITH/freeswitch:bugfix/FS-8777-FreeBSD to master
* commit '7129dc32c8599569bc31e737e5072f75c934959d':
  FS-8777 #resolve FreeBSD: mod_redis/credis.c missing netinet/in.h include
2016-01-29 11:10:15 -06:00
Mike Jerris 4245f5de89 Merge pull request #689 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-8782-mod_verto-fails-to-build-on-solaris to master
* commit '2caa6efdacce9493a6a145aa6475d4b857fd4e9d':
  FS-8782: [mod_verto] fix build error for missing __bswap_64 on Solaris
2016-01-29 11:07:06 -06:00
Mike Jerris a541519fec Merge pull request #690 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-8195-compatibility-with-solaris-11-process to master
* commit '4b9bf111d76495b0f97215ece8913e5a2c05ec07':
  Allow Solaris privileges to work on both Solaris and derivatives
2016-01-29 11:05:19 -06:00
Mike Jerris 2f8c40aad5 Merge pull request #683 in FS/freeswitch from ~CORSMITH/freeswitch:bugfix/FS-8776-parallel-build to master
* commit '28c23ab147a128f8a73156f65ca66b04359a4ab4':
  FS-8776 #resolve Support GNU make parallel builds
2016-01-29 10:56:46 -06:00
Corey Smith 28c23ab147 FS-8776 #resolve Support GNU make parallel builds
* Explicitly define dependency tree for several modules
* Enable parallel builds for libtiff and libspandsp
* Verify module is enabled before attempting build.  Allows
  the virtual targets to be used for ordering without forcing
  a build dependency.
2016-01-28 22:23:47 -05:00
Anthony Minessale ff43872e20 FS-8796 #resolve [issues with verto mcast] 2016-01-28 12:29:45 -06:00
Spencer Thomason 4b9bf111d7 Allow Solaris privileges to work on both Solaris and derivatives
Solaris does not have PRIV_PROC_PRIOUP but SmartOS does.  This allows
fallback to this privilege on supported platforms

FS-8195 #resolve
2016-01-27 19:54:47 -08:00
Spencer Thomason 2caa6efdac FS-8782: [mod_verto] fix build error for missing __bswap_64 on Solaris 2016-01-27 19:44:59 -08:00
Anthony Minessale 8daa71eb14 FS-8595 lower the q size by 1 2016-01-27 14:02:46 -06:00
Anthony Minessale a729ebe6e5 FS-8786 #resolve [rtp-timeout-sec on profile triggers when receiving T.38 UDPTL frames] 2016-01-27 10:49:44 -06:00
William King 320d5f2015 Applied the Sangoma patch to FS version 1.2 in order to port to FS v1.6+
Sourced from:
http://gitlab.sangoma.com/projects/CORE/repos/freetdm/browse/public_freeswitch/sangoma-FS-1.2.patch
2016-01-26 20:20:34 -08:00
Corey Smith 7129dc32c8 FS-8777 #resolve FreeBSD: mod_redis/credis.c missing netinet/in.h include 2016-01-26 21:13:31 -05:00
Spencer Thomason 41c73013e9 FS-8656: Fix switch_event_channel_broadcast identifier redeclared 2016-01-26 15:35:59 -05:00
Anthony Minessale 070b59916a FS-8770 #resolve [media_bug_answer_req=true results in a file being created for unanswered calls] 2016-01-26 11:00:41 -06:00
Chris Walder f6e1056c94 FS_8775 Add function SST_SHORT_DATE_TIME to mod_say_de.c and some language tweaks
German voice-mail is broken since mod_say_de.c is missing function SST_SHORT_DATE_TIME.
Insert function SST_SHORT_DATE_TIME into mod_say_de.c (refering and equal to mod_say_en.c) and tweaks some german language issues.
2016-01-25 21:07:40 +01:00
Seven Du d6e942c82c FS-8688 #comment add more detailed logs and tweak some params for the comming libvpx 1.5.0
seems 1.5.0 doesn't support postproc, returns VPX_CODEC_INCAPABLE if set
2016-01-25 14:16:48 +08:00
Ken Rice ce62c06241 update my email address 2016-01-22 16:43:29 -06:00
Mike Jerris 45fd3910ec Merge pull request #678 in FS/freeswitch from ~KATHLEEN.KING/freeswitch:api-complete2 to master
* commit 'e5b5b9b2d8dd598ce51f1beed170141c002f91c9':
  FS-8111 [mod_sofia] 'sofia' API command auto-complete cleanup
2016-01-22 16:40:02 -06:00
Chad Phillips 75f94438bc FS-8685: multiple member arguments for conference relate api command
multiple member arguments can be separated by a comma, eg:

  conference foo relate 1 2,3,4 nohear
  conference foo relate 1,2 3 nospeak
2016-01-22 12:13:47 -07:00
Anthony Minessale II 013fb1d29c Merge pull request #652 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-8571-configure-with-disable-srtp-breaks to master
* commit 'e3e6bd875747c379ae78e7528dc66ce210c24ed9':
  Add missing ENABLE_SRTP ifdef to allow building without SRTP
2016-01-21 23:32:49 -06:00
Kathleen King e5b5b9b2d8 FS-8111 [mod_sofia] 'sofia' API command auto-complete cleanup 2016-01-21 18:35:32 -08:00
Mike Jerris 32992f8667 Merge pull request #671 in FS/freeswitch from ~IVO/freeswitch:bugfix/FS-8756-dutch-localisation-issues-in-mod_say_nl to master
* commit '5d140310bdb64982e3a184436b7c5c7c32be4e8c':
  FS-8756: [mod_say_nl] Improve dutch localisation
2016-01-21 16:42:10 -06:00
Mike Jerris 93f0da09d3 Merge pull request #674 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-8763 to master
* commit 'f80d6cc5517c6886dc15dc446c0519811c55d04e':
  FS-8763 [mod_sofia] set is_auth on switch_ivr_set_user result
2016-01-21 12:00:14 -06:00
Anthony Minessale cffb310f3f FS-8759 #resolve [segfault on 1.7] #comment please update to master 2016-01-20 11:56:18 -06:00
Luis Azedo f80d6cc551 FS-8763 [mod_sofia] set is_auth on switch_ivr_set_user result 2016-01-20 16:09:17 +00:00
Hesaam Farhang dee37afbb3 FS-8737: [mod_kazoo] Add require vars to default filter 2016-01-19 11:51:19 -08:00
Leo Noordergraaf 5d140310bd FS-8756: [mod_say_nl] Improve dutch localisation
This change fixes various Dutch localisation issues.
Euro is used instead of Dollar
Some date/time digits are played different to be compatible with the Dutch language.
2016-01-19 11:19:30 +01:00
Anthony Minessale 5ee745afeb FS-8721 last should only be set on the ones we skip that will not be destroyed 2016-01-18 15:25:19 -06:00
Seven Du 8911b055fe and debug code vpx params 2016-01-16 07:29:35 +08:00
Anthony Minessale 6708de51e0 FS-8721 keep track of last on continue cases 2016-01-15 13:58:59 -06:00
Anthony Minessale II f23c13dde2 Merge pull request #668 in FS/freeswitch from bugfix/FS-8673-core-dump-on-playback-after-decode to master
* commit '2db6cc18ea66a71edd8867d625be850395298886':
  FS-8673 #resolve [core dump on playback after "Decode Codec is not initialized!" log message]
2016-01-15 13:49:32 -06:00