Richard Fuchs
103901ebc3
TT#44805 sort keys in script output
...
Change-Id: Ibc1ad3318adea41026bf33dee4cf6368847cb6c7
4 years ago
Richard Fuchs
354c4ea2c2
TT#189201 add extra `all=` options for media blocking
...
Change-Id: I229bbbc2643c52a44367c0bff30b8899f03581e1
4 years ago
Victor Seva
10060d36f8
TT#124273 add missing manpages
...
* update generator to deal with manpages references to ngcp-*
Change-Id: Ibabf15e461d5aaac2099b5750f98ca21a59c09af
4 years ago
Richard Fuchs
d055a5da59
TT#136957 add `egress` subscription support
...
Change-Id: I10bde2adf351529a20e21c376ef2040a19896f83
4 years ago
Richard Fuchs
a26601a37a
TT#14008 add new `reject-ICE` flag
...
Change-Id: I47db832d3a2abce8794e893f2fb8d681010a0d16
5 years ago
Richard Fuchs
f8216b7d9f
TT#14008 update supported flags in ng script
...
Change-Id: Ib2428a33b0a07947266a636afcb6fc1c1b0c25dc
5 years ago
Richard Fuchs
da5b7ab1b3
TT#136957 add DTMF-delay= options to CLI script
...
Change-Id: I71e285259bfa181dd9cea6656ce17ce78e010d47
5 years ago
Richard Fuchs
2ca64340e1
TT#136957 support DTMF triggers for blocking
...
Change-Id: I32e0d02e739ceb5a34aaf187b1ea086482e6d73e
5 years ago
Richard Fuchs
6ac4f12c01
TT#136956 add more options for DTMF replacement
...
Change-Id: Ic78a34042ad664bd54e35647636864ea99e60385
5 years ago
Richard Fuchs
38f97c2df8
TT#136956 support DTMF silence replacement
...
Change-Id: If693800a955a9ddf7245da0082426ae609deb407
5 years ago
Richard Fuchs
11549cc3a2
TT#144701 support JSON in tests and CLI tool
...
Change-Id: Idd1b413d720b7be8f36849660c547332a344a698
5 years ago
Richard Fuchs
72504a01b7
TT#14008 null-proof string hashing and address parsing
...
Change-Id: I3bf5ef43b4f883ac1ad0e8a7502b79f13ba3e33d
5 years ago
Richard Fuchs
f1d37e9c93
TT#147451 add support for SIPREC style SDPs
...
Change-Id: I6a0bba30e8e356a44156571b7dc3b094176ef26e
5 years ago
Richard Fuchs
a7e22ba698
TT#147451 add support for multi-ml subscriptions
...
Change-Id: I1ff9861840bc743068eac2cd18d81990d44acdc9
5 years ago
Guillem Jover
8ae52f8ccb
TT#137760 Fix table handling
...
The default value for the kernel table in rtpengine is -1, so the helper
should default to use the same to match in case the parameter is not set
in the config file.
Remove an explicit --table passed to the daemon in the el init script,
and remove fallback initialization handling already done by the new
helper.
Change-Id: Ie4ec50a34e467f829279ad626a5b0e3b15acfd16
Fixes: commit 111b0a769c
5 years ago
Guillem Jover
111b0a769c
TT#137760 Refactor table fetching into a new helper tool
...
This centralizes the table setting into the respective config files
instead of keeping copies all over the place, that can easily get out
of sync.
Change-Id: I12f3fa172f34861365c31c8d8718b3fae8a9de5b
5 years ago
Richard Fuchs
f04332915b
TT#91151 add publish/subscribe commands
...
Change-Id: I1842b89efea7fa3af0bd4d045e49da31285cd0e1
5 years ago
Richard Fuchs
e792053549
TT#14008 add received-from flags into test script
...
Change-Id: Id56cd303cf5e9d56dcad2c35e70789b0ba318e7c
5 years ago
Richard Fuchs
acc489c88e
TT#91151 add --label option to ng-client script
...
Change-Id: Ie1e98e4e8410f5c72d1801164bec98b274f5b374
5 years ago
Richard Fuchs
1d387b98ef
TT#112700 rework codec offer/answer routine
...
Complete overhaul of the codec handling code:
*) obsolete flags `asymmetric codecs`, `symmetric codecs`, `reorder
codecs`
*) support proper codec offer/answer
*) split codec manipulation (strip/offer/accept/etc) into separate
functions for clarity and better code maintenance
*) fully update codec handlers in both directions after an answer
*) explicit allocation and handling of codecs and payload types in a
codec_store object
*) improve codec matchup logic during answer
*) more explicit handling of supplemental codecs (CN/DTMF)
*) remove now obsolete hacks for handling certain use cases
Change-Id: I996705ba8fe339524c2f70e6bb0fd854f9a1f4fb
5 years ago
Richard Fuchs
0e2bddb6c8
TT#14008 add `pierce-NAT` flag
...
Change-Id: I1ec9b0ba152939cb6dc079e0047040da862945dc
5 years ago
Richard Fuchs
a009f76456
TT#14008 support media echo and blackhole
...
Change-Id: I9df4680188709867db2b61d97cc5f1e30c59e0d7
5 years ago
Richard Fuchs
4d251d5001
TT#111150 disable -Wmissing-field-initializers for gperf
...
Code generated by gperf does not have complete initialisers for all
struct elements, producing a warning from gcc. Suppress this warning for
code from gperf.
Change-Id: Ie61eb42b293041e43c62df702123f725f6116a9c
5 years ago
Richard Fuchs
c939c977ec
TT#14008 set getopt require_order to avoid confusing errors
...
closes #1240
Change-Id: I4a9b7efb8e52f322916fa4368b80985946eb320d
5 years ago
Richard Fuchs
a86d98f8d1
TT#118902 add support for per-call debugging
...
Change-Id: I9b0eab21ff4e5c241ff045049ccd37f6044d5707
5 years ago
Richard Fuchs
98a42a099d
TT#14008 add missing flag to test script
...
Change-Id: Ic6cf398a6d3c0bfaf2304116bad0d2844fe90a93
5 years ago
Huseyin Dikme
5348ad598d
deletedelay added into the online help
6 years ago
Richard Fuchs
52d9768418
TT#14008 move build tests to a wrapper script
...
Since dh_auto_test doesn't execute the test suites through make
directly, but instead runs `make -s -n` and then executes the output,
the integrated build tests fail since the sub-make doesn't return an
error as it should when attempting to build with the wrong .h
alternative, resulting in always the first .h alternative being used.
Fix this by using a wrapper script instead.
Also adjust some other related minor build details.
closes #1202
Change-Id: I4b6436295c6b39117bd06df53aa5afc7118ad6a1
6 years ago
Richard Fuchs
3791b8f595
TT#107565 add `replace-session-name` option
...
Change-Id: I10d89f3bf8e88fb953cc7cc7fffae056bf0092c3
6 years ago
Richard Fuchs
fc83f64575
TT#107565 add `replace-username` option
...
Change-Id: I89dd560789adde4d96fa6a6f314b1c3c81a5a47b
6 years ago
Richard Fuchs
e1ee75a476
TT#14008 add `reorder-codecs` flags to test script
...
Change-Id: Ib8f1331508e805718eb590ee7def03ce689bb6e1
6 years ago
Richard Fuchs
36273e1f5d
TT#107565 add option to track SDP version
...
Change-Id: Ifb3ca589742a4ad0cc83982d6e42bf692a2c98db
6 years ago
balajeesv
ffc9e34e14
TT#14008 Squashed commit of the following:
...
closes #1134
commit 1cdf8d50844baa27513c51a552504a8406ca17a4
Merge: 2fc54462 cc4d049f
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Mon Feb 1 11:19:43 2021 -0500
Merge branch 'jb_disable' of https://github.com/balajeesv/rtpengine into balajeesv-jb_disable
Change-Id: Ic01bbeb776d8ac0f3ebb46ae0a263243828443bb
commit cc4d049fab
Merge: 2f935206 9deedea1
Author: balajeesv <balajee.sv@gmail.com>
Date: Fri Dec 11 23:15:48 2020 +0530
Merge branch 'jb_disable' of https://github.com/balajeesv/rtpengine into jb_disable
commit 2f935206de
Merge: f553a9e5 7c3d2e01
Author: Balajee SV <41125423+balajeesv@users.noreply.github.com>
Date: Fri Dec 11 23:12:27 2020 +0530
Merge branch 'master' into jb_disable
commit 9deedea1c4
Merge: f553a9e5 7c3d2e01
Author: Balajee SV <41125423+balajeesv@users.noreply.github.com>
Date: Fri Dec 11 23:12:27 2020 +0530
Merge branch 'master' into jb_disable
commit f553a9e582
Author: balajeesv <balajee.sv@gmail.com>
Date: Fri Dec 11 22:47:46 2020 +0530
rtpengine: Disable jitter-buffer per call in offer
Change-Id: Ib4443a0d66c78749e24f3d2cb48c991e408e21fd
6 years ago
Richard Fuchs
99ba631fd0
TT#92250 update tests for recent changes
...
Change-Id: I9f6315140bb34000ec4b3adccb0251516ec15532
6 years ago
Richard Fuchs
c69415ba45
TT#97301 allow printing and setting of individual log levels
...
Change-Id: I3ac399a7041aa04847fd4a35a9c0f12a2a0a8ce3
6 years ago
Richard Fuchs
89d017ed73
TT#97301 update CLI online help
...
Change-Id: Ib5615f15cefa23ac093115318f84cf712f735322
6 years ago
Richard Fuchs
44bc0b90c8
TT#99621 feed locally generated RTCP to stats tracker for MOS
...
Change-Id: I545f306e0f16dc71e20e10ebd419795275f7e3b2
6 years ago
Richard Fuchs
336cb5b280
TT#101653 add codec-consume and codec-accept options
...
Change-Id: Icac343b34881628118f2c36181be66db1c6286e0
6 years ago
Richard Fuchs
ba66e5fa3a
TT#99621 support RTCP generation
...
Change-Id: Iff832eaa4148cce4d87d24d4dc3b908dfa361770
6 years ago
Richard Fuchs
7a42c0c48c
TT#100251 distinguish between real transcoding and DTMF-related t/c
...
Change-Id: I4643baeb87a7b71e8fc9d23c433fa958c9c11a71
6 years ago
Richard Fuchs
1d34c40276
TT#101201 support optional ICE-lite mode
...
closes #1106
Change-Id: I4a83ed2630889d8b17a0c40d971ec7946c1ed3a2
6 years ago
Richard Fuchs
cd3652e81a
TT#97302 fix some DTLS negotiation issues
...
add explicit flag for fingerprint length instead of using the hash
function
restart DTLS after a shutdown due to a reset
clear fingerprint buffer when running the hash
suppress stray log message when no fingerprint was seen yet
add option to test script
closes #1095
Change-Id: Ic58ea6c5aa48a215743d6a3c1b371fc4a5ea77ce
6 years ago
Richard Fuchs
d715269e1e
TT#82650 add missing flags to ng scripts
...
Change-Id: Ic7c10e2812a1949ca16b2e1fff2bd14097e20396
6 years ago
Michael Prokop
e580c7c7f8
TT#82051 Fix Travis builds
...
utils/build_deps.sh with its gdebi usage doesn't support our needs,
so switch to mk-build-deps instead and apply some needed workarounds
to successfully run on Travis environment, which uses Ubuntu
xenial/16.04 LTS:
* The Build-Depends changes from commits 0fc0c4732 and 2868fc6f5
didn't have Ubuntu xenial/16.04 LTS in mind
* Commit 1f10dc30d introduced a RELEASE_DATE handling that's
not supported by dpkg-parsechangelog on Ubuntu xenial/16.04 LTS
Change-Id: I5cd4e63e686d906b622eb965ba8e539ece01c53b
6 years ago
Richard Fuchs
bbdedc5899
fix OSRTP option for rtpengine-ng-client
...
Change-Id: Ie012469aed4919c3e006aee215f63ed6fbd3fa34
6 years ago
Richard Fuchs
5fc326c64b
TT#78001 support OSRTP
...
closes #951
Change-Id: I8cd21d60b16e357a57d0d505649b74f38f4ca0b3
6 years ago
Richard Fuchs
c1d29a41a7
TT#79601 support media/DTMF playback to all parties
...
Change-Id: I534ba39c800e0b075c1502808a56b887baf3e323
7 years ago
Richard Fuchs
5fa83ce1cb
TT#14008 rtpengine-ctl fix to allow override of default values
...
Change-Id: Ia5e5aafbfdfa28652c153852a664b3212544f74f
7 years ago
Richard Fuchs
7cbf876710
test client: also print old SDP
...
Change-Id: I743e099a8be2a6f2836756fcdec31a25163849b0
7 years ago
Richard Fuchs
d872802ba2
TT#76711 T.38 <> audio gateway
...
Change-Id: I4552e07eee632fa730745410b08c3bf70ab67ab2
7 years ago
Richard Fuchs
a6f6001bec
document "list interfaces" CLI command
...
Change-Id: Iec9fbb8f7395ccaa46f5c55ce3f8815b04ca647f
7 years ago
Richard Fuchs
c3f495f8b9
move default values up
...
Change-Id: I2d7d62b5a7891ae19bcdb01b08aef13a54e68baa
7 years ago
Jonas
0778fc1d04
Update rtpengine-ctl
...
The offer-timeout option is not listed in `rtpengine-ctl -h`, but is already implemented. Maybe one forgot to mention this in the help output? 🤔
7 years ago
Richard Fuchs
f23aa26a6d
TT#74050 add support for `unidirectional` flag to test script
...
Change-Id: I4269fde76e11fe45caecb6957df6234629ef7375
7 years ago
Richard Fuchs
83f2cb03d8
TT#72350 read default values from config file
...
Change-Id: I0b6c0e6e6e43c1df3b9ede1c711a5f83bd4543f6
7 years ago
Richard Fuchs
dffe3d4b42
TT#72350 move default values to post-getopt
...
This makes it possible to load values from a config file but also
override them at the CLI.
Change-Id: Ie05c6fccb64d3b9edc8974a24669fb79feca7c0b
7 years ago
Richard Fuchs
ac60133799
TT#72350 add proper CLI options support to rtpengine-ctl
...
Change-Id: Ifc3ef56340c02ac4c43054d7e5243c71160cc90b
7 years ago
Richard Fuchs
228d822a71
TT#68100 set iLBC encoder and decoder options
...
required to distinguish between 20-ms and 30-ms modes, both for encoding
and decoding
add support for the iLBC mode= format parameter and dynamic mode
switching
closes #854
Change-Id: Icb6f0ec80df86d27681c689c168b24f163a2db06
7 years ago
Richard Fuchs
5b0a0105ef
TT#50652 support playing back media files from database
...
Change-Id: Ib21b6605553f67d6892ec8e2c75a7b0fca40936e
8 years ago
Richard Fuchs
21535faea6
TT#50652 support playing back media from memory stream
...
Change-Id: I400c4edbda4633abcff07319ce8cd0609b0021b1
8 years ago
Richard Fuchs
83965bdb1f
TT#50652 infrastructure to support reading/playing of media files
...
Change-Id: I8212f5c74bcb9557d41f80ef3a1595f53bafde8a
8 years ago
Michael Prokop
0a993a3f6f
TT#48650 Explicitly check for gperf binary
...
If the gperf dependency isn't present then people
seem to miss that it's not available. Admittedly,
the error message isn't entirely obvious:
| Makefile:135: .depend: No such file or directory
| ../utils/const_str_hash < sdp.c > sdp.strhash.c
| open2: exec of gperf -t -E -l -c -t -I -H __csh_hash -N __csh_lookup_raw failed at ../utils/const_str_hash line 37.
Change-Id: I15edcd0517e88c690be246dc628cb55e25297dd0
Closes: https://github.com/sipwise/rtpengine/issues/718
8 years ago
Richard Fuchs
aa0001d43b
add SRTCP debug helper script
...
Also fixes a bug in the Perl implementation for SRTCP decrypt
Change-Id: I426b1a5e287f2d00aecbee4ed8db82ffa55740ab
8 years ago
Richard Fuchs
5722f8b4fd
TT#50954 use <STDIN> instead of <<>> for older Perl versions
...
fixes #694
Change-Id: I2ca830766577f27b85224ea3b5ffef105966ce2d
8 years ago
Guillem Jover
ff3b821e47
TT#50954 Use <<>> instead of <> as that has unsafe semantics
...
Change-Id: I6462d853f5669678357b72215b453414f683337d
8 years ago
Richard Fuchs
744d6a46ff
add codec-set option
...
Codecs that were implicitly accepted for transcoding had no option to
set their parameters (such as bitrate) for encoding. The codec-set
option adds this.
fixes #681
Change-Id: Ib238eb73a507af168c366579abc80da07250fe88
8 years ago
Richard Fuchs
9e4d140e7b
TT#49045 add new flag to leave media direction attrs unchanged
...
Change-Id: I2dcafa3be9f8a0dfd7c1cf3e6046dabe9fa5bbee
8 years ago
Richard Fuchs
98de5697e6
TT#48650 use constant string hashing for string lookups
...
To avoid repeated strcmp()s and make use of switch()'s optimised binary
lookup, we employ a second build step that preprocesses certain .c files
and uses gperf to substitute pseudomacros with their respective constant
hash value.
Change-Id: Id89c4728a0fc7aa911691d4dd1ba8e7b3916a983
8 years ago
Richard Fuchs
c61d7f129e
add new `full rtcp attribute` flag
...
closes #668
Change-Id: I1ee13d4121d0aa6dff46470327a6caba9b631d7d
8 years ago
Richard Fuchs
d08d84071a
TT#45472 support SDP fragments for trickle ICE
...
Change-Id: I31880b5cf837a078bdb75e86dd425136bf829e4c
8 years ago
Richard Fuchs
a1efdf6b20
TT#45472 support generating a=mid lines if not present
...
closes #641
Change-Id: I849f0c73c5fdd575417a37a41d6701ea4454374b
8 years ago
Richard Fuchs
fb1083f8e3
Add option to leave base64 padding for a=crypto in place
...
closes #658
Squashed commit (plus docs and minor modification) of:
commit 4187cd3b2d
Author: Muhammad Zaka <muhammad.zaka@synety.com>
Date: Mon Nov 19 18:13:43 2018 +0000
removed unnecessary pad_crypto_def variable
commit 5c7b7c0ced
Author: Muhammad Zaka <muhammad.zaka@synety.com>
Date: Mon Nov 19 17:39:18 2018 +0000
add `pad-crypto` flag to not truncate trailing '==' after base64 encode
commit 98bea79902
Author: Muhammad Zaka <muhammad.zaka@synety.com>
Date: Fri Nov 16 10:59:47 2018 +0000
crypto containing padding should be sent within sdp for pass through
Change-Id: I1f7502f34e9492100e5c3a5a7345319ed996c22c
8 years ago
Richard Fuchs
04a83027a0
TT#43557 implement media blocking
...
Change-Id: I336cf7203c1236b3e596310690a89ce1c3fd8bf4
8 years ago
Richard Fuchs
34759b7c48
add ability to specify payload type in pcap replay script
...
Change-Id: I819dd012ee45cc50c57d9129d1f8c99963c0483f
8 years ago
Richard Fuchs
0aeb06f613
TT#40900 store metadata in call struct instead of recording struct
...
makes it possible to set the metadata before recording has been started
closes #579
Change-Id: I885a39fbc53345a4e9f2459f3cd972cb1198c210
8 years ago
Richard Fuchs
9c3edeef88
support cooked format in replay tool
...
Change-Id: I3e1e991a5ef2492c958354dac309f0cec25ccb66
8 years ago
Richard Fuchs
2f5d792aae
TT#36301 add `always-transcode` flag
...
closes #527
Change-Id: I0d8192cf93c49823f35a6307ccd8c77842fb51dd
8 years ago
Huseyin Dikme
ab58245096
-cli params diff command has been updated to serve only for the
...
possible modifiable configuration file parameters.
-Additionally, cli params revert command has been implemented.
8 years ago
Richard Fuchs
b4f65bdd96
TT#35634 add `xmlrpc-address` option for callback address
...
Change-Id: I9c040fc00242469dadbfef485f33e41e698164d1
8 years ago
Richard Fuchs
efcad1c628
TT#35413 add support for the 'load limit' ng protocol extension
...
Change-Id: I3f3897794050e0807f3cddb8044b3aa37b703d9c
8 years ago
Richard Fuchs
e0cdf74ac5
fix SRTP ROC syncing between kernel and userspace
...
also fixes spurious unkernelized rtcp-mux streams
fixes #495
Change-Id: I9ec86ec5ecfffeede367a9aab9168ac32b7a95f3
9 years ago
Richard Fuchs
b1dc994a7f
explicitly support aliased flat codec options in ng-client for testing
...
Change-Id: Ic9deaa7403a49f70d27f3ec2aa223ae714fac64a
9 years ago
Richard Fuchs
5b0bb90afa
fix recording setup_media reversed direction
...
fixes #462
Change-Id: Id8efec9261ce9edb246f7a838619a93157e049b3
9 years ago
Richard Fuchs
bc30929192
TT#32210 add codec masking option
...
Change-Id: I05f2bde978f628d398dd8046815fcfc3d5b42de2
9 years ago
Richard Fuchs
266a1fbc8b
TT#31404 support custom ptime and repacketization for sampled codecs
...
Change-Id: I4db83cb8faa9b0234dd655f4bdc116a3ddb59f39
9 years ago
Richard Fuchs
d510f5efe8
TT#30404 initial support for adding codecs for transcoding
...
Change-Id: I58474ac2daee213d9f11157f61c2a3df90818fbe
9 years ago
Claudiu Boriga
80abad18cf
Merge remote-tracking branch 'sipwise/master' into extend-rtpengine-ctl
9 years ago
Claudiu Boriga
4039efd51a
Update rtpengine-ctl help
9 years ago
Huseyin Dikme
968446c730
cli params command has been created for initial, current parameters
...
and their difference
9 years ago
Richard Fuchs
1477f9796f
TT#29151 add 'loop protect' feature
...
possible fix for: #431 , #425 , #415 , #65
Change-Id: I12558681b7d292e3973d2ba024f30f1e236b3a57
9 years ago
Richard Fuchs
edb21fe408
use EOL instead of shutdown to terminate command in rtpengine-ctl
...
closes #447
Change-Id: I0ddb89a9eead715b981958761e5a1a6cf8ad94ba
9 years ago
Richard Fuchs
2540c5d501
TT#30403 support codec-offer
...
only codecs from the original list for now
Change-Id: I884775a5b337ed3533972f4361ecb50e329b126e
9 years ago
Richard Fuchs
d7dd7421e6
TT#30403 implement codec stripping
...
Change-Id: I384aa353b43986656145c443e40a2b96f04c489f
9 years ago
Richard Fuchs
018e35cba8
TT#27200 add option to omit a=rtcp attribute
...
closes #428
Change-Id: Ie186291b7b0107d67488facbfea42cd4915556b4
9 years ago
Richard Fuchs
7b757ffd8c
allow -ip host:port syntax in rtpengine-ctl, and document loglevel cmds
...
Change-Id: I8004e2bd002ceeee56bb9cc974bbeef533001c0d
9 years ago
Guillem Jover
53b3c36939
TT#24097 Fix shell quoting
...
- Add missing quotes.
- Switch some problematic usages to use bash arrays.
- Override shellcheck errors (these might need fixing in the future).
Change-Id: Id451ff9f4c5d5ef9b3826544908d64e9c08c5797
9 years ago
Guillem Jover
b2636dcb29
TT#24097 Enable strict and warnings everywhere
...
Change-Id: I7362eaf95a41c67f65d79ea9e4bc1fb94eb32e69
9 years ago
Guillem Jover
0bdc116387
TT#24097 Rework perl code flow
...
- Avoid comma-separated statements.
- Avoid mixed boolean operators, and use proper code flow keywords.
Change-Id: Iec4c85a3d39fe94ba7b9f293dc158892ae7d9577
9 years ago
Guillem Jover
acf84a7eb4
TT#24097 Use semicolon instead of colons for end of statement
...
Change-Id: Iebad9ae973f5e6ddd9712635c21d6137536c0d92
9 years ago
Guillem Jover
301af4a2e9
TT#24097 Declare variable as my
...
Change-Id: Id5aa7f7f3c0839564804102fb401e5422e676433
9 years ago