Flavio Grossi [Mon, 17 Nov 2014 10:11:42 +0000 (11:11 +0100)]
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().
Travis Cross [Sun, 16 Nov 2014 19:20:07 +0000 (19:20 +0000)]
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.
Chris Rienzo [Fri, 14 Nov 2014 18:22:53 +0000 (13:22 -0500)]
mod_rayo: new configuration parameter, add-variables-to-offer (default=false). When true, all channel variables are included in the offer to rayo client
Michael Jerris [Thu, 13 Nov 2014 03:55:31 +0000 (21:55 -0600)]
FS-6531: #resolve set to tag on uuid_phone_event notify to make grandstream happy, even tho they could have matched the dialog fine off the from tag like every other phone does.
Michael Jerris [Thu, 13 Nov 2014 03:37:14 +0000 (21:37 -0600)]
FS-6531: #resolve set to tag on auto answer notify to make grandstream happy, even tho they could have matched the dialog fine off the from tag like every other phone does.
Seven Du [Tue, 11 Nov 2014 15:33:03 +0000 (23:33 +0800)]
use 4 spaces indent to match the default of jslint
this is the first step of making the code follow the default jslint behaviour,
I also manually changed some { } to make it reasonable in addition to replacing tabs
Moises Silva [Sun, 9 Nov 2014 08:33:08 +0000 (03:33 -0500)]
OPENZAP-232 #resolve Patched-By: Florian Richter
Check for digits received on sangoma isdn stack to avoid delaying
moving to the ring state if all digits are received at once in
overlap dialing mode
Peter Wu [Mon, 15 Sep 2014 18:49:42 +0000 (20:49 +0200)]
debian: Allow use of secondary groups
When '-g' is passed, freeswitch drops all other groups except for the
given group. This impacts people who depend on FS having access to
resources that would be allowed by membership to those other groups.
It was possible to override this by setting DAEMON_ARGS in
/etc/default/freeswitch, but we'll go ahead and make this the default.
Since freeswitch uses the primary group of a user when `-g` is
omitted, we'll just omit it, and do similarly when setting the
ownership of our directory in /var/run.
Chris Rienzo [Thu, 6 Nov 2014 19:46:56 +0000 (14:46 -0500)]
Renaming mod_spandsp's cadence + tone detection APPs and APIs (start_tone_detect / stop_tone_detect) to
spandsp_start_tone_detect and spandsp_stop_tone_detect to resolve conflict with mod_dptools'
tone_detect/stop_tone_detect APPs.
allow enter and exit sounds to interrupt the MOH in a wait_mod conference
This patch does the following:
* only starts MOH if no other file (sync or async) is currently playing
* adds a variable "conference_permanent_wait_mod_moh" that controls the
behavior of how the enter and exit sounds interact with the MOH when
wait_mod is set. When the variable is set, the MOH keeps playing and
the enter and exit sounds are mixed with the MOH. When the variable
is unset, then any playing MOH is first stopped, then the enter or
exit sound is played and the MOH is started again.
This functionality is useful in case the enter and exit sounds are
used to announce the name of the caller, who is joining or leaving a
conference.
FS-6954 #comment we fixed another bug and this is the side effect which is completely valid, too bad you can never fix broken t38 endpoints. Can you please test this patch
Mike Jerris [Tue, 4 Nov 2014 22:35:11 +0000 (16:35 -0600)]
Merge pull request #93 in FS/freeswitch from ~RAVENOX/freeswitch:mod_managed_improvements to master
* commit '889b678e58bf38eb86df7885b8f054d3d9d92d74':
mod_managed: Added GetPtr to Util class for internal pointers extraction (very useful when using native api)
mod_managed: Added pure CreateStateHandlerDelegate in ManagedSession for native api usage
mod_managed: added console log level
mod_managed: support per-module references directory
mod_managed: not crash when cannot remove shadow directory (this sometimes happens when restarting from FS console)
mod_managed: managedlist command must return value to api stream instead of log