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

Function check_transaction_quadruple

parser/msg_parser.c:999–1008  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

997*/
998
999int check_transaction_quadruple( struct sip_msg* msg )
1000{
1001 if ( parse_headers(msg, HDR_FROM_F|HDR_TO_F|HDR_CALLID_F|HDR_CSEQ_F,0)!=-1
1002 && msg->from && msg->to && msg->callid && msg->cseq ) {
1003 return 1;
1004 } else {
1005 ser_error=E_BAD_TUPEL;
1006 return 0;
1007 }
1008}
1009
1010
1011/*

Callers 6

buf_to_sip_msgFunction · 0.85
t_check_transFunction · 0.85
tm_existing_invite_transFunction · 0.85
t_lookup_requestFunction · 0.85
func_inviteFunction · 0.85
char_msg_valFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected