]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
11 years agorespond to OPTIONS and only allows GET and HEAD on static resources
Seven Du [Sat, 6 Sep 2014 09:20:58 +0000 (17:20 +0800)] 
respond to OPTIONS and only allows GET and HEAD on static resources

11 years agoparse x-www-form-urlencoded post body
Seven Du [Sat, 6 Sep 2014 08:59:53 +0000 (16:59 +0800)] 
parse x-www-form-urlencoded post body

11 years agoadd http query string parsing and improve http header parsing
Seven Du [Sat, 6 Sep 2014 07:35:10 +0000 (15:35 +0800)] 
add http query string parsing and improve http header parsing

11 years agoadd HTTP Basic auth
Seven Du [Sat, 6 Sep 2014 06:29:51 +0000 (14:29 +0800)] 
add HTTP Basic auth

11 years agoadd basic http virtual host support and fix some leaks
Seven Du [Sat, 6 Sep 2014 04:06:24 +0000 (12:06 +0800)] 
add basic http virtual host support and fix some leaks

11 years agofix trivial windows compiler warning for vs2010
Jeff Lenk [Sat, 6 Sep 2014 03:43:52 +0000 (22:43 -0500)] 
fix trivial windows compiler warning for vs2010

11 years agoswigall
Seven Du [Fri, 5 Sep 2014 23:18:31 +0000 (07:18 +0800)] 
swigall

11 years agoFS-6796 #comment avoid use c++ string since it causing troubles
Seven Du [Fri, 5 Sep 2014 23:17:44 +0000 (07:17 +0800)] 
FS-6796 #comment avoid use c++ string since it causing troubles

11 years agoMerge pull request #40 in FS/freeswitch from ~RTRELEAVEN/freeswitch-fs-4762:fs-4762...
William King [Fri, 5 Sep 2014 18:18:34 +0000 (13:18 -0500)] 
Merge pull request #40 in FS/freeswitch from ~RTRELEAVEN/freeswitch-fs-4762:fs-4762 to master

* commit '9d9feb647a219af467514116824d80ca608fbf4c':
  make the tzfile header check look for "TZif" instead of "TZif2"

11 years agowrong platform
Brian West [Fri, 5 Sep 2014 16:14:01 +0000 (11:14 -0500)] 
wrong platform

11 years agofix copy/paste error
Brian West [Fri, 5 Sep 2014 15:57:29 +0000 (10:57 -0500)] 
fix copy/paste error

11 years agoupdate openssl
Brian West [Fri, 5 Sep 2014 15:54:54 +0000 (10:54 -0500)] 
update openssl

11 years agomake the tzfile header check look for "TZif" instead of "TZif2"
Russell Treleaven [Fri, 5 Sep 2014 11:05:20 +0000 (07:05 -0400)] 
make the tzfile header check look for "TZif" instead of "TZif2"

11 years agoF-5946 add the patches. if in the sofia gateway config the param pin-monitoring is...
Alexander Haugg [Fri, 5 Sep 2014 08:57:01 +0000 (10:57 +0200)] 
F-5946 add the patches. if in the sofia gateway config the param pin-monitoring is true, then every ping result raise an sofia::gateway-state event

11 years agobuild fix for mod_xml_radius
William King [Thu, 4 Sep 2014 21:57:20 +0000 (14:57 -0700)] 
build fix for mod_xml_radius

11 years agoFix a problem where radius channel variables were missing in mod_xml_radius
William King [Thu, 4 Sep 2014 21:29:35 +0000 (14:29 -0700)] 
Fix a problem where radius channel variables were missing in mod_xml_radius

11 years agoSet new `cache_dir` for debian
Travis Cross [Thu, 4 Sep 2014 21:09:46 +0000 (21:09 +0000)] 
Set new `cache_dir` for debian

11 years agoRemove stray leading slashes
Travis Cross [Thu, 4 Sep 2014 21:00:24 +0000 (21:00 +0000)] 
Remove stray leading slashes

ref: commit ce96d95c5e5b29b3bcb69d6e5416f0bc6bfb88f7

