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

Function dlg2hash

modules/tm/uac.c:154–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152
153
154static inline unsigned int dlg2hash( dlg_t* dlg )
155{
156 str cseq_nr;
157 unsigned int hashid;
158
159 cseq_nr.s=int2str(dlg->loc_seq.value, &cseq_nr.len);
160 hashid = tm_hash(dlg->id.call_id, cseq_nr);
161 return hashid;
162}
163
164
165static int run_local_route( struct cell *new_cell, char **buf, int *buf_len,

Callers 1

t_uacFunction · 0.85

Calls 1

int2strFunction · 0.85

Tested by

no test coverage detected