[Freeswitch-users] Overzealous 'nixevent'?

freeswitch at dalethatcher.com freeswitch at dalethatcher.com
Fri Mar 14 02:13:39 PDT 2008


I've been looking at improving the performance of an event socket app
and have started trying to use 'nixevent' to restrict the traffic.
However I've run into an issue where CUSTOM events go missing if I nix
events.

Environment:
	Freeswitch rev: 7886
	Platform: Linux 2.6.22-14-generic #1 SMP (ubuntu)

To reproduce I have this in my public.xml dialplan:

    <extension name="conference">
      <condition field="destination_number" expression="^conference$">
        <action application="answer"/>
	<action application="conference" data="conf"/>
      </condition>
    </extension>

I set up socket A with the commands:
    auth ClueCon
    event plain all

Socket B is set up with:
    auth ClueCon
    event plain all
    nixevent HEARTBEAT

I then use a softphone to dial the 'conference' extension in the
dialplan.  On socket A I get the CUSTOM conference events, on socket B I
don't get HEARTBEAT but I also get no CUSTOM conference events.

I've also tried explicit enabling via:
    event plain CUSTOM conference::maintenence
but still get no events (the spelling of maintenance is from the wiki).

Can anyone else replicate or spot something I'm missing?

thanks,

- Dale Thatcher




More information about the FreeSWITCH-users mailing list