Prior to this patch, Using "transport=" multiple times would cause them to add to one
another like allow/deny. This patch changes that behavior to simply use the transport
option specified last. Also, if no transport option is applied now, the default will
automatically be UDP.
(closes ASTERISK-19352)
Reported by: jamicque
Patches:
asterisk-19352-transport-warning-message-v1.patch uploaded by Michael L. Young (license 5026)
issueA19352_no_transport_is_udp.patch uploaded by Walter Doekes (license 5674)
Review: https://reviewboard.asterisk.org/r/1745/diff/#index_header
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@357266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
ast_log(LOG_WARNING,"'%.3s' is not a valid transport type when %.3senabled=no. If no other is specified, the defaults from general will be used.\n",trans,trans);
ast_log(LOG_WARNING,"'%.3s' is not a valid transport type when %.3senable=no. If no other is specified, the defaults from general will be used.\n",trans,trans);
}else{
ast_log(LOG_NOTICE,"'%s' is not a valid transport type. if no other is specified, the defaults from general will be used.\n",trans);
}
@ -28003,8 +28004,8 @@ static int reload_config(enum channelreloadreason reason)