Richard Fuchs
d45f928c98
MT#18599 limit Homer send queue size
Change-Id: I490b7552fbfc57c839b80e2574cb69e68758d743
10 years ago
Richard Fuchs
6187f5186e
MT#18599 support parsing of RTCP SDES fields
Change-Id: I9b56fae96bc7712d2de01d50d77afc34efcdacec
10 years ago
Richard Fuchs
b5e36c223c
MT#18599 simplify RTCP parsing
Change-Id: Ide82c1c882589f99e10cce28646b835ae3d8831c
10 years ago
Richard Fuchs
8267966569
MT#18599 use glib GString for RTCP logging
Change-Id: I32f2759c9a2aabae484715f1fec09616b66107da
10 years ago
Richard Fuchs
133e6304b3
MT#18599 support sending RTCP stats to Homer via HEP
Change-Id: Icaf28f28c910318726e446a1a2ad4c7ee5e79f85
10 years ago
smititelu
bac271b398
Add callmaster config lock
10 years ago
Stefan Mititelu
a43996fe4a
Add 'unidirectional' attribute
In order to kernelize unidirectional streams.
10 years ago
Pawel Kuzak
3f4cfffdbb
Fixed inconsistency in rtpengine-ctl list totals
10 years ago
Stefan Mititelu
57aa56616d
Add offer/answer/delete processing statistics
Add graphite offer/answer/delete min/max/avg statistics.
Print new graphite statistics in rtpengine-cli list totals.
10 years ago
Stefan Mititelu
05302c265f
Update rtpengine-cli set maxsessions
10 years ago
Stefan Mititelu
4343ff02cb
Update rtpengine-cli set maxopenfiles
10 years ago
Stefan Mititelu
ef39aa35f1
Add rtpengine-ctl list/set timeout
Setters/getter of the TIMEOUT, SILENT_TIMEOUT and FINAL_TIMEOUT.
Updated rtpengine-ctl help with the new commands.
10 years ago
Stefan Mititelu
9be68a0c2f
Add FINAL_TIMEOUT parameter
The timer that will limit the duration of a call.
Add graphite statistics for calls ended this way.
10 years ago
Lucian Balaceanu
e2d78d9003
Fix overflow of graphite call_duration statistic
In totalstats_interval_call__duration_add(), adjust the considered
graphite_interval_start value in case it is inconsistent (bigger) than
call_stop.
10 years ago
Lucian Balaceanu
2a05b85049
Take end time of call monologue from terminated field
10 years ago
Lucian Balaceanu
859a5058e6
Fix (foreign|own)_session, call_duration stats: modify call_get_or_create to set stats and foreign call state
10 years ago
Lucian Balaceanu
8fb677bccb
Fix stats foreign_sessions if redis_restore fails
10 years ago
Stefan Mititelu
763502dcb8
Add sanity checks
10 years ago
Stefan Mititelu
7377b908b7
Add/Retrieve ps->component to/from redis
Avoid segfault that happened when ps->component=0 (only when redis involved).
If redis involved, ps structure is initially 0'ed before restoring. Currently
the ps->component is not restored and leads to the above segfault.
10 years ago
smititelu
98a86d34c4
Fix segfault when ps->component=0
10 years ago
smititelu
b38f3da45c
Redis nofitications fixes
- add --subscribe_keyspace list config parameter.
- don't delete foreign calls by timers
- fix synchronization of foreign calls (use a separate redis_notify database)
- fix statistics for control channel calls.
- fix deletion of foreign calls upon del notifications
- update rtpengine-ctl tool
10 years ago
Stefan Mititelu
5e7640b4c4
Add/Retrieve ps->component to/from redis
Avoid segfault that happened when ps->component=0 (only when redis involved).
If redis involved, ps structure is initially 0'ed before restoring. Currently
the ps->component is not restored and leads to the above segfault.
10 years ago
smititelu
a6b4b86983
Fix segfault when ps->component=0
10 years ago
smititelu
eee5a65911
Update doku for REDIS_NUM_THREADS
10 years ago
smititelu
65de7932ad
Add config REDIS_NUM_THREADS param
Configurable redis restore threads.
10 years ago
smititelu
74ad505c6f
Update README.md for NO_REDIS_REQUIRED parameter
10 years ago
smititelu
04471770ce
Add NO_REDIS_REQUIRED new parameter
If set to "yes" or 1, rtpengine starts even without initial redis connections.
10 years ago
smititelu
33e72ba67a
Skip redundant log if r->ctx->err != NULL
10 years ago
smititelu
50aef804d9
Rtpengine starts even if redis is down
Rtpengine will start with a warning message if redis is configured, but is
not up and running.
10 years ago
smititelu
7d03f3da6c
Improve Redis connection logging
10 years ago
smititelu
e48252e11c
Change abort() behaviour of redis_check_conn()
Don't abort() when redis is down.
Instead, return from action (redis restore, update, delete, wipe).
Check redis connection upon new calls.
10 years ago
Richard Fuchs
f52884e99f
report errors returned from redis
Change-Id: If94a9b468949840efa3774672c13237cc1f99c5e
10 years ago
Richard Fuchs
c1407d6b44
support Redis server authentication
closes #219
Change-Id: Iacf4047e748d76ff402e44a1b9f22e1d7c511c76
10 years ago
Richard Fuchs
3f1ae98379
unify -r/-R and -w/-W options into single options
Change-Id: I14672466cc2d9f0024d99d41dd63ec15aecbb58a
10 years ago
Richard Fuchs
d8e1e9f86a
simplify redis CLI options
Removes the explicit redis-read-db configuration and reduces the option
to one redis DB and one redis write DB. If only the redis DB is
configured, then it will be used for all operations. If both are
configured, then the redis DB will be used for reading and the write DB
will be used for writing (updates).
Change-Id: I8d5a32c53c9416b514c98d69c3afe7c547e530ad
10 years ago
Richard Fuchs
725638bccb
remove redis-role redundancy
Change-Id: Id5a39d008169d4b01cd33a7d82bb0896983e47bc
10 years ago
Frederic-Philippe Metz
1ca0cc5a52
Implemented session limitation logic
The session limit is only for calls an rtpengine is responsible for.
Foreign calls (coming in via redis notification) are not counted as
long as the rtpengine is not responsible for those calls.
At least that means that the limit may exceed if the calls the rtpengine
is responsible for plus the former foreign calls are greater than the limit.
This will happen suddenly when the rtpengine becomes responsible for the
foreign calls.
10 years ago
Richard Fuchs
27d18e2be3
fix stun xor port response
Change-Id: Ibc1fae020abff0b94c473620f9c27f34827d9769
10 years ago
Richard Fuchs
1c56865776
fix iovec overflows
Change-Id: I337804c7821e003977439a92d059c350772245e3
10 years ago
Richard Fuchs
b82812260d
move advertised_address out of intf_spec into local_intf
supports aliasing a local interface multiple times with the same local
address for different advertised addresses
closes #216
Change-Id: I6f98d1a17290b0bb1831e48ad89fc61d8b2d7914
10 years ago
Richard Fuchs
77d074c335
fix length of software STUN attribute
Change-Id: I5adf2d8f28eb9beb61a33258a44ed40c2b1604a5
10 years ago
Richard Fuchs
5b33498291
fix RTCP content output
fixes #185
Change-Id: I77677ffc3f09ae75a8f72bfcc275d298ba6aac28
10 years ago
Frederic-Philippe Metz
637d1f4cce
Locked redis context on redis notification
10 years ago
Frederic-Philippe Metz
5af1d8fcca
redis operations on the keyspace are now related to the keyspace they belong to
10 years ago
Richard Fuchs
59cfb4fb1d
fix incorrect padding in stun software attr
Change-Id: I979fc130d44c581fdcd7a633b98095b9024a84f0
10 years ago
Frederic-Philippe Metz
e376335595
Removed graphite hostname and 'totals' in graphite names
10 years ago
Richard Fuchs
ff26e0096a
add STUN SOFTWARE attribute into ICE checks and responses
Change-Id: Ifbd48d282cb2161963c77fe67ee52dce1520a435
10 years ago
Richard Fuchs
43bcabf105
fix logic for unspecified ipv6 addresses
fixes #213
Change-Id: I4c7ff175576686ea80a94cab7763707cf40fe696
10 years ago
Richard Fuchs
38d031c510
fix support for AF switching on the fly
Change-Id: Id7c582db4ab10afe4341030bde872eee0cb8d973
10 years ago
Frederic-Philippe Metz
9ca0be54c3
Reset deletion timers for in-responsible calls
10 years ago