[asterisk-dev] Custom MOH Generator

Jon Schøpzinsky jos at detele.dk
Fri Apr 4 05:06:11 CDT 2008


Hello guys.

Im trying to implement my own MOH generator, which spawns a new MOH process for each channel, instead of re-using processes.

As far as ive understood I can use ast_install_music_functions() to setup my own generator.

Then I define a function for starting the MOH, which uses ast_activate_generator to register a generator function.

As far as ive understood, this function gets called once per frame, is this correct?

Am I on the right track?


Kind Regards
Jon Leren Schøpzinsky




More information about the asterisk-dev mailing list