summaryrefslogtreecommitdiff
path: root/orkaudio/audiocaptureplugins/voip/RtpSession.cpp
AgeCommit message (Collapse)Author
2009-05-15Added support for setting the SIP request URI as local party. If the SIP ↵Gerald Begumisa
request URI differs from the SIP URI in the "To:" header field, then the local party is set to the SIP request URI, remote party to the "From:" header field, direction to "in", Local entry point to the "To:" header field. This behaviour may be turned off by setting the configuration parameter SipRequestUriAsLocalParty to "false" under the VoIpPlugin section of config.xml. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@611 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-02-06RTP DTMF Events (out of band) logging improvements.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@602 09dcff7a-b715-0410-9601-b79a96267cd0
2009-01-23Added configuration parameter, MediaAddressBlockedIpRanges for the ↵Gerald Begumisa
VoIpPlugin. This is used to control the IP ranges which get associated with a recording session. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@598 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-20Corrected typo in configuration parameter: SipDirectionRefenceIpAddresses ↵Henri Herscher
becomes SipDirectionReferenceIpAddresses. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@596 09dcff7a-b715-0410-9601-b79a96267cd0
2009-01-18session m_lastUpdated timestamp is now updated when going off hold so that ↵Henri Herscher
the session does not expire immediately because of hold RTP inactivity. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@595 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
2008-12-10Added SipIgnoreBye configuration parameter. Improved BYE logging and made ↵Henri Herscher
sure 200 OK is only logged in the INFO level if it has valid SDP (otherwise DEBUG). git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@586 09dcff7a-b715-0410-9601-b79a96267cd0
2008-12-09SipDynamicMediaAddress now also forces session media address update on ↵Henri Herscher
reception of SIP 200OK with valid SDP. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@585 09dcff7a-b715-0410-9601-b79a96267cd0
2008-10-24SIP sessions are not inserted in ipAndPort media address map anymore when ↵Henri Herscher
RTP port is zero (happened when INVITE does not have SDP). This is so that subsequent SDP messages can have a chance to set the session media address to a valid value and allow it to catch RTP. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@566 09dcff7a-b715-0410-9601-b79a96267cd0
2008-10-14Fixed RTCP detection and I3 Interactive Intelligence mode (InInMode) ↵Henri Herscher
compilation under Windows. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@563 09dcff7a-b715-0410-9601-b79a96267cd0
2008-10-09Added RTCP support. Key functionality is the ability to set the local party ↵Gerald Begumisa
basing on the RTCP SDES information. A new configuration parameter, RtcpDetect, has been added. To enable RTCP, set RtcpDetect to true. This configuration should be done under the VoIpPlugin section of config.xml. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@562 09dcff7a-b715-0410-9601-b79a96267cd0
2008-09-10Changed the way DTMF events are tracked, to know the position where the ↵Gerald Begumisa
place them in the .wav file. Instead, the position is indicated as an offset in milliseconds from the time the recording started. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@558 09dcff7a-b715-0410-9601-b79a96267cd0
2008-08-27A new configuration parameter, SipDetectSessionProgress, has been added. ↵Gerald Begumisa
This parameter defaults to "true" and should be configured under the VoIpPlugin section of config.xml if it needs to be turned off. With this parameter set to "true", the SIP Session Progress message (SIP/2.0 183 Session Progress) is detected. The SDP in the message is used to force media address change on the session. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@557 09dcff7a-b715-0410-9601-b79a96267cd0
2008-07-22RTP activity now only puts a session off hold when there's been at least one ↵Henri Herscher
second of RTP inactivity first. This is so that leftover RTP packets received after hold has been pressed do not put the session back off hold. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@553 09dcff7a-b715-0410-9601-b79a96267cd0
2008-07-17Added SkinnyCallInfoStopsPrevious config parameter. This allows a new ↵Henri Herscher
CallInfo to stop the previous session on the same Skinny endpoint and line instance. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@552 09dcff7a-b715-0410-9601-b79a96267cd0
2008-07-01A new configuration parameter, SkinnyNameAsLocalParty, has been added for ↵Gerald Begumisa
the VoIpConfig section in config.xml. When this parameter is set to true, the local party is reported as a name and not telephone number, where available in Skinny sessions. Another configuration parameter, SkinnyReportTags, has been added for the VoIpConfig section in config.xml. This parameter should be populated with a comma-separated list of Skinny variables to report. Initially supported values are 'localpartyname' and 'callmanager'. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@549 09dcff7a-b715-0410-9601-b79a96267cd0
2008-06-13RTP stream start and expiry logging now includes host timestamps.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@547 09dcff7a-b715-0410-9601-b79a96267cd0
2008-06-13Made sure that sessions having already received their CallInfo message would ↵Henri Herscher
not accept another CallInfo message in late CallInfo mode. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@546 09dcff7a-b715-0410-9601-b79a96267cd0
2008-05-28Made sure RTP IP address is tracked by RtpSession at every point in time.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@540 09dcff7a-b715-0410-9601-b79a96267cd0
2008-05-27Modified VoIP plugin such that if a session has a valid public RTP address, ↵Gerald Begumisa
the RTP address in a received SIP 200 OK packet only replaces it if it is also public or if the session RTP address is not set. As before use of SIP 200 OK is still goverened by the SipUse200OkMediaAddress variable git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@539 09dcff7a-b715-0410-9601-b79a96267cd0
2008-05-09Added new configuration parameter SipDirectionRefenceIpAddresses. This ↵Gerald Begumisa
should be configured with a comma-delimited list of IP addresses under the VoIpPlugin section of config.xml. So if the IP address of the sender of the SIP INVITE message matches any of the IPs in this list, the direction of the session is set to "in" git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@538 09dcff7a-b715-0410-9601-b79a96267cd0
2008-05-08Adjusted the Skinny plugin to cater for situations where ↵Gerald Begumisa
OpenReceiveChannelAck and StartMediaTransmission may be sent before the CallInfoMessage. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@537 09dcff7a-b715-0410-9601-b79a96267cd0
2008-04-08Added configuration parameter LocalPartyForceLocalMac to the VoIpPlugin ↵Gerald Begumisa
section of config.xml. Setting LocalPartyForceLocalMac to 'true' forces the local party to be set to the local MAC address git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@533 09dcff7a-b715-0410-9601-b79a96267cd0
2008-04-08Sangoma RTP tap mode now accepts different source and destination IP addresses.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@532 09dcff7a-b715-0410-9601-b79a96267cd0
2008-03-06Changed the way direction is determined while recording SIP-based VoIP ↵Gerald Begumisa
sessions. A new configuration parameter, SipDomains, has been created and should be set under the VoIpPlugin section in config.xml. This parameter should contain a comma separated list of domains. So, if the domain of the SIP "from" URI matches any entry in this list, direction is set to "out". If the domain of the SIP "to" URI matches any entry in this list, direction is set to "in". If both domains of the "from" and "to" URIs match entries in this list, direction is set to "out" which is also the default case. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@527 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
2007-12-10Added SipDynamicMediaAddress config boolean. When enabled, orkaudio will ↵Henri Herscher
take changing media addresses from new SIP INVITES for any given session into account. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@515 09dcff7a-b715-0410-9601-b79a96267cd0
2007-11-30Added a new VoIP configuration parameter, ↵Gerald Begumisa
RtpSessionWithSignallingInitialTimeoutSec, which defaults to 5 minutes and applies to sessions for which there has been no seen RTP traffic (RtpSessionWithSignallingTimeoutSec is used for sessions where RTP traffic has been seen) git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@513 09dcff7a-b715-0410-9601-b79a96267cd0
2007-11-27Eliminated duplicate logging of SIP error packetsGerald Begumisa
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@511 09dcff7a-b715-0410-9601-b79a96267cd0
2007-11-26Improved SIP error packet logging to include information from the session's ↵Gerald Begumisa
INVITE where possible git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@510 09dcff7a-b715-0410-9601-b79a96267cd0
2007-11-16Added support to 200 OK packets in the same fashion as INVITE packetsGerald Begumisa
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@507 09dcff7a-b715-0410-9601-b79a96267cd0
2007-11-14A new INVITE on a media address already occupied by a raw RTP session will ↵Henri Herscher
now end up stopping the raw RTP session and creating a new SIP session. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@506 09dcff7a-b715-0410-9601-b79a96267cd0
2007-11-14Added LocalPartForceLocalIp config parameter.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@505 09dcff7a-b715-0410-9601-b79a96267cd0
2007-11-07Capture port is now set as the three letters tracking ID in VoIP plugin ↵Henri Herscher
instead of media address. This is because of problems with dynamic media addreses. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@504 09dcff7a-b715-0410-9601-b79a96267cd0
2007-10-29SetMediaAddress now removes session from ipAndPort map before reinserting.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@501 09dcff7a-b715-0410-9601-b79a96267cd0
2007-09-28Adjustment to solve a potential performance problem that could arise from ↵Gerald Begumisa
the load toll associated with repeated string comparison git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@498 09dcff7a-b715-0410-9601-b79a96267cd0
2007-09-27Added a boolean VoIP plugin configuration option, RtpReportDtmf, to control ↵Gerald Begumisa
whether to report or not to report RTP events git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@497 09dcff7a-b715-0410-9601-b79a96267cd0
2007-09-21Added support to report RTP events in SIP sessionsGerald Begumisa
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@494 09dcff7a-b715-0410-9601-b79a96267cd0
2007-09-19Added SipUse200OkMediaAddress configuration switch. If enabled, SIP 200 OK ↵Henri Herscher
SDP media address prevails over INVITE SDP media address. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@492 09dcff7a-b715-0410-9601-b79a96267cd0
2007-09-05SIP 407 "authentication needed" does not trigger session stop anymore.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@480 09dcff7a-b715-0410-9601-b79a96267cd0
2007-08-30Support for compact header format extended to all SIP messages.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@476 09dcff7a-b715-0410-9601-b79a96267cd0
2007-08-24Added support for SIP 200 OK message with ability to adjust the session RTP ↵Gerald Begumisa
IP address and port if NAT is detected git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@474 09dcff7a-b715-0410-9601-b79a96267cd0
2007-08-23Added on-hold support for SIP sessionsGerald Begumisa
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@472 09dcff7a-b715-0410-9601-b79a96267cd0
2007-08-21Start message response can now initiate capture in non-lookback recording ↵Henri Herscher
mode. Moved non-lookback configuration switch from VoIpPlugin node to the top node. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@469 09dcff7a-b715-0410-9601-b79a96267cd0
2007-08-16SIP error logging now reports full associated invite info.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@467 09dcff7a-b715-0410-9601-b79a96267cd0
2007-08-11SIP failure now adds a "failed" tag to the CDR (not configuration dependant).Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@464 09dcff7a-b715-0410-9601-b79a96267cd0
2007-08-10Changed the method of logging failed calls so that the failed calls are ↵Gerald Begumisa
associated with a session git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@463 09dcff7a-b715-0410-9601-b79a96267cd0
2007-07-30Added non-lookback recording mode.Henri Herscher
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@458 09dcff7a-b715-0410-9601-b79a96267cd0