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

Function mi_script_wait_async_handler

modules/mi_script/mi_script.c:393–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393static mi_response_t *mi_script_wait_async_handler(void *hdl)
394{
395 struct mi_script_async_hdl *async = NULL;
396 mi_response_t *resp = NULL;;
397
398 if (ipc_recv_sync_reply((void **)&async) < 0)
399 LM_ERR("could not receive async reply!\n");
400 else
401 resp = async->resp;
402
403 shm_free(hdl);
404 return resp;
405}
406
407static void mi_script_get_method(str *m, str *method, str *params)
408{

Callers 1

mi_script_funcFunction · 0.85

Calls 2

ipc_recv_sync_replyFunction · 0.85
shm_freeFunction · 0.85

Tested by

no test coverage detected