16806 Commits

Author SHA1 Message Date
E. Schmidbauer
01dcb74f33 FS-7187 add switch_cache_db_create_schema() to test for SCF_AUTO_SCHEMAS flag 2015-01-22 15:41:22 -05:00
Anthony Minessale
608d3e2425 wtf 2015-01-22 03:09:59 -06:00
Anthony Minessale
90d3cb633c fix media reload on verto and sip re-invites 2015-01-22 03:07:50 -06:00
Michael Jerris
062ddcfa6f FS-7174: #resolve #comment make sure not to leave any sessions readlocked in bridge_early_media=true in case one in the middle of the list is abandoned 2015-01-21 17:16:56 -05:00
Anthony Minessale
f770b318cf FS-7106 #resolve 2015-01-21 18:59:05 -06:00
Anthony Minessale
95a8efb174 up the ice failover val to 3 sec 2015-01-21 01:21:31 -06:00
Anthony Minessale
b74448462d FS-7173 #resolve #comment please verify fix in master 2015-01-20 19:55:50 -06:00
Brian West
861961bd4d FS-7180: when using system lua, properly link against reanmed library versions on debian for mod_lua 2015-01-20 13:18:12 -06:00
Michael Jerris
749ced5f60 FS-7180: add --enable-sytem-lua configure arg to allow building mod_lua against system lua and allow mod_lua to build against lua 5.1 or 5.2 2015-01-20 13:03:06 -05:00
Michael Jerris
07d09b7869 FS-7180: add --enable-sytem-lua configure arg to allow building mod_lua against system lua and allow mod_lua to build against lua 5.1 or 5.2 2015-01-20 11:48:00 -05:00
Anthony Minessale
46cf8a4dce fix seg in ice rtp code 2015-01-17 00:22:11 -06:00
Anthony Minessale
dc00863d5e fix parsing error in verto 2015-01-16 15:47:27 -06:00
Brian West
e408f409fe FS-7157 #resolve 2015-01-16 09:31:08 -06:00
Brian West
c880f9a9dd FS-7156 #resolve 2015-01-16 09:29:10 -06:00
Brian West
acbeaec1bd #resolve FS-7162 #comment test 2015-01-16 09:28:28 -06:00
Flavio Grossi
378d35058f FS-7004 mod_sndfile: use correct permissions to create new files
libsndfile's sf_open() function doesn't allow to pass file permissions. To fix
this, new files are created with the correct mode before passing them to
libsndfile.
2015-01-14 14:22:02 +01:00
Anthony Minessale
59a9669485 prevent crash when calling mediaStats JSON function in certian circumstances 2015-01-13 21:49:41 -06:00
Chris Rienzo
85fbddc655 FS-7150 #resolve #comment [mod_rayo] added param add-variables-to-events which will add channel variables to <offer>, <ringing>, <answered>, and <end> if set to true. Default is false. 2015-01-13 16:01:02 -05:00
Brian West
38d25f151d FS-7149 #comment Linux part complete. 2015-01-13 13:40:16 -06:00
Anthony Minessale
403d32ce90 FS-7148 #resolve #comment declinatio mortuus obfirmo! 2015-01-12 23:20:39 -06:00
Anthony Minessale
3e6ffbcf06 FS-7144 #resolve 2015-01-12 18:55:32 -06:00
Anthony Minessale
a2b5356dae FS-7131 #comment please test 2015-01-09 21:47:28 -06:00
Mike Jerris
c70c32d3e2 Merge pull request #146 in FS/freeswitch from ~DDRAGIC/freeswitch:bugfix/FS-7121-switch_events_match-matches-any-substring to master
* commit '1c16d5d8b041d0fac3463f5f88eaaa1f60aec24b':
  FS-7121 change switch_events_match() to use strcmp
2015-01-09 11:59:16 -06:00
Mike Jerris
eceb399c3d Merge pull request #154 in FS/freeswitch from ~SPDITNER/freeswitch-fs-7136:master to master
* commit '85b8631d621f71a5345bc00627f938eb85ffef03':
  Add conference member data to floor event
2015-01-09 11:47:09 -06:00
Seven Du
d199060249 FS-7036 #resolve #comment fixed in master
originate takes care of new thread on outgoging calls, extra thread_launch causes race
2015-01-09 08:01:19 +08:00
Mike Jerris
ec827d0e6d Merge pull request #141 in FS/freeswitch from ~HDIOGENES/freeswitch-fs-7088:master to master
* commit 'ece5cd52db59632b861fa3028f6f885fe8e13551':
  FS-7088 #resolve Set flag to enable core dump from non-root users.
2015-01-08 10:07:52 -06:00
Seven Du
1ed290e930 follow commit 0bec209a, we should still allow NULL arg 2015-01-08 11:40:22 +08:00
Michael Jerris
6afc2b5a2e FS-6688: #resolve fix resubscribe through proxy with record route when the resub does not have a record route and the route has uri params 2015-01-07 17:41:19 -05:00
Anthony Minessale
5187aaed79 FS-7117 #comment revert bf5210bf72d6c4b0d9b599a5a07ee59a9c947436 and implement it in ws.c please be sure to learn to use git commit hooks to properly associate commits with jiras 2015-01-07 17:17:28 -06:00
Simon Ditner
85b8631d62 Add conference member data to floor event
Between v1.2 and v1.4, member data was factored out. This makes it so
that one can not determine who the originator of a floor change event
is.

