MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / run_resume_route

Function run_resume_route

modules/tm/async.c:73–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72
73static inline void run_resume_route( struct script_route_ref * resume_route,
74 struct sip_msg *msg, int run_post_cb)
75{
76 /* run the resume route and if it ends the msg handling (no other aysnc
77 * started), run the post script callbacks. */
78 if ( (run_top_route(sroutes->request[resume_route->idx], msg) & ACT_FL_TBCONT) == 0 )
79 if (run_post_cb)
80 exec_post_req_cb(msg);
81}
82
83int t_resume_async_request(int fd, void*param, int was_timeout)
84{

Callers 3

t_resume_async_requestFunction · 0.85
t_resume_async_replyFunction · 0.85
t_handle_asyncFunction · 0.85

Calls 2

run_top_routeFunction · 0.85
exec_post_req_cbFunction · 0.85

Tested by

no test coverage detected