mirror of https://github.com/sipwise/rtpengine.git
closes #252 Change-Id: I92dd61c100319469c6ff4764c90bba5c3ab367a2changes/03/9903/10
parent
5c22c3c71a
commit
28b80181f2
@ -1 +1,2 @@
|
||||
usr/sbin
|
||||
etc/rtpengine
|
||||
|
@ -1,2 +1,3 @@
|
||||
daemon/rtpengine /usr/sbin/
|
||||
recording-daemon/rtpengine-recording /usr/sbin/
|
||||
etc/rtpengine.sample.conf /etc/rtpengine/
|
||||
|
@ -0,0 +1,71 @@
|
||||
[rtpengine]
|
||||
|
||||
table = 0
|
||||
# no-fallback = false
|
||||
### for userspace forwarding only:
|
||||
# table = -1
|
||||
|
||||
### a single interface:
|
||||
# interface = 123.234.345.456
|
||||
### separate multiple interfaces with semicolons:
|
||||
# interface = internal/12.23.34.45;external/23.34.45.54
|
||||
### for different advertised address:
|
||||
# interface = 12.23.34.45!23.34.45.56
|
||||
|
||||
|
||||
|
||||
listen-ng = 127.0.0.1:2223
|
||||
# listen-tcp = 25060
|
||||
# listen-udp = 12222
|
||||
|
||||
timeout = 60
|
||||
silent-timeout = 3600
|
||||
tos = 184
|
||||
# delete-delay = 30
|
||||
# final-timeout = 10800
|
||||
|
||||
# foreground = false
|
||||
# pidfile = /var/run/ngcp-rtpengine-daemon.pid
|
||||
# num-threads = 16
|
||||
|
||||
port-min = 30000
|
||||
port-max = 50000
|
||||
# max-sessions = 5000
|
||||
|
||||
# recording-dir = /var/spool/rtpengine
|
||||
# recording-method = proc
|
||||
# recording-format = raw
|
||||
|
||||
# redis = 127.0.0.1:6379/5
|
||||
# redis-write = password@12.23.34.45:6379/42
|
||||
# redis-num-threads = 8
|
||||
# no-redis-required = false
|
||||
# redis-expires = 86400
|
||||
|
||||
# b2b-url = http://127.0.0.1:8090/
|
||||
# xmlrpc-format = 0
|
||||
|
||||
# log-level = 6
|
||||
# log-stderr = false
|
||||
# log-facility = daemon
|
||||
# log-facility-cdr = local0
|
||||
# log-facility-rtcp = local1
|
||||
|
||||
# graphite = 127.0.0.1:9006
|
||||
# graphite-interval = 60
|
||||
# graphite-prefix = foobar.
|
||||
|
||||
# homer = 123.234.345.456:65432
|
||||
# homer-protocol = udp
|
||||
# homer-id = 2001
|
||||
|
||||
# sip-source = false
|
||||
# dtls-passive = false
|
||||
|
||||
[rtpengine-testing]
|
||||
table = -1
|
||||
interface = 10.15.20.121
|
||||
listen-ng = 2223
|
||||
foreground = true
|
||||
log-stderr = true
|
||||
log-level = 7
|
@ -1,9 +1,12 @@
|
||||
#ifndef _AUXLIB_H_
|
||||
#define _AUXLIB_H_
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
void daemonize(void);
|
||||
void wpidfile(const char *pidfile);
|
||||
const char *config_load(int *argc, char ***argv, GOptionEntry *entries, const char *description,
|
||||
char **filename_ptr, const char *default_config, char **section_ptr);
|
||||
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in new issue