Hi Michael,
Hi Ian,
Just curious - at what point during the call are you currently launching AVMD? In any case, this sounds like a perfect job for "execute_on_answer":
http://wiki.freeswitch.org/wiki/Channel_Variables#execute_on_answer
Just be nice and don't abuse your new found powers! :)
-MC
P.S. - Welcome to the FreeSWITCH community.
On Mon, Jul 16, 2012 at 1:44 AM, Ian Bonham <ian.bonham@gmail.com> wrote:
Hi Everyone,New member, so nice to 'meet' you all!I'm experimenting with FreeSwitch to see how it could replace Asterisk in a mass dialler system that I run in Europe, and I have been playing with the AVMD module. It seems to work perfectly, and does detect voicemail very well. What I am trying to do through is have the dialler generate calls and run as much as possible through FreeSwitch's core, rather than external scripts (I'm using PHP for most of my external functionality as thats what I use to write the agent interfaces too). So I generate individual calls and launch them in FreeSwitch, and it then does most of the call logic from XML dialplan commands, jumping to PHP shell scripts for quick MySQL functions.I'd like very much to be able to run AVMD from the second the call is answered, which is simple enough, but at the same time have my outgoing message playing. So we are assuming the call is a human, but if during the OGM playout AVMD hears a beep, it just terminates the call. Can anyone tell me if this is possible please, either using XML dialplan (I'm guessing not as the XML is sequential), or using a programming script like LUA.Many thanks for any advise anyone can offer,Ian
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org