16217 Commits

Author SHA1 Message Date
Brian West
a99df48984 FS-4861 improve logging when using c++ wrapper 2014-07-09 09:09:45 -05:00
Brian West
9a4e29d785 FS-4870 2014-07-09 09:08:05 -05:00
Brian West
28e90addf2 FS-5501 fire event on profile start 2014-07-09 08:53:14 -05:00
Brian West
ec008234e9 FS-5516 allow get params in URL 2014-07-09 08:52:01 -05:00
Brian West
a79a9ea9ed FS-6373 2014-07-09 08:25:54 -05:00
Brian West
8951d26f8c FS-6626 fix winter DST issue 2014-07-09 07:58:11 -05:00
Brian West
e1d814b7e7 FS-6565 2014-07-09 07:45:55 -05:00
Brian West
99d0f134e7 FS-6566 2014-07-09 07:44:37 -05:00
Brian West
cdbed1f66e Update to use PocketSphinx 0.8 2014-07-05 09:14:06 -05:00
Travis Cross
c17d58b856 Refactor the curl PUT read callback 2014-07-04 07:47:04 +00:00
Travis Cross
2fea35282f Advance the data_stream data pointer 2014-07-04 07:43:59 +00:00
Travis Cross
a84b76be2a Add PUT support to mod_curl curl api and app
With both the `curl` api command and application, you can now ask for
data to be PUT where previously it could only be sent via POST.
2014-07-04 07:40:13 +00:00
Mike Jerris
e9ef4b143c Merge pull request #2 in FS/freeswitch from ~KATHLEEN.KING/freeswitch-fork:doxygen-switch_apr.h to master
* commit '64fc3f7934888175b80e0cdd3a065d717d0a9014':
  Changed the function parameter name in the function definition to match the updated parameter name in the function declaration. #doxygen
  Changed the variable name for clarity.
2014-07-03 16:45:52 -05:00
Kathleen King
64fc3f7934 Changed the function parameter name in the function definition to
match the updated parameter name in the function declaration. #doxygen
2014-07-03 14:19:33 -07:00
Anthony Minessale
831d5892b9 preserve timer name for recovery 2014-07-03 23:50:14 +05:00
Mike Jerris
64763398fa Merge pull request #4 in FS/freeswitch from ~KATHLEEN.KING/freeswitch-fork:doxygen-switch_regex.h-2 to master
* commit '35755d37d5dd47c2f8470ca9a294b55f124ee1e7':
  Fixed parameter name of variable in switch_regex_match_partial. #doxygen
2014-07-03 12:03:04 -05:00
Ken Rice
8732abef40 test commit hooks, whitespace change only 2014-07-03 08:50:04 -05:00
Brian West
4a51650b16 reswig 2014-07-03 08:09:18 -05:00
Kathleen King
f47ecb25a1 Changed the variable name for clarity. 2014-07-02 20:10:31 -07:00
Kathleen King
35755d37d5 Fixed parameter name of variable in
switch_regex_match_partial. #doxygen
2014-07-02 17:46:55 -07:00
Anthony Minessale
39200cd13b increase memory for buffers to hold new decoded stereo codecs 2014-07-03 02:55:21 +05:00
Anthony Minessale
99f15662e2 fix jb endless loop of missing packets 2014-07-03 02:16:32 +05:00
Anthony Minessale
9e0d1d6841 only count unmuted channels in positioning 2014-07-02 22:57:29 +05:00
Jeff Lenk
9807a92a70 vs2010 reswig 2014-07-02 12:46:26 -05:00
Anthony Minessale
f0d16d0d18 expand positioning api usage 2014-07-02 04:49:16 +05:00
Anthony Minessale
1518240bab FS-6637 try this instead 2014-07-01 23:59:40 +05:00
Anthony Minessale
0f017814dd FS-6637 nevermind, this is already in the code 2014-07-01 23:53:45 +05:00
Anthony Minessale
5d70df9b1c FS-6637 try this patch 2014-07-01 22:32:02 +05:00
Anthony Minessale
2423fc7d0f FS-6540 This should proxy all refers now, the param has changed to proxy-refer 2014-06-30 12:53:22 -05:00
Anthony Minessale
7f9348dbc3 fix volume adjustments in stereo conference 2014-06-30 23:39:42 +05:00
Anthony Minessale
41a7d1cf31 some refactoring to make new stereo stuff more stable 2014-06-30 23:00:45 +05:00
Anthony Minessale
591ea9e9ca tweaks 2014-06-30 04:39:46 +05:00
Anthony Minessale
0bb7f1659f check for member channel 2014-06-30 01:59:21 +05:00
Travis Cross
c1f1f8b98e Check for too many SRTP errors before warning
We're checking whether we've hit the warning threshold before checking
whether we should just end the call.  This causes an off-by-one error
where we take one SRTP error more than intended.

