[asterisk-bugs] [Asterisk 0014325]: [patch] Config file layout

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 26 14:32:32 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14325 
====================================================================== 
Reported By:                DEA
Assigned To:                mvanbaak
====================================================================== 
Project:                    Asterisk
Issue ID:                   14325
Category:                   Channels/chan_skinny
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 170794 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-24 18:03 CST
Last Modified:              2009-01-26 14:32 CST
====================================================================== 
Summary:                    [patch] Config file layout
Description: 
Now that chan skinny uses seperate configuration sections for
lines and devices, it is important to have the [lines] section
before the [devices]

I noticed after updating trunk that while my skinny device was working,
line specific values had not been loaded, such as caller-id, line lable
or voicemail box.
====================================================================== 

---------------------------------------------------------------------- 
 (0098786) DEA (reporter) - 2009-01-26 14:32
 http://bugs.digium.com/view.php?id=14325#c98786 
---------------------------------------------------------------------- 
I gave the new config parsing code a look, and agree it should not matter.

I upgraded my home system this past weekend, which has a whopping 1
skinny
phone to support.  I had upgraded by development system at work a about
six weeks ago, so I knew I needed to restructure my config.

After the upgrade I noticed the messages button no longer worked on my
7940.
'skinny show lines' listed my 1 line, but every value I had assigned was 
missing.  'skinny show device <my-device>' showed the device with the
proper
line assigned.

So before digging into the code, I move the 6 lines of config covering my
1
line to before the devices section, then restarted *.  Now my line had
the
correct settings, both in 'skinny show line ...' and in usage.

The patch was not meant to be the final solution, just enough to let
people
upgrade to trunk and test chan_skinny without encountering this problem.
I fully agree that the real problem still needs to be found and fixed. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-26 14:32 DEA            Note Added: 0098786                          
======================================================================




More information about the asterisk-bugs mailing list