- Mitglied seit
- 17 Jul 2008
- Beiträge
- 564
- Punkte für Reaktionen
- 0
- Punkte
- 0
Ich versuche siproxd unter Opensuse 10.3 einzurichten
Das habe ich bis jetzt:
Im softphone (twinkle-1.2-22.15) habe ich outbound-Proxy benutzen aktiviert und die lokale IP-Adresse des Gateways eingetragen.
Die Firewall-Regeln für UDP sehen so aus:
iptables -L -v | grep udp
siproxd -d -1 2
Irgendetwas fehlt da noch. Ich kann mich bei Sipgate über den Proxy zwar anmelden. Das dauert aber relativ lange (30 sec.?). Wenn ich zu telefonieren versuche:
Leitung 1: Ruf erfolglos.
408 Request Timeout
Ist im Softphone noch etwas einzutragen?
Brauche ich: host_outbound = rechnername.dnydns.org
Das habe ich bis jetzt:
Code:
/etc/siproxd.conf
if_inbound = eth0
if_outbound = eth1
hosts_allow_reg = 192.168.2.96/28
sip_listen_port = 5060
daemonize = 1
silence_log = 1
log_calls = 1
user = nobody
registration_file = /var/lib/siproxd/siproxd_registrations
autosave_registrations = 300
pid_file = /var/run/siproxd/siproxd.pid
rtp_proxy_enable = 1
rtp_port_low = 7070
rtp_port_high = 7089
rtp_timeout = 300
rtp_dscp = 46
default_expires = 600
debug_level = 0x00000000
debug_port = 0
pi_shortdial_enable = 1
pi_shortdial_akey = *00
pi_shortdial_entry = 17474743246
pi_shortdial_entry = 17474745000
Im softphone (twinkle-1.2-22.15) habe ich outbound-Proxy benutzen aktiviert und die lokale IP-Adresse des Gateways eingetragen.
Die Firewall-Regeln für UDP sehen so aus:
iptables -L -v | grep udp
Code:
0 0 LOG udp -- any any anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-FWDext-DROP-DEFLT '
0 0 LOG udp -- any any anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-FWDint-DROP-DEFLT '
0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:10000
0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:5060
0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:5061
0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:5082
0 0 ACCEPT udp -- any any anywhere anywhere udp dpts:7070:7089
0 0 ACCEPT udp -- any any anywhere anywhere udp dpts:8000:8004
0 0 LOG udp -- any any anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT '
0 0 REJECT udp -- any any anywhere anywhere reject-with icmp-port-unreachable
siproxd -d -1 2
Code:
10:15:48 INFO:siproxd.c:180 siproxd-0.5.13-8 i686-suse-linux-gnu starting up
10:15:48 readconf.c:69 trying to read config file
10:15:48 readconf.c:83 ... trying /root/.siproxdrc
10:15:48 readconf.c:83 ... trying /etc/siproxd.conf
10:15:48 readconf.c:210 pc:"if_inbound = eth0"
10:15:48 readconf.c:217 got keyword:"if_inbound"
10:15:48 readconf.c:227 got argument:"eth0"
10:15:48 readconf.c:260 STRING=eth0
10:15:48 readconf.c:210 pc:"if_outbound = eth1"
10:15:48 readconf.c:217 got keyword:"if_outbound"
10:15:48 readconf.c:227 got argument:"eth1"
10:15:48 readconf.c:260 STRING=eth1
10:15:48 readconf.c:210 pc:"hosts_allow_reg = 192.168.2.96/28"
10:15:48 readconf.c:217 got keyword:"hosts_allow_reg"
10:15:48 readconf.c:227 got argument:"192.168.2.96/28"
10:15:48 readconf.c:260 STRING=192.168.2.96/28
10:15:48 readconf.c:210 pc:"sip_listen_port = 5060"
10:15:48 readconf.c:217 got keyword:"sip_listen_port"
10:15:48 readconf.c:227 got argument:"5060"
10:15:48 readconf.c:242 INT4=5060
10:15:48 readconf.c:210 pc:"daemonize = 1"
10:15:48 readconf.c:217 got keyword:"daemonize"
10:15:48 readconf.c:227 got argument:"1"
10:15:48 readconf.c:242 INT4=1
10:15:48 readconf.c:210 pc:"silence_log = 1"
10:15:48 readconf.c:217 got keyword:"silence_log"
10:15:48 readconf.c:227 got argument:"1"
10:15:48 readconf.c:242 INT4=1
10:15:48 readconf.c:210 pc:"log_calls = 1"
10:15:48 readconf.c:217 got keyword:"log_calls"
10:15:48 readconf.c:227 got argument:"1"
10:15:48 readconf.c:242 INT4=1
10:15:48 readconf.c:210 pc:"user = nobody"
10:15:48 readconf.c:217 got keyword:"user"
10:15:48 readconf.c:227 got argument:"nobody"
10:15:48 readconf.c:260 STRING=nobody
10:15:48 readconf.c:210 pc:"registration_file = /var/lib/siproxd/siproxd_registrations"
10:15:48 readconf.c:217 got keyword:"registration_file"
10:15:48 readconf.c:227 got argument:"/var/lib/siproxd/siproxd_registrations"
10:15:48 readconf.c:260 STRING=/var/lib/siproxd/siproxd_registrations
10:15:48 readconf.c:210 pc:"autosave_registrations = 300"
10:15:48 readconf.c:217 got keyword:"autosave_registrations"
10:15:48 readconf.c:227 got argument:"300"
10:15:48 readconf.c:242 INT4=300
10:15:48 readconf.c:210 pc:"pid_file = /var/run/siproxd/siproxd.pid"
10:15:48 readconf.c:217 got keyword:"pid_file"
10:15:48 readconf.c:227 got argument:"/var/run/siproxd/siproxd.pid"
10:15:48 readconf.c:260 STRING=/var/run/siproxd/siproxd.pid
10:15:48 readconf.c:210 pc:"rtp_proxy_enable = 1"
10:15:48 readconf.c:217 got keyword:"rtp_proxy_enable"
10:15:48 readconf.c:227 got argument:"1"
10:15:48 readconf.c:242 INT4=1
10:15:48 readconf.c:210 pc:"rtp_port_low = 7070"
10:15:48 readconf.c:217 got keyword:"rtp_port_low"
10:15:48 readconf.c:227 got argument:"7070"
10:15:48 readconf.c:242 INT4=7070
10:15:48 readconf.c:210 pc:"rtp_port_high = 7089"
10:15:48 readconf.c:217 got keyword:"rtp_port_high"
10:15:48 readconf.c:227 got argument:"7089"
10:15:48 readconf.c:242 INT4=7089
10:15:48 readconf.c:210 pc:"rtp_timeout = 300"
10:15:48 readconf.c:217 got keyword:"rtp_timeout"
10:15:48 readconf.c:227 got argument:"300"
10:15:48 readconf.c:242 INT4=300
10:15:48 readconf.c:210 pc:"rtp_dscp = 46"
10:15:48 readconf.c:217 got keyword:"rtp_dscp"
10:15:48 readconf.c:227 got argument:"46"
10:15:48 readconf.c:242 INT4=46
10:15:48 readconf.c:210 pc:"default_expires = 600"
10:15:48 readconf.c:217 got keyword:"default_expires"
10:15:48 readconf.c:227 got argument:"600"
10:15:48 readconf.c:242 INT4=600
10:15:48 readconf.c:210 pc:"debug_level = 0x00000000"
10:15:48 readconf.c:217 got keyword:"debug_level"
10:15:48 readconf.c:227 got argument:"0x00000000"
10:15:48 readconf.c:242 INT4=0
10:15:48 readconf.c:210 pc:"debug_port = 0"
10:15:48 readconf.c:217 got keyword:"debug_port"
10:15:48 readconf.c:227 got argument:"0"
10:15:48 readconf.c:242 INT4=0
10:15:48 readconf.c:210 pc:"pi_shortdial_enable = 1"
10:15:48 readconf.c:217 got keyword:"pi_shortdial_enable"
10:15:48 readconf.c:227 got argument:"1"
10:15:48 readconf.c:242 INT4=1
10:15:48 readconf.c:210 pc:"pi_shortdial_akey = *00"
10:15:48 readconf.c:217 got keyword:"pi_shortdial_akey"
10:15:48 readconf.c:227 got argument:"*00"
10:15:48 readconf.c:260 STRING=*00
10:15:48 readconf.c:210 pc:"pi_shortdial_entry = 17474743246"
10:15:48 readconf.c:217 got keyword:"pi_shortdial_entry"
10:15:48 readconf.c:227 got argument:"17474743246"
10:15:48 readconf.c:280 STRINGA[0]=17474743246
10:15:48 readconf.c:210 pc:"pi_shortdial_entry = 17474745000"
10:15:48 readconf.c:217 got keyword:"pi_shortdial_entry"
10:15:48 readconf.c:227 got argument:"17474745000"
10:15:48 readconf.c:280 STRINGA[1]=17474745000
10:15:48 readconf.c:119 rounded rtp_port_high down to 7088
10:15:48 utils.c:234 running w/uid=0, euid=0, gid=0, egid=0
10:15:48 utils.c:270 changing uid/gid to nobody
10:15:48 utils.c:273 changed gid to 65533 - Ok
10:15:48 utils.c:277 changed egid to 65533 - Ok
10:15:48 utils.c:288 changed euid to 65534 - Ok
10:15:48 siproxd.c:210 daemonizing
Irgendetwas fehlt da noch. Ich kann mich bei Sipgate über den Proxy zwar anmelden. Das dauert aber relativ lange (30 sec.?). Wenn ich zu telefonieren versuche:
Leitung 1: Ruf erfolglos.
408 Request Timeout
Ist im Softphone noch etwas einzutragen?
Brauche ich: host_outbound = rechnername.dnydns.org
Zuletzt bearbeitet: