[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:45:35 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=13432 
====================================================================== 
Reported By:                p_lindheimer
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   13432
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
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:              
====================================================================== 
Date Submitted:             2008-09-05 15:07 CDT
Last Modified:              2009-06-29 17:45 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
====================================================================== 

---------------------------------------------------------------------- 
 (0107192) svnbot (reporter) - 2009-06-29 17:45
 https://issues.asterisk.org/view.php?id=13432#c107192 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 204300

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r204300 | mmichelson | 2009-06-29 17:45:35 -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=204300 

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




More information about the asterisk-bugs mailing list