[Freeswitch-users] NoOp() equivalent?

Moises Silva moises.silva at gmail.com
Thu Nov 20 07:38:30 PST 2008


You have something much more powerful than NoOp(), you have access to
the logging API of FS (If I understand correctly).

<action application="log" data="CRIT My critical message goes here"/>

So you can log in red in your console with CRIT level, you cal also
use the other levels like DEBUG. Search the wiki,
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_log

- Moy

On Thu, Nov 20, 2008 at 5:55 AM, regs at kinetix.gr <regs at kinetix.gr> wrote:
> Figured that out by myself. One has to raise the console debug output to
> "debug".
>
> regs at kinetix.gr wrote:
>
> Tried that, but the output of a simple <action application="eval"
> data="hello" /> does not appear in my console.
>
> I verified that the context that the eval is in gets executed.
>
> I have the loglevel set to "debug" in my switch.conf.xml by the way.
>
> Any help?
>
> Michael Collins wrote:
>
> Try eval
>
> http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eval
>
> -MC
>
>
>
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org
>
>
> [mailto:freeswitch-
>
>
> users-bounces at lists.freeswitch.org] On Behalf Of regs at kinetix.gr
> Sent: Wednesday, November 19, 2008 10:56 AM
> To: freeswitch-users at lists.freeswitch.org
> Subject: [Freeswitch-users] NoOp() equivalent?
>
> Is there an equivalent to asterisk's NoOp() so that I can print
>
>
> (within
>
>
> the XML dialplan) the stuff I want
> on the FS console? Like variables and stuff?
>
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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
>
>
> ________________________________
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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
>
>



-- 
"I do not agree with what you have to say, but I'll defend to the
death your right to say it." Voltaire




More information about the FreeSWITCH-users mailing list