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

Function client_new

modules/b2b_entities/client.c:291–297  ·  view source on GitHub ↗

* Function to create a new client entity a send send an initial message * method : the method of the message * to_uri : the destination URI * from_uri: the source URI * extra_headers: the extra headers to be added in the request * b2b_cback : callback function to notify the logic about a change in dialog * logic_key : the logic identifier * tracer : structure used to instruct how the c

Source from the content-addressed store, hash-verified

289 * Return value: dialog key allocated in private memory
290 * */
291str* client_new(client_info_t* ci,b2b_notify_t b2b_cback,
292 b2b_add_dlginfo_t add_dlginfo, str *mod_name, str* logic_key,
293 struct b2b_tracer *tracer, void *param, b2b_param_free_cb free_param)
294{
295 return _client_new(ci, b2b_cback, add_dlginfo, mod_name, logic_key, 0,
296 tracer, param, free_param);
297}
298
299dlg_t* b2b_client_build_dlg(b2b_dlg_t* dlg, dlg_leg_t* leg, unsigned int maxfwd)
300{

Callers

nothing calls this directly

Calls 1

_client_newFunction · 0.85

Tested by

no test coverage detected