12788 Commits

Author SHA1 Message Date
Seven Du
763e6aa962 FS-7046 fix warning introduced from b341ff7 2014-12-24 08:08:04 +08:00
Michael Jerris
067cb0f0f2 FS-7100: make buffer for sub contact big enough 2014-12-22 17:19:08 -05:00
Jeff Lenk
af6b23a124 FS-7046 fix some additional warnings 2014-12-22 15:12:22 -06: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
c96d64e7e1 invalid type cast correction 2014-12-19 11:13:55 +03:00
Dmitriy N. Borisov
42ecb3390e list_users tipo correction 2014-12-19 11:04:54 +03:00
Anthony Minessale
e0dcd176f4 FS-7083 #comment patch to change mod_shout to use lame_encode_buffer_interleaved on stereo channels so we don't have to mess with the input data 2014-12-18 16:07:51 -06:00
Moises Silva
d786490584 Fix timestamps in mod_bert broken by the cpu improvements refactoring 2014-12-18 02:04:05 -05:00
Chris Rienzo
d5119a7a77 FS-7091 #resolve #comment [mod_rayo] Removed unnecessary mutex lock inside input component's cleanup function since the input component won't be cleaned up unless all references have been released. This fixes a deadlock when output component is created at the same time an input component completes. 2014-12-17 14:49:01 -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
Anthony Minessale
e268a72603 FS-6994 #resolve 2014-12-12 17:52:02 -06: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
Chris Rienzo
a3f630fc2e FS-7047 #resolve #comment [mod_rayo] arbitrary MRCP headers can now be sent to unimrcp output components 2014-12-10 16:57:02 -05:00
Chris Rienzo
f024ea3c2b FS-7047 #comment [mod_rayo] arbitrary MRCP headers can now be sent to unimrcp input components 2014-12-10 15:44:10 -05:00
Michael Jerris
5376e82669 FS-6688: don't update the contact when the original had fs_path, the new one doesnt, and the contact didn't change. This will fix the normal case of record route from a proxy without breaking normal changing of a contact 2014-12-10 10:33:43 -05:00
Mike Jerris
fb59217f3e Merge pull request #137 in FS/freeswitch from bugfix/FS-7061-add-q-header-param-on-300-responses to master
* commit '21458f85cc4228e54151350dd89c5c87cc3dfef4':
  FS-7062: [mod_sofia] on redirect, when uri are passed in without <> with multiple uris, automatically add the q= header param in decending order.  This should make 300 Multiple Choices work well with devices that require the q param.  If you would like to specify explicit q-values, please use the syntax of redirect where you specify the entire header using the <>
2014-12-09 11:57:34 -06:00
Anthony Minessale
5ca609e637 factor channel count into flush len 2014-12-08 20:36:25 -06:00
Michael Jerris
21458f85cc FS-7062: [mod_sofia] on redirect, when uri are passed in without <> with multiple uris, automatically add the q= header param in decending order. This should make 300 Multiple Choices work well with devices that require the q param. If you would like to specify explicit q-values, please use the syntax of redirect where you specify the entire header using the <> 2014-12-08 10:47:47 -05:00
Mike Jerris
8cd6a570ca Merge pull request #129 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-6766:master to master
* commit '35ba6a33b17036cf7ab3693d3e28d224ce68af55':
  FS-6766, fix verto caller ringback missing on conference bridge
2014-12-05 13:20:06 -06:00
Paul Arnold
843e4953be FS-7051: Preserve the annexb=no/yes status
As per RFC4856, Annex B mode for G.729 is disabled if the SDP contains a
fmtp parameter annexb=no and enabled if annexb=yes or the annexb parameter
is missing.

When responding to an offer mod_sangoma_codec always returns an answer
without a fmtp parameter. Even in response to a SDP offer which contains
one. This has the effect of responding to a request to disable Annex B
with an answer that only Annex B is supported.

