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

Function t_is_local

modules/tm/t_lookup.c:1241–1255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1239
1240
1241int t_is_local(struct sip_msg* p_msg)
1242{
1243 struct cell* t;
1244 if(t_check(p_msg,0) != 1){
1245 LM_ERR("no transaction found\n");
1246 return -1;
1247 }
1248 t = get_t();
1249 if(!t){
1250 LM_ERR("transaction found is NULL\n");
1251 return -1;
1252 }
1253
1254 return is_local(t);
1255}
1256
1257
1258

Callers

nothing calls this directly

Calls 2

t_checkFunction · 0.85
get_tFunction · 0.85

Tested by

no test coverage detected