14018 Commits

Author SHA1 Message Date
Piotr Gregor
3734043aaa FS-9627 [avmd]: #fix dynamic initialization of session
Now dynamic initialization of session settings is done
before memory for detection threads is allocated and initialized.
2016-10-13 13:12:16 +01:00
Mike Jerris
f35c2a4ec2 FS-9623: fix rare crash on startup due to openssl init functions being run multiple times 2016-10-07 15:33:50 -04:00
Brian West
c8c0cd3857 swigall 2016-10-07 11:01:16 -05:00
Mike Jerris
984ff2b6c8 Merge pull request #996 in FS/freeswitch from ~DINGDING/freeswitch:feature/FS-9615-mod_odbc_cdr-add-quote-and-default-value to master
* commit '8e28cbc02682a7c9508a5819798f8f2d1a50b79b':
  FS-9615 [mod_odbc_cdr] New Feature add field Non-string types and default values are supported
2016-10-07 10:57:23 -05:00
William King
6269802026 Merge pull request #997 in FS/freeswitch from ~J0SH/freeswitch:hiredis-logging to master
* commit 'b8d6c4a8054afca862f5ca7c29b41584ffa94a83':
  FS-8075 [mod_hiredis]: Reduce log level of a message.
2016-10-07 10:53:41 -05:00
Mike Jerris
babe1042cc Merge pull request #985 in FS/freeswitch from ~DINGDING/freeswitch:bugfix/FS-9583-fix-mod-fifo-node_thread_run-bug to master
* commit 'a4080cc4beb26b60f7e4c9f8faf9cfd3a052017e':
  FS-9583 [mod_fifo] fix node_thread_run blocking outbound_ringall_thread_run and outbound_enterprise_thread_run
2016-10-07 10:42:40 -05:00
dingding
8e28cbc026 FS-9615 [mod_odbc_cdr] New Feature add field Non-string types and default values are supported 2016-10-07 23:02:20 +08:00
Seven Du
241bbd1529 FS-9622 #resolve fix buffer size calculation in http interface in mod_verto 2016-10-07 10:16:35 +08:00
Josh Allmann
b8d6c4a805 FS-8075 [mod_hiredis]: Reduce log level of a message. 2016-10-06 18:49:36 -04:00
Mike Jerris
f54f33d62d Merge pull request #991 in FS/freeswitch from ~DINGDING/freeswitch:FS-9602-ring_consumer_count-error to master
* commit '6cf77759a8de613f1520035c83444bb31610e41b':
  FS-9602 [mod_fifo] fix outbound_ringall_thread_run ring_consumer_count
2016-10-06 14:02:09 -05:00
Piotr Gregor
1fd2e91a08 FS-9620 [avmd][windows]: #fix windows build after FS-9605 2016-10-06 17:35:25 +01:00
dingding
a4080cc4be FS-9583 [mod_fifo] fix node_thread_run blocking outbound_ringall_thread_run and outbound_enterprise_thread_run 2016-10-06 11:47:25 +08:00
dingding
6cf77759a8 FS-9602 [mod_fifo] fix outbound_ringall_thread_run ring_consumer_count 2016-10-06 09:43:09 +08:00
Mike Jerris
75d4b5607f Merge pull request #993 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:fix_amr_mode-set_fmtp to master
* commit 'bc8518858e38488d3e6a08aeb8b01f0f223033a8':
  FS-9613: mod_amr: fix AMR mode bitmap ("mode-set" param in remote fmtp)
2016-10-05 14:41:24 -05:00
Mike Jerris
111b163949 Merge pull request #994 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:fix_amrwb_mode-set_fmtp to master
* commit 'a88332ebfa89adc45949fe5fd1055ffef68b3989':
  FS-9614: mod_amrwb: fix AMR-WB mode bitmap ("mode-set" in fmtp)
2016-10-05 14:39:22 -05:00
Mike Jerris
5cd52b5c0f Merge pull request #992 in FS/freeswitch from ~DINGDING/freeswitch:FS-9611-mod_odbc_cdr-Sql-insert-failed-do-not-write-csv-file to master
* commit 'b17b0a5db0f9186feb33b0d2f9a191e3c2d86869':
  FS-9611 [mod_odbc_cdr] fix sql insert failed do not write csv file and csv Duplicate file name will be overwritten
