[Freeswitch-users] How to display switch_snprintf logs

Len Graham len at freeswitch.org
Tue Oct 25 19:36:41 UTC 2022


fsctl debug_level 10 (This will output alot of info so be careful on a busy
system)

Is this random or the same every time and do you have steps to replicate it
every time?

On Tue, Oct 25, 2022 at 3:31 PM Andrew Reed <Andrew.Reed at ipsoft.com> wrote:

> Hello,
>
> I’m debugging an issue where I’m not receiving events in some cases after
> a call is hung up. I’ve set “linger 60” and in the cases that it is
> successful I see the log “Socket Linger 60”, but in the cases where it
> fails I don’t see that log, making me think that the socket is not
> lingering correctly.
>
> I noticed while looking through the freeswitch code on github that there
> were some debug logs using “switch_snprintf” and I was wondering how to
> turn these on so that I can see more detail on what events are being sent
> and whether linger is being set correctly.
>
> Thanks,
>
> Andrew Reed
> _________________________________________________________________________
>
> 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/20221025/a508555f/attachment.html>


More information about the FreeSWITCH-users mailing list