Donat Zenichev
50ba97b3c9
MT#56129 Add a flag to force increasing the SDP version
Add a flag to force increasing the SDP version,
even if the SDP hasn't been changed.
And cover it with tests.
Flag name: 'force-increment-sdp-ver'
Additionally fix the name of the 'sdp-version' flag
in the 'rtpengine-ng-client' tool.
Change-Id: I466792668b0cd313b5e21b248dd14cd599333cbd
3 years ago
Richard Fuchs
09550bc881
MT#55283 support "replace-" flags alternative
closes #1574
Change-Id: Ic758914fe0cf9871f2a93f809c2ff9edab8a3012
3 years ago
Richard Fuchs
25e2640145
TT#136957 support multiple frequencies for `tone`
Support multiple tone frequencies for DTMF-security=tone to enable
audibly distinguishing multiple consecutive DTMF events from one
another.
Change-Id: I6fa33a5768aae198220d0b0cc4c53308c5661a52
3 years ago
Damir Nedžibović
dd2956dc66
Implement playing from a given position for db and blob.
3 years ago
Damir Nedžibović
bab3c94fd0
Implement playing from a start position.
3 years ago
Richard Fuchs
e811cd474d
MT#55283 don't set RTP flag for legacy protocols
Legacy UDP/TCP control protocols don't provide information about RTP
payload types, therefore don't pretend that we know that this is RTP.
Setting the RTP flag without knowing the payload types has the undesired
side effect that unknown payload types (all of them) would not be
handled by the kernel module.
Change-Id: I5882f777a5912b912ec7c870f21c77aac8127600
3 years ago
Richard Fuchs
387895b61c
TT#44805 add bookkeeping for output stream stats
Change-Id: I353d3785e79e9e3c53154de93f48d7229cf6643e
3 years ago
Richard Fuchs
e7abe3b378
TT#44805 rename `stats` to `stats_in`
Change-Id: Ifaf9a97b41d2cba76bf252772ed76242a7ca48d2
3 years ago
Richard Fuchs
354c4ea2c2
TT#189201 add extra `all=` options for media blocking
Change-Id: I229bbbc2643c52a44367c0bff30b8899f03581e1
3 years ago
Richard Fuchs
d4922681ba
TT#189201 upgrade `all` flag to key/value and enum
Change-Id: I2e6c6507819b58b0b7995991d3abc6cb0597799e
3 years ago
Richard Fuchs
71a5cec45d
TT#189201 allow `to-label` usage for media blocking
This distinguishes `to-label` from `set-label` for media blocking
methods, when previously they were synonymous.
Upgrade sink determination to list at the same time.
Change-Id: I5b35c78f2f307867b51b5376d5a6afbd79128d99
3 years ago
Richard Fuchs
4a19714cd1
TT#189201 support per-sink media blocking/silencing
Change-Id: I2b71816d97c4f6f1e1b290e5321d8ea1c106772a
3 years ago
Richard Fuchs
7be1d0aef1
TT#189201 refactor sink/handler attributes
Create a dedicated struct to hold certain attributes shared by both sink
handlers and media subscriptions, as a preparation to simplify handling
these attributs.
Change-Id: I866159c33ed6d6a2873d2cf68c4906ea705d253e
3 years ago
Richard Fuchs
ba56e37bc0
TT#189201 unify media blocking/silencing interface functions
Change-Id: I40518fbc09b8c1a0dfe5d6ae3e533ce9a61bea7f
3 years ago
Richard Fuchs
c109644fea
TT#189201 change block/silence media flags to bool
This makes it possible to refactor and simplify the interface functions,
as pointers and offsets can't be utilised with bit fields.
Change-Id: I70f1ac0eca7d2ccf8e8d5f5794580163f3f5b7ad
3 years ago
Richard Fuchs
02adda7846
TT#14008 fix no-transcoding compilation
fix for 206ea9efd5
closes #1537
Change-Id: Ie5312334931c6e4e057e0097347998d47f2524b6
3 years ago
Richard Fuchs
98a527065f
TT#14008 update int type to bool
Change-Id: I9871d727e1caa53dd0f8be26f89fe021c7159fed
3 years ago
Richard Fuchs
442b26ea48
TT#173752 support per-tag metadata for recording
Change-Id: Ie869bf63961e03608e6af1b0a0bf2d746bac2b3b
4 years ago
Richard Fuchs
e8f16dba4f
TT#14008 offload flags parsing for play_dtmf/media
Since we're already doing the full parsing of the request flags, use the
same function to parse all required flags
Change-Id: I0880ccbbbc36eae7b172440ce51afc1c544583a1
4 years ago
Richard Fuchs
eb683149c2
TT#14008 allow passing flags obj to play_media_select_party
With this we can access the parsed fields from the calling function
Change-Id: Ie05986e912fc94ebe9e29df5a39aa6ba76b3619b
4 years ago
Richard Fuchs
71c91ae54f
TT#14008 add missing auto-cleanup for flags in play_media_select_party
Fixes potential mem leak
Change-Id: I1d73399004ef5d9034962b4f8af2a1787b62ca81
4 years ago
Richard Fuchs
d055a5da59
TT#136957 add `egress` subscription support
Change-Id: I10bde2adf351529a20e21c376ef2040a19896f83
4 years ago
Richard Fuchs
50b8f54bcf
TT#155900 add `RTCP mirror` flag
Change-Id: I0dbf329edc4320d63f46028bc4e26b08f5f691e3
4 years ago
Razvan Crainea
9c62de8189
provide sendrecv mode in siprec tag-medias and media-labels
4 years ago
Richard Fuchs
a26601a37a
TT#14008 add new `reject-ICE` flag
Change-Id: I47db832d3a2abce8794e893f2fb8d681010a0d16
4 years ago
Richard Fuchs
1ccb8de7bc
TT#14008 fix warning as `value` cannot be NULL
Change-Id: I011eacbd95fafc7f5d13a40851753acc448ef2fc
Warned-by: coverity
4 years ago
Richard Fuchs
c1d238b014
TT#144701 extra warnings for unknown flags and keys
Change-Id: I1ca4939f6ffce040b9d4558f699207a0411eda35
4 years ago
Richard Fuchs
3582b623a9
TT#136957 DTMF delay support
Change-Id: I62dce272a1acc0a9a3b6b8c37df68a18357dbee4
4 years ago
Richard Fuchs
2ca64340e1
TT#136957 support DTMF triggers for blocking
Change-Id: I32e0d02e739ceb5a34aaf187b1ea086482e6d73e
4 years ago
Richard Fuchs
6ac4f12c01
TT#136956 add more options for DTMF replacement
Change-Id: Ic78a34042ad664bd54e35647636864ea99e60385
4 years ago
Richard Fuchs
9608ae6ac5
TT#136956 refactor DTMF block mode setting function
Change-Id: Ia13ebef2999e8da1cd717e50aa24ee44188ef8b1
4 years ago
Richard Fuchs
576774614b
TT#136956 add support for DTMF-security=zero
Change-Id: I48d612697ac3f89852b2b7374cf6e442e4a8222e
4 years ago
Richard Fuchs
9da5a46fcb
TT#136956 support DTMF-security=random
Change-Id: I4100c1511be743901d302491238872990f213118
4 years ago
Richard Fuchs
320642ddf2
TT#136956 support DTMF-security=tone
Change-Id: Ide898f68d788f39674b8fdb4f4edb0aa14e0884b
4 years ago
Richard Fuchs
38f97c2df8
TT#136956 support DTMF silence replacement
Change-Id: If693800a955a9ddf7245da0082426ae609deb407
4 years ago
Richard Fuchs
478c2608e8
TT#136956 upgrade `block_dtmf` to enum to allow for different modes
Change-Id: I8bfa1cb9067a00958a2a1415b82e01c02deaf758
4 years ago
Richard Fuchs
16f2f9af5c
TT#14008 switch from repeated hash lookups to list iterator
Change-Id: Ib877462c584de20aa7c7af35ce567392b2a7b6ba
4 years ago
Richard Fuchs
f1d37e9c93
TT#147451 add support for SIPREC style SDPs
Change-Id: I6a0bba30e8e356a44156571b7dc3b094176ef26e
4 years ago
Richard Fuchs
a7e22ba698
TT#147451 add support for multi-ml subscriptions
Change-Id: I1ff9861840bc743068eac2cd18d81990d44acdc9
4 years ago
Richard Fuchs
2e5a5f63c4
TT#147451 rename helper function
Change-Id: Id2ea3f4d9a495018319d7f8fc3b97d56ad35defe
4 years ago
Richard Fuchs
4cbeb15c07
TT#147451 obsolete necessity for `from-tag` in unsub/sub ans
Change-Id: I409dbfb032265d0da39bff4cb63bf6dd5388cde4
4 years ago
Richard Fuchs
a3f2781acd
TT#147451 refactor media_block_match
Change-Id: Id4094e59100d05f3e6afa5f923aa55e1c8ddba4d
4 years ago
Richard Fuchs
9c2b53b3ed
TT#147800 don't clutter output dict with empty SSRC entries
SSRC entries might be present for the same SSRC in multiple contexts,
but only one of them will hold the actual stats. Don't create output
SSRC entries unless we know they won't be empty, as otherwise we won't
be able to create the actual SSRC entries (with stats) later on as they
dict key will already exist.
Change-Id: I54e263a17e14869ebb98456963f8ca75d11e9a89
4 years ago
Richard Fuchs
271a2a2a54
TT#14008 fix local SDP copy incorrectly returned from function
closes #1405
Change-Id: I12ba3970d7991a966f9403dca13a57bd0ef5120e
4 years ago
John Burke
fab19ed8bb
Add support for endpoint-learning on a per call basis
4 years ago
Richard Fuchs
24f607752c
TT#145450 add support for tracking multiple SSRCs per stream
Change-Id: I885fbf7973133af8d7c9184eb0e75f5401309c8e
4 years ago
Richard Fuchs
c5dc3484ae
TT#131402 split up relay stats between kernel and userspace
Change-Id: I9e5a82e5817829d8a1b17e6828bb0594fbc8df08
4 years ago
Richard Fuchs
facb4b54db
TT#101150 obsolete redundant fields in struct totalstats
Change-Id: I75d8bb1890ce35faac271550a1f9aff0f24ce624
4 years ago
Richard Fuchs
ad64f4fa00
TT#101150 introduce proper struct for "counter" style stats
Change-Id: Ifd06c54b25126426fe21723b8fb7a21d9bd03cba
4 years ago
Richard Fuchs
7dcc4473f5
TT#101150 split out "gauge" style stats
Change-Id: I52617a083bbbd41342b6413d8cacc5235cec51d9
4 years ago