(closes issue #17829)
Reported by: falves11
Patches:
issue_17829.rev1.txt uploaded by russell (license 2)
issue_17829.diff uploaded by dvossel (license 671)
Tested by: falves11
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@282576
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
peer->timer_t1 = global_t1;
peer->timer_b = global_timer_b;
clear_peer_mailboxes(peer);
+ peer->transports = default_transports;
+ peer->default_outbound_transport = default_primary_transport;
}
/*! \brief Create temporary peer (used in autocreatepeer mode) */
/* If we have realm authentication information, remove them (reload) */
clear_realm_authentication(peer->auth);
peer->auth = NULL;
+ /* clear the transport information. We will detect if a default value is required after parsing the config */
peer->default_outbound_transport = 0;
peer->transports = 0;