12 Feb
2009
12 Feb
'09
7:59 p.m.
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