[asterisk-bugs] [Asterisk 0014573]: 'autodomain' doesn't work

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 15 09:34:42 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14573 
====================================================================== 
Reported By:                pj
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   14573
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 178061 
Request Review:              
====================================================================== 
Date Submitted:             2009-03-01 04:34 CST
Last Modified:              2009-05-15 09:34 CDT
====================================================================== 
Summary:                    'autodomain' doesn't work
Description: 
I haven't any special options for setting network parameters in sip.conf
and according to sip.conf.sample it shouln't be needed for 'autodomain' to
work, so I think this is bug in asterisk.

[Mar  1 11:18:56] NOTICE[5689]: chan_sip.c:23832 reload_config: Can't add
wildcard IP address to domain list, please add IP address to domain
manually.

from 'sip.conf.sample':
;autodomain=yes ; Turn this on to have Asterisk add local host
;name and local IP to domain list. 

====================================================================== 

---------------------------------------------------------------------- 
 (0104822) lmadsen (administrator) - 2009-05-15 09:34
 https://issues.asterisk.org/view.php?id=14573#c104822 
---------------------------------------------------------------------- 
What are you expecting to happen here? From what I can see, everything is
working as expected.

When you add a domain, you can view it under:  sip show domains

The 'sip show settings' that you are describing have really nothing to do
with SIP domain support. You are just describing what the Internal and
External IP settings are. I would expect those to be changed with externip
and localnet settings, but not autodomain.

When I do this, I get this with 'sip show domains':

*CLI> sip show domains 
Our local SIP domains:                   Context              Set by      
   
development                              (default)            [Automatic]

The NOTICE you're getting I also get. I'm pretty confident this is because
it is trying to add 127.0.0.1, which is the wildcard address and Asterisk
is ignoring it (as it probably should).

I don't believe there is any bug here. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-15 09:34 lmadsen        Note Added: 0104822                          
======================================================================




More information about the asterisk-bugs mailing list