2016-10-05 14:26:01 -05:00
Mike Jerris
e5ba6daf8d Merge pull request #987 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-9590:master to master
* commit '6681610d0a0b9d41d7693c95b74357d8cc532433':
  FS-9590 dtmf_type variable checking should be done after the media_handle is created
2016-10-05 11:30:14 -05:00
Mike Jerris
0d56945f71 FS-9581: [windows] CF_TEXT is a reserved constant on windows 2016-10-05 11:06:44 -04:00
Mike Jerris
4814cb1e34 FS-9581: [windows] CF_TEXT is a reserved constant on windows 2016-10-05 09:57:31 -04:00
Piotr Gregor
4583ac8c98 FS-9605: [avmd] Add number of detection threads setting to config
Now the number of dectors and lagged detectors is set in avmd config
and can be dynamically adjusted per each session.
2016-10-05 11:59:54 +01:00
Dragos Oancea
a88332ebfa FS-9614: mod_amrwb: fix AMR-WB mode bitmap ("mode-set" in fmtp) 2016-10-05 06:46:20 -04:00
Dragos Oancea
bc8518858e FS-9613: mod_amr: fix AMR mode bitmap ("mode-set" param in remote fmtp) 2016-10-05 06:31:49 -04:00
dingding
b17b0a5db0 FS-9611 [mod_odbc_cdr] fix sql insert failed do not write csv file and csv Duplicate file name will be overwritten 2016-10-05 12:36:44 +08:00
Italo Rossi
15a232b5bb FS-9609 - [mod_callcenter] BLF for Queues, callcenter_track app, EXIT_WITH_KEY reason and xml_curl improvements
This change implements a few new features, there's no behavior change at all.

1 - BLF for queues

You can now use BLF for knowing when there are callers waiting on a queue,
the pattern to be subscribed is callcenter+queuename@default or @domain name.

2 - callcenter_track app

Now every agent has an external_calls_count column that will be read upon
selecting agent to offer new calls.
If you start an external call (inbound or outbound) and don't wan't
mod_callcenter to offer new calls for this agent just call this app
passing the agent name as argument:

<action application="callcenter_track" data="agent1"/>

This will increment the external calls count, and to make mod_callcenter look to this variable you need to set this queue parameter:

<param name="skip-agents-with-external-calls" value="true"/>

3 - EXIT_WITH_KEY reason

If the member press a key to exit the queue the cc_cancel_reason will be this now.

4 - xml_curl config loading improvements