This commit reverses the order of the tests.
2014-06-29 20:49:46 +00:00
Anthony Minessale
0ac78cacc3 add openal code to mod_conference 2014-06-30 01:23:08 +05:00
Anthony Minessale
1a56298c53 add 44.1khz codec defs 2014-06-30 01:23:07 +05:00
Travis Cross
7741f403f1 Handle SRTP_READ_ERROR in mod_rayo 2014-06-28 06:42:57 +00:00
Travis Cross
f31641f4bf Allow more SRTP errors before killing call
In a carrier interop we saw the call get killed for SRTP failures
during a reinvite.  We're wondering if the SRTP errors may have been
transitory and if it may have recovered after a few more packets.

It's debatable whether we should kill calls at all for SRTP auth
failures; semantically the right thing to do when a MAC fails is to
ignore the packet completely.  So raising this limit to 100 packets
shouldn't do any harm.  With this change we still warn at 10 errors
and every 10 errors thereafter.
2014-06-28 03:57:20 +00:00
Travis Cross
7406be6927 Relay cause of hangup on SRTP failure
We hangup the channel after receiving 10 SRTP packets in a row with a
bad auth tag or that are replayed.  Prior to this commit we were
indicating a normal clearing.  When doing interop and looking first at
packet traces, this made freeswitch's behavior look surprising.  With
this commit we'll indicate more loudly what's happening.
2014-06-28 01:18:50 +00:00
Travis Cross
52892b312a Fix misspelled function
switch_rtp_set_invalid_handler has been misspelled as
switch_rtp_set_invald_handler going all the way back to the
beginning.  So while it's possible that someone somewhere could be
relying on this misspelling, I think it's more likely that no one has
used it much and that's why it wasn't spotted.  We don't even use it
ourselves anywhere anymore.

Introduced in commit: 828e03715f67f358671c6691c3e9c0f2a66ec6ec
2014-06-28 00:32:41 +00:00
Travis Cross
fc247a223f Add editor footer to core files missing it 2014-06-27 23:55:27 +00:00
Travis Cross
52fb53cba4 Allow reincarnation from mod_sofia's shutdown-on-fail
mod_sofia's parameter shutdown-on-fail now accepts the value
"reincarnate-now".  This will cause the switch to exit immediately
with a non-zero exit code so that the supervisor can recover the
switch.  For this to work you have to pass in -reincarnate or
-reincarnate-reexec to freeswitch.
2014-06-27 22:18:39 +00:00
Travis Cross
80ed14ab3e Ensure mod_sofia params can be unset or reset
This is the result of auditing each mod_sofia profile parameter to
ensure that it can be unset or reset after being set.  One use-case
for this being done correctly is so a later parameter in a
configuration file can reliably override an earlier one, which is
useful for setups with layered include files.
2014-06-26 09:04:56 +00:00
Travis Cross
75feed68fc Avoid leaking memory on sofia profile reload
We were leaking the string values of apply-candidate-acl parameters.
2014-06-26 08:39:55 +00:00
Travis Cross
63351a1061 Terminate format_cdr json files with newline
In UNIX, text files by definition end with a newline.
2014-06-25 23:30:54 +00:00
Travis Cross
d5fa28417e Allow setting format of log filename in format_cdr
This commit allows you to set a `log-file` string parameter in a
format_cdr profile.  This string is a template that may (and should!)
contain variables.  This template will be expanded and used as the
file name of the CDR to be written.  This parameter should contain
only the template for the file name itself; the path is relative to
the `log-dir`.
2014-06-25 23:22:34 +00:00
Travis Cross
f7b4ec617a Allow SIP UPDATE messages without display updates
Previously if send-display-update was set to false we would also
remove UPDATE from our Allow: headers.  This is unnecessary.  The
UPDATE message is useful in SIP transactions even if we're not sending
display updates.

With this commit, we add a new boolean profile flag, allow-update.  If
set to true we'll send Allow: UPDATE.  If set to false, we will not.
If there is a conflict with another setting that requires UPDATE
support, the allow-update parameter will win and a warning will be
printed.

ref: RFC 3311
2014-06-25 20:43:29 +00:00
Anthony Minessale
ba784f2548 skip update on member channels with no json 2014-06-25 13:40:50 -05:00
Anthony Minessale
b9a51bbf91 FS-6632 Trying to actually use opus in stereo broke pretending to use it in stereo 2014-06-25 21:19:07 +05:00
Anthony Minessale
062b7c6e3d duh, the code to parse the codec params from the config file wasn't there 2014-06-25 21:19:07 +05:00