[Freeswitch-users] Not able to capture the custom event

Anthony Minessale anthony.minessale at gmail.com
Thu Jan 14 08:47:24 PST 2010


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 at 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 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
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100114/3f99e8c9/attachment-0002.html 


More information about the FreeSWITCH-users mailing list