Commit Graph

25804 Commits

Author SHA1 Message Date
Anthony Minessale da04da87df FS-6679 #resolve 2015-05-04 15:17:40 +00:00
Stan Gor 5dfc7cf803 Add sofia gateway parameter "destination-prefix"
FS-5497 add sofia gateway parameter destination-prefix in case you need to send Invites to your provider with prefix only to this gateway
2014-11-20 22:30:08 +00:00
Travis Cross 6a69eae4fc Improve init error message when FS is unconfigured
Depending on which packages are installed, the README.Debian file
might not be there, so we'll spell out the instructions more directly.
2014-11-06 16:33:23 +00:00
Travis Cross 2054230571 Avoid mod_shout on sid/jessie for now
On sid the build breaks on "undefined reference to symbol
'ogg_sync_init'".  We'll just avoid mod_shout on sid/jessie until this
is worked out.
2014-11-04 08:10:50 +00:00
Travis Cross 1922dfdd63 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.
2014-10-30 00:27:22 +00:00
Anthony Minessale 30a950b5a9 actual fix for commit cff5209ca3 which was in the wrong place 2014-10-16 16:04:33 -05:00
Anthony Minessale 725a121086 revert cff5209ca3 2014-10-16 14:40:18 -05:00
Anthony Minessale 50ee55b84f fix leak of nua handle due to reference counting that must be between 3 to 7 years old. Effects all calls with auth/challenge on INVITE 2014-10-13 18:07:00 -05:00
Travis Cross 60b36539eb 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.
2014-10-10 19:25:16 +00:00
Chris Rienzo 1eebeaa7c3 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. 2014-10-09 11:55:45 -04:00
Anthony Minessale 75127619c6 FS-6713 #comment remove debug 2014-09-26 17:30:04 +00:00
Anthony Minessale 9ee5731613 FS-6851 #resolve 2014-09-24 20:40:41 +05:00
Anthony Minessale b65939fc85 FS-6806 #resolve #comment off by 1 error in last fix 2014-09-10 21:06:52 +05:00
Travis Cross bbe2531cb0 Avoid overaggressive chmod/chown on upgrade
It's reasonable for someone to change one or more of these directory
permissions after installation.  We shouldn't touch more than we need
on upgrade.  Each directory needs to be owned by the freeswitch user,
but past that we can leave discretion to the system administrator.
2014-09-10 07:32:19 +00:00
Ken Rice 6d6fc8c131 git.freeswitch.org is DEAD... Long Live git via http://stash.freeswitch.org 2014-09-10 07:31:51 +00:00
Brian West ae57b94f39 FS-6642 --resolve 2014-09-10 07:31:42 +00:00
Travis Cross 095e5028ce Create freeswitch-timezones debian package
This installs the timezone file such that configurations can reference
it rather than copying it.
2014-09-10 07:31:16 +00:00
William King df7bb2132d Change to ncwait so that the service start script will block until FS is actually started 2014-09-10 07:30:58 +00:00
Travis Cross 790fa8c6c5 Fix build on Debian sid/jessie
Debian has packaged libpq version 9.4beta2.  We were parsing the minor
version as "4beta2" and then trying to treat it as a constant integer,
which obviously doesn't work.

There's not really a perfect way to handle versions like this, so
we'll just pretend it's 9.4.0.
2014-09-09 13:00:05 +00:00
Anthony Minessale 1c697be17c FS-6806 #resolve
Conflicts:
	src/mod/endpoints/mod_sofia/mod_sofia.c
	src/mod/endpoints/mod_sofia/sofia_presence.c
