[Freeswitch-users] Log dialplan actions?

Avi Marcus avi at avimarcus.net
Wed Oct 20 18:51:50 UTC 2021


Oh op didn't ask for this, but the full logs will show the dialplan
evaluation and matching, not just what ended up being executed.

Staring at those logs is how I experienced and understood how the dial plan
worked.

On Wed, Oct 20, 2021, 9:42 PM David Villasmil <
david.villasmil.work at gmail.com> wrote:

> if you enable xml_cdr, you will get an "app_log" array containing
> everything.
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
>
>
> On Wed, Oct 20, 2021 at 3:09 PM Avi Marcus <avi at avimarcus.net> wrote:
>
>> I think what you want is:
>>
>> Open fs_cli (with /log 7 if not already enabled)
>>
>> Also you read afterards in /var/log/freeswitch/freeswitch.log (depending
>> on your distro/config)
>>
>> I suggest modifying logfile.conf.xml to add: <param name="uuid"
>> value="true"/> so that you can do a grep to see just one call in the logs.
>> (and "reload mod_logfile" to make configuration take effect)
>>
>> -Avi Marcus
>> BestFone
>>
>>
>> On Wed, Oct 20, 2021 at 4:10 PM Antony Stone <
>> Antony.Stone at freeswitch.open.source.it> wrote:
>>
>>> Hi.
>>>
>>> I'm just getting the hang of FreeSwitch (long-time user of Asterisk),
>>> and
>>> wondering:
>>>
>>>  - is there a way to get FS to log dialplan actions as they are executed?
>>>
>>> Basically, the equivalent of Asterisk's "messages", or even better,
>>> "verbose"
>>> log files.
>>>
>>> I'm looking for a way to see how FS is processing calls as they come in,
>>> so I
>>> can be sure my dialplans are doing what I think they should be.
>>>
>>> I know I can add "log" actions of my own, but is there something that
>>> will
>>> simply log each dialplan action automatically?
>>>
>>>
>>> Antony.
>>>
>>> --
>>> BASIC is to computer languages what Roman numerals are to arithmetic.
>>>
>>>                                                    Please reply to the
>>> list;
>>>                                                          please *don't*
>>> CC me.
>>>
>>> _________________________________________________________________________
>>>
>>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>>> services.
>>> Build your next product on our scalable cloud platform.
>>>
>>> Join our online community to chat in real time
>>> https://signalwire.community
>>>
>>> Professional FreeSWITCH Services
>>> sales at freeswitch.com
>>> https://freeswitch.com
>>>
>>> Official FreeSWITCH Sites
>>> https://freeswitch.com/oss
>>> https://freeswitch.org/confluence
>>> https://cluecon.com
>>>
>>> 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
>>> https://freeswitch.com
>>
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time
>> https://signalwire.community
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://cluecon.com
>>
>> 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
>> https://freeswitch.com
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> 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
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20211020/cdc16ec3/attachment.html>


More information about the FreeSWITCH-users mailing list