[Freeswitch-users] Log dialplan actions?

mayamatakeshi mayamatakeshi at gmail.com
Fri Oct 22 04:47:22 UTC 2021

On Fri, Oct 22, 2021 at 12:13 PM Antony Stone <
Antony.Stone at freeswitch.open.source.it> wrote:

> On Wednesday 20 October 2021 at 20:41:22, David Villasmil wrote:
> > if you enable xml_cdr, you will get an "app_log" array containing
> > everything.
> Really?  xml_cdr sounds (and looks from its config file) to me like it
> records
> CDRs, which are a summary of call legs, durations, billing, etc.
> I'm looking for something which tells me, when a call comes in and gets
> processed, which parts of the dialplan are doing the processing, so I can
> correct my errors by spotting where it goes wrong.
> Asterisk logs will show me each line of each context which a call gets
> processed through, so I can tell "ah!  that should not go there - it
> should go
> here instead".
> What's the equivalent for FreeSwitch - or alternatively, how does anyone
> else
> debug their dialplans?

The app_log helps.
It shows which applications were executed.
Here is an example:

<application app_name="set" app_data="hold_music=local_stream://moh"
<application app_name="set" app_data="transfer_ringback=local_stream://moh"
<application app_name="set" app_data="call_timeout=60"
<application app_name="set" app_data="hangup_after_bridge=true"
<application app_name="set" app_data="ignore_early_media=true"
<application app_name="set" app_data="effective_callee_id_name=fax"
<application app_name="set" app_data="sip_callee_id_number=fax"
<application app_name="set" app_data="continue_on_fail=true"
<application app_name="set" app_data="fax_enable_t38=true"
<application app_name="set" app_data="sip_execute_on_image=t38_gateway peer
nocng" app_stamp="1634291972223932"/>
<application app_name="bridge"
app_data="{sip_cid_type=none,sip_execute_on_image=t38_gateway self
40DD809595F58EA0ACFC at" app_stamp="1634291972224122"/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20211022/11aa8407/attachment-0001.html>

More information about the FreeSWITCH-users mailing list