How to compile modified asterisk app?

I want to make a simple modification to Backgrounddetect such that it plays a sound file, and just waits for silence. Waiting for detection of ‘hello’ is not necessary. No app that I am aware of does this.(Waitforsilence does not play sounds.)

Anyway. I have some C# experience, just need a good shove in the right direction please.

  1. where to find the app
  2. how to compile this change
    a. do i just recompile the app? (how)
    b. do i recompile all of asterisk? (how)

thank you.

I dont know what file it’s in however I would asume you can use grep to find it. Once you have made the change you can recompile asterisk and it should work fine.