11 years agoName variable `storage_dir`
Travis Cross [Thu, 4 Sep 2014 20:57:28 +0000 (20:57 +0000)] 
Name variable `storage_dir`

...rather than `storage`.

ref: commit ce96d95c5e5b29b3bcb69d6e5416f0bc6bfb88f7

11 years agoFixing a typo in the radius accounting end condition configuration handling in mod_xm...
William King [Thu, 4 Sep 2014 20:48:50 +0000 (13:48 -0700)] 
Fixing a typo in the radius accounting end condition configuration handling in mod_xml_radius

11 years agoAdd `valet_park ... auto out ...` to syntax string
Travis Cross [Thu, 4 Sep 2014 20:40:53 +0000 (20:40 +0000)] 
Add `valet_park ... auto out ...` to syntax string

FS-5992 #resolve

11 years agoFS-6595: Enable pause_play and file_seek for conference member fnode #resolve
Michael Jerris [Thu, 4 Sep 2014 19:56:15 +0000 (15:56 -0400)] 
FS-6595: Enable pause_play and file_seek for conference member fnode #resolve

11 years agoMerge pull request #34 in FS/freeswitch from ~RTRELEAVEN/fs-6773:fs-6773 to master
Mike Jerris [Thu, 4 Sep 2014 19:34:24 +0000 (14:34 -0500)] 
Merge pull request #34 in FS/freeswitch from ~RTRELEAVEN/fs-6773:fs-6773 to master

* commit 'a159b58790cf980df375faa5a55fb713faf257c5':
  fix missing "/" in path
  add support for cache directory make configs use specific directory variables instead of just base_dir so that one configuration can be used for fhs and legacy installations

11 years agoShow gateway uptime in seconds
Travis Cross [Thu, 4 Sep 2014 05:29:25 +0000 (05:29 +0000)] 
Show gateway uptime in seconds

In `sofia status gateway ...` let's show the uptime in seconds rather
than in microseconds.  We'll output the uptime in microseconds in
`xmlstatus` and we'll label it as such.

11 years agoAdd uptime property to mod_sofia gateways
Steven Ayre [Wed, 3 Sep 2014 20:44:11 +0000 (21:44 +0100)] 
Add uptime property to mod_sofia gateways

The 'UP' status indicates a gateway is online as determined by
registration and/or SIP OPTIONS pinging.

The time the gateway has been in the 'UP' status is recorded,
and can be monitored using 'sofia status' and 'sofia xmlstatus'.

This can be used to detect and graph when there are outages.

ref: FS-6772

Reviewed-by: Travis Cross <tc@traviscross.com>
11 years agoFix build on gcc-4.9
Travis Cross [Thu, 4 Sep 2014 03:39:23 +0000 (03:39 +0000)] 
Fix build on gcc-4.9

GCC doesn't like when variables that are set but never used.

11 years agoCatch more swig-generated files with gitattributes
Travis Cross [Thu, 4 Sep 2014 03:20:25 +0000 (03:20 +0000)] 
Catch more swig-generated files with gitattributes

11 years agoremove debug
Seven Du [Thu, 4 Sep 2014 02:38:37 +0000 (10:38 +0800)] 
remove debug

11 years agoswig all
Seven Du [Thu, 4 Sep 2014 02:31:23 +0000 (10:31 +0800)] 
swig all

11 years agoinitial support of http handing in mod_verto
Seven Du [Thu, 4 Sep 2014 02:24:19 +0000 (10:24 +0800)] 
initial support of http handing in mod_verto

11 years agoadd param to let the socket stay open even if not websockt, thanks Anthony
Seven Du [Thu, 4 Sep 2014 02:21:22 +0000 (10:21 +0800)] 
add param to let the socket stay open even if not websockt, thanks Anthony

11 years agoswig hack
Seven Du [Thu, 4 Sep 2014 02:13:45 +0000 (10:13 +0800)] 
swig hack

11 years agoadd ability to read from a stream
Seven Du [Thu, 4 Sep 2014 01:00:38 +0000 (09:00 +0800)] 
add ability to read from a stream

do not use this unless you understand what you are doing and you want to take the risk,
you are warnned

