4117 Commits

Author SHA1 Message Date
Anthony Minessale
b66aa6af92 FS-7306 #comment fix both ways 2015-02-20 18:10:01 -06:00
Mike Jerris
1c3f3e2d39 Merge pull request #182 in FS/freeswitch from ~CXREG/freeswitch-memcache-file:eavesdrop_bridge_single_leg to master
* commit '2890afc9184b142c931a98fff267d408e807b862':
  FS-7285 allow eavesdrop to bridge only one leg
2015-02-20 11:27:12 -06:00
Anthony Minessale
f4aaeedb0c FS-7306 #resolve 2015-02-19 23:06:41 -06:00
Brian West
9fe512805b FS-7301 #comment set the tx-reinvite-packet-count to 400, seems we are too fast for the remote in this case which is causing your failure #resolve 2015-02-19 14:43:58 -06:00
Marc Olivier Chouinard
01b01c5e37 Merge pull request #194 in FS/freeswitch from ~ARTURZ/freeswitch:FS-7298-race-condition-when-callcenter-member to master
* commit '0df4085c3dbd3a4bfbc602153e86b7b1b7f0f617':
  Fix race condition when callcenter member cancels the call.
2015-02-18 15:02:50 -06:00
Brian West
3ad1628ff0 FS-7230 #resolve #comment please update 2015-02-18 09:21:00 -06:00
Artur Zaprzała
0df4085c3d Fix race condition when callcenter member cancels the call. 2015-02-18 14:26:02 +01:00
Michael Jerris
302a339fdf FS-7294: Enable -Werror when building with clang compiler #resolve 2015-02-17 12:20:33 -05:00
Dave Olszewski
2890afc918 FS-7285 allow eavesdrop to bridge only one leg
Add channel variables eavesdrop_bridge_aleg and eavesdrop_bridge_bleg,
and if one is set to true on the eavesdrop channel, bridge that leg from
the target.  If neither is specified, bridge both.
2015-02-14 14:45:15 -08:00
Anthony Minessale
5904bec1b6 FS-7236 refactor to fix audio problem from 7c6367052cc35c457cf6bcee49e473e744422d29 2015-02-12 16:44:55 -06:00
Chris Rienzo
30917dd19c FS-7265 #resolve #comment [mod_mongo] add mongo_find_n API 2015-02-11 11:55:46 -05:00
Mike Jerris
7c6367052c FS-7236: fix mutex use before init error caused by 27c8622 2015-02-09 11:23:58 -06:00
Michael Jerris
9e15c4e5b5 FS-7236: fix code before declaration 2015-02-05 12:45:14 -05:00
Anthony Minessale
27c8622eab FS-7236 #resolve 2015-02-05 16:53:07 -06:00
Michael Jerris
dc071a1345 FS-7214: [mod_memchace] fix seg caused by bad command argument bounds checking for flush and deleete 2015-01-29 10:41:51 -06:00
Brian West
b2c6d70cc8 FS-7208 #comment _undef_ as the header and/or ident will make it be an empty string which is the same you were doing on your local builds #resolve 2015-01-29 08:25:01 -06:00
E. Schmidbauer
01dcb74f33 FS-7187 add switch_cache_db_create_schema() to test for SCF_AUTO_SCHEMAS flag 2015-01-22 15:41:22 -05:00
Anthony Minessale
f770b318cf FS-7106 #resolve 2015-01-21 18:59:05 -06:00
Anthony Minessale
59a9669485 prevent crash when calling mediaStats JSON function in certian circumstances 2015-01-13 21:49:41 -06:00
Simon Ditner
85b8631d62 Add conference member data to floor event
Between v1.2 and v1.4, member data was factored out. This makes it so
that one can not determine who the originator of a floor change event
is.

With this change, the meta data related to the conference member whom
initiated the floor change event is added to the event.

See FS-7136
2015-01-06 12:43:16 -05:00
Brian West
1965b3b18d FS-7106 #resolve Fix concurrency issue 2014-12-30 09:06:32 -06:00
Travis Cross
750b1dd807 Allow streaming binary data from mod_memcache
Previously data returned from `memcache get` would be truncated at the
first NULL byte.

