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

Function determine_fromto_uri

prime_hash.c:165–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165static int determine_fromto_uri (struct to_body *fromto, str *source_string) {
166 if (fromto == NULL) {
167 LM_ERR("fromto is NULL!\n");
168 return -1;
169 }
170 source_string->s = fromto->uri.s;
171 source_string->len = fromto->uri.len;
172 return 0;
173}
174
175static int determine_fromto_user (struct to_body *fromto, str *source_string) {
176 struct sip_uri uri;

Callers 1

determine_sourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected