]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
11 years agoremove SSML from mod_rss
Anthony Minessale [Thu, 10 Apr 2014 22:33:57 +0000 (03:33 +0500)] 
remove SSML from mod_rss

11 years agomod_rayo: fixed input crash introduced in 2014-04-07 commit
Chris Rienzo [Thu, 10 Apr 2014 14:20:47 +0000 (10:20 -0400)] 
mod_rayo: fixed input crash introduced in 2014-04-07 commit

11 years agoSuppress spurious warning in phrase macro playback
Travis Cross [Wed, 9 Apr 2014 04:48:09 +0000 (04:48 +0000)] 
Suppress spurious warning in phrase macro playback

Prior to this commit, if anything at all went wrong in
switch_ivr_phrase_macro_event() we would generate a warning like this:

  [WARNING] switch_ivr_play_say.c:348 Macro [macro_name]: 'pattern_name' did not match any patterns

This is clearly misleading.  The natural thing to do on seeing that
message is to verify that the language files are there, and that the
pattern really does exist in that macro.  But none of that was usually
the problem.  The message would be generated if the language wasn't
found, or if the channel had gone away, for example.

With this commit, we verify that we actually tried looking for the
pattern before displaying the warning about the pattern not matching.

11 years agoAvoid playback on dead channels in voicemail
Travis Cross [Wed, 9 Apr 2014 04:36:52 +0000 (04:36 +0000)] 
Avoid playback on dead channels in voicemail

For years we've been generating spurious messages like:

  [WARNING] switch_ivr_play_say.c:348 Macro [voicemail_ack]: 'saved' did not match any patterns

This would happen when the caller hangs up during the playback of
certain prompts in the voicemail system where we weren't checking the
return value of vm_macro_get().  Looking closely at the log, it's
clear we were calling down into switch_ivr_phrase_macro() long after
the channel was gone.

The message above is also misleading -- switch_ivr_phrase_macro()
would have been able to find that pattern just fine, but it never
actually looked because the channel was gone.  We'll clean up that
message in a follow on commit.

11 years agoAvoid crash on event without content-type
Travis Cross [Wed, 9 Apr 2014 01:16:12 +0000 (01:16 +0000)] 
Avoid crash on event without content-type

If we received an event without a content-type header we were
dereferencing a null pointer leading to a seg fault.

Reported-by: Ico <ico@voip-io.org>
ESL-90 --resolve

11 years agoESL-89: fix install path and single_command require
Brian West [Mon, 7 Apr 2014 20:26:13 +0000 (15:26 -0500)] 
ESL-89: fix install path and single_command require

Conflicts:
libs/esl/ruby/single_command.rb

11 years agoESL-89: --resolve add rubymod-install and add ability to use a ruby not in your path...
Michael Jerris [Mon, 7 Apr 2014 19:27:24 +0000 (15:27 -0400)] 
ESL-89: --resolve add rubymod-install and add ability to use a ruby not in your path by setting RUBY env var

Conflicts:
libs/esl/Makefile.am

11 years agomod_rayo: fix memory corruption in dial, input, output
Chris Rienzo [Mon, 7 Apr 2014 16:37:24 +0000 (12:37 -0400)] 
mod_rayo: fix memory corruption in dial, input, output

11 years agosend muted members as recvonly on RFC4575 data
Anthony Minessale [Mon, 7 Apr 2014 15:51:51 +0000 (20:51 +0500)] 
send muted members as recvonly on RFC4575 data

11 years agofix seg in complete del with no arg
Anthony Minessale [Sun, 6 Apr 2014 20:04:51 +0000 (01:04 +0500)] 
fix seg in complete del with no arg

11 years agoFS-5832 regression.... After this change the sticky completes were deleting. This...
Anthony Minessale [Sat, 5 Apr 2014 22:51:36 +0000 (03:51 +0500)] 
FS-5832  regression.... After this change the sticky completes were deleting.  This should correct it

11 years agoswig
Brian West [Sat, 5 Apr 2014 18:42:59 +0000 (13:42 -0500)] 
swig

11 years agofix seg in alias del
Anthony Minessale [Sat, 5 Apr 2014 16:09:23 +0000 (21:09 +0500)] 
fix seg in alias del

11 years agoforce sofia rebuild
Anthony Minessale [Fri, 4 Apr 2014 18:44:42 +0000 (23:44 +0500)] 
force sofia rebuild

11 years agoFS-6287
Anthony Minessale [Fri, 4 Apr 2014 18:42:05 +0000 (13:42 -0500)] 
FS-6287