By using raw_write_function here to stream the returned memcache
value, we allow mod_memcache to be used for audio and other arbitrary
binary data.

Dave has a format module planned that relies on this.

Thanks-to: Dave Olszewski <dolszewski@marchex.com>

FS-7114 #resolve
2014-12-28 00:42:01 +00:00
Travis Cross
bca7216fdd Run dos2unix on mod_expr HTML files 2014-12-25 10:38:10 +00:00
Travis Cross
65e678ba1d Fix mod_expr clamp function
The clamp(v,a,b) function wraps v around the interval [a,b).

However prior to this commit, `clamp` was ignoring the third argument
and using the second argument again in its place.  This resulted in a
division by zero.  Hence `clamp` didn't work at all.

Even if the arguments were treated correctly, `clamp` incorrectly
multiplied rather than added whenever v < a.  This would have produced
bogus results.  (Thanks to Shona McNeill for pointing this out.)

Note that as implemented, `clamp` is undefined for b >= a.

These errors are present in the last upstream C version, v2.7.
They've been corrected in the C++ version that upstream now maintains
instead.

Thanks-to: Shona McNeill <prufrax@googlemail.com>

FS-7070 #resolve
2014-12-25 10:18:31 +00:00
Mike Jerris
85ff3ae3f7 Merge pull request #80 in FS/freeswitch from ~TCSEKE/freeswitch-fs-4930:master to master
* commit '83acda04131c17469fd0fbe0cb4597c15466bfe5':
  file_string write failover FS-4930
2014-12-22 13:34:59 -06:00
William King
0a0b9262b4 Build fix for gcc 4.9 fixing a variable set but not used error 2014-12-20 14:46:21 -08:00
Anthony Minessale
5fcff501b6 FS-7093 %FEATURE #resolve #comment added to master 2014-12-20 18:29:44 -06:00
Dmitriy N. Borisov
42ecb3390e list_users tipo correction 2014-12-19 11:04:54 +03:00
Moises Silva
d786490584 Fix timestamps in mod_bert broken by the cpu improvements refactoring 2014-12-18 02:04:05 -05:00
Moises Silva
17574a88e4 Add bert stats to mod_bert::lost_sync event
The following values can be read from the event:

sync_lost_percent - Error percentage within the analysis window
sync_lost_count - How many times sync has been lost
cng_count - Counter of confort noise packets
err_samples - Number of samples that did not match the sequence
2014-12-15 00:21:03 -05:00
Moises Silva
42acb62120 Improve mod_bert cpu efficiency
* Use memmem() and memcmp() for pattern checks
* Use a static pre-built buffer for the write frame
2014-12-15 00:21:03 -05:00
Marc Olivier Chouinard
e1cb0e8632 Merge pull request #127 in FS/freeswitch from ~ITALOROSSI/freeswitch:mod_callcenter-queue-list-count-by-state to master
* commit 'f63f8686bc8da391b3c46b24e10571215c8b377f':
  FS-7049 - Documentation for state optional paramenter in callcenter_config queue list and count
  fix FS-7049 - Count and list agents based on their state
2014-12-11 21:01:03 -06:00
Italo Rossi
f63f8686bc FS-7049 - Documentation for state optional paramenter in callcenter_config queue list and count 2014-12-11 23:43:03 -03:00
Marc Olivier Chouinard
df6ea843e4 Merge pull request #133 in FS/freeswitch from ~HDIOGENES/freeswitch-fs-7018-2:master to master
* commit '1bcdb49bced4be339d73532181fe6fa3938d0bd8':
  Fix JIRA (FS-7018): mod_callcenter's longest-idle-agent strategy is unfair
2014-12-11 17:16:47 -06:00
Anthony Minessale
5ca609e637 factor channel count into flush len 2014-12-08 20:36:25 -06:00
Humberto Diógenes
1bcdb49bce Fix JIRA (FS-7018): mod_callcenter's longest-idle-agent strategy is unfair 2014-12-04 16:12:20 -03:00
Italo Rossi
80649df65c fix FS-7049 - Count and list agents based on their state 2014-12-02 22:57:43 -03:00
Mike Jerris
74f243bc3b Merge pull request #95 in FS/freeswitch from ~ITALOROSSI/freeswitch:master to master
* commit 'f87c335e8a49da7b0a2b6f19b45f285f6355e2e0':
  Only waiting for agent channel to hangup.
