6

I knew single line comments in asterisk dial plan that is ";" e.g

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

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

shehzy
  • 2,215
  • 3
  • 25
  • 45

1 Answers1

11

Asterisk also allows us to create block comments. A block comment is a comment that begins on one line, and continues for several lines. Block comments begin with the character sequence

;--

and continue across multiple lines until the character sequence

--;

is encountered. The block comment ends immediately after --; is encountered.

[section-name]
setting=true
;-- this is a block comment that begins on this line
and continues across multiple lines, until we
get to here --;
StarPinkER
  • 14,081
  • 7
  • 55
  • 81