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
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
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
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
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
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
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
Claudiu Boriga
b3ce08a1ea
Count multipexed packets in statistics. Don't count errounously when no stream is found
fixes #387
8 years ago
Claudiu Boriga
67de59ada4
check that redisContext is not NULL before using it
8 years ago
Lucian Balaceanu
63bdd61565
on startup, also accept hostname:port params for endpoints
9 years ago
Richard Fuchs
bb50729806
fix parsing of IPv6 address in legacy UDP protocol
Change-Id: Ida602ceddac51b8045b0beee59015facd7b1ee5d
9 years ago
Claudiu Boriga
9f2286d7bb
fix bug that makes rtpengine crash when graphite server is down
replaced select with poll because when a large number of file
descriptors are open segfaults might happen
9 years ago
Richard Fuchs
983c4afb01
fix correct use of CFLAGS over LDFLAGS
Change-Id: Ibea683fea6f16cc3a944c99de4db44051571fcba
9 years ago
Richard Fuchs
4310e067a4
support pkg-config for xmlrpc-c
fixes #373
Change-Id: I063c3f6f4f1ea4ee08fa668f006931f951dd3f95
9 years ago