[Freeswitch-users] js and VMD

Michael Collins msc at freeswitch.org
Thu Feb 12 11:59:57 PST 2009


> I'm trying to get VMD running in js, does anyone have an example of how it's
> called?
http://wiki.freeswitch.org/wiki/Mod_vmd

You need to use the event socket because that is the way VMD is
designed. If called from the dialplan it will set a channel variable
but that isn't of much use in a real-time application. Using it as an
API (or bgapi) will yield an event when VMD is detected. This makes
sense because you don't know when (or even if) VMD will be detected,
so using the event system is the best choice.

-MC




More information about the FreeSWITCH-users mailing list