Thomas (boggyb) wrote,

  • Mood:
  • Music:
Quite some time was spent today trying to create a test environment for a particularly convoluted SIP call flow (with the test harness code getting more and more twisted in an attempt to achieve it), until I had a wonderful moment when I realised that almost the entire call flow was completely irrelevant to the actual test.

The only part that mattered was a single message out of my system, and of that all I needed to know was where it was headed. And that depends on a single header in the incoming message, which only has to match reality if I need later requests/responses in the call to go to the right place. So my test suddenly became a lot easier: swap the high-level test harness out for another much more low-level one that lets you send whatever you want, craft a script to send a few INVITEs with completely bogus headers, and watch the results with a packet analyser. Success!
Tags: nablopomo

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.