voipd -R is not enought. after voipd do the registration but the calls still fail. This is my experience.
proto tcp-client
dev tun
ca /tmp/flash/openvpn/ca.crt
cert /tmp/flash/openvpn/box.crt
key /tmp/flash/openvpn/box.key
tls-client
ns-cert-type server
remote iii.iii.iii.iii pppp
nobind
pull
tun-mtu 1500
mssfix
verb 3
cipher BF-CBC
comp-lzo
keepalive 10 120
resolv-retry infinite
cd /var/tmp/openvpn
chroot /var/tmp/openvpn
user openvpn
group openvpn
persist-tun
persist-key
script-security 2
up "/etc/init.d/rc.voip restart"
cat > /var/vpn_alive.sh << EOF2
while true; do
sleep 150
if ! /bin/ping -c1 194.243.192.1 &> /dev/null; then
/etc/init.d/rc.openvpn restart
fi
done
EOF2
/bin/sh /var/vpn_alive.sh &
The umtsd daemon is started from /etc/hotplug/udev-gsm-tty, if a supported COM device was found and is killed there, if the tty device vanishes due to removal of the physical USB device.The last issue is linked to UMTS connectivity: if the traffic freezes (it happens) I should restart umts connection.
I'm trying with /etc/init.d/rc.dsld restart (I don't not have exact info on which rc.* file controls umts.
root:/# umtsd --info
PIN: empty, allow roaming: 0, home net: "26201"
manu: 'ZTE CORPORATION', model: 'MF190', rev: 'BD_MF190F3V1.0.0B02'
states: 0, 2, 1
ppp state: 0
pin state: 6, fail count: 0
established: 0, idle_mode_text: ''
AcT: 2
AT1: 37/0/'+CREG: 1, 37B0, 1224'
AT2: 0/1/'OK'
root:/# killall umtsd
root:/# umtsd --info
PIN: empty, allow roaming: 0, home net: "26201"
no valid status
msgsend dsld reconnect_button