11 years agoFS-6403 --resolve
Anthony Minessale [Thu, 3 Apr 2014 15:17:16 +0000 (20:17 +0500)] 
FS-6403 --resolve

This commit also reverts 2 previous attempts to fix this very rare race issue spanning back to 2009

62ce8538974f727778f1024d0ef9549e438704fe Patch from MOC
3a85348cdfd0fd7df63a2a150790722c2d294b36 FS-2302 mutex added around switch_xml_toxml()

The real problem was switch_xml_toxml_buf() was actually temporarily modifying the xml structure being searialized to make it appaer to be a root structure then serializing it and restoring the pointers.  This caused a non-threadsafe operation when some other thread was scanning the same xml structure.

This patch removes the modification and instead passes a new arg to switch_xml_toxml_r indicating to treat the structure as if it were a root structure.

This bug has been present since the induction of xml into FS.

Conflicts:
src/switch_xml.c

11 years agoFS-6422: --resolve obvious copy and paste error
Brian West [Thu, 3 Apr 2014 12:20:41 +0000 (07:20 -0500)] 
FS-6422: --resolve obvious copy and paste error

11 years agoFS-6421 --resolve
Anthony Minessale [Wed, 2 Apr 2014 21:43:36 +0000 (16:43 -0500)] 
FS-6421 --resolve

11 years agoFS-6310 hold up, revert
Anthony Minessale [Mon, 31 Mar 2014 22:32:07 +0000 (17:32 -0500)] 
FS-6310 hold up, revert

11 years agoFS-6310 --resolve try this version
Anthony Minessale [Mon, 31 Mar 2014 22:02:55 +0000 (17:02 -0500)] 
FS-6310 --resolve try this version

11 years agoFS-6413 stable-version
Anthony Minessale [Mon, 31 Mar 2014 20:24:16 +0000 (01:24 +0500)] 
FS-6413 stable-version

11 years agoFS-5845 more leaks found by mikej
Raymond Chandler [Wed, 26 Mar 2014 02:44:16 +0000 (22:44 -0400)] 
FS-5845 more leaks found by mikej

11 years agoFix memory leak when outbound socket is closed by server
Ico [Tue, 25 Mar 2014 10:31:23 +0000 (12:31 +0200)] 
Fix memory leak when outbound socket is closed by server

ESL-88 --resolve

Signed-off-by: Travis Cross <tc@traviscross.com>
11 years agoadd missing break, please review
Seven Du [Tue, 18 Mar 2014 23:58:13 +0000 (07:58 +0800)] 
add missing break, please review

11 years agoFS-6374 --resolve mod_rayo sendfax was using uninitialized memory pool
Chris Rienzo [Tue, 18 Mar 2014 19:21:27 +0000 (15:21 -0400)] 
FS-6374 --resolve mod_rayo sendfax was using uninitialized memory pool

11 years agoversion bump v1.2.23
Ken Rice [Mon, 17 Mar 2014 21:34:43 +0000 (16:34 -0500)] 
version bump

11 years agoforce rebuild
Anthony Minessale [Mon, 17 Mar 2014 21:18:04 +0000 (16:18 -0500)] 
force rebuild

11 years agoFS-6287 --resolve
Anthony Minessale [Mon, 17 Mar 2014 21:16:42 +0000 (16:16 -0500)] 
FS-6287 --resolve

11 years agoMitigate the CRIME TLS flaw
Travis Cross [Sun, 16 Mar 2014 16:07:02 +0000 (16:07 +0000)] 
Mitigate the CRIME TLS flaw

If an attacker can cause a device to make an authenticated request to
a service via TLS while including a payload of the attacker's choice
in that request, and if TLS compression is enabled, the attacker can
uncover the plaintext authentication information by making a series of
guesses and observing changes in the length of the ciphertext.

This is CVE-2012-4929.

FS-6360 --resolve

Thanks-to: Brian West <brian@freeswitch.org>
11 years agomod_rayo: some bugfixes to pause-when-offline
Chris Rienzo [Fri, 14 Mar 2014 21:23:27 +0000 (17:23 -0400)] 
mod_rayo: some bugfixes to pause-when-offline

11 years agomod_rayo: add new config pause-when-offline - will pause inbound calling if there...
Chris Rienzo [Fri, 14 Mar 2014 19:50:21 +0000 (15:50 -0400)] 
mod_rayo: add new config pause-when-offline - will pause inbound calling if there are no online clients to handle calls.  This is useful if you want FS to respond 503 to options ping when there are no online rayo clients.  Default behavior is to disable this param.

11 years agomod_rayo: fix regression in ACL
Chris Rienzo [Fri, 14 Mar 2014 18:33:38 +0000 (14:33 -0400)] 
mod_rayo: fix regression in ACL

