MCPcopy Create free account
hub / github.com/SIPp/sipp / wake

Method wake

src/call.cpp:147–168  ·  view source on GitHub ↗

When should this call wake up? */

Source from the content-addressed store, hash-verified

145
146/* When should this call wake up? */
147unsigned 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
170static std::string find_in_sdp(std::string const &pattern, std::string const &msg)
171{

Callers 2

task2listMethod · 0.45
add_paused_taskMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected