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)
| r5192 | r5194 | |
|---|---|---|
| 7202 | 7202 | } |
| 7203 | 7203 | |
| 7204 | 7204 | #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); | |
| 7206 | 7207 | #endif |
| 7207 | 7208 | /* |
| 7208 | 7209 | #ifdef ENABLE_SRTP |
| --- | --- | |
| 16690 | 16691 | peer->ha = NULL; |
| 16691 | 16692 | /* peer->addr.sin_family = AF_INET; */ |
| 16692 | 16693 | #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; | |
| 16695 | 16698 | cw_copy_string(peer->transport, DEFAULT_TRANSPORT, sizeof(peer->transport)); |
| 16696 | 16699 | #endif |
| 16697 | 16700 | cw_copy_flags(peer, &global_flags, SIP_FLAGS_TO_COPY); |
![Home changeset 5194 [home]](/images/logo.png?1180520111)
RSS Feeds