Yes, it is the one. Thanks a lot for the help!
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
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900
_______________________________________________
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