Richard Fuchs
d26b11ffb0
fix compilation for with_transcoding=no
...
Change-Id: Ibb63f51b909052d81ebf1865335a428a421d856e
7 years ago
Richard Fuchs
be9c3146f4
fix missing header include
...
fixes #569
Change-Id: I795a96dbe224bc798317e47b11d758e56e26d1ae
7 years ago
Richard Fuchs
08fc00906d
fix segfault with DTMF logging and implicit payload types
...
fixes #571
Change-Id: Id2b575ff555d7968006309bcb5b5d6bbac2ed1e7
7 years ago
Richard Fuchs
a9ec666cb4
TT#38350 implement sending DTMF events to syslog
...
Change-Id: I82fbdc7da6cbe2505ef1c98dd3c45b63c4461994
7 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
7 years ago
Richard Fuchs
4eb80da836
compile fix for with_transcoding=no option
...
fixes #568
Change-Id: I97fba6bb767a572d6b701e274176913270e55f16
7 years ago
Richard Fuchs
d66a2e5191
TT#38351 support specifying interfaces by name
...
closes #566
Change-Id: Ia9a5c6d9d702e27404a7e27503970ee9a8dac7b9
7 years ago
Richard Fuchs
cbe7e5ab1d
TT#36700 implement ports free list
...
eases CPU usage when the number of available ports runs low
Change-Id: I0cdb035991a54a96c94ff47b074c91ff2b74c9bd
7 years ago
Richard Fuchs
bfac341aec
shut down transcoding engine when it's not needed
...
closes #562
Change-Id: I3c96cdcdeea8ee815f0ae7e40a4caccbfee9977e
7 years ago
Richard Fuchs
8562bdee70
support new `asymmetric codecs` flag
...
Change-Id: I244b3576be19658ecc2af353e427e95aea4fca70
7 years ago
Richard Fuchs
f1b81b649e
simplify parameters passed to codec_rtp_payload_types()
...
Change-Id: I8a9147bb527b3084ed9f4acfa82868fc26b0d8c2
7 years ago
Richard Fuchs
9f3f24f3ef
TT#36759 rate limiting for ICE/STUN log messages
...
Change-Id: Iac172a52ac9a48d5ff62995454bda108680228d7
7 years ago
Richard Fuchs
e404f18975
TT#37157 fix missing G722 RTP TS output scaling
...
fixes #560
Change-Id: Ief961a1f0e3d7fb1bd07e79eab1ceb54b5d131be
7 years ago
Richard Fuchs
50394e8dd2
TT#37156 fix divide by zero error (regression from db58aa80
)
...
fixes #564
Change-Id: Ifdc58c814d6a0c82d95ca86ab2fd4eb3a85486ae
7 years ago
Huseyin Dikme
30ba1cd2a6
control command logs have been updated
7 years ago
Richard Fuchs
95a7cc6cfb
eliminate redundant function argument
...
Change-Id: I5bff4436072c2855590e08d90c5098af3abceb93
7 years ago
Richard Fuchs
d64c888a0e
TT#36301 transcoding unit tests
...
Change-Id: If48e5afe5a343b557183b6e87441f52424dd2c6a
7 years ago
Richard Fuchs
2f5d792aae
TT#36301 add `always-transcode` flag
...
closes #527
Change-Id: I0d8192cf93c49823f35a6307ccd8c77842fb51dd
7 years ago
Richard Fuchs
5c3d39748b
TT#35456 fix regression from 895fa9605
...
Adding a fixed length to the size of the buffer requested from the
packetizer was wrong, as this is not just the length of the working
buffer but also the size of the buffer to be returned for sample stream
(PCM) codecs. Instead, use the codec definition's bit per sample spec
to make AMR provide a larger buffer than the bare frame.
Change-Id: Ibff59b21d491e3327cc9e907e6515379a8ca9188
7 years ago
Richard Fuchs
7de16e104c
TT#14008 fix codec mask logic if no masking info is present
...
fixes a glib warning
Change-Id: I8c79231e52a88b9fd2af7c3acf1be6b994e86876
7 years ago
Richard Fuchs
fb75ef748a
TT#14008 fix libpcre references in makefile
...
Change-Id: I16c18d48a0df01d2b1e505fca81697658614d2d3
7 years ago
Richard Fuchs
db58aa80d0
fix graphite interval calculation for call durations
...
closes #543
Change-Id: I60f88cd874051c44df21b0b20401d1603ba5832e
7 years ago
Richard Fuchs
09fed75e7e
Merge branch 'master' of https://github.com/hdikme/rtpengine
...
Change-Id: I97bf1782e259c17a3313ec4e6d670dae8592f12c
7 years ago
Richard Fuchs
fa5c265045
TT#36302 support scheduling settings
...
Change-Id: I490fde10a5ae44d25b95e4368af70003716040b7
7 years ago
Richard Fuchs
14ffd8feb0
TT#36303 support bandwidth usage resource limit
...
Also fixes logic for other resource limits
Change-Id: I263e097da5b5671826e0d92a28fb3a5c6f3ac193
7 years ago
Richard Fuchs
6da7494a08
TT#36180 calculate per-second stats based on timer runtime
...
Change-Id: I6b3665b2219becb0fb25f4849b11745f809ab8c7
7 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.
7 years ago
Richard Fuchs
9943a3d868
TT#36180 scale timer interval according to runtimes
...
Also slow down XMLRPC callbacks to avoid excessive CPU usage
Change-Id: Ie318997bacfacc6d9806d72ff42310cfd19f49b2
7 years ago
Richard Fuchs
3b3e964c83
short lock duration for faster calls iteration in the timer
...
Change-Id: I1d2d40e1a5fcdaaf8384eeb841d3e99690185d7f
7 years ago
Richard Fuchs
539e063992
don't retry XMLRPC callback if endpoint says the ID was not found
...
Change-Id: I943f8738e1c92345fc983a3a8ab7d61d00b924ad
7 years ago
Richard Fuchs
68e8092098
add ../include to YCM config
...
Change-Id: Ibf368215ee9b3fffae5ffa12dd919a83fd14c360
7 years ago
Richard Fuchs
2c5a358e1c
TT#36308 fix possible segfault due to missing lock
...
Change-Id: I61d411cd88494fa8c3c4197ec9e5a70a2231a325
7 years ago
Lucian Balaceanu
83911675cd
Fix for recovering from losing synchronous redis context while the async one is up
...
Force re-checking of the synchronous redis context state in case of processing
a redis notification. It is possible that redis async context is up while the
blocking one is down.
7 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
7 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
7 years ago
Richard Fuchs
b4f65bdd96
TT#35634 add `xmlrpc-address` option for callback address
...
Change-Id: I9c040fc00242469dadbfef485f33e41e698164d1
7 years ago
Richard Fuchs
345836e90a
TT#35413 implement a CPU limit and a load limit
...
Change-Id: Ia0c605d17866c232353917f2980637fa7823dce4
7 years ago
Richard Fuchs
efcad1c628
TT#35413 add support for the 'load limit' ng protocol extension
...
Change-Id: I3f3897794050e0807f3cddb8044b3aa37b703d9c
7 years ago
Richard Fuchs
43f2971722
disallow zero interface addresses in config
...
closes #538
Change-Id: I27278125e0f15e4cd860380592606adbcfd0f6b7
7 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
7 years ago
Richard Fuchs
895fa96054
TT#35456 implement RFC 4867
...
Fixes AMR transcoding. Some features yet unsupported.
Fixes #498
Change-Id: I1075a539a7a7dab9106df9ef49b8bda2484b97ec
7 years ago
Richard Fuchs
761ac6cb4f
errno must be set to 0 before calling strto*()
...
... when using errno to determine errors
fixes #532
Change-Id: Iba1d02a86026cc878595895e91abe164cfe4d9bd
7 years ago
Richard Fuchs
6fa712d0d8
implement offer-timeout option
...
closes #526
Change-Id: I819e1ad567c93f922461caf15482c2c55a0143d1
7 years ago
Richard Fuchs
bf66d7caf7
eliminate stray glib warning
...
Change-Id: Ib7bf097274fc9e9ab760bcc0552534e0da5a9129
7 years ago
Anthony Alba
b9d84aa993
recording.c: add a few ms timestamps to pcap metadata
...
* For pcap recording, store a few timestamps in milliseconds in metadata
* created timestamp for each monologue
* terminated timestamp for first monologue in the linked list;
also "call end time" metadata includes the delete delay, so the
monologue terminated timestamp gives better information for
CDR purposes
7 years ago
Jerzy Ptak
a44a9bf9f0
fixing memory leaks
7 years ago
Richard Fuchs
79a74f69ff
Merge branch 'redis_racecondition' of https://github.com/1and1/rtpengine
...
Change-Id: Ic6bfc64003c7ec1eac18e65396a63142c6253afa
7 years ago
Claudiu Boriga
229b78d2b8
Fix race condition where redis context is used outside mutex protection
7 years ago
Richard Fuchs
33b262af78
TT#33700 migrate from avresample to swresample
...
closes #465
Change-Id: Ib23ea0dbaf151182360db8ae8e0bc94c93a1743a
7 years ago
Richard Fuchs
ce44eaf1d3
fix RTP timestamps in G.729 decoder
...
also fixes SRTP auth tag passed to transcoder
closes #501
Change-Id: I2253d1372784d0332b8449f8fb8087a2f7e4c699
7 years ago
Richard Fuchs
16024d2e7a
create explicit per-stream DTLS context for ICE
...
fixes #500
Change-Id: Iee3d9ab1c19a6992ae043896eb500b3961de3edc
7 years ago
Richard Fuchs
5a73f12adb
TT#34050 replace ffmpeg version test macro
...
fixes #484
Change-Id: Ia7aa9d63e09a90afc2814f0edede480c06ecc53a
7 years ago
Richard Fuchs
14100b0b8a
use reference counting on SSRC objects
...
possibly fixes #488 and #482
Change-Id: Ib68e456b9322836b153c9fd0e59c3556378557ae
7 years ago
Richard Fuchs
a3ed739835
Merge branch 'fix_uptime_stats' of https://github.com/1and1/rtpengine
...
Change-Id: Ic5661b25563588334f4f9b0611385a4aafe4bf3b
7 years ago
Claudiu Boriga
6ee4cc3a8d
Fix uptime statistics
7 years ago
Richard Fuchs
4be4f13ce0
Merge branch 'add-label' of https://github.com/aalba6675/rtpengine
...
Change-Id: Ia5defcaf67bc8a00644f719ff6bd26566908cbfc
7 years ago
Anthony Alba
bbcea40415
recording.c: save the label in pcap metadata file
...
label in ng-protocol can be used by SIP proxy to send additional
metadata. Write out label to pcap metadata file.
7 years ago
Richard Fuchs
2fc2b3bab7
fix possible null pointer segfault when using log level 7
...
Apparently it's possible that ps->selected_sfd is not from the ps->sfds
list, in which case the selected_sfd->crypto context will be left
uninitialized.
fixes #489
Change-Id: I844d9ba1d7e97a80b1f26769c1ea1e99cc2320b9
7 years ago
Richard Fuchs
e4e79233e2
compilation fix for glib < 2.32 (CentOS 6)
...
closes #485
Change-Id: I4d6be802503ba9334fe0687ec869335ada0fcc3f
7 years ago
Richard Fuchs
6e8d57e528
honour RFC 5506 by allowing more RTCP packet types leading the group
...
Change-Id: Ic8d7019e5bcadd9221c913b62e7c89e3042f7316
7 years ago
Richard Fuchs
32e0e2cf25
leave room for SRTP auth tag on transcoded packets
...
closes #480
Change-Id: I353b2da1f52974d93c20f0ab4be25b9baa41765c
7 years ago
Richard Fuchs
620cf6125a
version test macro for DTLS_set_link_mtu
...
closes #479
Change-Id: Ie0546cf77d1532c88ecf94f0476ce505e845a0cc
7 years ago
Richard Fuchs
0db5e226e5
fix payload type tracking for transcoding situations
...
closes #476
Change-Id: I6a038136e22b23efe422eb40caa0f3e10359e5d1
7 years ago
Richard Fuchs
092f8da3c6
use str_token_sep for SDP token extraction
...
closes #472
Change-Id: I10dc4aa8baadfc4c3d5ef5514e47fecc4bf2f10e
7 years ago
Richard Fuchs
3aa53a1e10
fix missing setup_media when using start_recording call
...
closes #462
Change-Id: I0e4d53225b03e061de28c3908e59f8816263cbb2
7 years ago
Richard Fuchs
5b0bb90afa
fix recording setup_media reversed direction
...
fixes #462
Change-Id: Id8efec9261ce9edb246f7a838619a93157e049b3
7 years ago
Richard Fuchs
3885da946b
workaround for buggy OpenSSL that produces incorrectly fragmented DTLS
...
closes #413
Change-Id: Iead12e5c1b2387c15923a1cff7f7abcd9267b4bb
7 years ago
Richard Fuchs
65c75c5177
fix segfault regression from 7b65dedb
...
Change-Id: I38f4b39b34c72ca2a9b70fae4eaac6bf27286312
7 years ago
Richard Fuchs
7ee73fe7f9
special handling for strip=all together with transcode, and mask=all
...
Change-Id: I1c54d3491149adacdb11675054f823eca576d707
7 years ago
Richard Fuchs
14262f56fa
fix segfault regression from e84fd86
...
closes #470
Change-Id: I3ce83e4fdc5fe8113932bb51ec3375c6144814ae
7 years ago
Richard Fuchs
7b65dedb95
restructure codec_make_payload_type to fix compilation w/o transcoding
...
closes #468
Change-Id: I5f8c5e318e8726bddd69120e258c7d5bb0ee3687
7 years ago
Richard Fuchs
4d586f2ec0
TT#28163 fix recording-daemon sample format selection for mixed output
...
reported in #462
Change-Id: Iea7f1e421d15375768a1f76dd36e5ef7726f66b8
7 years ago
Richard Fuchs
165cb0cd4b
Merge branch 'extend-default-intf' of https://github.com/1and1/rtpengine
...
Change-Id: I187bc7c67146011a76acc17576cd4338e095c754
7 years ago
Richard Fuchs
e84fd8612b
fix incorrect DTLS context being used with ICE
...
fixes #451
Change-Id: I4db956bd9e8234862a7dd3ee492a6ed2778150d3
7 years ago
Richard Fuchs
bc30929192
TT#32210 add codec masking option
...
Change-Id: I05f2bde978f628d398dd8046815fcfc3d5b42de2
7 years ago
Richard Fuchs
60ce21245e
TT#28163 use a pointer cache to avoid hash table lookup
...
Change-Id: Idd7a48c547d156c4e68e4540e955ee99906b79e4
7 years ago
Richard Fuchs
9147d5e438
TT#32983 support transcoding options in redis (re)store
...
Change-Id: I8552743a5ec48b6d4464e8a2c4acd1c9bf11f02a
7 years ago
Richard Fuchs
4d859bfd6b
TT#28163 add support for properly packaged libbcg729
...
also eliminate `` in makefiles
document external bcg729 requirement for Debian building
closes #460
Change-Id: Iadecbc6df81c2fe876acc20c25c8be0e85391779
7 years ago
Richard Fuchs
65d4106d98
add missing header files to fix compilation
...
closes #457
Change-Id: Iaa26da810fa11adb970ae25409ade4ad29712200
7 years ago
Claudiu Boriga
e8b40191fe
Enable round robin for default interface
7 years ago
Richard Fuchs
3fa94d7f57
TT#31197 document bcg729 requirements
...
Change-Id: I05dea3dcc89ff38683333587565da29512b5fc3d
7 years ago
Richard Fuchs
25037a92ac
TT#31197 G.729 packetizer
...
Change-Id: If5c87dc08e5ffa8c85e024c5d091f7fce7f84cec
7 years ago
Richard Fuchs
9eb9a2f421
TT#31197 include bcg729 build support
...
Change-Id: I3862c0b9b8010699e6a49f749b38568d08103840
7 years ago
Richard Fuchs
83784d492c
TT#31197 separate out libavcodec specifics
...
Change-Id: I4f389226320fd8a7930168a4fb885ba214759743
7 years ago
Richard Fuchs
61d5505740
TT#31199 set bitrate for G.723.1
...
Change-Id: Ia82411c9205d63b2d63e40ece480b1d42b53b152
7 years ago
Richard Fuchs
0636b083dc
TT#31700 implement payload-type specific passthrough kernel forwarding
...
Change-Id: I14d33b976933e8198720c1323e38af85f4f6eed7
7 years ago
Richard Fuchs
126a69f29c
TT#28163 logging and documentation improvements
...
Change-Id: Ib82b80c9ddcf557cd5ab6f99e693a5234471b1ac
7 years ago
Richard Fuchs
10c852b204
TT#31950 add compile-time switch to disable transcoding features
...
Change-Id: Ice0c019b8a07d4c941d14f47021dbb7b0eb68d3c
7 years ago
Richard Fuchs
2a4acf5e29
TT#31403 handle passthrough payloads in a transcoding context
...
Change-Id: I45001272a735847973a6261b899e5acd0687ccef
7 years ago
Richard Fuchs
6988b2361e
TT#31403 keep track of stats required for RTCP translation/output
...
Change-Id: Ib7ff1643c90423ffec95b378b4e9fca0000ee4ae
7 years ago
Richard Fuchs
613f7afdb6
TT#31403 map and replace RTCP SSRCs when transcoding
...
Change-Id: I765f1972e4b4d10d48e10a9e14e451edd48ca836
7 years ago
Richard Fuchs
26a356ccae
TT#31403 eliminate stub RTCP handler functions
...
Change-Id: I97e4e41f2f70f824bf24fea6edc619d9cca3965b
7 years ago
Richard Fuchs
5d67605535
TT#31403 decouple RTCP AVPF filtering from crypto stuff
...
Change-Id: I99b2b5720f1012b59be90e110b6ed7902826a861
7 years ago
Richard Fuchs
368312a4f5
TT#31403 keep local packet stats for RTCP output/rewriting
...
Change-Id: Ib086bbacf5613e1480bfb9050612163152e24b28
7 years ago
Richard Fuchs
159729ad0d
TT#31403 move SSRC mapping out of codec handler
...
Change-Id: Id5babcef6440f40e45e7e23afc54398a39093a3f
7 years ago
Richard Fuchs
7986ca0860
TT#30900 support specifying codec parameters for transcoding
...
Change-Id: Ifac093cfba74a7cfdf1ba22209d608e04fed8c10
7 years ago
Richard Fuchs
a4a0e34ded
TT#31408 distinguish between codec types
...
Change-Id: I8c7331908fe4a105d9f9139a5f9867b6ae43a646
7 years ago
Richard Fuchs
2e43b47305
TT#31409 check codec support only once during startup
...
Change-Id: I8eacd1f62cc1273707b4c4d1046918225e1b6957
7 years ago
Richard Fuchs
71b3762f13
TT#30901 use hash table to look up RFC specified codecs
...
Change-Id: I471dc77d0c4bdbdf66dc4b021d77202ec0ddbb39
7 years ago
Richard Fuchs
ff0a46a053
TT#30901 convert codec list to hash table
...
Change-Id: I0956b441101b4c33e0f186399ef5558f89744e12
7 years ago
Richard Fuchs
266a1fbc8b
TT#31404 support custom ptime and repacketization for sampled codecs
...
Change-Id: I4db83cb8faa9b0234dd655f4bdc116a3ddb59f39
7 years ago
Richard Fuchs
c380052882
TT#31401 configure encoder bitrate
...
Change-Id: I96e14285b4e6235451ef55dfdfd0fec9f7364096
7 years ago
Richard Fuchs
c6c79f49b8
TT#31198 flush encoder queue on shutdown to avoid warnings
...
Change-Id: Ic4a99083f22d8d2c87edb28539d6e325cbdb34b4
7 years ago
Richard Fuchs
1746f1d3bf
TT#31405 handle non-media pseudo-codecs (telephone-event)
...
Change-Id: I10a0156d500f49941d7d3d558e54e3c198638c4a
7 years ago
Richard Fuchs
ad4a5d10ef
TT#31198 add resampling support
...
Change-Id: Ib691e62d9ff6fc5663cea275663efc9134d78188
7 years ago
Richard Fuchs
2d2f2e394b
TT#31198 support output codec clockrate multiplier (for G722)
...
Change-Id: I189d6fb17850bccdbe1a6910f68fb2d0fab2c331
7 years ago
Richard Fuchs
7c6db89889
TT#28163 don't reset transcoding context when not necessary
...
Change-Id: I28b230df7308b3ed1fd359265220c3df07178e5a
7 years ago
Richard Fuchs
14c3cd8ab1
TT#28163 support transcoding to non-RFC codecs
...
Change-Id: Ia4edff27be74e0f8eb8f41cf0a7a1dd3c9e9896a
7 years ago
Richard Fuchs
55007a6897
TT#28163 prevent kernelization of transcoded stream
...
Change-Id: Ie99f4bee935f6018a525b51b00862b31576a9383
7 years ago
Richard Fuchs
b0bc679806
TT#28163 take number of channels from SDP into account
...
Change-Id: Icd393535702355d7dfc90c81fe62286eb50deb63
7 years ago
Richard Fuchs
df537b98c3
TT#28163 pass encoded packets back to processing for sending out
...
Change-Id: Icdd49d174336277dae0c2c79854fc4e3b42a5c44
7 years ago
Richard Fuchs
dc80c27af7
TT#28163 split encoder from recording daemon into shared lib
...
Change-Id: I76a744b1b1acd32f326d26db7a44273394a4dee1
7 years ago
Richard Fuchs
a4e73c90e8
TT#30404 accept and reject codecs according to transcoding preference
...
Change-Id: I7e4d1d834289433ae4a42d78b92cbc745884d5d1
7 years ago
Richard Fuchs
cee94a5348
TT#28163 pass RTP packets to media decoder
...
Change-Id: Ie1cf4ed50a0dae0ee4bbe37918d3d2a86666d998
7 years ago
Richard Fuchs
b9206a49bc
TT#28163 abstractize SSRC hash
...
Change-Id: I2f28854070ad5a7567870ef7585e67729154b0e3
7 years ago
Richard Fuchs
f8aad04948
TT#30404 move portions required for decoding from recording-daemon to lib
...
Change-Id: I4170dd3c93ca3c87954d2c1db5fd84ae071247bd
7 years ago
Richard Fuchs
d510f5efe8
TT#30404 initial support for adding codecs for transcoding
...
Change-Id: I58474ac2daee213d9f11157f61c2a3df90818fbe
7 years ago
Richard Fuchs
f801240164
TT#30570 replace "chopper" iovec with GString
...
Change-Id: I5097b5bf0bbdc8ff6cdada809183396c9cf05134
7 years ago
Richard Fuchs
c3585b04be
TT#30405 reprint a=rtpmap and a=fmtp for SDP output
...
Change-Id: I4949166faf329e229f1bbbaf559650fa4c3e9228
7 years ago
Richard Fuchs
8715d40242
TT#30405 codec matchup and handler functions
...
Change-Id: I506c0e8bfa4b6e64689f6debeb33fe69fce1722c
7 years ago
Richard Fuchs
fb729e3d12
TT#30405 create a packet handling context struct for convenience
...
Change-Id: I0f3e0f66bf138147f265f7ee8d95028d9301359b
7 years ago
Richard Fuchs
bc420cbdd0
TT#30405 split stream_packet() into smaller pieces
...
Change-Id: I89b46e02bfdbedffa63f71ef11b03cbf204ececa
7 years ago
Claudiu Boriga
80abad18cf
Merge remote-tracking branch 'sipwise/master' into extend-rtpengine-ctl
7 years ago
Claudiu Boriga
ff2a278ad7
Make 'rtpengine-ctl' configurable via rtpengine-ctl
7 years ago
Claudiu Boriga
0f9151e9ea
Make 'redis-allowed-errors', 'redis-disable-time', 'redis-cmd-timeout'
...
and 'redis-connect-timeout' configurable via rtpengine-ctl
7 years ago
Richard Fuchs
c2ac89945a
Merge branch 'cli_parameters' of https://github.com/1and1/rtpengine
...
Change-Id: Id2c01bc12944fded8d2d8853d12630ad5b970d83
7 years ago
Claudiu Boriga
f2ce4d3a25
Add rtpengine-ctl 'get' commands as alias for 'list'
7 years ago
Claudiu Boriga
be5211e6bd
Introduce 'list silenttimeout' and 'list finaltimeout' to rtpengine-ctl
7 years ago
Huseyin Dikme
968446c730
cli params command has been created for initial, current parameters
...
and their difference
7 years ago
Richard Fuchs
7b4424091b
TT#31752 fix segfault on empty a=rtcp
...
Change-Id: I4f4494a552dd9bcd6f83f32a846cce1c18be8bc1
7 years ago
Richard Fuchs
078af3c407
Merge branch 'add-requests-ps-stats' of https://github.com/1and1/rtpengine
...
Change-Id: I8f67dec95cc07ca1df6823921c3af0457bf0783a
7 years ago
Claudiu Boriga
b7b40cc5a9
Use proper data type for requests statistics
7 years ago
Richard Fuchs
1477f9796f
TT#29151 add 'loop protect' feature
...
possible fix for: #431 , #425 , #415 , #65
Change-Id: I12558681b7d292e3973d2ba024f30f1e236b3a57
7 years ago
Claudiu Boriga
0ffb9e6718
Display correct average for requests statistics
7 years ago
Claudiu Boriga
74cecc09a6
Use statistics locks properly
7 years ago
Claudiu Boriga
3850e99fd3
Use atomic64_get_set for requests statistics
7 years ago
Richard Fuchs
8f563c8a3c
fix compilation when `with_iptables_option` is set to no
...
reported in #444
Change-Id: I358551a3b6588b601364b54aee3e1f8d5097668e
7 years ago
Richard Fuchs
321fb5e1ca
fix double str_shift for 'list sessions CALLID'
...
fixes #448
Change-Id: I9262f61eeec257abe842e532ffc8e071da89a61d
7 years ago
Claudiu Boriga
00bdcef9a4
Fix statistics for average requests/sec sent to rtpengine-ctl
8 years ago
Claudiu Boriga
f7ece0452b
Merge remote-tracking branch 'sipwise/master' into add-requests-ps-stats
8 years ago
Claudiu Boriga
8cc4b7874e
Add statistics for requests per second
8 years ago
Claudiu Boriga
ac1a957a05
Merge remote-tracking branch 'sipwise/master' into add_disable_tout
8 years ago
Richard Fuchs
ca78747c8c
TT#30405 rename media->rtp_payload_types to ->codecs for brevity
...
Change-Id: If89d774a6ab62855118eec74d21123ba61b48e9e
8 years ago
Richard Fuchs
2540c5d501
TT#30403 support codec-offer
...
only codecs from the original list for now
Change-Id: I884775a5b337ed3533972f4361ecb50e329b126e
8 years ago
Richard Fuchs
f625d48ed3
TT#30403 consolidate dictionary and alias "flags" values handling
...
Change-Id: Ic5f2e84f7482b8c98db8e08603d32955185549f2
8 years ago
Richard Fuchs
d31fb36f6e
TT#30403 parse and retain a=fmtp infos
...
Change-Id: I81b2afdfac7f65833fa5260add823fcf7680c879
8 years ago
Richard Fuchs
d7dd7421e6
TT#30403 implement codec stripping
...
Change-Id: I384aa353b43986656145c443e40a2b96f04c489f
8 years ago
Richard Fuchs
b8dbd997e9
TT#30403 consolidate NG flags processing functions
...
Change-Id: Id200b0f064b72d8e60a6a744f764a8bb63655014
8 years ago
Richard Fuchs
74bae6a9a9
TT#30150 add option for different logging styles
...
closes #442
Change-Id: I338afc58e10b056718e086dbcd232f3324984bf0
8 years ago
Claudiu Boriga
485092383f
Make redis connection timeout configurable
8 years ago
Claudiu Boriga
562c5b40a6
Add parameter that sets a timeout for redis commands
8 years ago
Claudiu Boriga
c31ffa4639
Add paramaters to disable redis communication in case of multiple errors
8 years ago
Richard Fuchs
46d853972b
move lib/ config options into struct
...
Change-Id: I563b38cd64daea5f9137debff2fc7881a3cdaa9d
8 years ago
Richard Fuchs
0e3f5eb3c2
move all remaining config options into global config struct
...
Change-Id: Ib0d7cd3f98929b22ef3726b8712f34706a530456
8 years ago
Richard Fuchs
75056a8dd1
eliminate the callmaster struct
...
Change-Id: I9151dbe8f47b3bb9ab67d6fea2fc3783bdc558da
8 years ago
Richard Fuchs
f2b93f9ef8
move config options into global struct rtpengine_config
...
Change-Id: Ie566efb6a1b8bedbe33f768bc4cd979b2d2b46cc
8 years ago
Richard Fuchs
d65a6bbbdc
move latest_graphite_interval_start to global scope
...
Change-Id: I1eb5ea8d6faafe40383d3bb92517307e47ceca9a
8 years ago
Richard Fuchs
741140341f
move "totalstats" out of callmaster into global scope
...
Change-Id: Ia5b95e788c1d486a86b6f916dcff5b88022f5897
8 years ago
Richard Fuchs
c969ea1e57
move stats and statsps into global scope
...
Change-Id: I02d16e31f8980bd0ef3ff3a190b23dc61c087018
8 years ago
Richard Fuchs
cf3a8f9e16
move 'poller' member of callmaster into global scope
...
Change-Id: Ide88caff59529278e45ceef4f9664bfc07f67b3d
8 years ago
Richard Fuchs
dffbddb2d6
don't use g_ prefix for global variables
...
Change-Id: Ifd843b01d7fccf294f97fdf48308c71268e1b8ae
8 years ago
Richard Fuchs
e87b2710c8
move matching regexps out of callmaster into global
...
Change-Id: I42779b3a1b9aef8b98ddecce6fa4093589ab6d62
8 years ago
Richard Fuchs
790e596c58
move cngs out of callmaster into global scope
...
Change-Id: I138ca8756dfc576451bc7c3fca1db89d6616fb1e
8 years ago
Richard Fuchs
399e15b39a
make the callhash global
...
Change-Id: Ifa1fbb5d1b1f623dbc6a1bfac556342735b40161
8 years ago
Richard Fuchs
acba2751f8
suppress log message on "comprehension option" STUN attributes
...
closes #436
Change-Id: I3b5583a83500b7cbfaf1317cae18d5f186554672
8 years ago
Richard Fuchs
018e35cba8
TT#27200 add option to omit a=rtcp attribute
...
closes #428
Change-Id: Ie186291b7b0107d67488facbfea42cd4915556b4
8 years ago
Richard Fuchs
c17f4fe53d
avoid side effects in assert()
...
closes #434
Change-Id: I6aad7ccb556453650d80cf588ae80daf98d3369d
8 years ago
Richard Fuchs
1aa9944fe4
TT#27550 implement interface round-robin selection
...
Change-Id: Id5cf290cc9d044716b5f55cf416dc40b87f23f24
8 years ago
Richard Fuchs
61d828a48f
change str_chr_str() semantics
...
Change-Id: I0fb541215a1bb1a248693a6258e953827258b7ec
8 years ago
Richard Fuchs
b7aeff9a1c
TT#24550 implement CLI get/set log level
...
Change-Id: Ifedc8561f08fe75af210346f5032e8d893f2e0d5
8 years ago
Richard Fuchs
e1ce74985f
TT#28354 consolidate CLI string handling
...
Change-Id: Icb0734f94d5910427a57c85e31e85782a62b22fe
8 years ago
Richard Fuchs
2eb01695bb
TT#26756 clean up CLI code using streambuf
...
Change-Id: I0e6c264d5cbd569fb35fab3ad2b0a4f6413949b0
8 years ago
Richard Fuchs
d10952a029
TT#26757 add tcp_listener framework
...
Change-Id: I402d36637235ba0cc03e77d426f4dd9cbc4722a9
8 years ago
Guillem Jover
fd3c1d2519
TT#26513 Delete the kernel forwarding table on startup
...
If we are creating the kernel forwarding table, we have to make sure it
has been deleted already, otherwise we can get into collisions with the
already setup forwardings, and the subsequent add will fail anyway.
Change-Id: I2601c602543ff3e3493bae296d263dde545ff352
8 years ago
Guillem Jover
1b8f5e4a55
TT#26513 Preserve errno on error returns
...
We should preserve the errno value so that the caller can report
accurate error information, as the close() call could fail too.
Change-Id: I1a36ace8f47ad3ea550aa3e2e272922633abfdca
8 years ago
Richard Fuchs
77de3d06ea
Merge branch 'add-ToS-to-control-ng' of https://github.com/1and1/rtpengine
...
Change-Id: I217e772f79a1e1147ceced418020513fe277055f
8 years ago
Claudiu Boriga
3472821ccc
Add option to set TOS for control-ng interface
8 years ago
Dmitry Poroh
cc09f4d3de
Crash stream_packet in case of out_srtp is NULL is fixed
8 years ago
Richard Fuchs
031921c322
purge old entries from SSRC hash table if it gets too full
...
fixes #417
Change-Id: I4da50858d3c4959687b341b7c0856a868c87ffa7
8 years ago
Pawel Kuzak
8941c827d3
Fix control statistics headlines
...
StopRec was missing
8 years ago
Richard Fuchs
d6bc658c36
Merge branch 'reduce-offer-time' of https://github.com/1and1/rtpengine
8 years ago
Claudiu Boriga
ab0cb0c7a7
don't use g_hash_table_foreach for call_timer_iterator
...
this keeps the callmaster->hashlock for a long time
so copy the list of calls instead and update call refs
8 years ago
Claudiu Boriga
2250ab11fd
make METADATA section appear in the metafile at
...
intialization when recording using the proc method
add new METADATA sections only if they differ from
the previous ones
8 years ago
Richard Fuchs
4cab964b42
Merge branch 'fix_redis_recording_crash' of https://github.com/1and1/rtpengine
8 years ago
Claudiu Boriga
d5fea12937
check call.recording structure before using it
...
if call recording is not configured but the redis db contains
calls with recording flag, then call.recording can be NULL
8 years ago
Richard Fuchs
cc056c148f
add rtcp-mux-require option to force rtcp-mux usage for WebRTC
...
fixes #404
Change-Id: I4a5dbf30a7c02058216ea7e8c8782cf83e214623
8 years ago
Richard Fuchs
0c6b2cfc22
Merge branch 'fix-TOS-for-redis' of https://github.com/1and1/rtpengine
8 years ago
Claudiu Boriga
ca622b40ef
set TOS for redis streams
8 years ago
Richard Fuchs
13d51f0df0
add extra thread allowance for blocking CLI code
...
make sure not to run with a single thread if only one CPU core is
present
proper fix pending: convert CLI code to non-blocking, muxed, using
streambuf interface
closes #399
Change-Id: I09a6d758c668fe6a2bbe6735e3299d3c8cb1ba58
8 years ago
Richard Fuchs
00cc28dff4
TT#22660 don't zero out SDP origin on zero connection address
...
Change-Id: Idc68132a7ae23a6273464927ecf27237cdc9d6cf
8 years ago
Richard Fuchs
6abe388621
fix compile warning
...
Change-Id: I6d93986eca7b50a8ae5ddf075c37123f8ebcdcde
8 years ago
Michael Prokop
6932f22c66
TT#22411 Fix spelling mistakes/typos
...
s/paramter/parameter/
s/fowarding/forwarding/
s/readabilty/readability/
s/recieving/receiving/
s/genrated/generated/
s/parametes/parameters/
s/existance/existence/
s/shouldnt/shouldn't/
s/seperate/separate/
s/neccessary/necessary/
s/occurence/occurrence/
s/timout/timeout/
s/ouput/output/
Change-Id: I4403eb54130f3c114d7881054abfdfc8223b5bf2
8 years ago
Richard Fuchs
523228b981
Merge branch 'stop-recording' of https://github.com/1and1/rtpengine
8 years ago
Claudiu Boriga
cf15275f30
add stop recording comand to ng interface
8 years ago
Richard Fuchs
e7d75bd275
TT#19350 add option to manage iptables rules directly
...
Change-Id: I8e2b47bf34206ed5cc369649bf8ef875ac271169
8 years ago
Richard Fuchs
dd338975f6
drop log level for messages about unknown RTP/RTCP packets
...
closes #395
Change-Id: I8a3c9c1d06ce04a4bb2280e16e2d170cd27ac65b
8 years ago
Richard Fuchs
c8d60aed61
Merge branch 'fix_cdr_logs' of https://github.com/1and1/rtpengine
8 years ago
Claudiu Boriga
b317acdbde
don't log corrupted cdr for foreign calls
8 years ago
Richard Fuchs
1206e26f76
add missing lock for SSRC hash dump
...
Change-Id: I165ceae3f6d5bada4ec0390c440f84bcde542952
8 years ago
Richard Fuchs
3dbc1469b0
Merge branch 'fix_1way_statistics' of https://github.com/1and1/rtpengine
8 years ago