Juha Heinanen [Fri, 12 Dec 2014 05:06:46 +0000 (07:06 +0200)]
core: include channels to SDP payload if channels == 2
- this is to make opus rtpmap standards compliant
Juha Heinanen [Thu, 20 Nov 2014 08:10:35 +0000 (10:10 +0200)]
core: made sems aware of rfc5764 media types UDP/TLS/RTP/SAVP and
UDP/TLS/RTP/SAVPF
Stefan Sayer [Tue, 18 Nov 2014 16:30:36 +0000 (17:30 +0100)]
b/f:core/ZRTP:don't start ZRTP streams twice in AmRtpStream::init(...)
Stefan Sayer [Tue, 11 Nov 2014 14:12:21 +0000 (15:12 +0100)]
b/f:conference: proper log if cfg file not found
Stefan Sayer [Thu, 6 Nov 2014 15:24:31 +0000 (16:24 +0100)]
b/f:core: when resuming RTP stream, also clear rtp events queue
Stefan Sayer [Tue, 4 Nov 2014 14:56:36 +0000 (15:56 +0100)]
dsm:mod_zrtp:more ZRTP API functions (allowclear, autosecure, SAS etc)
Stefan Sayer [Mon, 3 Nov 2014 16:48:12 +0000 (17:48 +0100)]
dsm:mod_zrtp for simple ZRTP support
Stefan Sayer [Mon, 3 Nov 2014 16:46:54 +0000 (17:46 +0100)]
core:zrtp: make ZRTP debug logging configurable
Stefan Sayer [Mon, 3 Nov 2014 16:45:30 +0000 (17:45 +0100)]
core:zrtp: separate out ZRTP protocol description
Stefan Sayer [Mon, 3 Nov 2014 13:51:49 +0000 (14:51 +0100)]
core:zrtp: disable ZRTP for sbc app
Stefan Sayer [Mon, 3 Nov 2014 13:04:24 +0000 (14:04 +0100)]
core:zrtp: fix ZID, double ZRTP initialization; place ZRTP init after onStart
Stefan Sayer [Thu, 30 Oct 2014 22:31:46 +0000 (23:31 +0100)]
zrtp: updated ZRTP support, compiles with the current zfone SDK
use the zfone SDK from https://github.com/traviscross/libzrtp
Stefan Sayer [Sat, 11 Oct 2014 20:23:20 +0000 (22:23 +0200)]
b/f: fix error log with interfaces config file hint
Stefan Sayer [Fri, 26 Sep 2014 09:07:26 +0000 (11:07 +0200)]
sbc: reg cache: debug log message when no alias was found
Stefan Sayer [Fri, 26 Sep 2014 09:05:24 +0000 (11:05 +0200)]
b/f: initialize relay RTP streams with raw_relay
Stefan Sayer [Mon, 15 Sep 2014 10:47:55 +0000 (12:47 +0200)]
b/f: fix wrong generated contact (also part of
23c638ee b/f: errors with wrong Contact-HF)
also thanks to Carsten Bock for the report
Stefan Sayer [Fri, 29 Aug 2014 10:41:03 +0000 (12:41 +0200)]
opus:b/f: undo
5213c23 - opus payload is negotiated with two channels
Carsten Bock [Wed, 20 Aug 2014 08:43:20 +0000 (10:43 +0200)]
Improvement: Fix configuration sample
Carsten Bock [Wed, 20 Aug 2014 08:10:33 +0000 (10:10 +0200)]
Improvement: Add option not to add ";transport=" to contact
Stefan Sayer [Tue, 19 Aug 2014 10:49:26 +0000 (12:49 +0200)]
b/f: uac_auth: fix
b06f2b1080: use SIP_FLAGS_NOCONTACT if Contact-hf present
Stefan Sayer [Tue, 19 Aug 2014 09:45:06 +0000 (11:45 +0200)]
b/f: uac_auth: use SIP_FLAGS_NOCONTACT for authenticated sip reqs
otherwise we have two Contact headers in the request
thanks to Andrew Pogrebennyk for reporting
Stefan Sayer [Tue, 19 Aug 2014 09:44:24 +0000 (11:44 +0200)]
b/f: core:sip reg: use provided contact for contact comparison
thanks to Andrew Pogrebennyk for reporting
Stefan Sayer [Tue, 19 Aug 2014 09:39:10 +0000 (11:39 +0200)]
core:dlg: separate getContactHdr and getContactUri
Stefan Sayer [Thu, 24 Jul 2014 19:43:52 +0000 (21:43 +0200)]
opus: b/f: support only 1 channel, less debug log
Michal Matyska [Tue, 4 Mar 2014 16:55:56 +0000 (17:55 +0100)]
core: use codec's PLC function if it is provided
Raphael Coeffic [Thu, 13 Mar 2014 21:01:59 +0000 (22:01 +0100)]
opus: use standard include path instead of adding subpath in Makefile
Michal Matyska [Tue, 4 Mar 2014 17:00:51 +0000 (18:00 +0100)]
plugin: opus: introducing new codec.
Some codec properties could be changed by rebuild
(e.g. computational complexity, use FEC, etc.). Note, that the frame size
is fixed on 20ms as the rest is not ready to get different value, eventhough
the opus RFC specifies frame size between 2,5 and 120 ms.
Stefan Sayer [Thu, 24 Jul 2014 16:23:40 +0000 (18:23 +0200)]
core:sdp parser: gracefully handle \n-terminated SDP
Raphael Coeffic [Tue, 15 Jul 2014 11:29:04 +0000 (13:29 +0200)]
core: b/f: session in b relay-stream would never be changed
Stefan Sayer [Thu, 10 Jul 2014 12:14:39 +0000 (14:14 +0200)]
dbg:add code addr to stacktrace (for addr2line)
patch by Raphael
Stefan Sayer [Mon, 7 Jul 2014 12:30:58 +0000 (14:30 +0200)]
b/f: initialize AmTimeoutEvent cseq property properly
Stefan Sayer [Mon, 21 Jul 2014 11:53:28 +0000 (13:53 +0200)]
dsm:mod_regex: add substring selection
$regex.match[n] is set to nth substring match, starting with 1
($regex.match[1] is set to first substring match...)
Stefan Sayer [Wed, 9 Jul 2014 18:48:17 +0000 (20:48 +0200)]
more log info on failed CANCELing transactions
Stefan Sayer [Wed, 9 Jul 2014 18:45:18 +0000 (20:45 +0200)]
sst: remove SST timers when SessionTimer handler is destroyed
Stefan Sayer [Wed, 9 Jul 2014 13:29:09 +0000 (15:29 +0200)]
trans_layer: added timers to transaction dump
Stefan Sayer [Wed, 9 Jul 2014 13:28:18 +0000 (15:28 +0200)]
stats: added dump_transactions command (to dbg log)
Václav Kubart [Tue, 3 Jun 2014 11:07:08 +0000 (13:07 +0200)]
stats: added command for printing sems version
Raphael Coeffic [Wed, 9 Jul 2014 09:02:28 +0000 (11:02 +0200)]
sip: b/f: properly send ACK to remote 503
Conflicts:
core/sip/trans_layer.cpp
Stefan Sayer [Sun, 6 Jul 2014 22:00:55 +0000 (00:00 +0200)]
c/f: fix
9356fee71 includes
Stefan Sayer [Fri, 4 Jul 2014 14:31:00 +0000 (16:31 +0200)]
b/f: fix small mem leak on timers for non-existent sessions
thanks to Brett for reporting
Carsten Bock [Fri, 4 Jul 2014 13:02:39 +0000 (15:02 +0200)]
Improvement: init.d/debian/wheezy: Add functionality, to restart graceful
Victor Seva [Sun, 15 Jun 2014 12:59:01 +0000 (14:59 +0200)]
pkg/deb: fix dh_strip
Victor Seva [Tue, 22 Apr 2014 18:28:55 +0000 (20:28 +0200)]
pkg/deb: add Ubuntu trusty distribution support
Juha Heinanen [Sun, 25 May 2014 10:47:10 +0000 (13:47 +0300)]
apps/jsonrpc: do not include "result" member in error response
Juha Heinanen [Sun, 25 May 2014 09:02:46 +0000 (12:02 +0300)]
apps/jsonrpc: do not include 'error' member in response
- one more place where initializing of rpc_res["error"] to null needs
to be removed in order to prevent error member appearing in response
when there is no error
Juha Heinanen [Sat, 24 May 2014 18:33:48 +0000 (21:33 +0300)]
apps/jsonrpc: bug fixes
- error member cannot exist if there was no error
- id member must be of same type in response as it was in request
- id cannot be bool
Juha Heinanen [Sat, 24 May 2014 15:21:10 +0000 (18:21 +0300)]
doc: added Readme.jsonrpc file
Juha Heinanen [Thu, 22 May 2014 05:23:56 +0000 (08:23 +0300)]
apps/dsm/mod_sbc: added message_filter and message_list profile variables
Václav Kubart [Fri, 16 May 2014 14:19:55 +0000 (16:19 +0200)]
dsm mod_dlg q/f: make compilable
Raphael Coeffic [Tue, 13 May 2014 15:01:33 +0000 (17:01 +0200)]
core: downgrade error msg to debug
Raphael Coeffic [Tue, 13 May 2014 09:34:05 +0000 (11:34 +0200)]
sip: fix memory leak while sending 200/ACK
Raphael Coeffic [Tue, 13 May 2014 09:31:30 +0000 (11:31 +0200)]
sip: fix compile errors on osx with clang++
Raphael Coeffic [Tue, 13 May 2014 09:30:35 +0000 (11:30 +0200)]
sbc: b/f: lower case before searching in message filter
Juha Heinanen [Thu, 8 May 2014 18:35:47 +0000 (21:35 +0300)]
apps/dsm/mods/mod_dlg: added dlg.info action
Juha Heinanen [Thu, 8 May 2014 18:29:55 +0000 (21:29 +0300)]
core: added info method to AmSipDialog
Juha Heinanen [Thu, 8 May 2014 11:56:50 +0000 (14:56 +0300)]
apps/dsm/mod_dlg: new action dlg.deleteReplyBodyPart(content_type)
- added also dlg.addReplyBodyPart to Readme
Juha Heinanen [Thu, 8 May 2014 11:47:20 +0000 (14:47 +0300)]
core: new AmMimeMody methods
- added public method deletePart(const string& content_type)
- added private methods clearPart(Parts::iterator position) and
convertToSinglepart()
Juha Heinanen [Wed, 7 May 2014 18:57:21 +0000 (21:57 +0300)]
core: sdp payload may be in multipart body
Juha Heinanen [Wed, 7 May 2014 12:49:32 +0000 (15:49 +0300)]
core: made RTP/SAVPF profile known to sems
Stefan Sayer [Mon, 28 Apr 2014 15:30:55 +0000 (17:30 +0200)]
b/f:core: handle AmMimeBody boundary correctly in addParts
Stefan Sayer [Mon, 28 Apr 2014 13:38:33 +0000 (15:38 +0200)]
c/f: fix of
3c06c6b23 for dsm/sbc call control module
Stefan Sayer [Thu, 24 Apr 2014 16:17:23 +0000 (18:17 +0200)]
b/f:sbc:cc bl_redis: avoid busy loop of connections handling thread
Stefan Sayer [Thu, 17 Apr 2014 00:14:02 +0000 (02:14 +0200)]
sbc: make rtprelay_enabled controllable via msg/hdrs/replacement
Stefan Sayer [Thu, 1 Aug 2013 17:10:46 +0000 (19:10 +0200)]
sbc: SIP UAS authentication for B leg (uas_auth_bleg_enabled)
Notes:
- All of those profile options must be set
uas_auth_bleg_realm
uas_auth_bleg_user
uas_auth_bleg_pwd
- On realm mismatch, it is not authenticated
- URI is not checked against the Authorization URI
Conflicts:
apps/sbc/SBC.cpp
apps/sbc/SBC.h
apps/sbc/SBCCallProfile.cpp
apps/sbc/SBCCallProfile.h
apps/sbc/etc/transparent.sbcprofile.conf
Conflicts:
apps/sbc/SBC.cpp
apps/sbc/SBC.h
apps/sbc/SBCCallProfile.cpp
apps/sbc/SBCCallProfile.h
apps/sbc/etc/transparent.sbcprofile.conf
Stefan Sayer [Tue, 15 Apr 2014 10:16:49 +0000 (12:16 +0200)]
auth: prevent side-channel (timing) attack on UAS auth
Stefan Sayer [Tue, 15 Apr 2014 10:06:00 +0000 (12:06 +0200)]
b/f:test: fix replacesMapper test for master version
Raphael Coeffic [Tue, 15 Apr 2014 12:49:49 +0000 (14:49 +0200)]
sip: b/f: check method (ACK or PRACK) before deleting transaction
In case PRACK is received after 200, the transaction would be removed without checking the method.
Stefan Sayer [Mon, 23 Sep 2013 13:52:45 +0000 (15:52 +0200)]
b/f:b2bua: if 200 to INV without SDP, use SDP from 18x for caller re-Invite
reported by Andrew Pogrebennyk
Conflicts:
core/AmB2BSession.cpp
Stefan Sayer [Mon, 19 Aug 2013 16:21:55 +0000 (18:21 +0200)]
sbc: call registry: more verbosity on new entry
Stefan Sayer [Mon, 14 Apr 2014 00:41:12 +0000 (02:41 +0200)]
sbc: update SBCCallRegistry only on positive replies to INVITE (was:
26035b6)
Stefan Sayer [Mon, 14 Apr 2014 00:26:57 +0000 (02:26 +0200)]
b/f: core: init max_cps
Stefan Sayer [Fri, 16 Aug 2013 14:32:30 +0000 (16:32 +0200)]
sbc: fix call transfers with Replaces through SBC
Replaces header is fixed in either Replaces of INVITE or of REFER
messages. New sbc profile options:
fix_replaces_inv=[yes|no]
fix_replaces_ref=[yes|no]
Conflicts:
apps/sbc/SBC.cpp
apps/sbc/SBCCallProfile.cpp
apps/sbc/SBCCallProfile.h
core/AmSipHeaders.h
core/tests/Makefile
core/tests/sems_tests.cpp
Stefan Sayer [Wed, 14 Aug 2013 16:46:27 +0000 (18:46 +0200)]
core: AmUriParser: fix headers in nameaddr_str, added parse_nameaddr function alias
Conflicts:
core/AmUriParser.cpp
core/AmUriParser.h
core/tests/test_uriparser.cpp
Victor Seva [Mon, 7 Apr 2014 15:08:13 +0000 (17:08 +0200)]
pkg/deb: add jessie, wheezy and precise distributions
Victor Seva [Sat, 5 Apr 2014 08:21:36 +0000 (10:21 +0200)]
pkg/deb/debian: Upgrade debian packaging.
Václav Kubart [Fri, 11 Apr 2014 11:03:40 +0000 (13:03 +0200)]
Merge branch kubartv/error_recovery
Conflicts:
core/AmBasicSipDialog.cpp
Václav Kubart [Wed, 9 Apr 2014 08:30:10 +0000 (10:30 +0200)]
b2b media b/f: fix crash if 200OK arrived after rtp timeout event
thanks Michael Furmur for debugging, reporting and providing the fix
Václav Kubart [Wed, 9 Apr 2014 08:18:18 +0000 (10:18 +0200)]
sbc b/f: allow to disable session timers in A leg
thanks Herve Couplet for reporting and providing the fix
Stefan Sayer [Tue, 8 Apr 2014 12:11:11 +0000 (14:11 +0200)]
doc:update build instruction to new debian pkg dir
Raphael Coeffic [Wed, 2 Apr 2014 10:35:20 +0000 (12:35 +0200)]
core: fixed onRxReplyStatus method call
Raphael Coeffic [Wed, 2 Apr 2014 09:53:38 +0000 (11:53 +0200)]
core: b/f: do not re-use the uac transaction iterator after onRxReplyStatus()
The transaction could possibly have been deleted in between, whereby it is unclear where.
Victor Seva [Thu, 3 Apr 2014 15:56:38 +0000 (17:56 +0200)]
pkg/debian: add 1.6.0~dev version to changelog
Victor Seva [Thu, 3 Apr 2014 15:49:35 +0000 (17:49 +0200)]
pkg: move debian to new deb folder.
Initial effort to support several deb distributions.
Stefan Sayer [Wed, 2 Apr 2014 11:34:17 +0000 (13:34 +0200)]
doc:dsm example: stop local media when connecting
Stefan Sayer [Tue, 1 Apr 2014 10:41:43 +0000 (12:41 +0200)]
sample cfg:webconference as default application
Stefan Sayer [Tue, 1 Apr 2014 10:34:08 +0000 (12:34 +0200)]
pkg:debian: don't try to build py_sems
Stefan Sayer [Tue, 1 Apr 2014 10:22:09 +0000 (12:22 +0200)]
py_sems: updated to new API, wip, still doesn't compile
Stefan Sayer [Tue, 1 Apr 2014 10:01:02 +0000 (12:01 +0200)]
doc: updated debian package creation
Stefan Sayer [Mon, 24 Mar 2014 16:49:04 +0000 (17:49 +0100)]
sbc: profile option for subscription-less NOTIFY forwarding
Raphael Coeffic [Mon, 23 Dec 2013 13:07:24 +0000 (14:07 +0100)]
sbc: b/f: fixed use of setting for unsolicited NOTIFY forwarding
Raphael Coeffic [Mon, 23 Dec 2013 08:49:46 +0000 (09:49 +0100)]
core: move str2bool() to AmUtils
Conflicts:
core/AmUtils.cpp
core/AmUtils.h
Raphael Coeffic [Fri, 20 Dec 2013 14:36:31 +0000 (15:36 +0100)]
core/sbc: added support for subscription-less NOTIFY forwarding
For the moment, it is only implemented for NOTIFY requests within a dialog.
Conflicts:
apps/sbc/SBCCallProfile.h
core/AmSipSubscription.h
Carsten Bock [Sat, 22 Mar 2014 22:02:37 +0000 (23:02 +0100)]
b/f: packaging: Set proper rights on homedir at startup
Carsten Bock [Sat, 22 Mar 2014 21:22:22 +0000 (22:22 +0100)]
b/f: packaging: Create /var/run/sems/ if it does not exist
Carsten Bock [Sat, 15 Mar 2014 13:34:30 +0000 (14:34 +0100)]
b/f: Packaging: We require libevent2, prior versions won't do
Václav Kubart [Thu, 13 Mar 2014 13:09:55 +0000 (14:09 +0100)]
sbc: make timer for re-trying upon 491 reply configurable
Václav Kubart [Thu, 13 Mar 2014 12:47:07 +0000 (13:47 +0100)]
sbc: added support for re-trying failed re-INVITEs
... for few scenarios only for now (local hold/unhold request, local reINVITE)
Václav Kubart [Thu, 13 Mar 2014 12:44:39 +0000 (13:44 +0100)]
core: new callback when UAC/UAS transaction is finished
Stefan Sayer [Tue, 11 Mar 2014 18:30:22 +0000 (19:30 +0100)]
dsm:sbc: sample application
Stefan Sayer [Tue, 11 Mar 2014 16:25:46 +0000 (17:25 +0100)]
sbc:dsm: dlg.addReplyBodyPart to modify reply in B2B call
based on code by Juha Heinanen