[Freeswitch-users] js and VMD

Nik Middleton nik.middleton at noblesolutions.co.uk
Thu Feb 12 12:49:45 PST 2009


That makes sense, though could it not have a call back mechanism similar
to DTMF detect?

I'm still not sure how I could use it even in an event socket.  I plan
to call my js IVR script using a socket, but that has the originate call
in it which is nice and simple, but I'm unsure how I could abort it (js
IVR.

The functionality I'm looking for is really simple. I simply don't want
to leave a voicemail message.  So VMD looks just the ticket.

Regards




-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Michael Collins
Sent: 12 February 2009 20:00
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] js and VMD

> 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

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




More information about the FreeSWITCH-users mailing list