Thank you all for your help. It is very kind of you.

Now the problem is when I want the original caller (a sip client) to be notified about the transfer which I detected from the server, should I use sendEvent in ESL or there is a better way

Regards


On 10 Oct 2016 10:15 am, "rsyncme rsyncme" <piotrek.gregor@gmail.com> wrote:
Hi Anis, Gonzalo,

To complete what Gonzalo has said, to subscribe to AVMD messages you will do in Perl:

$con->events("plain", "CUSTOM avmd::start");
$con->events("plain", "CUSTOM avmd::stop");
$con->events("plain", "CUSTOM avmd::beep");

Please take a look into src/mod/applications/mod_avmd/scripts/ folder for complete examples.

cheers,
Piotr


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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