Commit Graph

27859 Commits

Author SHA1 Message Date
Michael Jerris 0cf770a836 FS-6996: #resolve fix define change as of glibc 2.20 for _BSD_SOURCE -> _DEFAULT_SOURCE 2014-11-17 09:27:22 -05:00
Travis Cross f1df8d6096 Allow setting CURL timeout from curl API command
Previously the `timeout` option to the curl API command set only
`CURLOPT_CONNECTTIMEOUT` -- the maximum amount of time that curl will
wait to connect to the server.  If the server accepted the connection
but then never replied, curl would wait essentially forever.  There
was no way to set `CURLOPT_TIMEOUT` -- the maximum amount of time the
entire request operation is allowed to take.

With this change, the `timeout` option sets `CURLOPT_TIMEOUT`.  We've
earlier added a `connect-timeout` option to set
`CURLOPT_CONNECTTIMEOUT`.

This is a change to existing behavior.  However, it's likely that this
is what people expected it to do all along.  The curl application
call, for example, accepts both `curl_connect_timeout` and
`curl_timeout` channel variables, with the latter setting
`CURLOPT_TIMEOUT`.

If people really were relying on this odd behavior, we'll rename the
option with the new behavior to something else and come up with a
transition plan.
2014-11-16 19:31:00 +00:00
Travis Cross 1ee325df48 Add `connect-timeout` option for curl API command
This option sets the maximum number of seconds that curl will wait to
connect with the server.

Right now this is a synonym for the `timeout` option.
2014-11-16 19:31:00 +00:00
Chris Rienzo 07c5cc18ba FS-7003 #resolve #comment mod_rayo: fix infinite loop when output sent to server without SSML configured and repeat-times=0 2014-11-14 14:20:48 -05:00
Chris Rienzo e1c0ef5008 mod_rayo: new configuration parameter, add-variables-to-offer (default=false). When true, all channel variables are included in the offer to rayo client 2014-11-14 13:22:53 -05:00
Brian West c39e301efc Merge pull request #111 in FS/freeswitch from ~JCHAVANTON/freeswitch-opus:FS-6992 to master
* commit '826d42874139c59636de234d7021d485f03b81ee':
  FS-6992 [mod_opus] global configuration or maxplaybackrate and maxaveragebitrate from opus.conf.xml
2014-11-14 08:37:23 -06:00
Julien Chavanton 826d428741 FS-6992 [mod_opus] global configuration or maxplaybackrate and maxaveragebitrate
from opus.conf.xml
2014-11-14 10:31:32 +01:00
Chris Rienzo dd61232163 FS-6979 #resolve #comment mod_http_cache: added base-domain config to s3 profiles so mod_http_cache can access self hosted s3 compatible service.
Example configuration:

  <profiles>
    <profile name="s3">
       <!-- Credentials for AWS account. -->
       <aws-s3>
          <!-- 20 character key identifier -->
          <access-key-id><![CDATA[AKIAIOSFODNN7EXAMPLE]]></access-key-id>
          <!-- 40 character secret -->
          <secret-access-key><![CDATA[wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY]]></secret-access-key>
          <base-domain><![CDATA[example.com]]></base-domain>
       </aws-s3>
       <!-- Domains that this profile applies to -->
       <domains>
          <domain name="bucket.example.com"/>
          <domain name="bucket2.example.com"/>
       </domains>
    </profile>
  </profiles>
2014-11-13 10:20:02 -05:00
Michael Jerris 75473a70b6 FS-6531: #resolve set to tag on uuid_phone_event notify to make grandstream happy, even tho they could have matched the dialog fine off the from tag like every other phone does. 2014-11-12 21:55:31 -06:00
Michael Jerris 82aa33140e FS-6531: #resolve set to tag on auto answer notify to make grandstream happy, even tho they could have matched the dialog fine off the from tag like every other phone does. 2014-11-12 21:37:14 -06:00
Anthony Minessale 87a4670d16 FS-6890 #comment please test 2014-11-12 13:09:39 -06:00
Anthony Minessale 65502293cf FS-6890 #comment revert 2014-11-12 13:09:39 -06:00
Travis Cross 7b38b4f86b 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-12 19:07:54 +00:00
Brian West 1cbbc14724 Merge pull request #110 in FS/freeswitch from ~JCHAVANTON/freeswitch-opus:FS-6947-opus to master
* commit '0eefdca47b127f8151c9b1a0b12eaf2d7e99def8':
  FS-6947 Opus RTP payload fmtp settings ( maxaveragebitrate / maxplaybackrate )
2014-11-12 12:57:31 -06:00
Brian West 0699ea87c5 fix a few issues 2014-11-12 12:50:09 -06:00
Julien Chavanton 0eefdca47b FS-6947 Opus RTP payload fmtp settings ( maxaveragebitrate / maxplaybackrate ) 2014-11-12 17:51:56 +01:00
Seven Du 07030c63f0 fix compiler warning on unmatched return type 2014-11-12 13:31:30 +08:00
Seven Du dd629c1516 add external_video_source to media handle and expose switch_core_media_start_video_thread() to start the core video thread for non-rtp based media 2014-11-12 08:44:20 +08:00
Brian West fada4b893a FS-6977 #resolve 2014-11-11 18:18:32 -06:00
Mike Jerris 4090e0d05b Merge pull request #109 in FS/freeswitch from ~NNEUL/freeswitch:bugfix-fs-6983 to master
* commit 'dbc5571594eeacc4e3c7f2de3c78f8dd5c12f087':
  FS-6983 wrap new curl TLS macro usage with ifdefs
