]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
12 years agoFix FHS default modulesdir define
Travis Cross [Sun, 2 Mar 2014 23:52:01 +0000 (23:52 +0000)] 
Fix FHS default modulesdir define

The default value of libdir is (unexpanded) '${exec_prefix}/lib'.  In
the non-FHS path this is fine because it only ends up in a variable
where it will be expanded later.  By using this to define modulesdir
we let it slip into a define where it made no sense.

12 years agoFix FHS default sysconfdir
Travis Cross [Sun, 2 Mar 2014 23:02:52 +0000 (23:02 +0000)] 
Fix FHS default sysconfdir

12 years agoFix memory leak in mod_json_cdr
Travis Cross [Sun, 2 Mar 2014 22:00:09 +0000 (22:00 +0000)] 
Fix memory leak in mod_json_cdr

12 years agoReverting FS-6292, pending more details from an end user thats working on this
Brian West [Sun, 2 Mar 2014 17:23:07 +0000 (11:23 -0600)] 
Reverting FS-6292, pending more details from an end user thats working on this

12 years agoOptimize switch_split_user_domain a bit
Travis Cross [Sun, 2 Mar 2014 09:43:02 +0000 (09:43 +0000)] 
Optimize switch_split_user_domain a bit

This avoids searching the string repeatedly with strchr.

12 years agoRefactor and fix edge cases in switch_split_user_domain
Travis Cross [Sun, 2 Mar 2014 09:13:05 +0000 (09:13 +0000)] 
Refactor and fix edge cases in switch_split_user_domain

We were incorrectly parsing usernames and domains starting with "sip"
if there was no sip: or sips: scheme in the string.

We were also incorrectly parsing usernames containing a colon even if
a scheme was given.

This also refactors the function for hopefully greater clarity.

12 years agouse newSQL
Raymond Chandler [Sun, 2 Mar 2014 08:10:45 +0000 (03:10 -0500)] 
use newSQL

12 years agoFix switch_split_user_domain handling of sips: URLs
Travis Cross [Sun, 2 Mar 2014 07:56:32 +0000 (07:56 +0000)] 
Fix switch_split_user_domain handling of sips: URLs

In commit 7efeabbd88e81ee368de6ced32fed06c8035097b Anthony fixed the
handling of sip:example.com and sips:example.com URLs, however he
introduced a regression causing URLs starting with 's' to be parsed
incorrectly.

In commit 7d2456ea27c092825c8d614ac6eee71547374464 Brian fixed the
regression, but introduced a regression causing sips:example.com URLs
to be handled incorrectly.

12 years agoUpdate the configuration report
Travis Cross [Sat, 1 Mar 2014 03:24:47 +0000 (03:24 +0000)] 
Update the configuration report

Order the default configure flags in the order they show up in
configure --help, and order our own alphabetically.

12 years agoAdd --enable-fhs flag to configure
Travis Cross [Sat, 1 Mar 2014 03:13:13 +0000 (03:13 +0000)] 
Add --enable-fhs flag to configure

When --enable-fhs is passed to configure, we set all paths by default
in a way compliant with FHS, the Filesystem Hierarchy Standard.

  http://www.pathname.com/fhs/

Each path may still be overridden by passing the specific flag for it.

12 years agowindows fix last commit
Jeff Lenk [Sat, 1 Mar 2014 21:40:58 +0000 (15:40 -0600)] 
windows fix last commit

12 years agowindows only - add our own thread priority ability for core threads please test
Jeff Lenk [Sat, 1 Mar 2014 20:36:34 +0000 (14:36 -0600)] 
windows only - add our own thread priority ability for core threads please test

12 years agoFS-6292 don't use AC_FUNC_MALLOC on NetBSD as rp_malloc isn't defined
Brian West [Sat, 1 Mar 2014 16:49:38 +0000 (10:49 -0600)] 
FS-6292 don't use AC_FUNC_MALLOC on NetBSD as rp_malloc isn't defined

12 years agoThis previous change fixes the issue on 64bit but if trying to compile a 32bit build...
Brian West [Sat, 1 Mar 2014 16:20:48 +0000 (10:20 -0600)] 
This previous change fixes the issue on 64bit but if trying to compile a 32bit build you end up breaking the types on 32bit.

