Commit Graph
25609 Commits
Author SHA1 Message Date
Travis Cross fdee9d940a 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).
2014-03-02 10:36:14 +00:00
Travis Cross a1b536be3a Fix missing/duplicate declaration
This looks like a copy/paste error.

FS-6037 --resolve

Thanks-to: David Sanders <dsanders@pinger.com>
2014-03-02 10:35:57 +00:00
Travis Cross 8598e0c50e Add man page for freeswitch
This man page is written in ronn format (package ruby-ronn on Debian)
which is a subset of markdown that can be converted to nroff man
pages, HTML, and other formats.
2014-03-02 10:35:24 +00:00
Travis Cross c31aa5d38f Log channel UUID by default
We want people to have this on so that when we're looking at reported
log files we can tell what is going on.
2014-03-02 10:29:29 +00:00
Travis Cross e51cca5991 Document purpose of sofia profile aliasing 2014-03-02 10:26:16 +00:00
Travis Cross 5d706aa4fc Optimize switch_split_user_domain a bit
This avoids searching the string repeatedly with strchr.
2014-03-02 09:49:21 +00:00
Travis Cross 1060a188ce 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.
2014-03-02 09:29:23 +00:00
Travis Cross 2dcac7d350 Fix switch_split_user_domain handling of sips: URLs
In commit 7efeabbd88 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 7d2456ea27 Brian fixed the
regression, but introduced a regression causing sips:example.com URLs
to be handled incorrectly.
2014-03-02 08:12:33 +00:00
Raymond Chandler 3ad8d246b0 use newSQL 2014-03-02 03:11:12 -05:00
Brian West 002be95364 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) 2014-03-01 10:06:47 -06:00
Anthony Minessale 7ef86923aa FS-5895 --resolve 2014-03-01 04:55:20 +05:00
Anthony Minessale 6b49d591a9 add sip_force_nat_mode so you can engange nat mode manually 2014-03-01 04:43:18 +05:00
Travis Cross b61800cbf2 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 d63323977f and
5259814aee 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
2014-02-28 23:14:42 +00:00
Anthony Minessale 5ba089e11f FS-5461 --resolve you tricked me I said make 1 patch with all of it
Conflicts:
	src/mod/applications/mod_conference/mod_conference.c
2014-03-01 00:28:40 +05:00
Anthony Minessale e7bb220c6b FS-4441 FS-5461 --resolve
Conflicts:
	src/mod/applications/mod_conference/mod_conference.c
2014-03-01 00:26:09 +05:00
Anthony Minessale 35d7dbe809 add sip_refer_to_params 2014-03-01 00:13:49 +05:00
Anthony Minessale 89c5355cb8 FS-6168 --resolve 2014-02-28 23:30:51 +05:00
Anthony Minessale a22deb92d1 FS-6287 this should either prevent the problem or spell out what is causing it. please test 2014-02-28 23:23:49 +05:00
Anthony Minessale b0d7ee2f86 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 2014-02-28 21:58:15 +05:00
Anthony Minessale 7763cfebc0 FS-6289 --resolve regression from 1fba654845 2014-02-28 21:43:57 +05:00
Anthony Minessale f3059cdf49 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 2014-02-28 07:16:05 +05:00
Travis Cross 3366fe95b0 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>
2014-02-27 23:34:50 +00:00
Brian West a048d2b638 FS-5934 force_transfer_context not being honored if you happen to do an attended this patch makes perfect sense. 2014-02-27 14:11:16 -06:00
Anthony Minessale a0ba6de40d FS-6272 --resolve
Conflicts:
	src/include/switch_types.h