11 years agomod_rayo: add remote IP and port to xmpp stream logging
Chris Rienzo [Fri, 14 Mar 2014 18:24:53 +0000 (14:24 -0400)] 
mod_rayo: add remote IP and port to xmpp stream logging

11 years agoFS-6350 --resolve Parse params out of user portion of caller_id and save them to...
Anthony Minessale [Fri, 14 Mar 2014 18:13:22 +0000 (13:13 -0500)] 
FS-6350 --resolve Parse params out of user portion of caller_id and save them to sip_name_params

Conflicts:
src/mod/endpoints/mod_sofia/sofia.c

11 years agodo not retry so fast on failed outbound subs
Anthony Minessale [Fri, 14 Mar 2014 17:55:50 +0000 (12:55 -0500)] 
do not retry so fast on failed outbound subs

11 years agoforce sofia update
Anthony Minessale [Fri, 14 Mar 2014 17:27:45 +0000 (12:27 -0500)] 
force sofia update

11 years agoFS-6287 --resolve When a broken registrar sends a 401 unauth then replies with a...
Anthony Minessale [Fri, 14 Mar 2014 17:25:43 +0000 (12:25 -0500)] 
FS-6287 --resolve When a broken registrar sends a 401 unauth then replies with a subsequent 401 unauth without the stale=true attribute, sofia tries to invalidate the auth handle and get stuck in a state where it cannot recover until the reg handle is destroyed.  In this case, the provider in question has a bug on thier end when the nonce count rolls from nc=000000ff to nc=00000100 they start sending several consecitive 401 rather than a 401 with stale=true or a 403.  This change will allow it to reset properly and try again with nc=00000001 on the next try.

11 years agoFS-6345 --resolve mod_unimrcp: don't start input timers if start of speech was detected
Chris Rienzo [Thu, 13 Mar 2014 03:14:44 +0000 (23:14 -0400)] 
FS-6345 --resolve mod_unimrcp: don't start input timers if start of speech was detected

11 years agoFS-6281 mod_rayo: don't add timestamp to presence event that already has one.
Chris Rienzo [Thu, 13 Mar 2014 01:53:25 +0000 (21:53 -0400)] 
FS-6281 mod_rayo: don't add timestamp to presence event that already has one.

11 years agoFS-3630: --static is not actually a valid option
Brian West [Wed, 12 Mar 2014 18:13:30 +0000 (13:13 -0500)] 
FS-3630: --static is not actually a valid option

11 years agoFS-6339 --resolve
Anthony Minessale [Tue, 11 Mar 2014 23:16:23 +0000 (18:16 -0500)] 
FS-6339 --resolve

Conflicts:
libs/sofia-sip/.update

11 years agoFS-6281 --resolve mod_rayo timestamp presence events
Chris Rienzo [Tue, 11 Mar 2014 00:10:18 +0000 (20:10 -0400)] 
FS-6281 --resolve mod_rayo timestamp presence events

11 years agomod_rayo: improve error messages when joining to b-leg that is missing
Chris Rienzo [Mon, 10 Mar 2014 21:15:31 +0000 (17:15 -0400)] 
mod_rayo: improve error messages when joining to b-leg that is missing

11 years agomod_skinny: make 7925g work
Simon Wunderlich [Fri, 28 Feb 2014 12:59:31 +0000 (13:59 +0100)] 
mod_skinny: make 7925g work

Cisco 7925G seem to work only with the correct conference_id2 and
rtptimeout set, so add protocol 11 definition fields and set
conference_id2 correctly.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
11 years agomod_skinny: remove unknown field from access_status
Simon Wunderlich [Fri, 28 Feb 2014 13:21:39 +0000 (14:21 +0100)] 
mod_skinny: remove unknown field from access_status

Cisco 7925g send access status message with just 8 byte of payload data.
Since we don't interpret the unknown 3rd field anyway, remove it. This
will prevent the first register to fail.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
11 years agomod_skinny: wait up to 5 seconds for OpenRecvChannelAck
Simon Wunderlich [Fri, 28 Feb 2014 13:06:22 +0000 (14:06 +0100)] 
mod_skinny: wait up to 5 seconds for OpenRecvChannelAck

WiFi phones like the 7925g may take longer than just one second to
acknowledge the open receive message. Increase the timeout to 5 seconds.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
11 years agoFS-6334 --resolve mod_rayo: deadlock when creating input voice component
Chris Rienzo [Mon, 10 Mar 2014 19:53:26 +0000 (15:53 -0400)] 
FS-6334 --resolve mod_rayo: deadlock when creating input voice component