Commandline Fu for dumping the various defines for gcc are as follows:

gcc -m64 -dM -E - <<<''

gcc -m32 -dM -E - <<<''

12 years agoFS-6226Prevent DTMF from traversing bridged channels, but still allow me to send...
Brian West [Sat, 1 Mar 2014 15:58:43 +0000 (09:58 -0600)] 
FS-6226Prevent DTMF from traversing bridged channels, but still allow me to send DTMF via API or dp app (uuid_send_dtmf or send_dtmf)

12 years agomissed on
Brian West [Sat, 1 Mar 2014 15:32:16 +0000 (09:32 -0600)] 
missed on

12 years agoFS-6290 --resolve
Peter Olsson [Sat, 1 Mar 2014 09:02:45 +0000 (10:02 +0100)] 
FS-6290 --resolve

12 years agoIgnore generated file
Peter Olsson [Sat, 1 Mar 2014 08:54:57 +0000 (09:54 +0100)] 
Ignore generated file

12 years agoSpelling is hard
Brian West [Sat, 1 Mar 2014 00:37:17 +0000 (18:37 -0600)] 
Spelling is hard

12 years agoFS-5895 --resolve
Anthony Minessale [Fri, 28 Feb 2014 23:55:04 +0000 (04:55 +0500)] 
FS-5895 --resolve

12 years agoadd sip_force_nat_mode so you can engange nat mode manually
Anthony Minessale [Fri, 28 Feb 2014 23:42:16 +0000 (04:42 +0500)] 
add sip_force_nat_mode so you can engange nat mode manually

12 years agoFS-5207 use the json version, thanks
Seven Du [Fri, 28 Feb 2014 23:40:31 +0000 (07:40 +0800)] 
FS-5207 use the json version, thanks

12 years agoSend silent packets when idle with SRTP
Travis Cross [Fri, 28 Feb 2014 23:12:29 +0000 (23:12 +0000)] 
Send silent packets when idle with SRTP

Originally we did the same thing with SRTP that we do without SRTP,
which is to simply not send packets when e.g. sleep is called.

At commits d63323977fa611b141441f12af9a94ec19b5f829 and
5259814aee16ede974456490a79e8a98de1d6d2e we enabled sending silence
packets with comfort noise when SRTP is active.  We appear to have
done this for interop purposes; many devices can't handle gaps in the
stream of SRTP packets.

But our current comfort noise implementation doesn't take the codec
rate into account (FS-6291), so on 16kHz codecs the constant we chose
created an annoying level of static between sound file playback.

With this commit we preserve the sending of SRTP packets during idle
periods, but make those packets completely silent.

Thanks-to: Anthony Minessale <anthm@freeswitch.org>
FS-5053 --resolve

12 years agoFS-4502 --resolve
Brian West [Fri, 28 Feb 2014 22:23:37 +0000 (16:23 -0600)] 
FS-4502 --resolve

12 years agoFS-5207 --resolve
Brian West [Fri, 28 Feb 2014 22:11:22 +0000 (16:11 -0600)] 
FS-5207 --resolve

12 years agoFS-5915 --resolve
Brian West [Fri, 28 Feb 2014 22:09:59 +0000 (16:09 -0600)] 
FS-5915 --resolve

12 years agocheck the jitter stats after the jitter buffer when its enabled
Anthony Minessale [Fri, 28 Feb 2014 21:50:12 +0000 (02:50 +0500)] 
check the jitter stats after the jitter buffer when its enabled

12 years agoShow TLS cipher suite selected in sofia debug
Travis Cross [Fri, 28 Feb 2014 20:28:33 +0000 (20:28 +0000)] 
Show TLS cipher suite selected in sofia debug

This shows the cipher name, TLS version, the number of cipher bits and
algorithm bits, and a description of the cipher in Sofia's debug
logging output on level 9.

12 years agoFS-5461 --resolve you tricked me I said make 1 patch with all of it
Anthony Minessale [Fri, 28 Feb 2014 19:27:23 +0000 (00:27 +0500)] 
FS-5461 --resolve you tricked me I said make 1 patch with all of it

12 years agoFS-4441 FS-5461 --resolve
Anthony Minessale [Fri, 28 Feb 2014 19:23:40 +0000 (00:23 +0500)] 
FS-4441 FS-5461 --resolve

