[Home]

Summary:ASTERISK-02923: Recent multiline comment if conf files conflicts with sample sip.conf
Reporter:mmenaz (mmenaz)Labels:
Date Opened:2004-12-04 21:52:58.000-0600Date Closed:2008-01-15 15:15:45.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Resources/res_adsi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:In bug 2911 has been introduced multiline comments, but in sip.conf.sample there is a line:
;-------------------------------
that is interpreted as a start of a multiline comment, and at startup asterisk show this error:
[chan_sip.so] => (Session Initiation Protocol (SIP))
Dec  5 04:52:00 WARNING[1131]: config.c:589 __ast_load: Unterminated comment detected beginning on line 135396936

You just fix the problem adding a space after ";"
Comments:By: mmenaz (mmenaz) 2004-12-04 21:55:45.000-0600

Please,change category to  [Core Asterisk] config and not ADSI. Thanks

By: Mark Spencer (markster) 2004-12-05 02:31:09.000-0600

Modified config.c so that ;-- is treated as a noraml comment if immediately followed by more dashes

By: Digium Subversion (svnbot) 2008-01-15 15:15:45.000-0600

Repository: asterisk
Revision: 4389

U   trunk/config.c

------------------------------------------------------------------------
r4389 | markster | 2008-01-15 15:15:44 -0600 (Tue, 15 Jan 2008) | 2 lines

Consider a comment to start with ;-- but not if there are more dashes (bug ASTERISK-2923)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4389