2014-09-09 00:25:30 +05:00
Brian West 51f4742087 FS-6803 #resolve 2014-09-09 00:10:41 +05:00
William King 9d68e99268 FS-6303 --resolve 2014-08-14 19:45:47 +00:00
Chris Rienzo c902d34666 mod_http_cache: fix configuration so that carriage returns or other whitespace is OK around S3 keys 2014-08-12 16:29:01 -04:00
Chris Rienzo f0ec893f43 mod_http_cache: fixed S3 URL parser to allow mybucketsubdomain.com.s3.amazonaws.com 2014-08-12 16:08:43 -04:00
Travis Cross cda7ecc4b2 Fix line endings per .gitattributes 2014-08-09 02:13:22 +05:00
Nathan Neulinger d0aaf0cc16 mod_skinny: fix calloc argument ordering CID: 1214236 1214235 2014-08-05 22:14:21 +05:00
Anthony Minessale b5dec7d142 FS-6713 #resolve 2014-08-04 23:53:56 +05:00
Anthony Minessale d9e155f3e3 FS-6440 regression from this patch on single CPU or VM machines causes startup race 2014-07-11 10:59:36 -05:00
Anthony Minessale 76f6507ea6 fix jb endless loop of missing packets 2014-07-03 07:56:44 -05:00
Chris Rienzo 2b62885f21 fs_cli: fix compiler error on CentOS 6 caused by recent short uuid logging change 2014-06-30 17:31:13 -04:00
Brian West 1139d47533 FS-6621 2014-06-24 14:13:29 -05:00
Michael Jerris 33c5c5e3aa remove useless variable 2014-06-24 10:32:04 -05:00
Brian West e46b7dde38 git push
Merge branch 'v1.2.stable' of ssh://git.freeswitch.org/freeswitch into v1.2.stable
2014-06-23 16:40:09 -05:00
Brian West de15944e38 FS-6612 backport to 1.2 for endusers still on 1.2 that require this 2014-06-23 16:40:04 -05:00
Anthony Minessale 9dde4b1548 sync up jb changes 2014-06-18 01:48:47 +05:00
Travis Cross 8e975d8fed Use portable version of strerror_r()
FS-6596 --resolve
2014-06-16 13:52:03 +00:00
Anthony Minessale d298f8688a FS-6440 --resolve 2014-06-13 05:47:54 +05:00
Michael Jerris 269c3fe923 FS-6533: --resolve fix gcc 4.9 warning due to useless right-hand operand of comma expression 2014-06-11 05:17:05 +00:00
Michael Jerris c29e4b0cf0 FS-6538: silence gcc 4.9 throwing incorrect warning 2014-06-11 05:17:04 +00:00
Travis Cross 24ae878ac0 Override config on cowbuilder update
This allows new settings, e.g. new mirrors, to propagate into the
chroot images.
2014-06-11 01:07:08 +00:00
Travis Cross 5eb3a7ebb0 Retry for longer on failed cowbuilder operations
There's really nothing to do but retry.
2014-06-11 00:57:06 +00:00
Travis Cross 8f6a51015f Retry the cowbuilder create operation on failure
Sometimes while the debian repositories are updating there are
sporadic signature failures.  It's annoying to have these break the
build, and the only thing to do is to retry, so we'll retry here
automatically.  We were already retrying on the update operation that
can fail in a similar manner.
2014-06-11 00:57:04 +00:00
Travis Cross 0fbef4a328 Check for execv(3) errors when reincarnating
When -reincarnate-reexec is given we run execv to restart FS.  If
argv[0] isn't a full pathname then execv is going to fail.  While not
common for a FS system started by init, this is a common occurrence
when FS is started from the shell.

Now if execv fails, we'll try execvp.  If that fails too then we'll
fall back on the normal reincarnation behavior.

Previously what would happen in that case is god would descend from
the heavens and become mortal.  Leaving heaven absent, all hope for
reincarnation was lost.

(That is, we'd simply return from reincarnate_protect and the
supervisor process would become the new instance of FS, so the trick
would only work once.)
2014-06-10 23:57:31 +00:00
Travis Cross aa10023269 Add fsctl command to summon reincarnation
If you start freeswitch with -reincarnate or -reincarnate-reexec, FS
will restart automatically in the event of an unexpected exit.

Currently, you can cause FS to immediately call exit(0) with `fsctl
shutdown now`, or you can have it call abort() with `fsctl crash`.
Which are both nice, but if you have reincarnation engaged, you really
might want FS to call exit([non-zero]) so the great supervisor
immediately breathes life back into your system.

This is now available via `fsctl shutdown reincarnate now`.
2014-06-10 23:57:30 +00:00
Travis Cross ca0d10f283 Improve a parameter name for fs_cli
What we momentarily called log-uuid-chars is now better called
log-uuid-length.  Setting log-uuid-length will specify a truncation
length for UUIDs displayed by setting log-uuid.
2014-06-10 23:57:29 +00:00
Travis Cross 8af2469c71 Add log-uuid-short option to fs_cli
If log-uuid-short is set, or -S is passed to fs_cli, we only display
the first 8 hex digits of the UUID.  The log-uuid-chars option may
instead be set to specify some other truncation length for the UUID.
2014-06-10 23:57:28 +00:00
Travis Cross 9782b8bbea Convert esl_true and esl_false to functions
Prior to this commit, an expression such as:

  esl_true("true") ? 42 : 0

...would return 1 rather than 42.
2014-06-10 23:57:28 +00:00
Chris Rienzo 9ebfd2f337 freeswitch-config-rayo.spec remove some dependencies to high def audio and specific fs version 2014-06-10 15:01:47 -04:00
Anthony Minessale 7b74ee3955 fix regression from regression 2014-06-03 05:26:24 +05:00
Anthony Minessale 7057d7d35e FS-6446 regression fixed 2014-06-03 05:11:34 +05:00