Commit Graph

21129 Commits

Author SHA1 Message Date
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
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 65502293cf FS-6890 #comment revert 2014-11-12 13:09:39 -06: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
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
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
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
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
Anthony Minessale a3a80401fd fix regression caused by missing ! char in commit: 4eb5b388 2014-11-07 17:11:47 -06:00
Anthony Minessale 5ce5199be9 FS-6969 #resolve #comment This patch should accomplish the same and handle other platforms, please test 2014-11-07 08:38:01 -06:00
Mike Jerris b7741916eb Merge pull request #49 in FS/freeswitch from ~VIPKILLA/freeswitch-mod_odbc_cdr:master to master
* commit '544c5faf5e6ce6fe2b87523304d1f00e2d201d90':
  Add module mod_odbc_cdr
2014-11-07 08:34:55 -06:00
Mike Jerris bf7c161d36 Merge pull request #68 in FS/freeswitch from ~HRISTO/freeswitch:interrupt-conf-moh to master
* commit '94278b5e545b58bad784a95da6181fc5f299457f':
  allow enter and exit sounds to interrupt the MOH in a wait_mod conference
2014-11-07 08:09:05 -06:00
Mike Jerris 9939671b50 Merge pull request #102 in FS/freeswitch from ~AMARUS_CAMERON/freeswitch:mod_fifo-outbound_per_cycle_min to master
* commit '1944f9a5ee63ec51bed1bfb900072d168a81d004':
  FS-6968 Changes to mod_fifo.c to add outbound_per_cycle_min
2014-11-07 08:06:54 -06:00
Brian West 9e9c4378de Merge branch 'master' of ssh://stash.freeswitch.org:7999/fs/freeswitch 2014-11-06 18:26:28 -06:00
Anthony Minessale 415f82fe93 FS-6954 #resolve #comment please test 2014-11-06 18:26:16 -06:00
Aaron Paolozzi 1944f9a5ee FS-6968 Changes to mod_fifo.c to add outbound_per_cycle_min 2014-11-06 19:21:58 -05:00
Mike Jerris 60b51c46cc Merge pull request #50 in FS/freeswitch from ~JMESQUITA/freeswitch:mod_say_es_AR to master
* commit 'e75d0675afd8974687931143709814544299fadc':
  FS-6967 New mod_say_es_AR to support Argentina Spanish variant.
2014-11-06 17:21:08 -06:00
Anthony Minessale f66f2cae8c FS-6890 #comment please test 2014-11-06 17:13:02 -06:00
Joao Mesquita e75d0675af FS-6967 New mod_say_es_AR to support Argentina Spanish variant. 2014-11-06 19:21:13 -03:00
Chris Rienzo cf1424cfe5 mod_rayo: update config to use spandsp_start_tone_detect and spandsp_stop_tone_detect 2014-11-06 14:54:55 -05:00
Chris Rienzo 0e9e8a9bd6 Renaming mod_spandsp's cadence + tone detection APPs and APIs (start_tone_detect / stop_tone_detect) to
spandsp_start_tone_detect and spandsp_stop_tone_detect to resolve conflict with mod_dptools'
tone_detect/stop_tone_detect APPs.
2014-11-06 14:46:56 -05:00
Hristo Trendev 94278b5e54 allow enter and exit sounds to interrupt the MOH in a wait_mod conference
This patch does the following:
* only starts MOH if no other file (sync or async) is currently playing
* adds a variable "conference_permanent_wait_mod_moh" that controls the
  behavior of how the enter and exit sounds interact with the MOH when
  wait_mod is set. When the variable is set, the MOH keeps playing and
  the enter and exit sounds are mixed with the MOH. When the variable
  is unset, then any playing MOH is first stopped, then the enter or
  exit sound is played and the MOH is started again.

This functionality is useful in case the enter and exit sounds are
used to announce the name of the caller, who is joining or leaving a
conference.

FS-5159 #resolve
2014-11-06 19:32:17 +01:00
Mike Jerris e86d359443 Merge pull request #57 in FS/freeswitch from ~LEKENSTEYN/freeswitch:fixes to master
* commit '8e4423f126b9476123c6fa8c41c5f8ebfe1d0cb5':
  Document Dbh.test_reactive, return saner values
2014-11-06 11:48:12 -06:00
Mike Jerris 7b7685484d Merge pull request #101 in FS/freeswitch from ~RAVENOX/freeswitch:fixes_for_pull_request_#93 to master
* commit 'c97c0e8a7805f15fd52e7400b3a984d981e2524a':
  Fix for  case-sensitive filesystems
  Fixed code formatting. Return ListDelegate
2014-11-06 11:42:35 -06:00
Brian West 1190e59adf FS-6965 #resolve 2014-11-06 09:47:54 -06:00
Brian West bc767bb35a Adding rfc6598.auto and adding rfc6598 space to nat.auto acl, This is the NAT444 carrier grade nat space 2014-11-06 08:55:03 -06:00
Artur Kraev c97c0e8a78 Fix for case-sensitive filesystems 2014-11-06 12:36:02 +03:00
Artur Kraev 14bf6c1604 Fixed code formatting.
Return ListDelegate
2014-11-06 12:29:10 +03:00
Mike Jerris fbe81ff886 Merge pull request #69 in FS/freeswitch from ~HRISTO/freeswitch:conference-flags to master
* commit '3695bdd9e4e0d925ab7296d2f4ce120bf656f623':
  set conference flags from a dial plan variable or via +flags{ }
2014-11-05 16:25:40 -06:00
Mike Jerris 78cab12dd2 Merge pull request #48 in FS/freeswitch from ~ANTONIO/freeswitch-fs-6809:master to master
* commit '69d5cda6d67074d6e5c1b7038b4dd7cab0adf60f':
  resolve FS-6809
2014-11-05 16:05:00 -06:00
Brian West 89f3f5e298 FS-6961: [mod_erlang_event]: Add call UUID to call_hangup message 2014-11-05 12:18:47 -06:00
Anthony Minessale 9c1e6037c9 FS-6954 #comment we fixed another bug and this is the side effect which is completely valid, too bad you can never fix broken t38 endpoints. Can you please test this patch 2014-11-05 11:51:30 -06:00