Commit Graph
100 Commits
Author SHA1 Message Date
Chris Rienzo 25f2f18c5f FS-7557 fix crash when doing 'limit_usage mongo foo bar' 2015-05-15 08:43:00 -04:00
Chris Rienzo 13513439ba FS-7557 mod_mongo add limit backend - still testing 2015-05-14 17:19:42 -04:00
Chris Rienzo d8d3db284c FS-7496 [mod_http_cache] lookup file extension from content-type if missing in URL 2015-04-30 16:06:19 -04:00
Chris Rienzo b28f7acac1 FS-7496 Updated mime.types, added switch_core_mime_type2ext function and used it in mod_httapi. Now, file extensions defined in mime.types will be applied if mod_httapi downloads a file without one. 2015-04-30 14:24:41 -04:00
Chris Rienzo 4bd9cdf423 FS-7491 #resolve #comment [mod_graylog2] send timestamp with millisecond precision instead of microsecond as required by GELF. 2015-04-28 16:18:46 -04:00
Chris Rienzo 5816ddcd39 FS-7490 #resolve #comment mod_rayo, srgs to regex transform: latest PCRE doesn't like regex generated by mod_rayo. It requires the group name not to start
with a digit.
2015-04-28 14:38:38 -04:00
Chris Rienzo 638e932422 FS-7434 reset jitter buffer when SSRC changes 2015-04-16 16:02:16 -04:00
Chris Rienzo 5fada4bbb5 FS-7060 added amqp.conf.xml to freeswitch.spec to fix packaging 2015-04-14 16:49:43 -04:00
Chris Rienzo 3c2afc6a2c FS-7406 #resolve #comment Added DTMF-Source header to DTMF event.
DTMF-Source may have the following values:
   APP : injected by application (send_dtmf, etc)
   ENDPOINT : detected by endpoint signaling (like SIP INFO)
   INBAND_AUDIO : detected by start_dtmf, spandsp_start_dtmf, etc
   RTP : detected as 2833/4733 telephone event
   UNKNOWN : unknown source

One possible use of this header is to determine telephone events
are being received, and if so, disable inband detection.
2015-04-01 11:00:43 -04:00
Chris Rienzo 21d1e6fc4b FS-7378 play_and_detect_speech: protect against NULL result 2015-03-18 15:30:12 -04:00
Chris Rienzo ab3d967115 FS-7378 #resolve #comment play_and_detect_speech can now detect DTMF if you set the playback_terminators channel variable to any or specific DTMF. The result will be stored in speech_detect_result and in playback_terminator_used. Also added channel variable play_and_detect_speech_close_asr which will release the speech recognition port when the detection is completed. This will prevent speech licenses from being held the entire call. 2015-03-18 15:06:14 -04:00
Chris Rienzo e338b8865b FS-7346 #resolve #comment update mod_mongo driver to 1.1.0 2015-03-04 09:06:10 -05:00
Chris Rienzo 66486713b0 FS-7273 Add support for build server to optionally specify revision when packaging RPM.
common.sh optionally accepts revision number and sets version in freeswitch-config-rayo.spec
	config-rayo.sh updated to be consistent with rpmbuilder.sh
        rpmbuilder.sh optionally accepts revision number
        src_tarball.sh will now produce freeswitch.spec and freeswitch-config-rayo.spec as artifacts.
2015-02-26 10:53:45 -05:00
Chris Rienzo 3cd481820e FS-7323 #resolve #comment [mod_http_cache] added http_remove_cache <url> API call to manually expire a cached URL.
Added {refresh=true} parameter that can be prefixed to URL to force refresh when using http:// https:// file formats or the http_get API.
Examples:
    http_remove_cache http://phono.com/audio/troporocks.mp3
    http_get {refresh=true}http://phono.com/audio/troporocks.mp3
    <action application="playback" data="{refresh=true}http://phono.com/audio/troporocks.mp3"/>
