<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
Hello there !<BR>
<BR>
I have successfully installed Asterisk on a normal server and on a Linksys WRT610N with DD-WRT running from connected USB-stick. This is not my first Asterisk-installation. I'm always finding a smaller and smaller platform to install Asterisk on.<BR>
<BR>
But now I encounter a problem.<BR>
<BR>
I'm using the same Grandstream GXP2010 with a of my installations. Every time registration goes well. Until now...<BR>
My Grandstream IP-phone just doens't register.<BR>
<BR>
This is my sip.conf for the account :<BR>
<BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">[NSLU] </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">type=friend </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">host=dynamic </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">username=nslu </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">secret=nslu </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">context=intern </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">canreinvite=no </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">qualify=yes </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">callerid=GS NSLU2 <10> </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">accountcode=NSLU2 </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">disallow=all </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">allow=alaw </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">allow=gsm</FONT></FONT><FONT COLOR="#0000ff"> </FONT><BR>
<BR>
In my Grandstream I have set everything to point a the IP-address of the NSLU (192.168.1.77) for registration.<BR>
<BR>
When rebooting the Grandstream (and after reboot registration occurs), this is the output of tcpdump on the NSLU :<BR>
<BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"># tcpdump port 5060</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">tcpdump: WARNING: can't create rx ring on packet socket 3: 92-Protocol not available</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">tcpdump: verbose output suppressed, use -v or -vv for full protocol decode</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">listening on ixp0, link-type EN10MB (Ethernet), capture size 68 bytes</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:05:25.076484 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:05:26.060417 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:05:28.041041 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:05:32.001768 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:05:35.962492 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:05:59.728410 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:06:00.718256 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:06:02.698466 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:06:06.659535 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:06:10.620270 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:06:34.379528 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:06:35.368838 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:06:37.349612 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:06:41.310435 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:06:45.271174 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:07:40.717698 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:07:41.701566 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:07:43.682198 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:07:47.643208 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:07:51.603727 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:08:15.369527 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:08:16.359329 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:08:18.339485 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:08:22.300226 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:08:26.261470 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:08:50.020219 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:08:51.010097 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:08:52.990201 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:08:56.951409 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:09:00.912189 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:09:24.684056 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:09:25.673876 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:09:27.654508 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:09:31.615206 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:09:35.575930 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:09:59.341759 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:10:00.331607 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:10:02.311706 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:10:06.272903 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:10:10.233638 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:10:33.992951 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:10:34.982323 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:10:36.963003 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:10:40.923732 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:10:44.884451 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:11:08.656670 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:11:09.646491 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:11:11.626627 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:11:15.587501 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:11:19.548213 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:11:43.314384 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:11:44.303718 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:11:46.284370 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:11:50.245155 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 570</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">15:11:54.205877 IP 192.168.1.10.5064 > NSLU2.5060: SIP, length: 5</FONT></FONT><FONT SIZE="2">70</FONT><BR>
<BR>
During that output, this is the output on the Asterisk CLI :<BR>
<BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">NSLU2*CLI> sip set debug</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">SIP Debugging re-enabled</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">NSLU2*CLI> sip reload</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">[Oct 3 15:06:34] Reloading SIP</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">[Oct 3 15:06:34] == Parsing '/opt/etc/asterisk/sip.conf': [Oct 3 15:06:34] Found</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">[Oct 3 15:06:34] == Parsing '/opt/etc/asterisk/sip_notify.conf': [Oct 3 15:06:34] Found</FONT></FONT><BR>
<BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">NSLU2*CLI> sip show peers</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">Name/username Host Dyn Nat ACL Port Status </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">NSLU/nslu (Unspecified) D 0 UNKNOWN </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">1 sip peers [Monitored: 0 online, 1 offline Unmonitored: 0 online, 0 offline]</FONT></FONT><BR>
<BR>
Some extra output of the asterisk-proces and network :<BR>
<BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"># netstat -anup | grep asterisk</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">udp 0 0 0.0.0.0:4569 0.0.0.0:* 770/asterisk </FONT></FONT><BR>
<BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"># ps aux | grep asterisk</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 770 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 771 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 773 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 774 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 775 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 776 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 777 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 778 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 779 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 780 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 781 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 782 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 783 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 784 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 785 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 786 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 787 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 788 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 789 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 790 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 791 root 6632 S asterisk </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> 837 root 424 S grep asterisk </FONT></FONT><BR>
<BR>
Could anyone advise what I need to do to find the problem here ?! I would conclude that the problem lies with the NSLU2, but where ???<BR>
<BR>
Greetingz,<BR>
Jonas.
</BODY>
</HTML>