12 years agoadd sip_refer_to_params
Anthony Minessale [Fri, 28 Feb 2014 19:13:29 +0000 (00:13 +0500)] 
add sip_refer_to_params

12 years agoPrevent sha1_init et al from being undefined
Travis Cross [Fri, 28 Feb 2014 18:17:25 +0000 (18:17 +0000)] 
Prevent sha1_init et al from being undefined

sha1_init, sha1_update, and sha1_final were ending up as undefined
symbols in libfreeswitch.so because of the inline declaration, which
caused us to blow up while linking the freeswitch executable.  Declare
these as static inline instead.

12 years agoRemove binary executables in libs/srtp
Travis Cross [Fri, 28 Feb 2014 18:03:30 +0000 (18:03 +0000)] 
Remove binary executables in libs/srtp

These files were introduced in commit 72e2d183c1d63a224742e243e4b1fd412f876758.

12 years agoDeal with read errors in switch_xml.c
Travis Cross [Fri, 28 Feb 2014 17:19:43 +0000 (17:19 +0000)] 
Deal with read errors in switch_xml.c

Unlike fread(3), read(3) will return -1 on error.  We were assigning
the result of read to a potentially unsigned variable, and passing the
result down to switch_xml_parse_str() where it would end up
determining how many bytes to malloc(3).

12 years agoFS-6168 --resolve
Anthony Minessale [Fri, 28 Feb 2014 18:30:42 +0000 (23:30 +0500)] 
FS-6168 --resolve

12 years agoFS-6287 this should either prevent the problem or spell out what is causing it. pleas...
Anthony Minessale [Fri, 28 Feb 2014 18:23:30 +0000 (23:23 +0500)] 
FS-6287 this should either prevent the problem or spell out what is causing it. please test

12 years agoFS-5886 --resolve add NDLB_broken_opus_sdp which must be set as a global variable...
Anthony Minessale [Fri, 28 Feb 2014 16:57:47 +0000 (21:57 +0500)] 
FS-5886 --resolve add NDLB_broken_opus_sdp which must be set as a global variable in var.xml or switch.conf.xml to enable broken opus mode for back compat with counterpath mobile

12 years agoFS-6289 --resolve regression from 1fba654845c8202bf84c58b203a3bc9624164c4e
Anthony Minessale [Fri, 28 Feb 2014 16:43:38 +0000 (21:43 +0500)] 
FS-6289 --resolve regression from 1fba654845c8202bf84c58b203a3bc9624164c4e

12 years agoFS-3588 remove packages.config
Jeff Lenk [Fri, 28 Feb 2014 13:44:21 +0000 (07:44 -0600)] 
FS-3588 remove packages.config

12 years agoimprove messaging performance of mod_erlang_event FS-3347 --resolve
Tamas Cseke [Fri, 28 Feb 2014 10:32:08 +0000 (11:32 +0100)] 
improve messaging performance of mod_erlang_event FS-3347 --resolve

12 years agobump
Anthony Minessale [Fri, 28 Feb 2014 02:17:26 +0000 (07:17 +0500)] 
bump

12 years agobump, that didn't last long v1.5.10
Anthony Minessale [Fri, 28 Feb 2014 02:16:32 +0000 (07:16 +0500)] 
bump, that didn't last long

12 years agofix race condition where a transferring leg could be hungup on by the bridge partner...
Anthony Minessale [Fri, 28 Feb 2014 02:15:47 +0000 (07:15 +0500)] 
fix race condition where a transferring leg could be hungup on by the bridge partner from the previous bridge because of hangup held leg detection.  The leg which was hungup when held doesn't realize the other leg has already moved on from the bridge because it was transferred and is already on its way to connect to the new destination

12 years agobump
Anthony Minessale [Thu, 27 Feb 2014 23:42:42 +0000 (04:42 +0500)] 
bump

12 years agobump v.15.9
Anthony Minessale [Thu, 27 Feb 2014 23:41:59 +0000 (04:41 +0500)] 
bump

12 years agoPrevent sqlite from over-reading a structure
Travis Cross [Thu, 27 Feb 2014 23:19:26 +0000 (23:19 +0000)] 
Prevent sqlite from over-reading a structure

Our sqlite fork was reading past the end of the zP3 KeyInfo structure
here.  This was causing gcc and clang's address sanitization to alert.