With this change, the meta data related to the conference member whom
initiated the floor change event is added to the event.

See FS-7136
2015-01-06 12:43:16 -05:00
Anthony Minessale II
25404c121e Merge pull request #153 in FS/freeswitch from ~JONHEIER/freeswitch-fs-7137:master to master
* commit '165f54216c47a5343ac0c7a6ac62fd6a9de57b5f':
  mod_sofia: Set sip_to_tag on ringing indication for inbound channels.
2015-01-06 10:32:21 -06:00
Anthony Minessale
c460c00b55 FS-7134 #resolve 2015-01-06 16:29:38 -06:00
Jon Bergli Heier
165f54216c mod_sofia: Set sip_to_tag on ringing indication for inbound channels.
When bridging a call, the to-tag used in the outgoing 180 Ringing
message for the inbound channel is unavailable until the channel has
been answered. For the outgoing channel this value is already available
through the sip_to_tag variable via the event socket.

This is solved this by setting sip_to_tag to the local leg's tag when
receiving a ringing indication for inbound channels. This will also make
the variable available in the CHANNEL_PROGRESS event through event
socket.

FS-7137 #resolve
2015-01-06 17:20:22 +01:00
Anthony Minessale
f48ec61d54 FS-7132 #resolve 2015-01-06 03:19:16 -06:00
Humberto Diógenes
ece5cd52db FS-7088 #resolve Set flag to enable core dump from non-root users.
When FreeSWITCH is running as a non-privileged user, we need to enable
PR_SET_DUMPABLE for it to be able to generate core dumps.

Instead of a generic __linux__ check, there's a new configure.ac flag
to check directly for prctl.h, which could also be used in other
places in the code.
2015-01-05 21:06:29 -03:00
Dušan Dragić
1c16d5d8b0 FS-7121 change switch_events_match() to use strcmp
Use strcmp() in place of strstr() so switch_events_match() matches
only full event subclass name.
2015-01-03 22:56:19 +01:00
Seven Du
0bec209a9b fix fsapi in verto, the json_api_function expects cmd & arg in the data object 2015-01-03 16:06:35 +08:00
Brian West
1965b3b18d FS-7106 #resolve Fix concurrency issue 2014-12-30 09:06:32 -06:00
Seven Du
bf5210bf72 retry send when the socket sent less than we want 2014-12-30 13:16:28 +08:00
Seven Du
a961b0e90b fix type, send returns ssize_t 2014-12-30 13:13:52 +08:00
Michael Jerris
a067a49b39 FS-7046 fix warning introduced from b341ff7 properly 2014-12-29 13:49:42 -05:00
Brian West
65631ed36b Revert FS-7004 pending updated fixed for that issue from the original author. 2014-12-29 10:02:33 -06:00
Travis Cross
750b1dd807 Allow streaming binary data from mod_memcache
Previously data returned from `memcache get` would be truncated at the
first NULL byte.

By using raw_write_function here to stream the returned memcache
value, we allow mod_memcache to be used for audio and other arbitrary
binary data.

Dave has a format module planned that relies on this.

Thanks-to: Dave Olszewski <dolszewski@marchex.com>

FS-7114 #resolve
2014-12-28 00:42:01 +00:00
Seven Du
0a66db6f12 FS-7111 #resolve please review 2014-12-26 13:28:11 +08:00
Travis Cross
bca7216fdd Run dos2unix on mod_expr HTML files 2014-12-25 10:38:10 +00:00
Travis Cross
65e678ba1d Fix mod_expr clamp function
The clamp(v,a,b) function wraps v around the interval [a,b).

However prior to this commit, `clamp` was ignoring the third argument
and using the second argument again in its place.  This resulted in a
division by zero.  Hence `clamp` didn't work at all.

Even if the arguments were treated correctly, `clamp` incorrectly
multiplied rather than added whenever v < a.  This would have produced
bogus results.  (Thanks to Shona McNeill for pointing this out.)

Note that as implemented, `clamp` is undefined for b >= a.

These errors are present in the last upstream C version, v2.7.
They've been corrected in the C++ version that upstream now maintains
instead.

Thanks-to: Shona McNeill <prufrax@googlemail.com>

FS-7070 #resolve
2014-12-25 10:18:31 +00:00
Seven Du
763e6aa962 FS-7046 fix warning introduced from b341ff7 2014-12-24 08:08:04 +08:00
Seven Du
7798b2fd40 FS-6984 set some default video rate 2014-12-24 07:53:11 +08:00
Michael Jerris
067cb0f0f2 FS-7100: make buffer for sub contact big enough 2014-12-22 17:19:08 -05:00
Jeff Lenk
af6b23a124 FS-7046 fix some additional warnings 2014-12-22 15:12:22 -06:00