[Home]

Summary:ASTERISK-25704: pjsip show settings shows debug=no no matter value in debug setting in pjsip.conf
Reporter:Olivier Krief (okrief)Labels:
Date Opened:2016-01-18 06:45:29.000-0600Date Closed:2016-01-18 07:11:37.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip
Versions:13.7.0 Frequency of
Occurrence
Related
Issues:
Environment:Debian JessieAttachments:
Description:In pjsip.conf, I added a [global] section with either debug=yes or debug=192.168.64.250, then restarted asterisk.
Then, I run "asterisk -rx "pjsip show settings" | grep debug" and get:
debug                     : no

I expected to see either:
debug                      : yes
or
debug                      : 192.168.64.250

I also got the same results with asterisk 13.6.0.
Best regards
Comments:By: Asterisk Team (asteriskteam) 2016-01-18 06:45:30.887-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Joshua C. Colp (jcolp) 2016-01-18 06:48:50.224-0600

What is the exact global section you've added?

You also need type=global in it, or else it will be ignored.

By: Olivier Krief (okrief) 2016-01-18 07:08:09.255-0600

I had no "type=global" statement within my [global] section .
Adding it triggered "pjsip show settings" to match whatever I had in "debug=" statement within pjsip.conf.
Si issue is solved.

Thanks you very much for this.