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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 15 09:51:17 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:                     feedback
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:51 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. 

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

---------------------------------------------------------------------- 
 (0104824) pj (reporter) - 2009-05-15 09:51
 https://issues.asterisk.org/view.php?id=14573#c104824 
---------------------------------------------------------------------- 
I'm expecting, that 'autodomain=yes' adds asterisk server hostname and _ip
address_ to domain list, as is writen in sip.conf.sample,
but it doesn't work, instead it generates notice:
[May 15 16:45:06] NOTICE[2031]: chan_sip.c:24552 reload_config: Can't add
wildcard IP address to domain list, please add IP address to domain
manually.

If I need to add asterisk server "ip adress" into sip domain list, I must
manually it configure in sip.conf ie. domain=xx.xx.xx.xx

sip show domains
Our local SIP domains:                   Context              Set by
192.168.1.1                             (default)            [Configured] 
<=== must be manually configured in sip.conf
asterisk.foo.bar                                (default)           
[Automatic] <<=== hostname is added automatically 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-15 09:51 pj             Note Added: 0104824                          
======================================================================




More information about the asterisk-bugs mailing list