11 years agoPLIV-5 --resolve httpapi cache not working for some urls
Anthony Minessale [Mon, 10 Mar 2014 17:20:08 +0000 (12:20 -0500)] 
PLIV-5 --resolve  httpapi cache not working for some urls

11 years agoFix warning when using older openssl libs.
Brian West [Sun, 9 Mar 2014 21:21:37 +0000 (16:21 -0500)] 
Fix warning when using older openssl libs.

warning: passing argument 1 of 'SSL_CIPHER_description' discards qualifiers from pointer target type

11 years agoFS-6282 mod_rayo: fix memory leak in previous commit
Chris Rienzo [Fri, 7 Mar 2014 04:30:31 +0000 (23:30 -0500)] 
FS-6282 mod_rayo: fix memory leak in previous commit

11 years agoFS-6282 mod_rayo: allow outbound call JID to be assigned by client
Chris Rienzo [Fri, 7 Mar 2014 04:13:42 +0000 (23:13 -0500)] 
FS-6282 mod_rayo: allow outbound call JID to be assigned by client

11 years agodon't refuse invites on established sessions due to session limits
Anthony Minessale [Fri, 7 Mar 2014 18:46:26 +0000 (23:46 +0500)] 
don't refuse invites on established sessions due to session limits

Conflicts:
src/mod/endpoints/mod_sofia/sofia.c

11 years agoFix use of out of scope declaration
Travis Cross [Thu, 6 Mar 2014 08:44:36 +0000 (08:44 +0000)] 
Fix use of out of scope declaration

11 years agoFix minor edge case in switch_split_user_domain
Travis Cross [Thu, 6 Mar 2014 04:08:45 +0000 (04:08 +0000)] 
Fix minor edge case in switch_split_user_domain

If the input started with 'sip:sips:' it would have been incorrectly
parsed.

11 years agoFS-6286 --resolve Thanks to Tom Parrott
Ken Rice [Wed, 5 Mar 2014 23:55:50 +0000 (17:55 -0600)] 
FS-6286 --resolve Thanks to Tom Parrott

11 years agoDrop null-auth suites from our default TLS cipher list
Travis Cross [Wed, 5 Mar 2014 21:32:07 +0000 (21:32 +0000)] 
Drop null-auth suites from our default TLS cipher list

Previously we disallowed anonymous Diffie-Hellman, but there are other
kinds of null-authentication TLS suites.  In particular, disallowing
AECDH is important now that we support elliptic-curve Diffie-Hellman.

11 years agoFS-6304 mod_rayo- fix race condition on outbound calls
Chris Rienzo [Wed, 5 Mar 2014 03:12:43 +0000 (22:12 -0500)] 
FS-6304 mod_rayo- fix race condition on outbound calls

11 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

11 years agoMerge branch 'v1.2.stable' of ssh://git.freeswitch.org:222/freeswitch into v1.2.stable
Jeff Lenk [Tue, 4 Mar 2014 03:11:23 +0000 (21:11 -0600)] 
Merge branch 'v1.2.stable' of ssh://git.freeswitch.org:222/freeswitch into v1.2.stable

11 years agoFS-6295 try now
Jeff Lenk [Tue, 4 Mar 2014 03:09:56 +0000 (21:09 -0600)] 
FS-6295 try now

11 years agoImprove channel variable name to srtp_allow_idle_gaps
Travis Cross [Tue, 4 Mar 2014 01:51:04 +0000 (01:51 +0000)] 
Improve channel variable name to srtp_allow_idle_gaps

This was momentarily called force_send_silence_when_idle, but that was
non-obvious as you had to set that value to true to be able to not
send silence when idle.  This name describes the purpose much better.

11 years agoAvoid repeating ourselves in generating silence
Travis Cross [Mon, 3 Mar 2014 20:03:22 +0000 (20:03 +0000)] 
Avoid repeating ourselves in generating silence

We were handling the "send silence but not comfort noise" case in both
silence_stream_file_read and switch_generate_sln_silence.  This
changes the former to rely on the latter.

11 years agoAdd force_send_silence_when_idle channel variable
Travis Cross [Mon, 3 Mar 2014 18:33:25 +0000 (18:33 +0000)] 
Add force_send_silence_when_idle channel variable

If set to true, this prevents us from overriding the value of
send_silence_when_idle.  When that is unset or set to zero and SRTP is
engaged, we typically override the value because many devices can't
handle gaps in the SRTP stream.

This variable is mostly for testing whether particular devices can
handle this behavior.  Use at your own risk.

