[asterisk-bugs] [Asterisk 0013432]: [patch] outboundproxy=proxy.mmmydomain.net where domain can not be resolved silently removes the sip section

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 29 17:50:36 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=13432 
====================================================================== 
Reported By:                p_lindheimer
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   13432
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.21.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-09-05 15:07 CDT
Last Modified:              2009-06-29 17:50 CDT
====================================================================== 
Summary:                    [patch] outboundproxy=proxy.mmmydomain.net where
domain can not be resolved silently removes the sip section
Description: 
Setting outboundproxy to a fully qualified domain name that can not be
resolved results in the sip section configuration being silently removed.

The only error that is provided in the log file is a warning:

[Sep  5 13:07:04] WARNING[20522] acl.c: Unable to lookup
'proxy.mmmydomain.net'

I don't know what the proper behavior should be. Ignore the setting,
remove the section as is the case but with a very prevalent error, keep it
but show it as unreachablem, or something else. But something better then
this silent nature would be preferred
====================================================================== 

---------------------------------------------------------------------- 
 (0107193) svnbot (reporter) - 2009-06-29 17:50
 https://issues.asterisk.org/view.php?id=13432#c107193 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 204301

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r204301 | mmichelson | 2009-06-29 17:50:35 -0500 (Mon, 29 Jun 2009) | 15
lines

Merged revisions 204300 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r204300 | mmichelson | 2009-06-29 17:45:34 -0500 (Mon, 29 Jun 2009) | 9
lines
  
  Add error message so that it is clear why a SIP peer was not processed
when
  a DNS lookup fails on a host or outboundproxy.
  
  (closes issue https://issues.asterisk.org/view.php?id=13432)
  Reported by: p_lindheimer
  Patches:
        outboundproxy.patch uploaded by p (license 558)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=204301 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-29 17:50 svnbot         Checkin                                      
2009-06-29 17:50 svnbot         Note Added: 0107193                          
======================================================================




More information about the asterisk-bugs mailing list