FS-6279 --resolve

Thanks-to: Christopher Rienzo <chris@rienzo.net>
12 years agoRevert the changes I made the issue is in the build system not in this script if...
Brian West [Thu, 27 Feb 2014 22:22:37 +0000 (16:22 -0600)] 
Revert the changes I made the issue is in the build system not in this script if DESTDIR is used will re-eval the correct approach.

12 years agoFS-6209 don't change behavior from defaults if the values aren't defined
Brian West [Thu, 27 Feb 2014 21:29:25 +0000 (15:29 -0600)] 
FS-6209 don't change behavior from defaults if the values aren't defined

12 years agoFS-6209 failing to load without a conf is bad
Brian West [Thu, 27 Feb 2014 21:25:29 +0000 (15:25 -0600)] 
FS-6209 failing to load without a conf is bad

12 years agoFS-5755 part 2
Anthony Minessale [Thu, 27 Feb 2014 21:03:48 +0000 (02:03 +0500)] 
FS-5755 part 2

rtp_secure_media=true
--inbound: Accept the srongest supported offered crypto suite, MUST result in a negotiated crypto or aborts.

--outbound: offer all supported crypto suites, MUST result in a negotiated crypto or aborts.

rtp_secure_media=optional
--inbound: Accept the srongest supported offered crypto suite, fall back to no crypto if no valid ones accepted.

--outbound: offer all supported crypto suites, OPTIONAL result in a negotiated crypto falls back to no crypto.

rtp_secure_media=<suite1>,<suiteN>
--inbound:  same behaviour as rtp_secure_media=true with smaller set of acceptable suites.
--outbound: offer supplied crypto suites, same behaviour as rtp_secure_media=true with smaller set of suites.

12 years agomodcheck should also take DESTDIR into account
Brian West [Thu, 27 Feb 2014 20:19:37 +0000 (14:19 -0600)] 
modcheck should also take DESTDIR into account

12 years agoFS-5934 force_transfer_context not being honored if you happen to do an attended...
Brian West [Thu, 27 Feb 2014 20:10:44 +0000 (14:10 -0600)] 
FS-5934 force_transfer_context not being honored if you happen to do an attended this patch makes perfect sense.

12 years agofix modcheck to properly deal with prefix and don't alert on anything that isn't...
Brian West [Thu, 27 Feb 2014 18:21:01 +0000 (12:21 -0600)] 
fix modcheck to properly deal with prefix and don't alert on anything that isn't mod_ because ftmod_ gets installed here too and will alert

12 years agoFS-6268 usinga macro to find the rtp_session_name its better on the eyes
Brian West [Thu, 27 Feb 2014 16:42:30 +0000 (10:42 -0600)] 
FS-6268 usinga macro to find the rtp_session_name its better on the eyes

12 years agoFS-5991 --resolve
Tamas Cseke [Thu, 27 Feb 2014 07:13:57 +0000 (08:13 +0100)] 
FS-5991 --resolve

12 years agowindows wftb fix excess cpu usage
Jeff Lenk [Thu, 27 Feb 2014 04:07:02 +0000 (22:07 -0600)] 
windows wftb fix excess cpu usage

12 years agoFS-6271 damn these would'nt show up at the same time
Jeff Lenk [Thu, 27 Feb 2014 02:23:39 +0000 (20:23 -0600)] 
FS-6271 damn these would'nt show up at the same time

12 years agoFS-6271 windows compiler warning
Jeff Lenk [Thu, 27 Feb 2014 02:14:27 +0000 (20:14 -0600)] 
FS-6271 windows compiler warning

12 years agoFS-6271 fix for windows
Jeff Lenk [Thu, 27 Feb 2014 01:19:20 +0000 (19:19 -0600)] 
FS-6271 fix for windows

12 years agoFS-6272 --resolve
Anthony Minessale [Wed, 26 Feb 2014 22:24:25 +0000 (03:24 +0500)] 
FS-6272 --resolve

12 years agoFS-6276 move our include first so that ours is used and not the system if its present
Brian West [Wed, 26 Feb 2014 22:21:48 +0000 (16:21 -0600)] 
FS-6276 move our include first so that ours is used and not the system if its present