11 years agoadd http utils
Seven Du [Thu, 4 Sep 2014 00:43:51 +0000 (08:43 +0800)] 
add http utils

11 years agoCheck for null hash or private while holding lock
Travis Cross [Wed, 3 Sep 2014 19:42:25 +0000 (19:42 +0000)] 
Check for null hash or private while holding lock

What if the hash were destroyed by one thread holding the lock while
another thread was waiting for the lock?  The waiting thread would
have already checked that the hash was non-null and would proceed on
that assumption after acquiring the lock.

With this commit we check only after acquiring the lock.

ref: FS-6783
ref: FS-6775

11 years agoRe-fix memory leak
Travis Cross [Wed, 3 Sep 2014 19:41:41 +0000 (19:41 +0000)] 
Re-fix memory leak

After consideration, this still looks correct.

Thanks-to: Anthony Minessale <anthm@freeswitch.org>
ref: FS-6783
ref: FS-6775

11 years agoReintroduce memory leak in mod_hash to avoid crash
Travis Cross [Wed, 3 Sep 2014 18:11:08 +0000 (18:11 +0000)] 
Reintroduce memory leak in mod_hash to avoid crash

ref: commit 3e24b3e2c2b28cc672943e75b009377d33f1b01b
ref: FS-6783
ref: FS-6775

11 years agoFS-3867: #resolve add special case for oracle alive query
Michael Jerris [Wed, 3 Sep 2014 17:31:34 +0000 (13:31 -0400)] 
FS-3867: #resolve add special case for oracle alive query

11 years agomod_spandsp: added SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE on application errors
Giovanni Maruzzelli [Wed, 3 Sep 2014 13:52:50 +0000 (15:52 +0200)] 
mod_spandsp: added SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE on application errors

11 years agoFS-6757 FS-6713 #comment please try latest master that has a new patch in it to addre...
Anthony Minessale [Tue, 2 Sep 2014 18:56:46 +0000 (23:56 +0500)] 
FS-6757 FS-6713 #comment please try latest master that has a new patch in it to address this issue

11 years agofix missing "/" in path
Russell Treleaven [Mon, 1 Sep 2014 12:50:51 +0000 (08:50 -0400)] 
fix missing "/" in path

11 years agoadd support for cache directory
Russell Treleaven [Mon, 1 Sep 2014 00:22:08 +0000 (20:22 -0400)] 
add support for cache directory
make configs use specific directory variables instead of just base_dir
so that one configuration can be used for fhs and legacy installations

11 years agoAvoid leaking memory while iterating hash tables
Travis Cross [Sat, 30 Aug 2014 03:41:58 +0000 (03:41 +0000)] 
Avoid leaking memory while iterating hash tables

`switch_core_hash_first` allocates an iterator on each call that is
never freed except when the hash table is empty.

By using `switch_core_hash_first_iter` we allocate only one iterator,
and that iterator is freed after the last item is processed.

11 years agoSuppress diff output for swig-generated files
Travis Cross [Sat, 30 Aug 2014 02:59:43 +0000 (02:59 +0000)] 
Suppress diff output for swig-generated files

11 years agoAdd back goodness refactored out
Travis Cross [Sat, 30 Aug 2014 01:32:57 +0000 (01:32 +0000)] 
Add back goodness refactored out

11 years agoFix comment spelling
Travis Cross [Sat, 30 Aug 2014 01:19:09 +0000 (01:19 +0000)] 
Fix comment spelling

11 years agoFix comment spelling
Travis Cross [Sat, 30 Aug 2014 00:52:16 +0000 (00:52 +0000)] 
Fix comment spelling

11 years agoRefactor mod_hash limit_release_hash a bit
Travis Cross [Fri, 29 Aug 2014 21:44:04 +0000 (21:44 +0000)] 
Refactor mod_hash limit_release_hash a bit

11 years agoFS-6775 #resolve
Brian West [Fri, 29 Aug 2014 14:55:00 +0000 (09:55 -0500)] 
FS-6775 #resolve

