<div dir="auto">Go to switch.conf.xml and set the logging to debug and to the same on console.Conf.xml.</div><div dir="auto"><br></div><div dir="auto">You get a lot of stuff since it’s on debug, but you will see the dialplan being executed step by step.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 22 Oct 2021 at 06:17, mayamatakeshi <<a href="mailto:mayamatakeshi@gmail.com">mayamatakeshi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 22, 2021 at 12:13 PM Antony Stone <<a href="mailto:Antony.Stone@freeswitch.open.source.it" target="_blank">Antony.Stone@freeswitch.open.source.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wednesday 20 October 2021 at 20:41:22, David Villasmil wrote:<br>
<br>
> if you enable xml_cdr, you will get an "app_log" array containing<br>
> everything.<br>
<br>
Really? xml_cdr sounds (and looks from its config file) to me like it records <br>
CDRs, which are a summary of call legs, durations, billing, etc.<br>
<br>
I'm looking for something which tells me, when a call comes in and gets <br>
processed, which parts of the dialplan are doing the processing, so I can <br>
correct my errors by spotting where it goes wrong.<br>
<br>
Asterisk logs will show me each line of each context which a call gets <br>
processed through, so I can tell "ah! that should not go there - it should go <br>
here instead".<br>
<br>
What's the equivalent for FreeSwitch - or alternatively, how does anyone else <br>
debug their dialplans?</blockquote><div><br></div><div>The app_log helps.</div><div>It shows which applications were executed. </div><div>Here is an example:</div><div><br></div><app_log><br><application app_name="set" app_data="hold_music=local_stream://moh" app_stamp="1634291972221409"/><br><application app_name="set" app_data="transfer_ringback=local_stream://moh" app_stamp="1634291972221589"/><br><application app_name="set" app_data="call_timeout=60" app_stamp="1634291972222178"/><br><application app_name="set" app_data="hangup_after_bridge=true" app_stamp="1634291972222358"/><br><application app_name="set" app_data="ignore_early_media=true" app_stamp="1634291972222539"/><br><application app_name="set" app_data="effective_callee_id_name=fax" app_stamp="1634291972222771"/><br><application app_name="set" app_data="sip_callee_id_number=fax" app_stamp="1634291972222961"/><br><application app_name="set" app_data="continue_on_fail=true" app_stamp="1634291972223152"/><br><application app_name="set" app_data="fax_enable_t38=true" app_stamp="1634291972223727"/><br><application app_name="set" app_data="sip_execute_on_image=t38_gateway peer nocng" app_stamp="1634291972223932"/><br><application app_name="bridge" app_data="{sip_cid_type=none,sip_execute_on_image=t38_gateway self nocng,media_mix_inbound_outbound_codecs=true,hold_music=local_stream://moh,transfer_ringback=local_stream://moh}[origination_caller_id_name=0311112222,origination_caller_id_number=0311112222]sofia/internal/<a href="mailto:40DD809595F58EA0ACFC@127.0.0.1" target="_blank">40DD809595F58EA0ACFC@127.0.0.1</a>" app_stamp="1634291972224122"/><br><div></app_log></div><div> </div></div></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>