<!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>
<FONT SIZE="2"><FONT COLOR="#0000ff">asterisk*CLI> sip show domains</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">Our local SIP domains: Context Set by </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">jocan.local (default) [Configured] </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">192.168.1. (default) [Configured] </FONT></FONT><BR>
<BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">[Jun 26 17:49:03] NOTICE[5570]: chan_sip.c:15889 handle_request_register: Registration from '<sip:grandstream@192.168.1.248>' failed for '192.168.1.13' - Not a local domain</FONT></FONT><BR>
<BR>
SIP.conf :<BR>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">domain=jocan.local ; Add IP address as local domain</FONT></FONT><BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">domain=192.168.1. ; You can have several "domain" settings</FONT></FONT><BR>
<BR>
I've tried :<BR>
<BR>
domain=192.168.1.0<BR>
domain=192.168.1<BR>
<BR>
My SIP-phones are in the subnet 192.168.1.0/255.255.255.0, my Asterisk has 192.168.1.248
</BODY>
</HTML>