11 years agomod_rayo: fix nested join to calls and conferences
Chris Rienzo [Thu, 28 Aug 2014 17:16:55 +0000 (13:16 -0400)] 
mod_rayo: fix nested join to calls and conferences

11 years agoCheck gcc support for -Wno-unused-result
Travis Cross [Thu, 28 Aug 2014 13:29:23 +0000 (13:29 +0000)] 
Check gcc support for -Wno-unused-result

We're using -Wno-unused-result to work around what is arguably a GCC
bug, but this option is not supported on older GCC versions.  So on
those versions we won't pass -Werror either.

ref: commit b874048efcee4ea985cf9e5592d289ddef2df40a

11 years agomod_unimrcp: remove some dead code and TODOs. Reworked error handling a bit to try...
Chris Rienzo [Thu, 28 Aug 2014 13:18:07 +0000 (09:18 -0400)] 
mod_unimrcp: remove some dead code and TODOs.  Reworked error handling a bit to try and prevent stuck channel

11 years agoAvoid overaggressive chmod/chown on upgrade
Travis Cross [Thu, 28 Aug 2014 12:24:44 +0000 (12:24 +0000)] 
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.

11 years agoLower log level of limit increases and releases
Travis Cross [Thu, 28 Aug 2014 01:40:36 +0000 (01:40 +0000)] 
Lower log level of limit increases and releases

In some configurations where many limits are used, the limit increases
and releases were generating a lot of noise and making it harder to
see when limits were exceeded, which was at the same log level.

11 years agoRemove misleading `tport` example from configs
Travis Cross [Wed, 27 Aug 2014 23:10:54 +0000 (23:10 +0000)] 
Remove misleading `tport` example from configs

As an example of using mod_sofia's gateway parameter `contact-params`
we'd used the value `tport=tcp`.  Looking around, it's clear this has
misled people into believing you can specify `tport=tcp` to make the
gateway use TCP or `tport=tls` to make the gateway use TLS.  This does
not work.

The actual contact parameter is named `transport` rather than `tport`,
and you shouldn't use `transport` in `contact-params` because we
automatically add a `transport` to the Contact: based on the value of
`register-transport` (even if the gateway is set to not register).

It's clear why this would be confusing, so we'll just remove this as
an example.

11 years agoFS-6770 #resolve
Brian West [Wed, 27 Aug 2014 18:28:11 +0000 (13:28 -0500)] 
FS-6770 #resolve

11 years agomod_skinny: FS-6720 - fix issue with SLA - had to do with answering in wrong state
Nathan Neulinger [Wed, 27 Aug 2014 15:38:16 +0000 (10:38 -0500)] 
mod_skinny: FS-6720 - fix issue with SLA - had to do with answering in wrong state

11 years agoAvoid output of junk text by fs_cli
Travis Cross [Tue, 26 Aug 2014 18:41:01 +0000 (18:41 +0000)] 
Avoid output of junk text by fs_cli

In some cases where `redisplay()` is called immediately after a
command is run (e.g. `log ...`) we often get a prompt, junk output,
and a second prompt.  This is due to a (known) race.

We believe we're falling afoul of this code in `el_deletestr`:

    if (el->el_line.cursor < &el->el_line.buffer[n])
            return;

Basing the length of text to delete off of the cursor position
resolves the issue of junk text, but the real solution is to eliminate
the race conditions, which will also resolve the sometimes duplicated
prompt.

FS-6764 #resolve

Thanks-to: Nathan Neulinger <nneul@neulinger.org>
11 years agoImprove conference recording
Anthony Minessale [Tue, 26 Aug 2014 14:52:55 +0000 (09:52 -0500)] 
Improve conference recording

11 years agoclean up some injection issues in chat display
root [Mon, 25 Aug 2014 22:41:58 +0000 (18:41 -0400)] 
clean up some injection issues in chat display

11 years agoMerge pull request #29 in FS/freeswitch from ~ITALOROSSI/freeswitch:bugfix/FS-5522...
Mike Jerris [Mon, 25 Aug 2014 15:50:12 +0000 (10:50 -0500)] 
Merge pull request #29 in FS/freeswitch from ~ITALOROSSI/freeswitch:bugfix/FS-5522-add-switchname-xml-json-cdr to master