2014-02-27 03:26:22 +05:00
Brian West e8c163c1ee FS-6250 fix regression from 7efeabbd88, don't discrimiate against people that have s as the first character in their user names 2014-02-27 02:27:39 +05:00
William King aabf813ae1 FS-5888 --resolve Rather than changing the default behavior I've updated the log line to be more accurate. Also fixed the problem where the delay was being overwritten. 2014-02-23 17:22:36 -08:00
Travis Cross f009fd47a1 Add note about the supported Debian release for building 2014-02-23 18:29:12 +00:00
Travis Cross 619dec2be2 Describe workaround in Debian/README.source
Pre-jessie versions of Debian's mk-build-deps tool rely on libraries
that do not correctly parse debian/control, so we have to clip it down
to a smaller subset of the format to build on e.g. wheezy.
2014-02-23 18:29:12 +00:00
Travis Cross 9b5c8047b8 Reorganize sections in debian/README.source 2014-02-23 18:29:11 +00:00
Travis Cross 0030d073fe Clean up introduction 2014-02-23 18:29:11 +00:00
Travis Cross 3514e68c69 Update, organize, and improve debian/README.source 2014-02-23 18:29:10 +00:00
Travis Cross ab43ea1b35 Make debian/README files more markdown-like 2014-02-23 18:29:10 +00:00
Travis Cross ba91a8acaf Add description of util.h -l usage 2014-02-23 18:27:41 +00:00
Travis Cross 10a5b71ee7 Use -i to simplify debian/README.source 2014-02-23 18:27:41 +00:00
Anthony Minessale 5537898e00 improve make -j detection to tolerate FS build being launched from within another make file 2014-02-22 19:18:11 -08:00
Seven Du c0481e62f8 FS-6235 try this patch, this will send you a DOWN state at last 2014-02-23 08:33:27 +08:00
Anthony Minessale 518b98fd9d FS-6235 2014-02-23 05:17:21 +05:00
Ken Rice a9c0a46141 FS-4620 --resolve expose to dl_to_user and dl_to_host as chan vars 2014-02-21 16:51:40 -06:00
Anthony Minessale ce3b875383 make color more portable 2014-02-21 15:49:33 -06:00
Anthony Minessale 3f406f8092 run module integrity check post-build 2014-02-21 15:42:56 -06:00
Ken Rice 58efd74528 oops 2014-02-21 15:12:45 -06:00
Ken Rice f067d23034 FS-5512 --resolve ; clean up PostgreSQL libpq client detection in configure
Clean up the libpq autodection and make sure it functionswith both pg_config and pkg-config.

if you are installing into a non-FHS standard location such as what happens with RPMs from the Postgres yum repo, you will need to make sure pkg-config can fild the libpq.pc file.
example: export PKG_CONFIG_PATH=/usr/pgsql-9.3/lib/pkgconfig

you may also want to make sure your path can find pg_config
example: export PATH=/usr/pgsql-9.3/bin:$PATH
2014-02-21 14:58:38 -06:00
Anthony Minessale 39cd0c5f45 make hangup or end of bridge trigger unhold action for held legs 2014-02-21 13:26:15 -06:00
Anthony Minessale a9115f8c5b Fix make -j 2014-02-20 03:58:46 +05:00
Anthony Minessale b498361532 FS-6241 --resolve 2014-02-20 01:26:12 +05:00
Ken Rice 1d5af08734 svn has been long retired
also merge bkw's typo aliases

Conflicts:
	support-d/.bashrc
2014-02-19 13:05:57 -06:00
Travis Cross f7d5eba2ea Exit non-zero from build-all on any build failure
./debian/util.sh build-all will do a number of builds in sequence or
parallel.  We now track if any of those builds fail to return a
.changes file and exit non-zero.
2014-02-18 21:16:05 +00:00
Raymond Chandler e33b01511b FS-5845 --resolve 2014-02-17 16:15:24 -05:00
Nathan Neulinger bdc788f39e FS-6231 add support for sending call waiting tone when a simultaneous call is received --resolve 2014-02-17 13:24:52 -06:00
Anthony Minessale 98cff8ad38 FS-6002 --resolve there is no switch_core_media in stable, this should do it 2014-02-17 22:32:41 +05:00