Richard Fuchs
cca6ba70c7
allow protocol=RTP/AVP plus OSRTP-offer
...
closes #976
Change-Id: Id409d08a5a89b0ca9dbaf8cc457cc8ea89a433f1
6 years ago
Richard Fuchs
a168a3c024
TT#78307 generate RTCP for media players
...
Change-Id: Ic6dd65211ca253491a7ef3acd35499155b60fe4c
6 years ago
Richard Fuchs
2e4617ff86
TT#78307 move SSRC send stats to actual point of sending
...
Change-Id: I54ff4afeb8b3a205a678e9102fb0d8cedee78bae
6 years ago
Richard Fuchs
dfc76d23b5
TT#78900 leave m=message connection details untouched
...
closes #959
Change-Id: Iaf01c87697ce46f507563ed1560e664b0ca33544
6 years ago
Richard Fuchs
5fc326c64b
TT#78001 support OSRTP
...
closes #951
Change-Id: I8cd21d60b16e357a57d0d505649b74f38f4ca0b3
6 years ago
Richard Fuchs
e59ccc2973
TT#79900 add SDES=lifetime option
...
closes #966
Change-Id: I462dabffb5c00387ab1b91cabf3fcb2be998f76e
6 years ago
Richard Fuchs
1055a1e71e
TT#79351 detect and fix payload type collisions
...
fixes #963
Change-Id: I938b1c4b9baed37caf718f7537bbb9c11f7b91e5
6 years ago
Richard Fuchs
d611bbbb74
TT#78501 add T.38 options
...
Change-Id: I4f173f384db18e832c1d24a7015a836ec4215a96
6 years ago
Richard Fuchs
dfae8d6a22
TT#78201 add symmetric-codecs flag
...
closes #953
Change-Id: I848f501709f48927a7156033ccd42eacd742e2d8
6 years ago
Richard Fuchs
d872802ba2
TT#76711 T.38 <> audio gateway
...
Change-Id: I4552e07eee632fa730745410b08c3bf70ab67ab2
6 years ago
Richard Fuchs
de69c5ed1f
TT#76711 split codec_handler_get for different protocols
...
Change-Id: I67573100108aedb1c8e7fc5920682a7872fd10c2
6 years ago
Richard Fuchs
2d78c36338
TT#76711 allow update of media type
...
Change-Id: I3e860fe8683be2d7b0cd3cc70d4f7e4b39a0e147
6 years ago
Richard Fuchs
d847d26e0b
TT#76711 convert codec handlers hash table to direct hash
...
Change-Id: Ieeb8183cd8041a10e311fb4f2fe6b92bbc5ad8bb
6 years ago
Richard Fuchs
61ab3d917e
TT#76711 add libdl linkage to testing preload lib
...
Change-Id: I647182dd4abc44ef1f7956df419313215ab82a0f
6 years ago
Richard Fuchs
c0be3ea0e1
TT#14008 allow for slightly different DSP outputs
...
Certain versions of spandsp return a slightly different volume for the
PCM DTMF events (0x10 instead of 0x0f) which breaks the tests.
fixes #950
Change-Id: I9c92bcc5a91214d3c3e6f9de6cdd2faecba2d9db
6 years ago
Richard Fuchs
06b87041ed
TT#74301 add tests for jitter buffer
...
Change-Id: I167cb10e5d390b89aa6f77122567238d642a5736
6 years ago
Richard Fuchs
ef0d6a3a80
TT#74301 merge jitter buffer PR #834
...
refactored
closes #834
Change-Id: I174cc6e365af54fb66d2dd78be02c601c5d5d645
6 years ago
Richard Fuchs
4267e1ca09
TT#74301 split auto-daemon-test framework into perl module
...
Change-Id: Id12cd5a6db1f23da9ba0d50ebf17912ba94297e3
6 years ago
Richard Fuchs
16afc46ca4
add test symlinks to gitignore files
...
Change-Id: Icaf60b8e1eb75f10f9b41cb5c55ad40ea89aa0ac
6 years ago
Richard Fuchs
8bdeb2d9bf
TT#69701 fix incorrect address used for raddr/rport
...
fixes #850
Change-Id: I36eb8c61e094cda335c14023374dab6d5f1ccfcd
6 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
6 years ago
Richard Fuchs
3bf3982de1
TT#65052 support queuing up multiple DTMF events
...
Change-Id: I489194212a46d12761b3fdc1e212c78254b91427
6 years ago
Richard Fuchs
068bdb224f
TT#65052 support adding pause after DTMF PCM
...
Change-Id: I0332ac2488f9d2d12ce4d84c3e8b60caf35d9c6c
6 years ago
Richard Fuchs
a6b41372c6
fix test suites for different implementations of base64 encoding
...
Change-Id: I7ef16ca66f8fff92faefd8bbc5d1d4d195a68de4
6 years ago
Richard Fuchs
3466700149
TT#65800 fix SDES negotiation bug
...
If B accepts a crypto suite that was not listed as the first, in order
to support SRTP passthrough, we correctly answer to A with only that one
crypto suite. But we must also remove all other crypto suites from our
list of supported crypto suites internally, because we use the first one
to init our crypto contexts.
fixes #829
Change-Id: Id07343d7b24648208e3a4b4e0b246949dce0385e
6 years ago
Richard Fuchs
b14f3b2b1c
TT#64259 support injecting DTMF tones and events
...
Change-Id: I07aa7690146db5b41be479a67aaafbd66aec4033
6 years ago
Richard Fuchs
23977237c0
TT#61050 detect to-tag changes via via-branch
...
Change-Id: I1cf0f7e516ae52a2f40a9ef84a207fe1456ea1e5
7 years ago
Richard Fuchs
290477d2e5
fix unit test after 8fb603e5
...
fixes #798
Change-Id: I166f681cb2d5c496d2cbb4bc13318b0395ad12b3
7 years ago
Richard Fuchs
3845a43d0e
change localhost to 127.0.0.1 to avoid resolv problems
...
fixes #795
Change-Id: Ic53060432ead0db0891c24b4abaf077c0d583546
7 years ago
Richard Fuchs
988d077b5c
TT#60301 fix rtcp-mux logic with branched calls
...
Move the RTCP_MUX_OVERRIDE flag to the opposite side of the dialogue to
preserve options given during a branched call.
closes #793
Change-Id: I0bd7621ba22fbfe4f41d115ec2e5dab65283ae01
7 years ago
Richard Fuchs
166aaa0c71
fix compilation for with_transcoding=no
...
closes #789
Change-Id: Ia0a50f77ae25b8af5e387d40b2b570285836e32d
7 years ago
Richard Fuchs
f960799cdd
TT#59703 add build test for dtmf_rx_fillin()
...
closes #787
Change-Id: I26ec7ebef74dad03192019b788e7c7ae17715783
7 years ago
Richard Fuchs
7803930d21
TT#59703 generalise build test make macros
...
also add a linker stage to the test build
Change-Id: Ief9dcabbb77dd682b6e7188c296f4713c1c234a3
7 years ago
Richard Fuchs
7ad9906178
TT#59650 fix DTMF related core dump when repacketising
...
Change-Id: I77b84c4b47ee41702b076a8a2f3259dc853654f1
7 years ago
Richard Fuchs
910c03fa62
TT#58660 PCM to RFC DTMF transcoding
...
Change-Id: Iea6a11c0caad1f5e7dcca966101e2969d3516b6f
7 years ago
Richard Fuchs
c0781e5193
TT#58659 RFC DTMF to PCM transcoding
...
Change-Id: I32fa876940131e3a18f611e2a518f7acd1327665
7 years ago
Richard Fuchs
db507468de
TT#59100 support case insensitive codec names
...
closes #775
Change-Id: Id54309bf0920e731ad42fb09b078580090f6f82e
7 years ago
Richard Fuchs
b0b43ce67e
TT#58659 update test script for consistent seq numbers
...
Change-Id: I0846d9e476fac9f630cee2f1b7925b7aa7a15fd0
7 years ago
Richard Fuchs
eb602892b0
TT#58659 fix incorrect escape seq in test script
...
Change-Id: I03fa500ce6b12cb87c807d522eb61dd7197f234b
7 years ago
Richard Fuchs
491865a99f
test case for github issue #766
...
Change-Id: I4f4ac8d35f0a6e358ce6730605292c3f6dbe24c4
7 years ago
Richard Fuchs
357474df6f
TT#50652 add label= option to match call participants
...
Change-Id: Ifc6cf8f630e9e5eb8cfb9b284e671a5ce4470963
7 years ago
Richard Fuchs
9917e65599
fix division by zero for dtmf in some cases
...
closes #730
Change-Id: Ic917cc21d5c9a2012ae59d8c9c323114074fb300
7 years ago
Richard Fuchs
52660eddd2
TT#54800 add ptime-reverse tests
...
Change-Id: I565daf5d86576f3b47bb190685fc68cfed1ec739
7 years ago
Richard Fuchs
fb76ef74f8
TT#54800 fix ptime overrides
...
Adds a new option ptime-reverse to complement setting of ptime towards
the offerer. This and ptime setting are now ignored in answers.
Change-Id: Icbc04f191cbc194b75b72a97832fcaba58feb10e
7 years ago
Richard Fuchs
6921472e3b
TT#54800 add ptime tests
...
Change-Id: Ia8423bf560d6a563b5a3f6ba77edf11a726b2766
7 years ago
Richard Fuchs
349954d2bc
TT#50652 handle SRTP output for media playback
...
Change-Id: Ie83c9c01c4c17e14d30aa14272b86af9ea38e1fb
7 years ago
Richard Fuchs
c9bae61ed7
TT#50652 add media playback tests
...
Change-Id: I5ba67c553594fa8c4254598375b26b06b7174835
7 years ago
Richard Fuchs
5b0a0105ef
TT#50652 support playing back media files from database
...
Change-Id: Ib21b6605553f67d6892ec8e2c75a7b0fca40936e
7 years ago
Richard Fuchs
83965bdb1f
TT#50652 infrastructure to support reading/playing of media files
...
Change-Id: I8212f5c74bcb9557d41f80ef3a1595f53bafde8a
7 years ago
Richard Fuchs
d96dbdea17
TT#50652 split timer thread functions into separate file
...
Change-Id: I445f3e2556ce647bf7e245e9612f4babcf04e388
7 years ago
Richard Fuchs
e3ec97f858
TT#50652 add -Wstrict-prototypes everywhere
...
Change-Id: Ic5b5fcb892a8f70196478f8622d956bdea373422
7 years ago
Richard Fuchs
8f3c309c7f
fix always-transcode not being honoured when only codec-mask was used
...
reported in #664
Change-Id: I2cdfe405c61d48513a01393c5306fe4c875325ee
7 years ago
Richard Fuchs
497c2d6a8d
TT#49104 move RTP sequencing into SSRC context
...
Detect and handle RTP seq resets while transcoding and provide
consistent output seq
fixes #664
Change-Id: I063bd9432f253fde25e90cdeb4e3460a882f7778
7 years ago
Richard Fuchs
3b28460507
TT#52651 Squashed commit of the following:
...
commit 2029144368
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 21 13:12:50 2019 -0500
TT#52651 switch TCP to TLS
Change-Id: Iab6b05d3b5c88553cbd6f531f3189084d9e71995
commit b28e718ee4
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Feb 22 09:20:54 2019 -0500
TT#52651 generalise streambuf interface
Change-Id: I7d5ab8ffe13e52d4dbb1901531cc13fcc173d60d
commit cb2dbd2a92
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 19 09:32:56 2019 -0500
TT#52651 add start/stop forwarding commands and party selection logic
Change-Id: I8ef7e288d3a3e485bd2fa14e1a2407a0c8d94bac
commit 442c48f627
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 14 15:43:23 2019 -0500
TT#52651 produce output for TCP forwarding feature
Change-Id: I18543921577faf655679829684f5af46c0af5054
commit 2ef8028eb2
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Feb 14 10:18:21 2019 -0500
TT#52651 make recording to output files optional
Change-Id: I12c288b965641352658ce3b499c2ee90593e1322
commit 10a58cd7a0
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 13 16:02:16 2019 -0500
TT#52651 strip streambuf into lib and include in recording daemon
Change-Id: I1f6638961e9e767063e0b4e6b5d55d88799366d3
commit 9d3bb5bffc
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Feb 13 15:40:12 2019 -0500
TT#52651 extract/move unrelated old legacy decoder struct members
Change-Id: Iffd79b43180c30a9e128a460f7ba85ba49dedeaf
commit 1bc38e4201
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 12 16:43:42 2019 -0500
TT#52651 config options for forwarding option
Change-Id: Ieaa2ee0e55a0c531158174bc6a534738a64dbee6
commit 06d61cd3dd
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Tue Feb 12 16:29:52 2019 -0500
TT#52651 move socket.[ch] into lib/
includes necessary re-shuffling of additional code pieces
Change-Id: I74b314ab5936ac8a0eeaff94e084617b59b28d79
Change-Id: I025e8ec86b90ede79565542dff57ec1559d04200
7 years ago
Richard Fuchs
490d7eb019
disable all AMR tests by default due to inconsistent codec libs
...
closes #708
Change-Id: I48f8c229486dc52c227e64782b05f931f1012c66
7 years ago
Richard Fuchs
daa0bf932e
fix tests compilation for with_transcoding=no
...
fixes #707
Change-Id: Ieb8b5365aab6b07967eb1576626fbf9dc0df27ad
7 years ago
Richard Fuchs
c33399ace6
fix test suites for different implementations of base64 encoding
...
further fix for fa90e4d
Change-Id: Ic8aa9e08f21fe79ba6d55fea87928e9ece228779
7 years ago
Richard Fuchs
fa90e4dc0e
fix test suites for 0c9bb7c
...
Change-Id: I689b24ab0deae6439b8359dbfa4020259d7e0572
7 years ago
Alexey Vasilyev
0c9bb7c440
Rename crypto suits according to RFC6188
7 years ago
Richard Fuchs
3cdfe5af1a
suppress loading of default config file for auto tests
...
Change-Id: I018de8dc31781756ef69738706531ad5f3dfb2af
7 years ago
Richard Fuchs
8d625cc03f
add auto test suites for #661
...
Change-Id: Icce0a216f190efad365e613e76290630540dd9b1
7 years ago
Richard Fuchs
0811c59120
fix bug with incorrect open3 redirection for test suite
...
Change-Id: I261ac7a6ce1bede73a1dbc2dad9b20720f05a5d3
7 years ago
Richard Fuchs
415af36ae6
don't add rtpmap or mid attributes for deleted/silenced streams
...
fixes #686
Change-Id: Ie9a155072a8b6acb8edcf59a5dd164f78a503616
7 years ago
Richard Fuchs
44c38c6c83
TT#49351 create preloaded library for system tests
...
Change-Id: Ibd87e7c03637a0772dcf3b0f2ed0d8646aa2add9
7 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
7 years ago
Richard Fuchs
ee01f15852
fix non-default encoder bitrate not being applied
...
Bitrates specified in codec-transcode-... options were applied to the
decoder created during the offer. The matching encoder only gets created
during the answer phase, at which point the specified bitrate must be
copied from the decoder.
fixes #681
Change-Id: Idc6a16a4493908d78bb0b48ae590aba046152af0
7 years ago
Richard Fuchs
84f152bc62
TT#49600 add test suites for SDES crypto negotiations
...
Change-Id: Ia615394c9c87c797a0ee58ccc67074f9caba4093
7 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
7 years ago
Richard Fuchs
5e558e9016
fix test suite compilation after 590b752b
...
Change-Id: Ibcba457a1e31c1523b417a9492e581e0b5cedbbb
7 years ago
Richard Fuchs
04a83027a0
TT#43557 implement media blocking
...
Change-Id: I336cf7203c1236b3e596310690a89ce1c3fd8bf4
7 years ago
Richard Fuchs
e67b9c40da
TT#43556 support blocking of DTMF event packets
...
Change-Id: I7ef43ddb254b1583c2dc69b44a13b978eff15510
7 years ago
Richard Fuchs
08fc00906d
fix segfault with DTMF logging and implicit payload types
...
fixes #571
Change-Id: Id2b575ff555d7968006309bcb5b5d6bbac2ed1e7
8 years ago
Richard Fuchs
a9ec666cb4
TT#38350 implement sending DTMF events to syslog
...
Change-Id: I82fbdc7da6cbe2505ef1c98dd3c45b63c4461994
8 years ago
Richard Fuchs
dd34574669
TT#38350 keep track of the most used RTP payload type
...
Instead of just remembering the last seen RTP payload type, this adds a
tracker that keeps track of the last 32 seen payload types and keep the
list in order of how often each type was seen.
Change-Id: I062a43b7bfc9413b755dca548d72953ff8245477
8 years ago
Richard Fuchs
bfac341aec
shut down transcoding engine when it's not needed
...
closes #562
Change-Id: I3c96cdcdeea8ee815f0ae7e40a4caccbfee9977e
8 years ago
Richard Fuchs
8562bdee70
support new `asymmetric codecs` flag
...
Change-Id: I244b3576be19658ecc2af353e427e95aea4fca70
8 years ago
Richard Fuchs
f1b81b649e
simplify parameters passed to codec_rtp_payload_types()
...
Change-Id: I8a9147bb527b3084ed9f4acfa82868fc26b0d8c2
8 years ago
Richard Fuchs
a2ed8e613a
convert transcoding unit test macros to functions
...
Change-Id: I409003397c7b510f79169e6069829b4bb949d12e
8 years ago
Richard Fuchs
f0b4f1d9a9
TT#37157 make payload mismatches in lossy codecs non-fatal
...
required to accomodate different versions of encoders
Change-Id: I47c574f1a8761b0ba042532145548e87d4398b75
8 years ago
Richard Fuchs
9b447cf18a
TT#37157 add G722 transcoding test incl RTP TS testing
...
Change-Id: I33f244eeccfbf9a9358608a73743585fd235686b
8 years ago
Richard Fuchs
6e9776876c
TT#37157 add RTP TS and seq checking to transcoding tests
...
Change-Id: Ib9e17aa6b0b3b3ec945d0abe54cdefca5e7ea989
8 years ago
Richard Fuchs
88778d981e
TT#37157 eliminate stray compiler warning in test code
...
Change-Id: I554308499edb326bae56841629827ed85152efe4
8 years ago
Richard Fuchs
6f6bad1d74
TT#37157 swap parameter order for packet_seq() test macro
...
Change-Id: I61f257efad7afc9634c73a32c3167b2ef8aca608
8 years ago
Richard Fuchs
95a7cc6cfb
eliminate redundant function argument
...
Change-Id: I5bff4436072c2855590e08d90c5098af3abceb93
8 years ago
Richard Fuchs
d64c888a0e
TT#36301 transcoding unit tests
...
Change-Id: If48e5afe5a343b557183b6e87441f52424dd2c6a
8 years ago
Richard Fuchs
1e96c9e522
fix compiler warning introduced in 677fe29d
...
Change-Id: I523bdf389cf8107f6f5c279c26a643c95ae54c49
8 years ago
Richard Fuchs
677fe29dfb
remove the AMR decode test
...
the AMR (narrowband) decode test is unreliable as different AMR lib
versions give different results and the AVCODEC version test macros
aren't sufficient to differentiate between them
closes #549
Change-Id: I2eceb0a14b968be9cf7c62303a83fc958235e2dc
8 years ago
Richard Fuchs
9e43369b84
disable AMR narrowband decode test for older ffmpeg
...
closes #541
Change-Id: Idcdd6c16fdcfa85fd02301b2045e3685e172e82d
8 years ago
Richard Fuchs
db2882ca78
integrate AES unit test into main build framework
...
Required addition of include/ directory for headers shared between
daemon and tests
Change-Id: Ib25504f4d7f4baa917efcdc0ef78b6cc89439827
8 years ago
Richard Fuchs
8c770b9e05
appropriate use of LDFLAGS and LDLIBS
...
fixes use of implicit make rules for some compilers
closes #539
Change-Id: I43a74ccf8155b1eafe90eba46ce155a2a6301a89
8 years ago
Richard Fuchs
06f76e6de4
don't run AMR tests when transcoding is disabled
...
fixes #540
Change-Id: I6b0d970ec9d7b8603ee401d8fd41176ee0ffeae4
8 years ago
Richard Fuchs
895fa96054
TT#35456 implement RFC 4867
...
Fixes AMR transcoding. Some features yet unsupported.
Fixes #498
Change-Id: I1075a539a7a7dab9106df9ef49b8bda2484b97ec
8 years ago
Richard Fuchs
b2a775f2f0
transcoding test suite improvements
...
Change-Id: Id7c522afe3d5060d0eb79126763454ecd25fc411
8 years ago
Richard Fuchs
9eb9a2f421
TT#31197 include bcg729 build support
...
Change-Id: I3862c0b9b8010699e6a49f749b38568d08103840
8 years ago
Richard Fuchs
df537b98c3
TT#28163 pass encoded packets back to processing for sending out
...
Change-Id: Icdd49d174336277dae0c2c79854fc4e3b42a5c44
8 years ago
Richard Fuchs
cee94a5348
TT#28163 pass RTP packets to media decoder
...
Change-Id: Ie1cf4ed50a0dae0ee4bbe37918d3d2a86666d998
8 years ago
Richard Fuchs
1aa9944fe4
TT#27550 implement interface round-robin selection
...
Change-Id: Id5cf290cc9d044716b5f55cf416dc40b87f23f24
8 years ago
Richard Fuchs
ab0dba7d14
TT#12800 support custom monologue labels
...
Change-Id: I55b2db88307088c4d5e0161eae6e3aa0b5d1b053
9 years ago
Richard Fuchs
4ad693a063
TT#12800 report MOS stats back to proxy via NG protocol
...
Change-Id: Ib0cc5b39a5f50d68a8013b738ac7d87b32069928
9 years ago
Richard Fuchs
0b63050c46
TT#12800 add test script to simulate RTP packet loss
...
Change-Id: I931d2b0ee16167bf48900aee806d99a12e4c601e
9 years ago
Richard Fuchs
74be799c4c
TT#12800 add RTCP support to perl test scripts
...
Change-Id: I9407b7b71817085b4c2c70bebcfe4681c8540696
9 years ago
Richard Fuchs
f83f674c4c
fix perl namespaces - move into NGCP::
...
Change-Id: I5c21abf195b766bfda3d9d371b4d0577007c1f5e
10 years ago
Richard Fuchs
b6b0b901b3
move dedicated tests into t/
...
Change-Id: I0c51cbc63c2a1d34d89aca92084da7a8be53d8b7
10 years ago