12 years agoFS-6271 --resolve Adding support for smoothing the min-cpu-idle by X number of second...
William King [Wed, 26 Feb 2014 20:36:45 +0000 (12:36 -0800)] 
FS-6271 --resolve Adding support for smoothing the min-cpu-idle by X number of seconds. Adds the cpu-idle-smoothing-depth into the conf/autoload_configs/switch.conf.xml configs with a default value of 30 seconds.

12 years agoadding sipcli to this one too already been using it on conf.fs.org
Brian West [Wed, 26 Feb 2014 20:31:39 +0000 (14:31 -0600)] 
adding sipcli to this one too already been using it on conf.fs.org

12 years agobump
Anthony Minessale [Wed, 26 Feb 2014 20:08:45 +0000 (01:08 +0500)] 
bump

12 years agobump v1.5.8
Anthony Minessale [Wed, 26 Feb 2014 20:07:25 +0000 (01:07 +0500)] 
bump

12 years agoFS-6275 --resolve I don't think this is a problem with latest firefox + latest maste...
Anthony Minessale [Wed, 26 Feb 2014 16:35:38 +0000 (21:35 +0500)] 
FS-6275 --resolve  I don't think this is a problem with latest firefox + latest master but i'll ensure it with this change.  Anyone into testing webrtc should always use master until an official 1.4 is released.

12 years agofix --disable-srtp
Brian West [Wed, 26 Feb 2014 14:05:22 +0000 (08:05 -0600)] 
fix --disable-srtp

12 years agoFS-5834 --resolve
Tamas Cseke [Wed, 26 Feb 2014 12:42:20 +0000 (13:42 +0100)] 
FS-5834 --resolve

12 years agoFS-5975 --resolve
Tamas Cseke [Wed, 26 Feb 2014 12:34:50 +0000 (13:34 +0100)] 
FS-5975 --resolve

12 years agoAdd cdr queueing
Tamas Cseke [Wed, 26 Feb 2014 12:19:33 +0000 (13:19 +0100)] 
Add cdr queueing

Can be enabled with 'queue-capacity' param
Cdrs can be pushed to the queue and posted in a separate
thread to avoid bllocking the session with a slow web server

12 years agoFS-6270 add client_port to SIP Registration events
Brian West [Wed, 26 Feb 2014 03:49:35 +0000 (21:49 -0600)] 
FS-6270 add client_port to SIP Registration events

12 years agoFS-5937
Anthony Minessale [Tue, 25 Feb 2014 23:02:47 +0000 (04:02 +0500)] 
FS-5937

12 years agouncomment 48k
Brian West [Tue, 25 Feb 2014 23:01:04 +0000 (17:01 -0600)] 
uncomment 48k

12 years agoFS-6015: --resolve sqlite cross compile fixes
Michael Jerris [Tue, 25 Feb 2014 19:26:55 +0000 (14:26 -0500)] 
FS-6015: --resolve sqlite cross compile fixes

12 years agoFS-5937 now with more working
Brian West [Tue, 25 Feb 2014 15:55:21 +0000 (09:55 -0600)] 
FS-5937 now with more working

12 years agoFS-6267 I was able to replicate this issue, I've tweaked this to prevent -n
Brian West [Tue, 25 Feb 2014 14:44:54 +0000 (08:44 -0600)] 
FS-6267 I was able to replicate this issue, I've tweaked this to prevent -n

12 years agoRevert "fix compiler warning vs2010" - Jeff is faster than I
Seven Du [Tue, 25 Feb 2014 06:24:34 +0000 (14:24 +0800)] 
Revert "fix compiler warning vs2010" - Jeff is faster than I

This reverts commit fa9217117a9a729b424fde83fcc9a66a733a8282.

12 years agofix compiler warning vs2010
Seven Du [Tue, 25 Feb 2014 06:17:28 +0000 (14:17 +0800)] 
fix compiler warning vs2010

12 years agoFS-5937: i need to build a test rig for this, go go gadget iphone commit
Brian West [Tue, 25 Feb 2014 05:44:35 +0000 (23:44 -0600)] 
FS-5937: i need to build a test rig for this, go go gadget iphone commit

12 years agofix compiler warning vs2010
Jeff Lenk [Tue, 25 Feb 2014 05:29:15 +0000 (23:29 -0600)] 
fix compiler warning vs2010

