When should this call wake up? */
| 145 | |
| 146 | /* When should this call wake up? */ |
| 147 | unsigned int call::wake() |
| 148 | { |
| 149 | unsigned int wake = 0; |
| 150 | |
| 151 | if (zombie) { |
| 152 | return wake; |
| 153 | } |
| 154 | |
| 155 | if (paused_until) { |
| 156 | wake = paused_until; |
| 157 | } |
| 158 | |
| 159 | if (next_retrans && (!wake || (next_retrans < wake))) { |
| 160 | wake = next_retrans; |
| 161 | } |
| 162 | |
| 163 | if (recv_timeout && (!wake || (recv_timeout < wake))) { |
| 164 | wake = recv_timeout; |
| 165 | } |
| 166 | |
| 167 | return wake; |
| 168 | } |
| 169 | |
| 170 | static std::string find_in_sdp(std::string const &pattern, std::string const &msg) |
| 171 | { |
no outgoing calls
no test coverage detected