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
FS-5949 FS-6945 #comment this change should be relevant to both of these issues, please test. This patch improves the hold parsing and ignores connection address of 0 implying hold when ice is present and disables the auto interpretation by the lower level stack of 0.0.0.0 to automatically imply sendonly to allow FS to decide on its own
FS-6954 #resolve #comment technically the new way is more correct but there is no hope for making fax endpoints follow a real spec. This should take care of it.
Travis Cross [Thu, 30 Oct 2014 00:19:52 +0000 (00:19 +0000)]
Handle debian's libtool-bin change
The libtool binary used to be contained in the libtool package. As of
current sid/jessie the libtool package contains everything about
libtool but the libtool binary, and we need to install libtool-bin to
get the libtool binary itself. Which is to say that Debian decided to
make the libtool package architecture-independent.
Without this commit the FS debian packaging will not build/bootstrap
on sid/jessie.
Brian West [Tue, 28 Oct 2014 14:46:53 +0000 (09:46 -0500)]
Merge pull request #90 in FS/freeswitch from ~MBRANCA/freeswitch:bugfix/FS-6756-metadata-in-mp3-recordings-are-not to master
* commit '3f0d6b3f2d548de7d07d8503a1f73f381e3d1a72':
FS-6756 lame_init_params must be called after setting all id3tag stuff, otherwise id3 tags will not be written. So, instead of calling it early, revert FS-3646 and add a check on free_context to really do lame stuff only if lame has been set ready, avoid seg faults in some corner cases.
Add new hard_mute control to allow apps to request low level mute e.g. from the rtp stack level. Its used in mod_conference to avoid reading audio while muted and possibly reduce some transcoding load
FS-6940 #resolve #comment %FEATURE use the variable digits_dialed_filter to set regular expressions with () captures and anything matched will be replaced with X's in the CDR
FS-6756 lame_init_params must be called after setting all id3tag stuff, otherwise id3 tags will not be written.
So, instead of calling it early, revert FS-3646 and add a check on free_context to really do lame stuff only
if lame has been set ready, avoid seg faults in some corner cases.
FS-6910 #resolve Multiple entry with the same first, last name or extension in the directory would only return 1 entry. Fix issue where group by would produce multiple row of count(*) result. Using distinct instead wouldn't solve the issue in SQLITE because of a bug, so solution is to use a subselect.
Travis Cross [Fri, 10 Oct 2014 18:25:11 +0000 (18:25 +0000)]
Fix crash on transport=tls with non-TLS profile
We use the transport of the Contact header of the remote UAC to decide
which of our own Contact addresses we should use when replying to a
SUBSCRIBE or sending a presence NOTIFY.
If TLS is not enabled on a Sofia profile, then the TLS Contacts for
that profile are NULL. Unfortunately we were using these NULL values
uncritically when the remote UAC sent us a Contact header with a TLS
transport and our own Sofia profile did not have TLS enabled.
With this commit we fall back to our TCP Contact address when the
remote Contact is TLS and our Sofia profile does not have TLS enabled.
Chris Rienzo [Thu, 9 Oct 2014 15:38:53 +0000 (11:38 -0400)]
mod_rayo: fix error in SRGS grammar parser... <one-of><item>7</item><item>715</item></one-of> will return MATCH_END with input of 7 instead of MATCH since 715 is a potential match with further input.
Hristo Trendev [Thu, 9 Oct 2014 09:37:52 +0000 (11:37 +0200)]
account for lost frames during ptime detection
This allows the "broken ptime" detection to work correctly when packet
loss is present on the wire. In addition to the timestamps this patch
adds frame sequence tracking and corrects the timestamp difference
only as needed and according to the number of lost packets.
Travis Cross [Wed, 8 Oct 2014 19:43:29 +0000 (19:43 +0000)]
Add debian build option to include avoided modules
This is a convenience option that can be passed to either
debian/bootstrap.sh or to debian/util.sh to include a module in the
build that would normally be excluded. This option, -p, can be passed
multiple times.
Travis Cross [Wed, 8 Oct 2014 19:18:30 +0000 (19:18 +0000)]
Add debian build option to use system sources.list
If -t is passed to debian/util.sh, then we will import the
/etc/apt/sources.list mirrors and all apt keys into the
pbuilder/cowbuilder build environment.
This is useful e.g. when the FS build depends on a library not
available in Debian yet.
Travis Cross [Wed, 8 Oct 2014 19:09:03 +0000 (19:09 +0000)]
Add debian build option to keep pbuilder image config
Normally we override the config of each pbuilder/cowbuilder image when
we update the image before using it for the build. Passing this
option allows for using an existing cowbuilder image (assuming it's in
the correct location) with some existing desirable configuration.