s,1,Playback(project/eligibil...">

Multi-line comments in the star group

I knew single-line comments in the star group, which is ";" eg

 ;exten => s,1,Playback(project/eligibility_points_msc)

but what is used for multi-line comments in a dial plan?

+5
source share
1 answer

Asterisk also allows us to create block comments . A block comment is a comment that starts on one line and continues for several lines. Block comments begin with a sequence of characters

;--

and continue moving along several lines until a sequence of characters

--;

. The block comment ends immediately after -; meets.

[section-name]
setting=true
;-- this is a block comment that begins on this line
and continues across multiple lines, until we
get to here --;
+10
source

All Articles