[asterisk-users] registration failed, not a local domain

Leif Madsen leif.madsen at asteriskdocs.org
Mon Jun 29 12:21:00 CDT 2009


jonas kellens wrote:
> asterisk*CLI> sip show domains
> Our local SIP domains:                   Context              Set 
> by         
> jocan.local                              (default)            
> [Configured]   
> 192.168.1.                               (default)            
> [Configured]   
> 
> [Jun 26 17:49:03] NOTICE[5570]: chan_sip.c:15889 
> handle_request_register: Registration from 
> '<sip:grandstream at 192.168.1.248>' failed for '192.168.1.13' - Not a 
> local domain
> 
> SIP.conf :
> 
> domain=jocan.local              ; Add IP address as local domain
> domain=192.168.1.               ; You can have several "domain" settings
> 
> I've tried :
> 
> domain=192.168.1.0
> domain=192.168.1
> 
> My SIP-phones are in the subnet 192.168.1.0/255.255.255.0, my Asterisk 
> has 192.168.1.248

You want to configure the IP adress 192.168.1.248 (the IP of the Asterisk box) 
in sip.conf:

domain=192.168.1.248

Leif Madsen.
http://www.leifmadsen.com
http://www.oreilly.com/catalog/asterisk



More information about the asterisk-users mailing list