2015-02-25 09:43:38 -05:00
Chris Rienzo 30917dd19c FS-7265 #resolve #comment [mod_mongo] add mongo_find_n API 2015-02-11 11:55:46 -05:00
Chris Rienzo 56ac3b3533 FS-7149 update freeswitch.spec for flite-2.0.0 2015-02-04 11:30:28 -05:00
Chris Rienzo 85fbddc655 FS-7150 #resolve #comment [mod_rayo] added param add-variables-to-events which will add channel variables to <offer>, <ringing>, <answered>, and <end> if set to true. Default is false. 2015-01-13 16:01:02 -05:00
Chris Rienzo d5119a7a77 FS-7091 #resolve #comment [mod_rayo] Removed unnecessary mutex lock inside input component's cleanup function since the input component won't be cleaned up unless all references have been released. This fixes a deadlock when output component is created at the same time an input component completes. 2014-12-17 14:49:01 -05:00
Chris Rienzo a3f630fc2e FS-7047 #resolve #comment [mod_rayo] arbitrary MRCP headers can now be sent to unimrcp output components 2014-12-10 16:57:02 -05:00
Chris Rienzo f024ea3c2b FS-7047 #comment [mod_rayo] arbitrary MRCP headers can now be sent to unimrcp input components 2014-12-10 15:44:10 -05:00
Chris Rienzo e8cf9c7d35 FS-7045 #resolve #comment [mod_rayo] guarantee that dialed call can be joined when answered event is sent. 2014-12-03 16:03:58 -05:00
Chris Rienzo 35558993c9 FS-5816 #resolve #comment re-add completion cause to session record stop event 2014-12-02 15:00:54 -05:00
Chris Rienzo 46adbece5e FS-7030 #comment [unimrcp] restore visual studio 2010/2012 project files added by FS project 2014-12-01 14:53:25 -05:00
Chris Rienzo 061f3cb980 FS-7031 #resolve #comment [unimrcp] update library again to pull in upstream fix for --with-sofia-sip=../sofia-sip 2014-11-25 08:24:50 -05:00
Chris Rienzo f4876d591b FS-7031 [unimrcp] update sofia-sip.m4 so that it can build when relative path is used in configure.gnu --with-sofia-sip 2014-11-24 12:12:51 -05:00
Chris Rienzo 0d636aff16 FS-7031 [unimrcp] revert configure.gnu change- doesn't work when using non-source build dir. 2014-11-24 12:12:25 -05:00
Chris Rienzo 7b80b6249b Merge branch 'unimrcp-update-20141117' 2014-11-18 14:28:38 -05:00
Chris Rienzo 8330336e9a FS-6450 [unimrcp] Update library
[apr] Backport APR_RING_FOREACH and APR_RING_FOREACH_SAFE macros to APR for unimrcp compatibility.

 [unimrcp] configure.gnu - need full path, not relative path for library paths

 [unimrcp] added uni_revision.h - couldn't get it to autogenerate from build

 [mod_unimrcp] add better logging and error checking on module load.  Currently dumps core on MRCPv1 TTS attempt

 [mod_unimrcp] don't configure MRCPv1 session with a connection agent- causes crash
