Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] How to display switch_snprintf logs


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
len at freeswitch.org
Guest





PostPosted: Tue Oct 25, 2022 2:58 pm    Post subject: [Freeswitch-users] How to display switch_snprintf logs Reply with quote

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@ipsoft.com (Andrew.Reed@ipsoft.com)> wrote:

Quote:

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@freeswitch.com (sales@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
Andrew.Reed at ipsoft.com
Guest





PostPosted: Tue Oct 25, 2022 3:06 pm    Post subject: [Freeswitch-users] How to display switch_snprintf logs Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services