Asterisk e IAD 162 Funcionando!!!????

Imagen de BitFrost

Forums: 

Gracias a el apoyo y guia de Lourdes, ayer pude instalar Asterisk ayer @ 12:30 am, le puse unas simple configuracion para hacerle funcionar a este aparatito Welltech IAD 162 que soporta SIP, pero no funciono!! se quedaba la luz de Status Parpeadando, je je je (gracias a mi amigo que le estaba arreglando la computadora(Pedro) que repetia "vos y tus hue"#$%s", fue un chevere apoyo moral!! je je je, pero bueno, aqui esta la configuracion, que le agregue a sip.conf

[2299]
type=friend
username=2299
secret=alexandra
canreinvite=no
host=dynamic
dtmfmode=rfc2833
mailbox=2299
nat=1

Aqui esta lo que pasaba y porque no se conectaba

07:38:57.848719 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 390
07:38:57.848768 IP 10.3.0.1 > 10.3.0.2: icmp 426: host 10.3.0.1 unreachable - admin prohibited
07:38:58.357828 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 390
07:38:58.357874 IP 10.3.0.1 > 10.3.0.2: icmp 426: host 10.3.0.1 unreachable - admin prohibited
07:38:59.367815 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 390
07:38:59.367885 IP 10.3.0.1 > 10.3.0.2: icmp 426: host 10.3.0.1 unreachable - admin prohibited
07:39:01.377761 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 390
07:39:01.377808 IP 10.3.0.1 > 10.3.0.2: icmp 426: host 10.3.0.1 unreachable - admin prohibited
07:39:02.847285 arp who-has 10.3.0.2 tell 10.3.0.1
07:39:02.848409 arp reply 10.3.0.2 is-at 00:01:a8:01:9c:f3
07:39:05.387581 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 390
07:39:05.387631 IP 10.3.0.1 > 10.3.0.2: icmp 426: host 10.3.0.1 unreachable - admin prohibited
07:39:55.864896 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 389
07:39:55.864943 IP 10.3.0.1 > 10.3.0.2: icmp 425: host 10.3.0.1 unreachable - admin prohibited
07:39:56.375149 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 389
07:39:56.375199 IP 10.3.0.1 > 10.3.0.2: icmp 425: host 10.3.0.1 unreachable - admin prohibited
07:39:57.385084 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 389
07:39:57.385133 IP 10.3.0.1 > 10.3.0.2: icmp 425: host 10.3.0.1 unreachable - admin prohibited
07:39:59.395062 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 389
07:39:59.395112 IP 10.3.0.1 > 10.3.0.2: icmp 425: host 10.3.0.1 unreachable - admin prohibited
07:40:00.863466 arp who-has 10.3.0.2 tell 10.3.0.1
07:40:00.864259 arp reply 10.3.0.2 is-at 00:01:a8:01:9c:f3
07:40:03.404906 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 389
07:40:03.404951 IP 10.3.0.1 > 10.3.0.2: icmp 425: host 10.3.0.1 unreachable - admin prohibited
07:40:53.876821 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 389
07:40:53.876872 IP 10.3.0.1 > 10.3.0.2: icmp 425: host 10.3.0.1 unreachable - admin prohibited
07:40:54.386852 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 389
07:40:54.386899 IP 10.3.0.1 > 10.3.0.2: icmp 425: host 10.3.0.1 unreachable - admin prohibited
07:40:55.396803 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 389
07:40:55.396852 IP 10.3.0.1 > 10.3.0.2: icmp 425: host 10.3.0.1 unreachable - admin prohibited
07:40:57.407459 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 389
07:40:57.407507 IP 10.3.0.1 > 10.3.0.2: icmp 425: host 10.3.0.1 unreachable - admin prohibited
07:40:58.875648 arp who-has 10.3.0.2 tell 10.3.0.1
07:40:58.876452 arp reply 10.3.0.2 is-at 00:01:a8:01:9c:f3
07:41:01.417048 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 389
07:41:01.417093 IP 10.3.0.1 > 10.3.0.2: icmp 425: host 10.3.0.1 unreachable - admin prohibited

36 packets captured
36 packets received by filter
0 packets dropped by kernel
[root@mailserver ~]# service iptables stop
Expurgar reglas del cortafuegos: [ OK ]
Configuración de cadenas a la política ACCEPT: filter [ OK ]
Descargando módulos iptables: [ OK ]
[root@mailserver ~]# tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
07:42:00.214741 arp who-has 192.168.4.81 tell 192.168.4.81
07:42:54.055762 arp who-has 192.168.4.169 tell 192.168.4.169
07:42:54.267706 arp who-has 10.3.0.2 tell 10.3.0.2
07:42:54.279033 arp who-has 10.3.0.1 tell 10.3.0.2
07:42:54.279065 arp reply 10.3.0.1 is-at 00:11:5b:3c:f6:8f
07:42:54.280182 IP 10.3.0.2 > mailserver.cspmsa.com: icmp 64: echo request seq 0
07:42:55.279705 IP 10.3.0.2 > mailserver.cspmsa.com: icmp 64: echo request seq 1
07:42:56.279662 IP 10.3.0.2 > mailserver.cspmsa.com: icmp 64: echo request seq 2
07:42:57.279640 IP 10.3.0.2 > mailserver.cspmsa.com: icmp 64: echo request seq 3
07:42:58.279601 IP 10.3.0.2 > mailserver.cspmsa.com: icmp 64: echo request seq 4
07:43:02.448830 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 376
07:43:02.504093 IP 10.3.0.1.5060 > 10.3.0.2.5060: UDP, length 376
07:43:02.504186 IP 10.3.0.1.5060 > 10.3.0.2.5060: UDP, length 458
07:43:02.834958 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 536
07:43:02.835169 IP 10.3.0.1.5060 > 10.3.0.2.5060: UDP, length 376
07:43:02.850097 IP 10.3.0.1.5060 > 10.3.0.2.5060: UDP, length 453
07:43:05.852576 IP 10.3.0.1.5060 > 10.3.0.2.5060: UDP, length 519
07:43:05.915333 IP 10.3.0.2.5060 > 10.3.0.1.5060: UDP, length 309
07:43:07.503091 arp who-has 10.3.0.2 tell 10.3.0.1
07:43:07.503930 arp reply 10.3.0.2 is-at 00:01:a8:01:9c:f3

Esto lo intente hoy a las siete de mañana y funciono, ya tiene un tono distinto, y ya dejo de titilar la luz!

Ahora me toca probar haber si funciona!

Cualquier comentario o concejo sera bien venido

Saludos!!

P.D. Gracias Lourdes y Pedro por su acolite

Necesitas abrir el puerto

Imagen de RazaMetaL

Necesitas abrir el puerto utilizado por SIP que es el 5060 udp. Tambien debes abrir los utilizados para RTP, por default asterisk trae los puertos del 10000 al 20000 siendo ese el rango que debes permitir en tu firewall.

Suerte ;)

-------------------------

Antes de preguntar visita esta dirección :evil:

 

-----

Visita este [url=http://www.sindominio.net/ayuda/preguntas-inteligentes.html]link[/url] :evil:

[img]http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/debian.jpg[/img]

(adsbygoogle = window.adsbygoogle || []).push({});