<!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>
Hey there again !<BR>
<BR>
I've changed some things now :<BR>
<BR>
1) IP-phones get there IP from a DHCP<BR>
<BR>
2) sip-accounts simplified :<BR>
<BR>
<FONT SIZE="2"><I>[root@asterisk asterisk]# cat sip.conf</I></FONT><BR>
<FONT SIZE="2"><I>[general]</I></FONT><BR>
<FONT SIZE="2"><I>context=default</I></FONT><BR>
<FONT SIZE="2"><I>port=5060</I></FONT><BR>
<FONT SIZE="2"><I>bindaddr=0.0.0.0</I></FONT><BR>
<FONT SIZE="2"><I>srvlookup=yes</I></FONT><BR>
<FONT SIZE="2"><I>disallow=all</I></FONT><BR>
<FONT SIZE="2"><I>allow=ulaw</I></FONT><BR>
<BR>
<FONT SIZE="2"><I>[210]</I></FONT><BR>
<FONT SIZE="2"><I>type=friend</I></FONT><BR>
<FONT SIZE="2"><I>context=intern</I></FONT><BR>
<FONT SIZE="2"><I>host=dynamic</I></FONT><BR>
<BR>
<FONT SIZE="2"><I>[211]</I></FONT><BR>
<FONT SIZE="2"><I>type=friend</I></FONT><BR>
<FONT SIZE="2"><I>context=intern</I></FONT><BR>
<FONT SIZE="2"><I>host=dynamic</I></FONT><BR>
<BR>
3) dial plan simplified :<BR>
<BR>
<I><FONT SIZE="2">[root@asterisk asterisk]# cat extensions.conf</FONT></I><BR>
<I><FONT SIZE="2">[globals]</FONT></I><BR>
<BR>
<I><FONT SIZE="2">[default]</FONT></I><BR>
<I><FONT SIZE="2">include => intern</FONT></I><BR>
<BR>
<I><FONT SIZE="2">[intern]</FONT></I><BR>
<I><FONT SIZE="2">exten => 210,1,Dial(SIP/210)</FONT></I><BR>
<I><FONT SIZE="2">exten => 211,1,Dial(SIP/211)</FONT></I><BR>
<BR>
The IP-phones are set as DHCP-client...<BR>
<BR>
I reloaded everything on the Asterisk CLI.<BR>
<BR>
I put off the power of the IP-phones and then put them back on.<BR>
<BR>
I still see no register-message on the CLI. This really should happen now, as they are defined host=dynamic !<BR>
<BR>
What can be going wrong here... Tell me, I'm not writing a wrong sip.conf or extensions.conf, do I ?<BR>
<BR>
I will now hang my portable on the switch and monitor the network with wireshark to see if the phones send a SIP-register to the Asterisk-server...<BR>
<BR>
In the mean time... every feedback on this is very welcome, thanks.<BR>
<BR>
Jonas.
</BODY>
</HTML>