2014-11-11 18:16:57 -06:00
Mike Jerris 08ab6a54a4 Merge pull request #105 in FS/freeswitch from ~SEVEN/freeswitch-verto-spaces-new:master to master
* commit 'eb3a27ccee10f72df4bc237d5254a5c8636f3205':
  use 4 spaces indent to match the default of jslint
2014-11-11 16:27:10 -06:00
Nathan Neulinger dbc5571594 FS-6983 wrap new curl TLS macro usage with ifdefs 2014-11-11 16:26:44 -06:00
Mike Jerris 09abee2492 Merge pull request #108 in FS/freeswitch from ~NNEUL/freeswitch:feature-dialplan-tstamps to master
* commit 'f175c7118879b882343da9b6f15075161923fcca':
  FS-6805 add support for logging full timestamps with dialplan, defaults to old behavior unless requested
2014-11-11 15:19:21 -06:00
Anthony Minessale 33d37ce0f5 PLIV-13 #resolve 2014-11-11 14:51:19 -06:00
Anthony Minessale 0c68bb6d89 FS-6957 #resolve 2014-11-11 13:37:46 -06:00
Nathan Neulinger f175c71188 FS-6805 add support for logging full timestamps with dialplan, defaults to old behavior unless requested 2014-11-11 13:25:47 -06:00
Anthony Minessale a279bf38af FS-6890 #comment please test 2014-11-11 12:56:40 -06:00
Seven Du eb3a27ccee use 4 spaces indent to match the default of jslint
this is the first step of making the code follow the default jslint behaviour,
I also manually changed some { } to make it reasonable in addition to replacing tabs
2014-11-11 23:33:03 +08:00
Nathan Neulinger c79360c596 reduce logging when level is below 9 for less important messages 2014-11-11 09:11:44 -06:00
Nathan Neulinger ab24bde262 FS-5533 fix issue with busy signal being sent back to all shared lines instead of just the calling device 2014-11-11 08:41:16 -06:00
Brian West 34cf3b9069 FS-6980 #resolve don't crash when using native recording on recordstop 2014-11-11 07:45:50 -06:00
Michael Jerris 0f8b993769 fix mod_say_es_ar Makefile.am 2014-11-10 11:12:56 -05:00
Michael Jerris 11e62dd40d Revert "Revert "FS-6967 New mod_say_es_AR to support Argentina Spanish variant.""
This reverts commit d9d9510ce4.
2014-11-10 11:12:15 -05:00
Moises Silva eb30491688 Merge remote-tracking branch 'moystash/em-suspend-support'
Conflicts:
	libs/freetdm/src/include/private/ftdm_core.h
2014-11-09 03:50:07 -05:00
Moises Silva 6b8d5b2b10 freetdm: Fix release guard timer check 2014-11-09 00:41:59 -08:00
Moises Silva 2f1b12fdc0 OPENZAP-232 #resolve
Patched-By: Florian Richter

Check for digits received on sangoma isdn stack to avoid delaying
moving to the ring state if all digits are received at once in
overlap dialing mode
2014-11-09 03:33:43 -05:00
Ken Rice d9d9510ce4 Revert "FS-6967 New mod_say_es_AR to support Argentina Spanish variant."
This reverts commit e75d0675af.

Revert "Add mod_say_es_ar to debian packaging"
This reverts commit ebb3c8fbfa.

Conflicts:
	configure.ac
2014-11-08 15:53:57 -06:00
Brian West 9db7e6a7f5 Merge branch 'master' of ssh://stash.freeswitch.org:7999/fs/freeswitch 2014-11-07 17:41:31 -06:00
Brian West 9618ff16b4 FS-6973 revert this line 2014-11-07 17:41:29 -06:00
Anthony Minessale a3a80401fd fix regression caused by missing ! char in commit: 4eb5b388 2014-11-07 17:11:47 -06:00
Anthony Minessale 0f2816d18b add command to comppile non-minified js file for testing 2014-11-07 17:11:47 -06:00
Brian West 0085bd68b7 Merge branch 'master' of ssh://stash.freeswitch.org:7999/fs/freeswitch 2014-11-07 16:45:35 -06:00
Brian West 300b8d86ab FS-6973 #resolve 2014-11-07 16:45:32 -06:00
Travis Cross ebb3c8fbfa Add mod_say_es_ar to debian packaging 2014-11-07 19:02:30 +00:00
Travis Cross 4b76c2aea9 Add mod_odbc_cdr to debian packaging 2014-11-07 19:02:30 +00:00
Travis Cross f4527d77cb Fix placement of build-dep for libsngtc-dev
Since we compare our generated control-modules to the one in tree, we
want to match the exact format we use to generate the file.
2014-11-07 19:02:30 +00:00
Peter Wu 51f61c7834 debian: Remove duplicate clean command
`dh clean` invokes `dh_testdir`, `dh_auto_clean` and `dh_clean`. We
don't need to invoke dh_clean twice.

Acked-by: Travis Cross <tc@traviscross.com>
2014-11-07 19:02:29 +00:00
Chris Rienzo 185e6ec5e1 RPM packaging - add mongo C driver to list of sources 2014-11-07 13:22:22 -05:00
Travis Cross 070aaefaeb Fix whitespace inconsistency 2014-11-07 18:18:03 +00:00
Peter Wu e3a647810c debian: Allow use of secondary groups
When '-g' is passed, freeswitch drops all other groups except for the
given group.  This impacts people who depend on FS having access to
resources that would be allowed by membership to those other groups.

It was possible to override this by setting DAEMON_ARGS in
/etc/default/freeswitch, but we'll go ahead and make this the default.

Since freeswitch uses the primary group of a user when `-g` is
omitted, we'll just omit it, and do similarly when setting the
ownership of our directory in /var/run.

Edited-by: Travis Cross <tc@traviscross.com>
2014-11-07 18:10:50 +00:00