Logo SIP Chef
  • Home
  • About
  • Cert City
  • Scrubber
  • Wiretap
  • Contact

Effective SIP Tools for Expert Teams

Certificate City

Easy and flexible global TLS certificate monitoring. A partner project with free demo proof of concept.

PCAP Scrubber

Redact PII from SIP captures. No download required, all data processed in the browser.

More tools coming soon…

Do you need to generate sample SIP traffic for automated testing? Create custom SIPp scenarios? Visualise and share arbitrary traces from a client PCAP without opening wireshark? Let me know.

Wiretap Tracing

Capture SIP with Wiretap's blazing fast network agent and visualise the traffic in real time.

parser.rs
influx shell
struct HepChunk(String, HepValue);

#[derive(Debug)]
pub struct HepPacket(HashMap<String, HepValue>);

impl HepPacket {
    pub fn new() -> Self {
        HepPacket(HashMap::new())
    }

    fn insert_string_chunk(&mut self, chunk_type: String, value: String) {
        self.0.insert(chunk_type, HepValue::String(value));
    }

    fn insert_int_chunk(&mut self, chunk_type: String, value: u64) {
        self.0.insert(chunk_type, HepValue::Int(value));
    }

    fn insert_sip_chunk(&mut self, chunk_type: String, value: SipMessage) {
        self.0.insert(chunk_type, HepValue::SipPayload(value));
    }

    fn get_chunk(&self, chunk_type: String) -> Option<&HepValue> {
        self.0.get(&chunk_type)
    }
}