Yes, it is the one. Thanks a lot for the help!

On Fri, Jan 15, 2010 at 12:47 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
you cant subscribe to all custom events, you have to specify a list of subclasses
you have to say events plain custom myevent::ACDnotify

On Thu, Jan 14, 2010 at 3:24 AM, Jingwei Yang <jingwei.yang@gmail.com> wrote:
Hi Guys,

I'm testing to see whether a custom event can be triggered and captured. Here's the extension:

    <extension name="test_ivr">
      <condition field="destination_number" expression="^777$">
        <action application="event" data="Event-Name=CUSTOM,Event-Subclass=myevent::ACDnotify"/>
        <action application="transfer" data="9999 XML default" />
      </condition>
    </extension>

If I telnet and use "events plain all", I can get the event. However, if I use "events plain CUSTOM" or "event plain CUSTOM", it doesn't get captured. Is there anything wrong with the command?

Regards,
-Jingwei




_______________________________________________
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