asterisk/configs
Richard Mudgett 83cd844b82 Re-resolve the STUN address if a STUN poll fails for res_stun_monitor.
The STUN socket must remain open between polls or the external address
seen by the STUN server is likely to change.  However, if the STUN request
poll fails then the STUN server address needs to be re-resolved and the
STUN socket needs to be closed and reopened.

* Re-resolve the STUN server address and create a new socket if the STUN
request poll fails.

* Fix ast_stun_request() return value consistency.

* Fix ast_stun_request() to check the received packet for expected message
type and transaction ID.

* Fix ast_stun_request() to read packets until timeout or an associated
response packet is found.  The stun_purge_socket() hack is no longer
required.

* Reduce ast_stun_request() error messages to debug output.

* No longer pass in the destination address to ast_stun_request() if the
socket is already bound or connected to the destination.

(closes issue ASTERISK-18327)
Reported by: Wolfram Joost
Tested by: rmudgett

Review: https://reviewboard.asterisk.org/r/1595/
........

Merged revisions 346700 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 346701 from http://svn.asterisk.org/svn/asterisk/branches/10


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@346709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-12-01 21:19:41 +00:00
..
adsi.conf.sample remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
agents.conf.sample Remove not used code in the Agent channel. 2009-05-30 01:04:57 +00:00
ais.conf.sample Remove a bunch of trailing whitespace in preparation for reformatting/cleanup. 2009-05-28 14:39:21 +00:00
alarmreceiver.conf.sample Remove a bunch of trailing whitespace in preparation for reformatting/cleanup. 2009-05-28 14:39:21 +00:00
alsa.conf.sample fixes adaptive jitterbuffer configuration 2010-03-02 19:08:38 +00:00
amd.conf.sample Remove a bunch of trailing whitespace in preparation for reformatting/cleanup. 2009-05-28 14:39:21 +00:00
app_mysql.conf.sample Rename mysql.conf to app_mysql.conf, make module support both names 2009-06-30 17:10:45 +00:00
asterisk.adsi Remove a bunch of trailing whitespace in preparation for reformatting/cleanup. 2009-05-28 14:39:21 +00:00
asterisk.conf.sample Merged revisions 331139 via svnmerge from 2011-08-09 15:53:26 +00:00
calendar.conf.sample Add setvar option to calendaring 2011-03-04 23:22:39 +00:00
ccss.conf.sample Add Device State Information CCSS for Generic Devices. 2011-04-14 18:22:35 +00:00
cdr.conf.sample Add option for logging congested calls as CONGESTION instead of NO_ANSWER in CDR 2011-08-22 17:05:14 +00:00
cdr_adaptive_odbc.conf.sample Support negative filters. 2010-12-31 09:29:10 +00:00
cdr_custom.conf.sample Add High Resolution Times to CDRs for Asterisk 2010-06-08 23:48:17 +00:00
cdr_manager.conf.sample This enhancement provided via bug 9993, a patch to upgrade cdr_manager to have cdr_custom capabilities. Many thanks to eserra for this contribution 2007-06-19 20:38:21 +00:00
cdr_mysql.conf.sample Merged revisions 311930 via svnmerge from 2011-03-31 06:44:08 +00:00
cdr_odbc.conf.sample Add High Resolution Times to CDRs for Asterisk 2010-06-08 23:48:17 +00:00
cdr_pgsql.conf.sample Merged revisions 291038 via svnmerge from 2010-10-11 03:20:17 +00:00
cdr_sqlite3_custom.conf.sample Add High Resolution Times to CDRs for Asterisk 2010-06-08 23:48:17 +00:00
cdr_syslog.conf.sample Add High Resolution Times to CDRs for Asterisk 2010-06-08 23:48:17 +00:00
cdr_tds.conf.sample Add High Resolution Times to CDRs for Asterisk 2010-06-08 23:48:17 +00:00
cel.conf.sample Merged revisions 317058 via svnmerge from 2011-05-05 12:28:40 +00:00
cel_custom.conf.sample Merged revisions 283207 via svnmerge from 2010-08-23 12:33:24 +00:00
cel_odbc.conf.sample Merged revisions 284096 via svnmerge from 2010-08-29 02:52:25 +00:00
cel_pgsql.conf.sample Add CEL extra field to cel_pgsql. 2011-05-05 23:08:05 +00:00
cel_sqlite3_custom.conf.sample Add common headers to CEL related configs. 2009-06-29 18:05:27 +00:00
cel_tds.conf.sample Merge the new Channel Event Logging (CEL) subsystem. 2009-06-26 15:28:53 +00:00
chan_dahdi.conf.sample Merged revisions 332265 via svnmerge from 2011-08-17 16:18:27 +00:00
chan_mobile.conf.sample Add an 'sms' option to mobile.conf to manually enable or disable SMS support. 2009-08-03 14:01:39 +00:00
chan_ooh323.conf.sample Full T.38 handshaking and fax detection 2011-07-10 01:37:58 +00:00
cli.conf.sample Clarify configuration file that can be misunderstood 2008-01-30 20:08:58 +00:00
cli_aliases.conf.sample Add 'soft hangup' alias per Steve Johnson on asterisk-users. 2010-04-20 19:02:49 +00:00
cli_permissions.conf.sample Remove a bunch of trailing whitespace in preparation for reformatting/cleanup. 2009-05-28 14:39:21 +00:00
codecs.conf.sample Adds pass-through support for codec CELT. 2011-07-07 19:39:17 +00:00
confbridge.conf.sample Add admin toggle mute all and participant count menu options to app_confbridge 2011-11-17 18:09:13 +00:00
console.conf.sample fixes adaptive jitterbuffer configuration 2010-03-02 19:08:38 +00:00
dbsep.conf.sample Cleanup references to sipusers and sipfriends dynamic realtime families 2011-11-01 19:53:26 +00:00
dnsmgr.conf.sample Remove a bunch of trailing whitespace in preparation for reformatting/cleanup. 2009-05-28 14:39:21 +00:00
dsp.conf.sample Create a centralized configuration option for silencethreshold 2008-03-05 16:23:44 +00:00
dundi.conf.sample Allow built in variables to be used with dynamic weights. 2011-11-07 21:58:14 +00:00
enum.conf.sample Merged revisions 81379 via svnmerge from 2007-08-30 15:34:18 +00:00
extconfig.conf.sample Several fixes to the chan_sip dynamic realtime peer/user lookup 2011-11-01 21:02:56 +00:00
extensions.ael.sample Merged revisions 252761 via svnmerge from 2010-03-16 18:48:22 +00:00
extensions.conf.sample Merged revisions 337219 via svnmerge from 2011-09-21 09:39:13 +00:00
extensions.lua.sample Updated the sample pbx_lua config file to reflect autoservice changes. 2011-05-06 19:19:56 +00:00
extensions_minivm.conf.sample Remove a bunch of trailing whitespace in preparation for reformatting/cleanup. 2009-05-28 14:39:21 +00:00
features.conf.sample Merged revisions 332101 via svnmerge from 2011-08-16 17:23:08 +00:00
festival.conf.sample Remove a bunch of trailing whitespace in preparation for reformatting/cleanup. 2009-05-28 14:39:21 +00:00
followme.conf.sample Remove a bunch of trailing whitespace in preparation for reformatting/cleanup. 2009-05-28 14:39:21 +00:00
func_odbc.conf.sample Allow multiple rows to be fetched within the normal mode of operation. 2009-09-07 17:15:37 +00:00
gtalk.conf.sample New CLI command 'gtalk show settings'. 2010-11-02 15:14:12 +00:00
h323.conf.sample Replacing doc/* and asterisk.pdf with wiki links 2011-02-02 19:30:49 +00:00
http.conf.sample Merged revisions 314628 via svnmerge from 2011-04-21 18:32:50 +00:00
iax.conf.sample Merged revisions 334514 via svnmerge from 2011-09-06 16:08:10 +00:00
iaxprov.conf.sample Replacing doc/* and asterisk.pdf with wiki links 2011-02-02 19:30:49 +00:00
indications.conf.sample Merged revisions 329710 via svnmerge from 2011-07-27 18:12:14 +00:00
jabber.conf.sample Support routing text messages outside of a call. 2011-06-01 21:31:40 +00:00
jingle.conf.sample Remove a bunch of trailing whitespace in preparation for reformatting/cleanup. 2009-05-28 14:39:21 +00:00
logger.conf.sample Allow each logging destination and console to have its own notion of the verbosity level. 2011-11-29 18:43:16 +00:00
manager.conf.sample Merged revisions 332817 via svnmerge from 2011-08-22 19:19:44 +00:00
meetme.conf.sample Remove a bunch of trailing whitespace in preparation for reformatting/cleanup. 2009-05-28 14:39:21 +00:00
mgcp.conf.sample Replacing doc/* and asterisk.pdf with wiki links 2011-02-02 19:30:49 +00:00
minivm.conf.sample Remove a bunch of trailing whitespace in preparation for reformatting/cleanup. 2009-05-28 14:39:21 +00:00
misdn.conf.sample Enhancements to connected line and redirecting work. 2010-05-17 15:36:31 +00:00
modules.conf.sample Add the capability to require a module to be loaded, or else Asterisk exits. 2009-11-13 08:52:28 +00:00
musiconhold.conf.sample Merged revisions 292050 via svnmerge from 2010-10-16 11:51:54 +00:00
muted.conf.sample Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow. 2008-06-12 17:27:55 +00:00
osp.conf.sample Added support for indirect work mode. 2010-07-12 04:16:18 +00:00
oss.conf.sample fixes adaptive jitterbuffer configuration 2010-03-02 19:08:38 +00:00
phone.conf.sample Remove a bunch of trailing whitespace in preparation for reformatting/cleanup. 2009-05-28 14:39:21 +00:00
phoneprov.conf.sample res_phoneprov add snom 300, 320, 360, 370, 820, 821, 870 support 2011-02-03 16:13:40 +00:00
queuerules.conf.sample Merged revisions 324241 via svnmerge from 2011-06-20 18:13:02 +00:00
queues.conf.sample Update queues.conf.sample documentation. 2011-11-30 19:37:25 +00:00
res_config_mysql.conf.sample Cleanup references to sipusers and sipfriends dynamic realtime families 2011-11-01 19:53:26 +00:00
res_config_sqlite.conf.sample Rename res_config_sqlite.conf to res_config_sqlite.conf.sample (missing .sample). 2009-06-30 17:22:16 +00:00
res_config_sqlite3.conf.sample Add SQLite 3 realtime support 2011-09-11 17:09:36 +00:00
res_curl.conf.sample Merged revisions 295361 via svnmerge from 2010-11-17 14:22:42 +00:00
res_fax.conf.sample Merged revisions 289300 via svnmerge from 2010-09-29 17:54:49 +00:00
res_ldap.conf.sample Cleanup references to sipusers and sipfriends dynamic realtime families 2011-11-01 19:53:26 +00:00
res_odbc.conf.sample Merge the realtime failover branch 2010-07-23 16:19:21 +00:00
res_pgsql.conf.sample Construct socket name, according to the Postgres docs, and document as such. 2010-05-26 16:14:48 +00:00
res_pktccops.conf.sample Merged revisions 337775 via svnmerge from 2011-09-23 00:47:18 +00:00
res_snmp.conf.sample Replacing doc/* with wiki links 2011-02-02 18:59:29 +00:00
res_stun_monitor.conf.sample Re-resolve the STUN address if a STUN poll fails for res_stun_monitor. 2011-12-01 21:19:41 +00:00
rpt.conf.sample Remove a bunch of trailing whitespace in preparation for reformatting/cleanup. 2009-05-28 14:39:21 +00:00
rtp.conf.sample Merged revisions 337178 via svnmerge from 2011-09-21 09:06:22 +00:00
say.conf.sample Merged revisions 284318 via svnmerge from 2010-08-31 19:01:12 +00:00
sip.conf.sample Default to nat=yes; warn when nat in general and peer differ 2011-11-21 21:09:59 +00:00
sip_notify.conf.sample Merged revisions 322189 via svnmerge from 2011-06-07 18:01:28 +00:00
skinny.conf.sample Merged revisions 314628 via svnmerge from 2011-04-21 18:32:50 +00:00
sla.conf.sample Replacing doc/* and asterisk.pdf with wiki links 2011-02-02 19:30:49 +00:00
smdi.conf.sample Fix references to /etc/dahdi/system.conf and /etc/asterisk/chan_dahdi.conf in 2009-05-27 16:07:57 +00:00
telcordia-1.adsi Remove a bunch of trailing whitespace in preparation for reformatting/cleanup. 2009-05-28 14:39:21 +00:00
udptl.conf.sample Allow non-compliant T.38 endpoints to be supportable via configuration option. 2009-10-05 19:45:00 +00:00
unistim.conf.sample Replacing doc/* and asterisk.pdf with wiki links 2011-02-02 19:30:49 +00:00
usbradio.conf.sample fixes adaptive jitterbuffer configuration 2010-03-02 19:08:38 +00:00
users.conf.sample Add 'description' field for CLI and Manager output 2011-04-13 15:49:33 +00:00
voicemail.conf.sample Merged revisions 331139 via svnmerge from 2011-08-09 15:53:26 +00:00
vpb.conf.sample Fix references to /etc/dahdi/system.conf and /etc/asterisk/chan_dahdi.conf in 2009-05-27 16:07:57 +00:00