| 71 | |
| 72 | |
| 73 | static 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 | |
| 83 | int t_resume_async_request(int fd, void*param, int was_timeout) |
| 84 | { |
no test coverage detected