&net.sip.loglevel.file doesn't work anymore?

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
uhupfeld
Posts: 77
Joined: Sat Nov 08, 2008 12:15 pm
Location: Brazil

&net.sip.loglevel.file doesn't work anymore?

Post by uhupfeld »

1. Brekeke Product Name and Version:
3.7.7.8
2. Java version:

3. OS type and the version:
Win7 64 Pro
4. UA (phone), gateway or other hardware/software involved:

5. Your problem:
I'm trying to find a reason for an SBC that is receiving from BSS only 407/403 responses.
For this I wanted to enable &net.sip.loglevel.file=255 in this specific route (or dial plan). Apparently this is not an option anymore, because when I try to choose this variable the system doesn't find any &net.sip.loglevel option. And when I force &net.sip.loglevel.file = 255, the line stays greyed out, not blue like the others.
Has this variable changed or been replaced? Or is it a bug?

BR

Udo
redroof
Posts: 97
Joined: Fri Nov 16, 2007 1:46 pm

Post by redroof »

> I'm trying to find a reason for an SBC that is receiving from BSS only 407/403 responses.

Who sent 407/403? If it is Brekeke SIP Server, you need to disable Authentication only for the SBC, or add SBC's authentication user/password at [User Authentication] page.

> And when I force &net.sip.loglevel.file = 255, the line stays greyed out, not blue like the others.

This is because &net.sip.loglevel.file is a minor variable so it is not listed in the selection.
Even if it is not blue, you don't have to care about it. The variable should work.
uhupfeld
Posts: 77
Joined: Sat Nov 08, 2008 12:15 pm
Location: Brazil

Post by uhupfeld »

BSS sent the 407/403, as the SBC is registered on the BSS.

Could be minor variable, but using it in the dial plan doesn't give me any extra info in the logs. I just don't find anything in the logs beyond the 403 and the 407 messages in the error log.
It doesn't say why, as I would expect for sv.xxxxxxxx.log. This file shows no info.
The Wiki explicitly states that if I use this setting in the Dial Plan i don't have to restart the BSS. Do I need to restart the BSS anyway to activate this log collection for this specific dial plan?

BR

Udo
redroof
Posts: 97
Joined: Fri Nov 16, 2007 1:46 pm

Post by redroof »

First, &net.sip.loglevel.file variable doesn't cover response returned from Brekeke SIP Server. It is for logging SIP session.

> Do I need to restart the BSS anyway to activate this log collection for this specific dial plan?

No.
Go to [Diagnostics]->[Debug Logs] page, select "Authentication/Radius" and push [Update] button.
It allows you to enable/disable the logging without restarting the BSS.
uhupfeld
Posts: 77
Joined: Sat Nov 08, 2008 12:15 pm
Location: Brazil

Post by uhupfeld »

Ok, I see your point.
Actually, I'm not looking specifically for the SIP messages, but for the reason for the SIP messages that BSS is sending, which is in the sv.xxxxx.log file.
I expected that by increasing the SIP log level (using &net.sip.loglevel.file=255) that also the 403/407 SIP messages show up in this file, along with BSS's Dial Plan decisions.
From what you are saying, they will not show up anyway in this file, right? (currently they are not there)
In this case, how can I find the sequence of Dial Plan decisions taken by BSS in the case of the 403/407 SIP messages, if not in sv.xxxx.log?

BR

Udo
redroof
Posts: 97
Joined: Fri Nov 16, 2007 1:46 pm

Post by redroof »

403/407 are auth related error responses so enable "Authentication/Radius" at [Diagnostics]->[Debug Logs] page.
The log file is the same, sv.xxxx.log.

> how can I find the sequence of Dial Plan decisions taken by BSS

For debugging DialPlan, enable "Dial Plan" too at [Debug Logs] page.
uhupfeld
Posts: 77
Joined: Sat Nov 08, 2008 12:15 pm
Location: Brazil

Post by uhupfeld »

Hello redroof,

I've enabled Dial Plan in the Debug Logs screen, but I still get nothing when the call fails with 407/403. Absolutely no information.
However, when the rule works and the call goes trough I get all the info I need.
This makes no sense, usually we need the logs when something doesn't work, to make troubleshooting. In this case we get logs only when it works!
What am I missing that I can't get the Dial Plan logs of failed calls in sv.xxxx.log?

Thanks for the help

Udo
redroof
Posts: 97
Joined: Fri Nov 16, 2007 1:46 pm

Post by redroof »

Have you enabled "Authentication/Radius" at [Debug Logs] page?

As I told you, 407/403 are returned due to Auth failed. It means the error happens before DialPlan processed.

If it is hard to troubleshoot the issue over the user forum, I recommend you to contact Brekeke's tech support.
uhupfeld
Posts: 77
Joined: Sat Nov 08, 2008 12:15 pm
Location: Brazil

Post by uhupfeld »

Yes, I've checked "Authentication/Radius" at the [Debug Logs] page.
The information should be there.
Is it possible that the default log level doesn't show it?
How do I increase the level of logging of the BSS answers since you have mentioned that &net.sip.loglevel.file = 255 isn't adequate?
redroof
Posts: 97
Joined: Fri Nov 16, 2007 1:46 pm

Post by redroof »

> Yes, I've checked "Authentication/Radius" at the [Debug Logs] page.

Can you find "auth: NG" message in sv.xxxx.log?


> Is it possible that the default log level doesn't show it?

The default log level is 0 and it doesn't show detailed information.


>How do I increase the level of logging of the BSS answers since you have mentioned that &net.sip.loglevel.file = 255 isn't adequate?

255 is the maximum log level.
Post Reply