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

Function generate_fromtag

modules/tm/uac.c:117–123  ·  view source on GitHub ↗

* Generate a From tag */

Source from the content-addressed store, hash-verified

115 * Generate a From tag
116 */
117void generate_fromtag(str* tag, str* callid)
118{
119 /* calculate from tag from callid */
120 crcitt_string_array(&from_tag[MD5_LEN + 1], callid, 1);
121 tag->s = from_tag;
122 tag->len = FROM_TAG_LEN;
123}
124
125
126/*

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

crcitt_string_arrayFunction · 0.85

Tested by

no test coverage detected