With this change mod_sangoma_codec copies the fmtp parameter from the
offer to the answer fixing the problem.
2014-12-05 09:52:29 +11: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
Brian West
8ed2b0737f Merge pull request #126 in FS/freeswitch from ~HRISTO/freeswitch:timezone-all-mod_say-modules to master
* commit 'a8c5a0c87bf97ad0f84df2ad53d6eef2a951eee9':
  add timezone support to mod_say_{de,es,ja,nl,th,zh}
2014-12-04 11:02:25 -06:00
Brian West
7ce5171250 FS-7046 follow up on type change 2014-12-03 15:44:27 -06:00
Brian West
170fb1715a FS-7046: fix some unreachable code warnings 2014-12-03 15:24:37 -06:00
Brian West
b341ff7c1f FS-7046: fix data types and casting on some vars to silence windows build warnings 2014-12-03 15:07:29 -06:00
Chris Rienzo
e8cf9c7d35 FS-7045 #resolve #comment [mod_rayo] guarantee that dialed call can be joined when answered event is sent. 2014-12-03 16:03:58 -05:00
Dave Kompel
db66cdb56f Fix mrcp libraries to build right 2014-12-03 12:56:48 -05:00
François
35ba6a33b1 FS-6766, fix verto caller ringback missing on conference bridge 2014-12-03 10:16:22 +01:00
Italo Rossi
80649df65c fix FS-7049 - Count and list agents based on their state 2014-12-02 22:57:43 -03:00
Hristo Trendev
a8c5a0c87b add timezone support to mod_say_{de,es,ja,nl,th,zh}
This is nothing more than a shameless copy/paste from another mod_say
module, which already had timezone support. It simply checks if the
timezone variable is set and if it contains a valid timezone, then this
timezone will be used when announcing times/dates.

FS-7048 #resolve
2014-12-02 17:08:12 +01:00
Anthony Minessale
bad5dc3022 FS-7037 #resolve 2014-12-01 15:10:00 -06:00
Anthony Minessale
5bbef7f1e5 FS-7015 #comment please test 2014-11-25 17:02:10 -06: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
Michael Jerris
62a2e10e41 remove hack breaking some cross compile builds. if you really need this, you should be using new enough glibc anyways 2014-11-19 16:06:42 -05:00
Chris Rienzo
7b80b6249b Merge branch 'unimrcp-update-20141117' 2014-11-18 14:28:38 -05:00
Chris Rienzo
8330336e9a FS-6450 [unimrcp] Update library
[apr] Backport APR_RING_FOREACH and APR_RING_FOREACH_SAFE macros to APR for unimrcp compatibility.

 [unimrcp] configure.gnu - need full path, not relative path for library paths

 [unimrcp] added uni_revision.h - couldn't get it to autogenerate from build

 [mod_unimrcp] add better logging and error checking on module load.  Currently dumps core on MRCPv1 TTS attempt

 [mod_unimrcp] don't configure MRCPv1 session with a connection agent- causes crash
2014-11-18 14:23:54 -05:00
Brian West
5127b64df8 FS-7014: [mod_sofia] don't touch the tech_pvt when a call has just ended, leaving us with a null tech_pvt 2014-11-18 10:22:13 -06:00
Brian West
8eaaa083ad FS-6622: [mod_shout] set buffer size for streams based on the number of channels to avoid buffer starvation 2014-11-18 09:47:43 -06:00
Michael Jerris
424df19083 FS-6695: fix build on mips 2014-11-17 15:25:39 -05: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
Chris Rienzo
6f660c3a10 iksemel - remove support for SSLv23 in iks_proceed_tls (was a FS addition to iksemel). mod_rayo - updated to no longer support SSLv23 2014-11-17 09:46:23 -05:00
Flavio Grossi
c73afe1c85 FS-7004 mod_sndfile: respect umask when creating new files
Files created by mod_sndfile use sf_open() which uses hardcoded permissions. To
respect the process' umask, manually open files with the correct permissions
and then call sf_open_fd().
2014-11-17 11:26:31 +01: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