[eside-ghost] asterisk y vpn
Eagle
eagleoffire en gmail.com
Vie Mar 14 20:20:04 CET 2008
Otra cosilla,
¿Ubuntu reinicia cada cierto tiempo la tabla de routing? Si lo hace, ¿como
puedo hacerlas permanente?
Si no, no entiendo como es posible que se borren rutas sin mas:
eagle a bildua zerua:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.38.0 * 255.255.255.0 U 0 0 0
vmnet1
192.168.39.0 * 255.255.255.0 U 0 0 0
vmnet8
10.56.57.0 * 255.255.255.0 U 0 0 0 tap0
192.168.1.0 10.56.57.1 255.255.255.0 UG 0 0 0 tap0
138.38.228.0 * 255.255.254.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 1000 0 0 eth1
default coot-rncarpente 0.0.0.0 UG 0 0 0 eth1
eagle a bildua zerua:~$ ping 192.168.1.254
PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.
64 bytes from 192.168.1.254: icmp_seq=1 ttl=63 time=3636 ms
64 bytes from 192.168.1.254: icmp_seq=2 ttl=63 time=2626 ms
64 bytes from 192.168.1.254: icmp_seq=3 ttl=63 time=1626 ms
64 bytes from 192.168.1.254: icmp_seq=4 ttl=63 time=703 ms
--- 192.168.1.254 ping statistics ---
5 packets transmitted, 4 received, 20% packet loss, time 4008ms
rtt min/avg/max/mdev = 703.076/2148.082/3636.387/1095.920 ms, pipe 4
eagle a bildua zerua:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.38.0 * 255.255.255.0 U 0 0 0
vmnet1
192.168.39.0 * 255.255.255.0 U 0 0 0
vmnet8
10.56.57.0 * 255.255.255.0 U 0 0 0 tap0
138.38.228.0 * 255.255.254.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 1000 0 0 eth1
default coot-rncarpente 0.0.0.0 UG 0 0 0 eth1
eagle a bildua zerua:~$
On 14/03/2008, Eagle <eagleoffire a bildua gmail.com> wrote:
>
> Hola de nuevo,
> Tengo un par de dudas más, espero que sean las últimas.
>
> He conseguido hacer ping al server y al router. Incluso acceder a la
> interfaz web del router y al servidor apache del server, pero...
> El softphone me dice que nada de nada: "Call not approbed"
>
> ¿Puede ser por como está configurado asterisk?
>
> ¿Necesito que asterisk escuche tambien a la direccion local del server
> aparte de la externa?
>
> Corto pego sip.conf:
>
> ----------------------------------------------------
>
> [general]
> bindport=5060
> bindaddr=0.0.0.0
> language=es
> ;relaxdtmf=yes
>
> nat=yes
> externip=******.gotdns.com
> localnet=192.168.1.0/255.255.255.0
>
> [telf](!)
> type=friend
> context=desde-usuarios
> secret=******
> dtmfmode=rfc2833
> nat=no
> canreinvite=yes
> qualify=no
> disallow=all
> allow=alaw
> host=dynamic
>
>
> [telf-externo](!)
> type=friend
> context=desde-usuarios
> secret=*******
> dtmfmode=rfc2833
> nat=yes
> canreinvite=no
> qualify=yes
> disallow=all
> allow=gsm
> allow=g729
> allow=ilbc
> host=dynamic
>
> ----------------------------------------------------
>
> El router tiene la ruta estatica configurada, el portatil tiene tambien
> las rutas bien y el ip forwarding está activado:
> ----------------------------------------------------
> Portatil:
> Kernel IP routeing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.38.0 * 255.255.255.0 U 0 0 0
> vmnet1
> 192.168.39.0 * 255.255.255.0 U 0 0 0
> vmnet8
> 10.56.57.0 * 255.255.255.0 U 0 0 0
> tap0
> 192.168.1.0 10.56.57.1 255.255.255.0 UG 0 0 0
> tap0
> 138.38.228.0 * 255.255.254.0 U 0 0 0
> eth1
> link-local * 255.255.0.0 U 1000 0 0
> eth1
> default coot-rncarpente 0.0.0.0 UG 0 0 0
> eth1
>
>
> Server:
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 10.56.57.0 * 255.255.255.0 U 0 0 0
> tap0
> 192.168.1.0 * 255.255.255.0 U 0 0 0
> eth0
> link-local * 255.255.0.0 U 1000 0 0
> eth0
> default 192.168.1.254 0.0.0.0 UG 0 0 0
> eth
>
>
> ----------------------------------------------------
>
> Otra duda relacionada. Si el equipo se reinicia, ¿se pierden las rutas? En
> tal caso, ¿tendría que configurar un script de arranque que ajustara todo
> dejandolo en /etc/init.d?
>
>
> Por último y relativo a los codecs de voz. ¿El mejor codec de voz es G.729<http://www.voip-info.org/wiki/index.php?page=ITU+G.729>?
> ¿Qué pasos tendría que seguir para instalarlo en el server y en x-lite,
> softphone?
>
> Si consigo poner todo en marcha intentare hacer una receta para la web...
> Gracias,
> Igor
>
>
-------------- hurrengo zatia --------------
Erantsitako HTML dokumentu bat ezabatu egin da...
URL: https://listas.deusto.es/mailman/private/eside-ghost/attachments/20080314/747edae2/attachment.htm
Más información sobre la lista de distribución eside-ghost