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

Function generate_callid

modules/tm/callid.c:153–162  ·  view source on GitHub ↗

* Get a unique Call-ID */

Source from the content-addressed store, hash-verified

151 * Get a unique Call-ID
152 */
153void generate_callid(str* callid)
154{
155 int i;
156
157 for(i = callid_prefix.len; i; i--) {
158 if (!inc_hexchar(callid_prefix.s + i - 1)) break;
159 }
160 callid->s = callid_prefix.s;
161 callid->len = callid_prefix.len + callid_suffix.len;
162}

Callers 5

mi_tm_uac_dlgFunction · 0.85
w_t_new_requestFunction · 0.85
req_outsideFunction · 0.85
requestFunction · 0.85
new_auto_dlg_uacFunction · 0.85

Calls 1

inc_hexcharFunction · 0.85

Tested by

no test coverage detected