* commit 'd55505ce2a713a409a2a2d37f34893f7d1ccaf4f':
  Adding switchname to xml_cdr and json_cdr

11 years agotweak in login seq in verto
root [Sun, 24 Aug 2014 23:29:22 +0000 (04:29 +0500)] 
tweak in login seq in verto

11 years agoFS-6735
Brian West [Fri, 22 Aug 2014 21:39:45 +0000 (16:39 -0500)] 
FS-6735

11 years agoFS-6747 #resolve
Brian West [Fri, 22 Aug 2014 21:38:35 +0000 (16:38 -0500)] 
FS-6747 #resolve

11 years agoHandle gcc's overzealous unused-result warning
Travis Cross [Fri, 22 Aug 2014 19:39:11 +0000 (19:39 +0000)] 
Handle gcc's overzealous unused-result warning

Modern static analyzers warn when a variable is set but not used.  GCC
warns when the result of a function marked as
`__attribute__((warn_unused_result))` is not set to some variable,
even when the function is cast to `(void)`, which is the recognized
way of indicating the intent to ignore the result.  We treat all
warnings as errors.

The combination of behaviors here makes it difficult if we really
don't care about the result of the function; the obvious workarounds
are precluded.

GCC's maintainers don't consider this to be a bug:

  Why do you think this is a bug?  warn_unused_result is for cases where
  "not checking the result is either a security problem or always a
  bug".

  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509#c1

GLIBC however marks functions like `read` and `write` with this
attribute.  While it certainly in most cases is correct to act on
their return value, in some cases we really just don't care.

So when we see that we're building with GCC, and that we're building
with all warnings enabled, we'll just pass -Wno-unused-result to
disable the warning.

ref: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
ref: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

11 years agoAdding switchname to xml_cdr and json_cdr
Italo Rossi [Fri, 22 Aug 2014 18:35:49 +0000 (15:35 -0300)] 
Adding switchname to xml_cdr and json_cdr

11 years agoAdding the ability to add a radius param when a channel variable is not set in mod_xm...
William King [Fri, 22 Aug 2014 06:17:23 +0000 (23:17 -0700)] 
Adding the ability to add a radius param when a channel variable is not set in mod_xml_radius

11 years agoHelp the static analyzer in `handle_ice`
Travis Cross [Fri, 22 Aug 2014 03:30:32 +0000 (03:30 +0000)] 
Help the static analyzer in `handle_ice`

Clang's static analyzer thinks we could be using `hosts` here when it
is NULL.  We probably weren't, but it's easy to see how it could think
so.  We were checking whether `from_addr` matched `ice->addr` three
times, and between the second on third time we might have modified the
`ice->addr`; however we only get there if it matched the second time,
so we could only make it not match at that point and avoid the third
branch.  We can't make it match where it did not before.

We'll simplify the logic a bit here so static analyzers (and humans)
can hopefully see this more readily.

11 years agoReturn NULL from `sub_alloc` for zero size
Travis Cross [Fri, 22 Aug 2014 02:47:04 +0000 (02:47 +0000)] 
Return NULL from `sub_alloc` for zero size

When zero was passed for the size to `sub_alloc`, we were passing this
size on to `malloc` or `calloc`, which is unusual enough that static
analyzers warn about this (POSIX says that either NULL or a pointer
will be returned).

We'll instead just return NULL right away.

11 years agoFix spelling "Couldnt" -> "Couldn't"
Travis Cross [Fri, 22 Aug 2014 02:19:45 +0000 (02:19 +0000)] 
Fix spelling "Couldnt" -> "Couldn't"

11 years agoHandle zero channels when allocating for resampler
Travis Cross [Fri, 22 Aug 2014 01:59:11 +0000 (01:59 +0000)] 
Handle zero channels when allocating for resampler

When the number of channels was zero, we were calling malloc with a
size of zero.  While defined, this is unusual.  And since we're
initializing the speex resampler as though there were one channel in
this case, we should probably just allocate the space for it.

