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

Function t_release_transaction

modules/tm/t_funcs.c:104–115  ·  view source on GitHub ↗

returns 1 if everything was OK or -1 for error */

Source from the content-addressed store, hash-verified

102/* returns 1 if everything was OK or -1 for error
103*/
104int t_release_transaction( struct cell *trans )
105{
106 set_kr(REQ_RLSD);
107
108 reset_timer( & trans->uas.response.fr_timer );
109 reset_timer( & trans->uas.response.retr_timer );
110
111 cleanup_uac_timers( trans );
112
113 put_on_wait( trans );
114 return 1;
115}
116
117
118/* -----------------------HELPER FUNCTIONS----------------------- */

Callers 4

w_t_relayFunction · 0.85
t_uacFunction · 0.85
t_newtranFunction · 0.85
t_unrefFunction · 0.85

Calls 4

set_krFunction · 0.85
cleanup_uac_timersFunction · 0.85
put_on_waitFunction · 0.85
reset_timerFunction · 0.70

Tested by

no test coverage detected