2014-11-19 15:32:19 -06:00
Brian West
7c0da5cc40 FS-6957 fix regression 2014-11-17 10:36:03 -06:00
Michael Jerris
250234da76 FS-5800: [mod_curl] add support for additional curl auth methods 2014-11-17 11:01:35 -05:00
Michael Jerris
f198d82bac FS-5666: [mod_redis] add ignore_connect_fail config setting to not kill the call when redis is down when using redis backend for limit 2014-11-17 10:29:47 -05:00
Travis Cross
f1df8d6096 Allow setting CURL timeout from curl API command
Previously the `timeout` option to the curl API command set only
`CURLOPT_CONNECTTIMEOUT` -- the maximum amount of time that curl will
wait to connect to the server.  If the server accepted the connection
but then never replied, curl would wait essentially forever.  There
was no way to set `CURLOPT_TIMEOUT` -- the maximum amount of time the
entire request operation is allowed to take.

With this change, the `timeout` option sets `CURLOPT_TIMEOUT`.  We've
earlier added a `connect-timeout` option to set
`CURLOPT_CONNECTTIMEOUT`.

This is a change to existing behavior.  However, it's likely that this
is what people expected it to do all along.  The curl application
call, for example, accepts both `curl_connect_timeout` and
`curl_timeout` channel variables, with the latter setting
`CURLOPT_TIMEOUT`.

If people really were relying on this odd behavior, we'll rename the
option with the new behavior to something else and come up with a
transition plan.
2014-11-16 19:31:00 +00:00
Travis Cross
1ee325df48 Add connect-timeout option for curl API command
This option sets the maximum number of seconds that curl will wait to
connect with the server.

Right now this is a synonym for the `timeout` option.
2014-11-16 19:31:00 +00:00
Chris Rienzo
dd61232163 FS-6979 #resolve #comment mod_http_cache: added base-domain config to s3 profiles so mod_http_cache can access self hosted s3 compatible service.
Example configuration:

  <profiles>
    <profile name="s3">
       <!-- Credentials for AWS account. -->
       <aws-s3>
          <!-- 20 character key identifier -->
          <access-key-id><![CDATA[AKIAIOSFODNN7EXAMPLE]]></access-key-id>
          <!-- 40 character secret -->
          <secret-access-key><![CDATA[wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY]]></secret-access-key>
          <base-domain><![CDATA[example.com]]></base-domain>
       </aws-s3>
       <!-- Domains that this profile applies to -->
       <domains>
          <domain name="bucket.example.com"/>
          <domain name="bucket2.example.com"/>
       </domains>
    </profile>
  </profiles>
2014-11-13 10:20:02 -05:00
Nathan Neulinger
dbc5571594 FS-6983 wrap new curl TLS macro usage with ifdefs 2014-11-11 16:26:44 -06:00
Anthony Minessale
33d37ce0f5 PLIV-13 #resolve 2014-11-11 14:51:19 -06:00
Anthony Minessale
0c68bb6d89 FS-6957 #resolve 2014-11-11 13:37:46 -06:00
Mike Jerris
bf7c161d36 Merge pull request #68 in FS/freeswitch from ~HRISTO/freeswitch:interrupt-conf-moh to master
* commit '94278b5e545b58bad784a95da6181fc5f299457f':
  allow enter and exit sounds to interrupt the MOH in a wait_mod conference
2014-11-07 08:09:05 -06:00
Mike Jerris
9939671b50 Merge pull request #102 in FS/freeswitch from ~AMARUS_CAMERON/freeswitch:mod_fifo-outbound_per_cycle_min to master
* commit '1944f9a5ee63ec51bed1bfb900072d168a81d004':
  FS-6968 Changes to mod_fifo.c to add outbound_per_cycle_min
2014-11-07 08:06:54 -06:00
Aaron Paolozzi
1944f9a5ee FS-6968 Changes to mod_fifo.c to add outbound_per_cycle_min 2014-11-06 19:21:58 -05:00