11 years agoRefactor to avoid warning about realloc usage
Travis Cross [Fri, 22 Aug 2014 01:33:22 +0000 (01:33 +0000)] 
Refactor to avoid warning about realloc usage

Clang's static analyzer noticed the result of realloc was being
assigned to a pointer of a different type than was used to calculate
the new size.  We can make things simpler and more idiomatic here by
using the correct pointer type and letting C's pointer arithmetic
automatically handle some multiplication.

We also use the distributive property here to simplify the calculation
for memset.

11 years agoRemove dead assignments in `switch.c`
Travis Cross [Fri, 22 Aug 2014 01:20:42 +0000 (01:20 +0000)] 
Remove dead assignments in `switch.c`

11 years agoHandle null argv in `switch.c`
Travis Cross [Fri, 22 Aug 2014 01:09:05 +0000 (01:09 +0000)] 
Handle null argv in `switch.c`

11 years agoRemove dead assignment
Travis Cross [Fri, 22 Aug 2014 00:58:53 +0000 (00:58 +0000)] 
Remove dead assignment

11 years agoAvoid using undefined memory in `switch_fulldate_cmp`
Travis Cross [Fri, 22 Aug 2014 00:47:22 +0000 (00:47 +0000)] 
Avoid using undefined memory in `switch_fulldate_cmp`

The `switch_split_date` and `switch_split_time` functions only set as
many variables as they believe exist values in the input string.
Since we didn't have defaults assigned we would read undefined stack
memory if the input string didn't contain e.g. an hour.

With this commit, we use 1970 if no year is present, January if no
month is present, the first day of the month if none is given, and
zero for each of a missing hour, minute, or second.

11 years agoRefactor `switch_fulldate_cmp`
Travis Cross [Fri, 22 Aug 2014 00:43:27 +0000 (00:43 +0000)] 
Refactor `switch_fulldate_cmp`

We're moving the variable declarations down to the smallest possible
scope (a good idea in general) so we can address the use of undefined
memory by the function in a later commit.

11 years agoAdd warning when using HTTPS with mod_curl
Travis Cross [Thu, 21 Aug 2014 22:17:35 +0000 (22:17 +0000)] 
Add warning when using HTTPS with mod_curl

mod_curl currently does not verify the authenticity of the peer's
certificate, and does not verify whether the common name on the
certificate matches the server.  This makes mod_curl initiated TLS
connections completely insecure.  We should fix this, but until we do,
we'll warn people that it's not doing what they may think it is.

ref: http://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html
ref: http://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYHOST.html

11 years agoDescribe how to hard-wrap text in Emacs
Travis Cross [Thu, 21 Aug 2014 20:37:08 +0000 (20:37 +0000)] 
Describe how to hard-wrap text in Emacs

11 years agoMerge pull request #28 in FS/freeswitch from ~STANGOR/freeswitch:master to master
Brian West [Thu, 21 Aug 2014 18:59:37 +0000 (13:59 -0500)] 
Merge pull request #28 in FS/freeswitch from ~STANGOR/freeswitch:master to master

* commit 'c736cf2f22e4f0a5d490db995ebaed69b9963daa':
  Add sofia gateway parameter "destination-prefix"
  FS-5497 add sofia gateway parameter destination-prefix in case you need to send Invites with prefix only to this gateway

11 years agoskypopen: new skype client in install/install.pl
Giovanni Maruzzelli [Thu, 21 Aug 2014 18:50:30 +0000 (20:50 +0200)] 
skypopen: new skype client in install/install.pl

11 years agomod_graylog2: channel variables can now be automatically added as gelf additional...
Chris Rienzo [Thu, 21 Aug 2014 15:06:13 +0000 (11:06 -0400)] 
mod_graylog2: channel variables can now be automatically added as gelf additional fields in logs w/ session UUID

11 years agomod_skinny: roll back, these are not expected to be null terminated, they are fixed...
Nathan Neulinger [Wed, 20 Aug 2014 19:50:46 +0000 (14:50 -0500)] 
mod_skinny: roll back, these are not expected to be null terminated, they are fixed length

