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?
Try eval http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eval -MC
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch- users-bounces@lists.freeswitch.org] On Behalf Of regs@kinetix.gr Sent: Wednesday, November 19, 2008 10:56 AM To: freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
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@lists.freeswitch.org
[mailto:freeswitch-
users-bounces@lists.freeswitch.org] On Behalf Of regs@kinetix.gr Sent: Wednesday, November 19, 2008 10:56 AM To: freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_______________________________________________ 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
Figured that out by myself. One has to raise the console debug output to "debug". regs@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@lists.freeswitch.org
[mailto:freeswitch-
users-bounces@lists.freeswitch.org] On Behalf Of regs@kinetix.gr Sent: Wednesday, November 19, 2008 10:56 AM To: freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_______________________________________________ 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
------------------------------------------------------------------------
_______________________________________________ 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
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@kinetix.gr <regs@kinetix.gr> wrote:
Figured that out by myself. One has to raise the console debug output to "debug".
regs@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@lists.freeswitch.org
[mailto:freeswitch-
users-bounces@lists.freeswitch.org] On Behalf Of regs@kinetix.gr Sent: Wednesday, November 19, 2008 10:56 AM To: freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_______________________________________________ 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
________________________________ _______________________________________________ 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
_______________________________________________ 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
-- "I do not agree with what you have to say, but I'll defend to the death your right to say it." Voltaire
participants (3)
-
Michael Collins
-
Moises Silva
-
regs@kinetix.gr