11 years agoPreserve value of send_silence_when_idle if possible
Travis Cross [Mon, 3 Mar 2014 18:26:44 +0000 (18:26 +0000)] 
Preserve value of send_silence_when_idle if possible

In commit 55d01d3defed4bfdc74704dbea0da9548a97a979 we set
send_silence_when_idle to -1 rather than 400 when SRTP is engaged.
But this left no way to enable white noise silence when desired.

When SRTP is engaged we can't simply not send RTP because it breaks
too many devices.  So we need to prevent send_silence_when_idle from
being unset or being set to zero.  This change allows it to be set to
other values so as to feed white noise rather than all zeros into the
codec.

11 years agoFix handling of send_silence_when_idle==0 in switch_ivr_sleep
Travis Cross [Mon, 3 Mar 2014 23:21:58 +0000 (23:21 +0000)] 
Fix handling of send_silence_when_idle==0 in switch_ivr_sleep

When the channel variable send_silence_when_idle was set to zero,
switch_ivr_sleep was calling SWITCH_IVR_VERIFY_SILENCE_DIVISOR on it
anyway, causing it to be set to 400.  The only way to get the behavior
of not sending silence when idle was to unset the variable completely.

This corrects the behavior such that setting the value to zero has the
same effect as leaving it unset.

11 years agoFS-6296 --resolve mod_rayo: fixed crash on <prompt> bad request
Chris Rienzo [Tue, 4 Mar 2014 00:01:28 +0000 (19:01 -0500)] 
FS-6296 --resolve mod_rayo: fixed crash on <prompt> bad request

11 years agoadd timeout <seconds> to mod_curl api call
Anthony Minessale [Mon, 3 Mar 2014 17:58:45 +0000 (22:58 +0500)] 
add timeout <seconds> to mod_curl api call

11 years agoMake OS X's lame UNIX happy with mod_mongo Makefile
Travis Cross [Mon, 3 Mar 2014 15:03:51 +0000 (15:03 +0000)] 
Make OS X's lame UNIX happy with mod_mongo Makefile

Apparently OS X ships a sed that requires an argument to -i.

11 years agoOutput newline after json output in mod_json_cdr
Travis Cross [Sun, 2 Mar 2014 22:20:20 +0000 (22:20 +0000)] 
Output newline after json output in mod_json_cdr

In UNIX, text files by definition end with a newline.

11 years agoHandle too-short write(3)s in mod_json_cdr
Travis Cross [Sun, 2 Mar 2014 22:14:51 +0000 (22:14 +0000)] 
Handle too-short write(3)s in mod_json_cdr

write(3) can write fewer bytes than was requested for any number of
reasons.  The correct behavior is to retry unless there is an error.

If there is an error, try to unlink the file; no sense in leaving
corrupted data laying around.

11 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.

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

11 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.

11 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.

11 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.

11 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).

11 years agoFix missing/duplicate declaration
Travis Cross [Fri, 21 Feb 2014 21:00:47 +0000 (21:00 +0000)] 
Fix missing/duplicate declaration

This looks like a copy/paste error.

FS-6037 --resolve

Thanks-to: David Sanders <dsanders@pinger.com>
11 years agoAdd man page for freeswitch
Travis Cross [Fri, 21 Feb 2014 15:25:43 +0000 (15:25 +0000)] 
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.

11 years agoLog channel UUID by default
Travis Cross [Wed, 22 Jan 2014 21:01:13 +0000 (21:01 +0000)] 
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.

11 years agoDocument purpose of sofia profile aliasing
Travis Cross [Wed, 9 Oct 2013 20:08:49 +0000 (20:08 +0000)] 
Document purpose of sofia profile aliasing

11 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.

11 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.

11 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.

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

11 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)

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

11 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

11 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

11 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

Conflicts:
src/mod/applications/mod_conference/mod_conference.c

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

Conflicts:
src/mod/applications/mod_conference/mod_conference.c

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

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

11 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

11 years agoFS-5886 --resolve add NDLB_broken_opus_sdp which must be set as a global variable...
Anthony Minessale [Fri, 28 Feb 2014 16:58:15 +0000 (21:58 +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

11 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

11 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

11 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>
11 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.

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

Conflicts:
src/include/switch_types.h

11 years agoFS-6250 fix regression from 7efeabbd88e81ee368de6ced32fed06c8035097b, don't discrimia...
Brian West [Mon, 24 Feb 2014 11:52:57 +0000 (05:52 -0600)] 
FS-6250 fix regression from 7efeabbd88e81ee368de6ced32fed06c8035097b, don't discrimiate against people that have s as the first character in their user names