11 years agomod_skinny: fix potential buffer size issue CID: 1214145 1214146
Nathan Neulinger [Wed, 20 Aug 2014 19:32:02 +0000 (14:32 -0500)] 
mod_skinny: fix potential buffer size issue CID: 1214145 1214146

11 years agoDecode params to `curl_sendfile`
Travis Cross [Wed, 20 Aug 2014 10:22:27 +0000 (10:22 +0000)] 
Decode params to `curl_sendfile`

`curl_sendfile` generates a multipart message with Content-Type:
multipart/form-data with no separate Content-Type headers in the parts
for each non-file argument.  These parts therefore default to
text/plain.  However, prior to this commit, we were putting the URL
encoded POST data into these parts, which is not correct.  We should
be putting raw text into the parts.

With this commit, we urldecode each argument key and value before
composing the multipart message.

See:

  http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2

11 years agoMerge branch 'master' of https://stash.freeswitch.org/scm/~stangor/freeswitch
Stan Gor [Tue, 19 Aug 2014 19:01:43 +0000 (12:01 -0700)] 
Merge branch 'master' of https://stash.freeswitch.org/scm/~stangor/freeswitch

11 years agoAdd sofia gateway parameter "destination-prefix"
Stan Gor [Tue, 19 Aug 2014 18:54:09 +0000 (11:54 -0700)] 
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

11 years agotweak some cid display issues
Anthony Minessale [Mon, 18 Aug 2014 22:25:24 +0000 (03:25 +0500)] 
tweak some cid display issues

11 years agotesting new hook FS-6677 #Waiting #comment this is a test
Giovanni Maruzzelli [Mon, 18 Aug 2014 19:55:03 +0000 (21:55 +0200)] 
testing new hook FS-6677 #Waiting #comment this is a test

11 years agotesting new hook TKT-6677 #Waiting #comment this is a test
Giovanni Maruzzelli [Mon, 18 Aug 2014 19:46:40 +0000 (21:46 +0200)] 
testing new hook TKT-6677 #Waiting #comment this is a test

11 years agotesting new hook FS-6677 #new_state #comment this is a test
Giovanni Maruzzelli [Mon, 18 Aug 2014 19:39:56 +0000 (21:39 +0200)] 
testing new hook FS-6677 #new_state #comment this is a test

11 years agoFS-6696 VS2010 Express fixes for pa and v8
Jeff Lenk [Sun, 17 Aug 2014 19:28:06 +0000 (13:28 -0600)] 
FS-6696 VS2010 Express fixes for pa and v8

11 years agofix VS2010 build warning
Jeff Lenk [Sat, 16 Aug 2014 23:22:41 +0000 (18:22 -0500)] 
fix VS2010 build warning

11 years agoFS-6738 #comment fix mac build introduced by 0ee48c2
Seven Du [Sat, 16 Aug 2014 02:08:39 +0000 (10:08 +0800)] 
FS-6738 #comment fix mac build introduced by 0ee48c2

11 years agonm
Anthony Minessale [Fri, 15 Aug 2014 21:00:38 +0000 (02:00 +0500)] 
nm

11 years agofix typo
Anthony Minessale [Fri, 15 Aug 2014 20:52:03 +0000 (01:52 +0500)] 
fix typo

11 years agoforce sofia rebuild
Anthony Minessale [Fri, 15 Aug 2014 20:34:30 +0000 (01:34 +0500)] 
force sofia rebuild

11 years agoFS-6738 #comment can you test this patch and see if the tcp keepalive can detect...
Anthony Minessale [Fri, 15 Aug 2014 19:43:20 +0000 (00:43 +0500)] 
FS-6738 #comment can you test this patch and see if the tcp keepalive can detect the timeout

11 years agocopy changes from verto ws.c to sofia
Anthony Minessale [Fri, 15 Aug 2014 19:37:43 +0000 (00:37 +0500)] 
copy changes from verto ws.c to sofia

11 years agoFS-5497 add sofia gateway parameter destination-prefix in case you need to send Invit...
stangor [Fri, 15 Aug 2014 00:28:14 +0000 (17:28 -0700)] 
FS-5497 add sofia gateway parameter destination-prefix in case you need to send Invites with prefix only to this gateway