Misc. Dialplan Tools log

From FreeSWITCH Wiki
Jump to: navigation, search

Contents

Description

Logs a string of text to the console. See mod_logfile for more information on logging.

Usage

log [loglevel] <log message>

loglevel defaults to DEBUG if not specified.

This application may be run inline from the XML dialplan.

Examples

<action application="log" data="DIALING Extension DialURI [${sip_uri_to_dial}]"/>
<action application="log" data="INFO DIALING Extension DialURI [${sip_uri_to_dial}]"/>
<action application="log" data="DEBUG DIALING Extension DialURI [${sip_uri_to_dial}]"/>

See Also