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

Function t_flush_flags

modules/tm/tm.c:1168–1183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1166
1167
1168static int t_flush_flags(struct sip_msg* msg)
1169{
1170 struct cell *t;
1171
1172 /* first get the transaction */
1173 t = get_t();
1174 if ( t==0 || t==T_UNDEFINED) {
1175 LM_ERR("failed to flush flags for a message which has"
1176 " no transaction-state established\n");
1177 return -1;
1178 }
1179
1180 /* do the flush */
1181 t->uas.request->flags = msg->flags;
1182 return 1;
1183}
1184
1185
1186static int t_local_replied(struct sip_msg* msg, void *type)

Callers

nothing calls this directly

Calls 1

get_tFunction · 0.85

Tested by

no test coverage detected