blob: 49b16ad86b4c731044603f45189e24185da4a11a [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001config siproxd general
2 # Custom options allow using OpenWRT network names, and defaults should
3 # work out-of-the-box. If your SIP devices do not REGISTER externally,
4 # you may also need to open firewall ports: tcp/udp 5060, udp 7070-7089.
5 option interface_inbound lan
6 option interface_outbound wan
7
8# All other documented siproxd configuration directives are supported. Use
9# a UCI 'option' for single-instance directives, and UCI 'list' entries for
10# directives that allow multiple instances, per the examples below.
11
12 # Define low-level network devices, overriding interface_in/outbound:
13# option if_inbound eth0
14# option if_outbound ppp0
15
16 # Enable DEBUG logging for configuration messages:
17# option debug_level 0x00000100
18# option silence_log 0
19
20 # Load two plugins: one that logs SIP call details to syslog, and one
21 # that strips out G.729, GSM codecs:
22# list load_plugin 'plugin_logcall.so'
23# list load_plugin 'plugin_codecfilter.so'
24# list plugin_codecfilter_blacklist G729
25# list plugin_codecfilter_blacklist GSM