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

  • NaBloPoMo!

    It's November, which means it's time for anther month of semi-coherent ramblings! Ironically, despite the current Covid insanity today was much like…

  • NaBloPoMo!

    Yes, it's that time of year where I try to create an entire month's worth of random ramblings! Today ended with a surprise games evening, courtesy…

  • NaBloPoMo result

    Well, another year, another November of trying to think of some random insanity to post every day. This year was less successful that past ones, in…

  • 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.