Prior to this mod_callcenter query your web server a LOT of times,
this will make it only query once per queue, just watch for CC-Queue
request param and build your xml with everything related to that queue,
including tiers (tiers wasn't loaded before this).
2016-10-04 23:07:42 -03:00
Anthony Minessale II
121bf83909 Merge pull request #989 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-improve-adjustable-bitrate to master
* commit 'f47bbecec9175179c13d1006524510f1fc159754':
  FS-9601: mod_opus:  make adjustable bitrate mutually exclusive with FEC enforcing on the decreasing trend, add step calculation for bitrate adjustment, fix bug on context settings
2016-10-03 10:59:09 -05:00
Piotr Gregor
184368d8f4 FS-9568 [avmd] Fail session creation if can't be started properly 2016-10-03 15:05:28 +01:00
Dragos Oancea
f47bbecec9 FS-9601: mod_opus: make adjustable bitrate mutually exclusive with FEC enforcing on the decreasing trend,
add step calculation for bitrate adjustment, fix bug on context settings
2016-10-01 19:05:33 -04:00
Piotr Gregor
b24c2ac945 FS-9595 [avmd] Extend avmd show api
Add number of sessions currently running to output of avmd show api.
2016-10-01 21:41:54 +01:00
Anthony Minessale
d429cc2f5a FS-9552 2016-09-29 12:58:09 -05:00
Anthony Minessale
64d5da354e FS-9552 2016-09-29 12:26:40 -05:00
François
6681610d0a FS-9590 dtmf_type variable checking should be done after the media_handle is created 2016-09-29 18:59:13 +02:00
Mike Jerris
9698187cb8 Merge pull request #983 in FS/freeswitch from ~GIAVAC/fs:master to master
* commit '293f2fda9a300d878a671dc4b2e2c029d0ec3509':
  FS-9584 Separate initial bitrate negotiation from sample rates
2016-09-29 11:08:23 -05:00
Mike Jerris
a15dcbe351 Merge pull request #973 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9564-add-lagged-detectors to master
* commit 'b44b6e5b20d93e1fdc7330385c56fa5c37c3eaec':
  FS-9564 [avmd]: add lagged detectors
2016-09-29 11:06:29 -05:00
Mike Jerris
58f12394cc Merge pull request #972 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9542-process-audio-samples-in-threads to master
* commit '8e189ed2337efd5f10b292476ffabaa8ae750a44':
  FS-9542 [avmd]: multithreaded
2016-09-29 11:05:06 -05:00
Piotr Gregor
b44b6e5b20 FS-9564 [avmd]: add lagged detectors
Addition of detectors which skip first few frames
of audio before they start to process it helps
to properly handle some Verizon voicemails.
The result of avmd test using this commit is
OK. All PASS [100]

Thi scommit also resolves:
FS-9588 Add script for outbound avmdy
FS-9589 Add resolution info to events
2016-09-29 16:53:32 +01:00
Anthony Minessale
0c730d208d FS-9587 #resolve [CV can crash if image is null] 2016-09-28 16:13:35 -05:00
Anthony Minessale
024602ae2c FS-9586 #resolve [local_stream video queue stuck when not being read from] %backport=1.6 2016-09-28 10:38:28 -05:00
Giacomo Vacca
293f2fda9a FS-9584 Separate initial bitrate negotiation from sample rates 2016-09-28 11:22:40 -04:00
Anthony Minessale
11d5fe23ce swig 2016-09-27 18:03:16 -05:00
Anthony Minessale
6ef4df96da Merge branch 'staging-1.9' 2016-09-27 17:32:53 -05:00
Michael Mavroudis
ba99263a74 column update with negative nibble rate -- FS-9577 2016-09-27 14:47:09 -07:00
Anthony Minessale
f38dde9fec fix merge 2016-09-27 16:44:25 -05:00
Seven Du
7dd872e9b8 FS-9575 #resolve [Add MRCP] 2016-09-27 16:41:04 -05:00
Anthony Minessale
c409499cd9 FS-9576 #resolve [Add Realtime Text] 2016-09-27 16:40:43 -05:00
Dragos Oancea
0e6e53f15c FS-8644: OPUS_SET_BITRATE(), codec control and estimators for packet loss and RTT (with Kalman filters) to detect a slow or congested link.
Feature enabled with "adjust-bitrate" in opus.conf.xml - it's a feedback loop with incoming RTCP.
2016-09-27 16:06:17 -05:00
Brian West
09d8f47478 FS-9548 #resolve [crash on Invite due to bad config for sip profile ] 2016-09-27 15:53:38 -05:00
Brian West
39738b32ca FS-9574 #resolve [We shouldn't print data sent on the buffer.] 2016-09-27 15:52:25 -05:00
Piotr Gregor
8e189ed233 FS-9542 [avmd]: multithreaded
Now avmd detection is done in detector threads
processing audio frames with different resolution
and/or offsets. Detection decision is based on relative
standard deviation which dynamically adjusts to the signal.
Detection of amplitude, frequency and both simultaneously
is enabled and corresponding setting added to the configuration.
Frequency estimates are filtered with median filter.

This commit also resolves:
FS-9539 - Get estimates with different resolution
FS-9513 - Use adjustable thresholds
FS-9502 - Add detection mode setting
FS-9501 - Enable three modes of detection
FS-9407 - Add check of amplitude for NaN before appending to SMA buffer
FS-9139 - Unit test framework
2016-09-26 10:48:44 +01:00
Anthony Minessale
2b1f0da5c4 FS-9525 part 2 2016-09-23 16:50:47 -04:00
Anthony Minessale
4aaaf76190 FS-9525 #resolve [Client initiated REINVITE with different audio codec into conference causes choppy audio] 2016-09-22 14:00:12 -05:00