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

Function new_auto_dlg_uac

modules/tm/dlg.c:201–214  ·  view source on GitHub ↗

* Create a new dialog (auto mode) */

Source from the content-addressed store, hash-verified

199 * Create a new dialog (auto mode)
200 */
201int new_auto_dlg_uac( str* _luri, str* _turi, str* _ruri, str *callid, const struct socket_info* _sock, dlg_t** _d)
202{
203 str fromtag, clid;
204
205 if (!callid) {
206 generate_callid(&clid);
207 callid = &clid;
208 }
209
210 generate_fromtag(&fromtag, callid);
211
212 return _internal_new_dlg_uac(callid, &fromtag, 13/*cseq*/,_luri,
213 _turi, _ruri,_sock,_d);
214}
215
216
217/*

Callers

nothing calls this directly

Calls 3

generate_callidFunction · 0.85
generate_fromtagFunction · 0.85
_internal_new_dlg_uacFunction · 0.85

Tested by

no test coverage detected