rem: parse_headers(p_msg, HDR_VIA|HDR_TO|HDR_FROM|HDR_CALLID|HDR_CSEQ );
add: if ( parse_headers(p_msg, HDR_VIA1|HDR_VIA2|HDR_TO )==-1 || !p_msg->via1 || !p_msg->via2 || !p_msg->to ) { LOG( L_ERR , "ERROR: t_store_incoming_reply: unable to parse headers !\n"  ); return -1; }
context: int t_store_incoming_reply( struct cell* Trans, unsigned int branch, struct sip_msg* p_msg ){   /* if there is a previous reply, replace it */   if ( Trans->inbound_response[branch] )      free_sip_msg( Trans->inbound_response[branch] ) ;   /* force parsing all the needed headers*/   parse_headers(p_msg, HDR_VIA|HDR_TO|HDR_FROM|HDR_CALLID|HDR_CSEQ );   Trans->inbound_response[branch] = sip_msg_cloner( p_msg );}