12 years agomask warnings libsrtp windows 32bit
Jeff Lenk [Tue, 25 Feb 2014 04:41:46 +0000 (22:41 -0600)] 
mask warnings libsrtp windows 32bit

12 years agobreak CF_MEDIA_PAUSE to CF_AUDIO_PAUSE and CF_VIDEO_PAUSE so we can control them...
Seven Du [Tue, 25 Feb 2014 03:22:11 +0000 (11:22 +0800)] 
break CF_MEDIA_PAUSE to CF_AUDIO_PAUSE and CF_VIDEO_PAUSE so we can control them separately

12 years agoFS-6151 --resolve Make the module unloadable
Marc Olivier Chouinard [Tue, 25 Feb 2014 02:21:51 +0000 (21:21 -0500)] 
FS-6151 --resolve Make the module unloadable

12 years agowindows update libsrtp to use openssl
Jeff Lenk [Tue, 25 Feb 2014 02:12:43 +0000 (20:12 -0600)] 
windows update libsrtp to use openssl

12 years agoFS-6016 --resolve
Marc Olivier Chouinard [Tue, 25 Feb 2014 02:00:33 +0000 (21:00 -0500)] 
FS-6016 --resolve

12 years agoFS-5370 --resolve
Marc Olivier Chouinard [Tue, 25 Feb 2014 01:41:24 +0000 (20:41 -0500)] 
FS-5370 --resolve

12 years agoFS-5914 --resolve
Marc Olivier Chouinard [Tue, 25 Feb 2014 01:37:10 +0000 (20:37 -0500)] 
FS-5914 --resolve

12 years agoFS-5115 --resolve
Marc Olivier Chouinard [Tue, 25 Feb 2014 01:25:31 +0000 (20:25 -0500)] 
FS-5115 --resolve

12 years agoFS-5158 --resolve
Marc Olivier Chouinard [Tue, 25 Feb 2014 01:09:04 +0000 (20:09 -0500)] 
FS-5158 --resolve

12 years agoMerge remote-tracking branch 'origin/master' into moy/tport-log-fix
Moises Silva [Tue, 25 Feb 2014 00:39:17 +0000 (19:39 -0500)] 
Merge remote-tracking branch 'origin/master' into moy/tport-log-fix

12 years agoFS-5543 --resolve
Marc Olivier Chouinard [Tue, 25 Feb 2014 00:07:32 +0000 (19:07 -0500)] 
FS-5543 --resolve

12 years agoFS-5412 --resolve use getlib to build radius client and stop statically defining...
Ken Rice [Mon, 24 Feb 2014 22:56:48 +0000 (16:56 -0600)] 
FS-5412 --resolve use getlib to build radius client and stop statically defining path to freeradius-client.so

Thanks Sven Neuhaus <neuhaus@tyntec.com>

12 years agoFS-6017: --resolve no reason to have extra check for cross compile
Michael Jerris [Mon, 24 Feb 2014 22:43:21 +0000 (17:43 -0500)] 
FS-6017: --resolve  no reason to have extra check for cross compile

12 years agoFS-5822: --resolve
Michael Jerris [Mon, 24 Feb 2014 22:39:46 +0000 (17:39 -0500)] 
FS-5822: --resolve

12 years agoFS-5755 minor regression
Anthony Minessale [Mon, 24 Feb 2014 22:15:44 +0000 (03:15 +0500)] 
FS-5755 minor regression

12 years agoremove hack
Michael Jerris [Mon, 24 Feb 2014 22:08:58 +0000 (17:08 -0500)] 
remove hack

12 years agoFS-6240 --resolve
Marc Olivier Chouinard [Mon, 24 Feb 2014 22:06:01 +0000 (17:06 -0500)] 
FS-6240 --resolve

12 years agoFS-6227 wip
Brian West [Mon, 24 Feb 2014 21:47:03 +0000 (15:47 -0600)] 
FS-6227 wip

12 years agohack for smartos
Michael Jerris [Mon, 24 Feb 2014 21:19:51 +0000 (16:19 -0500)] 
hack for smartos

12 years agoFS-5154 --resolve
Marc Olivier Chouinard [Mon, 24 Feb 2014 21:12:50 +0000 (16:12 -0500)] 
FS-5154 --resolve