2014-11-18 14:23:54 -05:00
Chris Rienzo 6f660c3a10 iksemel - remove support for SSLv23 in iks_proceed_tls (was a FS addition to iksemel). mod_rayo - updated to no longer support SSLv23 2014-11-17 09:46:23 -05: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
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
Chris Rienzo 185e6ec5e1 RPM packaging - add mongo C driver to list of sources 2014-11-07 13:22:22 -05: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
Chris Rienzo a74e29affa added mod_graylog2 and mod_mongo to RPM package. Added graylog.conf.xml to vanilla config, but disabled in modules.conf.xml 2014-11-04 15:18:11 -05:00
Chris Rienzo bea7d8ec71 FS-5853 #resolve #comment mod_rayo now reports record completion cause 2014-10-27 13:41:52 -04:00
Chris Rienzo b25ae6ab6c FS-5816 #resolve #comment Record-Completion-Cause added to session recording RECORD_STOP event and record_completion_cause channel variable added. 2014-10-27 13:17:38 -04:00
Chris Rienzo a43e3496c2 FS-6921 #resolve #comment rayo APP now accepts optional comma separated list of JIDs or user names to steer incoming calls to specific rayo clients 2014-10-27 12:18:17 -04:00
Chris Rienzo 57e8231cba FS-6929 #resolve #comment fix deadlock in mod_rayo 2014-10-27 10:05:12 -04:00
Chris Rienzo 28bc992fce mod_rayo: fix error in SRGS grammar parser... <one-of><item>7</item><item>715</item></one-of> will return MATCH_END with input of 7 instead of MATCH since 715 is a potential match with further input. 2014-10-09 11:41:22 -04:00
Chris Rienzo 4a5e36d63e switch_pgsql.c switch_pgsql_next_result_timed() was using switch_time_now() for start time and switch_micro_time_now() for current time. These are different time sources that may not be in sync and could cause the query to timeout prematurely. 2014-10-07 09:33:19 -04:00
Chris Rienzo 7d7223e931 FS-6842 #resolve mod_graylog2: added send-uncompressed-header param- set to true for logstash support 2014-09-23 16:40:46 -04:00
Chris Rienzo 89b4b0c4ea mod_rayo: fix nested join to calls and conferences 2014-08-28 13:16:55 -04:00
Chris Rienzo fa08c6b8db mod_unimrcp: remove some dead code and TODOs. Reworked error handling a bit to try and prevent stuck channel 2014-08-28 09:18:07 -04:00
Chris Rienzo 0ba1b1efea mod_graylog2: channel variables can now be automatically added as gelf additional fields in logs w/ session UUID 2014-08-21 11:06:13 -04:00
Chris Rienzo b60df39b96 mod_http_cache: fix configuration so that carriage returns or other whitespace is OK around S3 keys 2014-08-12 16:28:42 -04:00
Chris Rienzo 3b45ef90ae mod_http_cache: fixed S3 URL parser to allow mybucketsubdomain.com.s3.amazonaws.com 2014-08-12 16:07:56 -04:00
Chris Rienzo 3df080a79f FS-6447 #close SUBSCRIBER_ABSENT also needs handling. Thanks to Ben Langfeld. 2014-07-16 13:21:19 -04:00
Chris Rienzo eae1c4477a mod_graylog2: additional input checks on LOG_FIELDS[] 2014-07-11 10:38:29 -04:00
Chris Rienzo e79f87216a mod_graylog2: additional fields can now be specified by adding LOG_FIELDS[name=string_value,@#name=number_value] to beginning of log. Added _microtimestamp additional field since graylog2 only has millisecond timestamp precision. 2014-07-10 10:25:20 -04:00
Chris Rienzo 9b14633cf3 fs_cli: fix compiler error on CentOS 6 caused by recent short uuid logging change 2014-06-30 17:30:59 -04:00
Chris Rienzo 3c7c167581 mod_rayo: improved idle detection- call is idle only if no active components and not joined 2014-06-16 14:39:17 -04:00
Chris Rienzo 633dfe2a56 FS-6535 mod_rayo: close recognizer when input component is complete 2014-06-13 12:34:19 -04:00
Chris Rienzo 1511fe3ee8 mod_rayo: rework component inheritance- component now inherits parent call/mixer mutex and parent reference counting moved to base class 2014-06-13 12:16:26 -04:00
Chris Rienzo 730d2f88ba mod_rayo: rename reference counting functions to something more sensible 2014-06-13 11:33:33 -04:00
Chris Rienzo 9aa5102142 FS-6535 mod_rayo: compile error 2014-06-13 10:08:49 -04:00
Chris Rienzo 4c54f45f4a FS-6535 mod_rayo: allow unimrcp recognizer w/ profile specified 2014-06-13 10:05:53 -04:00
Chris Rienzo d94e393480 freeswitch-config-rayo.spec remove some dependencies to high def audio and specific fs version 2014-06-10 15:02:15 -04:00
Chris Rienzo 8b89313045 rayo config: increase mod_shout outscale to mpg123 default of 32768 2014-05-28 11:49:22 -04:00
Chris Rienzo 48483452d2 mod_rayo: remove code that is no longer needed 2014-05-27 10:22:18 -04:00
Chris Rienzo ed2351e048 mod_rayo: http_put of received fax was broken 2014-05-27 09:15:22 -04:00
Chris Rienzo b5816d3477 mod_graylog2: native GELF logging 2014-05-23 16:53:42 -04:00
Chris Rienzo b7b14209eb CID 1214210: mod_ssml - resource leak when parsing SSML 2014-05-15 11:31:04 -04:00
Chris Rienzo d055f5b6df CID 1214263: mod_ssml - remove unused pointer value 2014-05-15 11:12:06 -04:00
Chris Rienzo c4f38f8d0d CID: 1211940 mod_rayo - unlikely dereference of NULL pointer 2014-05-08 12:11:15 -04:00
Chris Rienzo 42108871c9 CID: 1211941 mod_rayo - unlikely dereference of NULL pointer 2014-05-08 12:10:01 -04:00
Chris Rienzo 17848d26be CID: 1211943 mod_rayo - removed dead code when changing output speed 2014-05-08 12:03:28 -04:00
Chris Rienzo a72137d4ae CID: 1211944 mod_rayo - remove set of unused pointer 2014-05-08 11:47:38 -04:00
Chris Rienzo 58fea2544b CID: 1211946 mod_rayo - dead code after switch statement 2014-05-08 11:36:05 -04:00
Chris Rienzo 873acb2975 CID: 1211947 mod_rayo - allocated array with unsigned char * element size instead of unsigned char 2014-05-08 11:33:27 -04:00
Chris Rienzo 4f4fb9e942 CID: 1211951 mod_rayo - fix unlikely dereference of null pointer 2014-05-08 11:30:53 -04:00
Chris Rienzo 84eb4a0404 mod_rayo: re-added Makefile for iks helpers unit tests 2014-05-08 11:16:02 -04:00
Chris Rienzo d7d4625866 mod_rayo: re-added Makefile for srgs unit tests 2014-05-08 11:14:20 -04:00
Chris Rienzo 752f7956f9 mod_rayo: fix compiler error to nlsml.c from attempted coverity fix 2014-05-08 11:10:42 -04:00
Chris Rienzo 25c9b6196b mod_rayo: preserve old caller ID behavior if display name is not given 2014-04-22 13:30:15 -04:00
Chris Rienzo 1eab82ba2d mod_rayo: relax recent caller ID restrictions a bit 2014-04-22 08:50:50 -04:00
Chris Rienzo ae69c5a7b0 FS-6407 --resolve mod_rayo: support SIP URI caller ID w/ display name 2014-04-15 14:27:49 -04:00
Chris Rienzo e8078d8aef mod_rayo: clean up module hashes on shutdown 2014-04-14 12:01:31 -04:00
Chris Rienzo b0c2c6d67c FS-6447 --resolve return subscriber-absent platform-code 20 if <dial> is attempted to user that is not registered 2014-04-14 09:47:41 -04:00
Chris Rienzo a86623972d mod_rayo: fixed input crash introduced in 2014-04-07 commit 2014-04-10 10:20:47 -04:00
Chris Rienzo 264a12a4af mod_rayo: fix memory corruption in dial, input, output 2014-04-07 12:37:39 -04:00
Chris Rienzo 98bba8b57a mod_mongo: switched from C++ to latest C driver 2014-03-24 17:34:56 -04:00
Chris Rienzo 0b9e5c82a5 FS-6402 mod_rayo/mod_ssml: add mutex to hashes now that iteration is no longer thread-safe 2014-03-24 17:03:33 -04:00
Chris Rienzo 9ec1e86574 rpmbuild: update version of flite, lame, and opus 2013-12-10 14:17:01 -05:00
Chris Rienzo d9a8dd0bb6 build: added freeswitch-config-rayo package and script to build it 2013-12-09 17:41:01 -05:00
Chris Rienzo 72aea1f53f build: updated mod_rayo config, fixed RPM packaging in master, added mod_rayo and mod_ssml 2013-12-09 17:40:14 -05:00
Chris Rienzo 5cc5fae8f9 mod_mongo: use lboost_thread by default 2013-12-09 11:14:53 -05:00
Chris Rienzo 9d70d99d89 mod_mongo: use C++ driver pooling, added support for socket timeout 2013-12-09 11:09:50 -05:00
Chris Rienzo 2906721d01 mod_rayo: fixed config 2013-11-14 16:12:08 -05:00
Chris Rienzo cf0a3bbf83 mod_rayo: added args to console aliases 2013-11-14 16:12:08 -05:00
Chris Rienzo c00b8d3fe9 FS-5962 --resolve mod_rayo: fix unjoin request on b-leg 2013-11-14 14:47:33 -05:00
Chris Rienzo 43da8509f5 mod_mongo: update mongo_find_one syntax 2013-11-13 11:45:59 -05:00
Chris Rienzo b90f2446d4 mod_mongo: add support for query options 2013-11-13 11:42:39 -05:00
Chris Rienzo 048a0eb898 FS-5961 --resolve mod_rayo: fixed <dial>, wasn't returning errors in some scenarios 2013-11-12 11:02:37 -05:00
Chris Rienzo 9500e120a9 mod_rayo: fix config to passthrough loopback dialstrings 2013-11-11 11:43:03 -05:00
Chris Rienzo a5328fe9c3 mod_rayo: send/receivefax bugfixes, also allow outbound calls not created with <dial> to be offered 2013-11-08 11:43:40 -05:00
Chris Rienzo 035818aa3a mod_rayo: log when rayo call is rejected because there are no online clients 2013-11-08 09:38:10 -05:00
Chris Rienzo 90f0fdb93d mod_rayo: default record format is now wav 2013-11-05 15:16:04 -05:00
Chris Rienzo 384ddf1517 FS-5931 --resolve mod_mongo: update driver to v2.4 2013-11-04 14:29:48 -05:00