summaryrefslogtreecommitdiff
path: root/orkbasecxx
AgeCommit message (Collapse)Author
2009-10-22Multiple corrections to code to suppress gcc warnings - identified by ↵beg_g
Tzafrir Cohen. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@649 09dcff7a-b715-0410-9601-b79a96267cd0
2009-10-19Changed parameter 'mediatype' to 'servicetype' in 'init' messagebeg_g
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@646 09dcff7a-b715-0410-9601-b79a96267cd0
2009-10-19Corrected parameter from 'type' to 'mediatype' in the 'init' messagebeg_g
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@645 09dcff7a-b715-0410-9601-b79a96267cd0
2009-10-01Modifications for Windows compilation.beg_g
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@644 09dcff7a-b715-0410-9601-b79a96267cd0
2009-10-01Added an initialization message which is sent to orktrack over HTTP when ↵beg_g
orkaudio is first started. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@643 09dcff7a-b715-0410-9601-b79a96267cd0
2009-08-27Modifications to allow Win32 compilation with log4cxx 0.10.0.Gerald Begumisa
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@638 09dcff7a-b715-0410-9601-b79a96267cd0
2009-08-20Added a parameter to the tape message called "ondemand". This parameter is ↵Gerald Begumisa
reported to orktrack. When a recording has been started by the API, instead of automatically, this parameter is set to 'true'. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@636 09dcff7a-b715-0410-9601-b79a96267cd0
2009-08-14Modified the orkaudio API for StartCapture and PauseCapture to carry out ↵Gerald Begumisa
their respective operations when the nativecallid is supplied. Added a new API, StopCapture, which causes a session to stop when any of the party, orkuid or nativecallid is provided as a parameter. This API is different from the PauseCapture API in the sense that it actually causes a session to stop and the WAV file is produced. After calling StopCapture, the session cannot be re-started with the StartCapture API (record). git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@633 09dcff7a-b715-0410-9601-b79a96267cd0
2009-06-23Added SipDirectionReferenceUserAgents VoIp config parameter. Any SIP INVITE ↵Henri Herscher
with User Agent field matching an entry in this list will be considered incoming. Populated by default with "Asterisk". git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@624 09dcff7a-b715-0410-9601-b79a96267cd0
2009-06-03Corrected missing symbol error for SetOnHold and SetOffHoldGerald Begumisa
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@621 09dcff7a-b715-0410-9601-b79a96267cd0
2009-06-03Corrected type casting of SetOffHoldFunctionGerald Begumisa
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@619 09dcff7a-b715-0410-9601-b79a96267cd0
2009-06-03Added methods SetOnHold and SetOffHold to orkaudio API for capture plugins. ↵Gerald Begumisa
Implemented this change in VoIp plugin. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@618 09dcff7a-b715-0410-9601-b79a96267cd0
2009-05-21Avoid sending tape to batch processing when an error happens in writing to ↵Henri Herscher
mcf file. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@615 09dcff7a-b715-0410-9601-b79a96267cd0
2009-04-29Fixed memory leak in HttpServer - only affected users of OrkAudio APIGerald Begumisa
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@610 09dcff7a-b715-0410-9601-b79a96267cd0
2009-03-20Improved logging, in particular, tape messages are now logged with full ↵Henri Herscher
details at enqueueing time, not just sending time. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@607 09dcff7a-b715-0410-9601-b79a96267cd0
2009-03-02Modified the record command to return the orkuid for the ongoing call which ↵Gerald Begumisa
matches git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@606 09dcff7a-b715-0410-9601-b79a96267cd0
2009-01-21VoIP plugin has been updated with a new configuration parameter, ↵Gerald Begumisa
SipReportNamesAsTags, to be configured under the VoIpPlugin section of config.xml. When set to 'true', the SIP from: and to: names are extracted and reported as tags. The tag keys used are localname and remotename which correspond to the respective localparty and remoteparty values which are already reported. These tags may, therefore, be used when providing custom names to recordings. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@597 09dcff7a-b715-0410-9601-b79a96267cd0
2009-01-15Modified the G722 decoder such that it is not compiled as a separate ↵Gerald Begumisa
Orkaudio plugin but is linked to orkbase. In addition, modified the G722 decoder to meet the same coding style as the other codecs (Ilbc and Gsm). This has so far been tested on Linux. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@594 09dcff7a-b715-0410-9601-b79a96267cd0
2009-01-12Modified the AudioGain filter and: Implemented change on gain calculation; ↵Gerald Begumisa
Corrected sample range error; Changed configuration variables from AudioGain, AudioGainChannel1 and AudioGainChannel2 to AudioGainDb, AudioGainChannel1Db and AudioGainChannel2Db git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@593 09dcff7a-b715-0410-9601-b79a96267cd0
2009-01-10Made modifications to have G722 decoder compile in Windows.Gerald Begumisa
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@592 09dcff7a-b715-0410-9601-b79a96267cd0
2009-01-10Added support for the G722 codec. Tested in Linux so far.Gerald Begumisa
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@591 09dcff7a-b715-0410-9601-b79a96267cd0
2009-01-07Modified the orkaudio API, adding the record and pause HTTP commands. The ↵Gerald Begumisa
record command commences or un-pauses recording while the pause command pauses recording - discarding RTP packets from when the pause command is issued. Both commands require the orkuid and party to be specified as HTTP parameters. Note that this represents a change in the arguments required for the StartCapture function in DLLs. Also added an event streaming feature which streams out all tape messages as they are reported in real-time to a client connected. Clients should connect via HTTP, on port 59150. The port is configurable by setting the parameter EventStreamingServerPort in config.xml git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@590 09dcff7a-b715-0410-9601-b79a96267cd0
2009-01-06Fixed WIN32 compilation problems with AudioGain filter.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@589 09dcff7a-b715-0410-9601-b79a96267cd0
2008-12-18Added AudioGain filter that allows gain to be increased or reduced on all ↵Gerald Begumisa
channels or a per-channel basis. Therefore 3 configuration parameters have been added, which are AudioGain, AudioGainChannel1 and AudioGainChannel2. These parameters take values in Db. Setting the AudioGain applies the gain to both channels. While setting AudioGainChannel1 and AudioGainChannel2 applies gain to channel 1 and channel 2 respectively. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@587 09dcff7a-b715-0410-9601-b79a96267cd0
2008-11-28Pushed version number to 1.0.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@583 09dcff7a-b715-0410-9601-b79a96267cd0
2008-11-11Enhanced the audio segmentation feature such that it may be used on other ↵Gerald Begumisa
feeds apart from continuous streams. This means it now works correctly with VoIP or TDM feeds git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@569 09dcff7a-b715-0410-9601-b79a96267cd0
2008-07-24Only tapes that have at least 1 output sample in the transcoding process are ↵Henri Herscher
now reported as 'ready' by reporting. Also, mcf file is not deleted anymore by default when transcoding returns 0 output sample. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@554 09dcff7a-b715-0410-9601-b79a96267cd0
2008-06-05Corrected error where the tags were not being reported - it was discovered ↵Gerald Begumisa
that the tape message queued on the threads' queues did not contain the tags information. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@545 09dcff7a-b715-0410-9601-b79a96267cd0
2008-05-28Corrected non-lookback problem where tape stop was not being sent when the ↵Henri Herscher
CapturePort expired because in non-lookback, the AudioTape does not go to the active state (not getting any audio chunks). A tape stop is now forced if this is the case. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@541 09dcff7a-b715-0410-9601-b79a96267cd0
2008-05-07Removed test code from Reporting::AddAudioTape() and removed useless ↵Gerald Begumisa
commented-out line git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@536 09dcff7a-b715-0410-9601-b79a96267cd0
2008-05-07Corrected error in reporting system where if more than one tracking server ↵Gerald Begumisa
is used, only the first server gets a correct message, the rest getting the wrong messages (depending on what is in the event queue on the AudioTape object provided) git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@535 09dcff7a-b715-0410-9601-b79a96267cd0
2008-03-28Modified the BatchProcessing tape processor to log permission change errors ↵Gerald Begumisa
under the level ERROR and not INFO git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@531 09dcff7a-b715-0410-9601-b79a96267cd0
2008-03-26Added new public function, SetExtension(), to AudioTape class to allow ↵Gerald Begumisa
"outsiders" e.g Tape Processors to change the extension of the AudioTape file name. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@530 09dcff7a-b715-0410-9601-b79a96267cd0
2008-03-07Added feature that allows control over the CPU time which is given for ↵Gerald Begumisa
transcoding purposes. Two configuration parameters, TranscodingSleepEveryNumFrames and TranscodingSleepUs have been added to config.xml. If both parameters have non-zero values then the transcoding thread will sleep for TranscodingSleepUs microseconds every TranscodingSleepEveryNumFrames which are transcoded. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@528 09dcff7a-b715-0410-9601-b79a96267cd0
2008-02-27Added support for storage of stereo files - typically files containing 2 ↵Gerald Begumisa
separate channels. Added the config.xml variable StereoRecording which needs to be set to true for this to work. Added another config.xml variable TapeNumChannels which should be set to 2 to test this. If TapeNumChannels is set to 1, default behaviour happens. Currently only 1 and 2 are the only supported values for TapeNumChannels. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@526 09dcff7a-b715-0410-9601-b79a96267cd0
2008-02-20Added TapeDurationMinimumSec config parameter to be able to discard short ↵Henri Herscher
recordings. Default is 0. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@524 09dcff7a-b715-0410-9601-b79a96267cd0
2008-02-20Added StringIsDigit() convenience function.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@523 09dcff7a-b715-0410-9601-b79a96267cd0
2008-01-23Added SipIgnoredMediaAddresses config parameter. If a SIP INVITE has an RTP ↵Henri Herscher
address that matches this csv list of CIDR ranges, it will be ignored. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@521 09dcff7a-b715-0410-9601-b79a96267cd0
2008-01-19Added PartyFilter source files to windows build filesGerald Begumisa
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@519 09dcff7a-b715-0410-9601-b79a96267cd0
2008-01-14Fixed crash when RTP pt was 127.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@518 09dcff7a-b715-0410-9601-b79a96267cd0
2007-12-20Added missing concurrency control to protect access to chunk queueGerald Begumisa
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@517 09dcff7a-b715-0410-9601-b79a96267cd0
2007-12-20Added a new feature that allows orkaudio to filter recordings by the remote ↵Gerald Begumisa
or local party. If the configuration parameter <PartyFilter> is filled with a CSV list of numbers or ranges of numbers such as <PartyFilter>300,450-490,4000-6000</PartyFilter>, orkaudio will only produce recordings for cases where the remote or local parties match a specified number or fall within the specified number range (for the case where a range has been specified). git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@516 09dcff7a-b715-0410-9601-b79a96267cd0
2007-12-02Added support for reporting to multiple orktrack servers - the config.xml ↵Gerald Begumisa
parameter TrackerHostname has been changed to accept a comma-separated list of tracker servers git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@514 09dcff7a-b715-0410-9601-b79a96267cd0
2007-11-26Added configuration parameter, CaptureFileSizeLimitKb, which limits the size ↵Gerald Begumisa
of the MCF file to the value specified in kilo bytes git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@509 09dcff7a-b715-0410-9601-b79a96267cd0
2007-11-23The RTP mixer is now properly flushed at the end of transcoding. Wav files ↵Henri Herscher
are now sometimes a bit longer thanks to this. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@508 09dcff7a-b715-0410-9601-b79a96267cd0
2007-11-02Fixed potential null pointer crash that was introduced at rev. 500.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@502 09dcff7a-b715-0410-9601-b79a96267cd0
2007-10-19CapturePorts cannot be hoovered anymore if they contain an active AudioTape. ↵Henri Herscher
This was made necessary for the non-lookback mode where CapturePorts were destroyed on timeout before the session was stopped by the VoIP plugin. This was leading to start messages without associated stop messages. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@500 09dcff7a-b715-0410-9601-b79a96267cd0
2007-10-16tapelist.log now includes audio filename as it should be by default (does ↵Henri Herscher
not take TapeFileNaming into account). git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@499 09dcff7a-b715-0410-9601-b79a96267cd0
2007-09-13Brought MSVC dsp file in line with Makefile.amHenri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@491 09dcff7a-b715-0410-9601-b79a96267cd0
2007-09-13Native call ID now reported as part of tape message.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@489 09dcff7a-b715-0410-9601-b79a96267cd0