Changeset 5194

keep tls infos after sip reload

Committed by:  wildzero-cw
Date:  Sep 09 2008 * 00:28 (4 months ago)

Affected files:

callweaver/branches/srtp_tls/channels/chan_sip.c (unified diff)

r5192r5194
72027202 }
72037203
72047204 #ifdef ENABLE_SRTP
7205 add_line(resp, a_crypto, SIP_DL_DONTCARE);
7205 if (a_crypto)
7206 add_line(resp, a_crypto, SIP_DL_DONTCARE);
72067207 #endif
72077208 /*
72087209 #ifdef ENABLE_SRTP
------
1669016691 peer->ha = NULL;
1669116692 /* peer->addr.sin_family = AF_INET; */
1669216693 #ifdef SIP_TCP_SUPPORT
16693 peer->sockfd = -1;
16694 peer->ssl = NULL;
16694 if(!peer->sockfd)
16695 peer->sockfd = -1;
16696 if(!peer->ssl)
16697 peer->ssl = NULL;
1669516698 cw_copy_string(peer->transport, DEFAULT_TRANSPORT, sizeof(peer->transport));
1669616699 #endif
1669716700 cw_copy_flags(peer, &global_flags, SIP_FLAGS_TO_COPY);