Page 1 of 1

Use comment in dialplan entry section

PostPosted: Sun May 17, 2020 5:01 pm
by dspaan
I would like to insert comments in the dialplan entry field in the Modify carrier section. Is there a character that can be used for this? I tried # but this creates warnings during asterisk reload.

Re: Use comment in dialplan entry section

PostPosted: Sun May 17, 2020 6:08 pm
by mflorell
The comment character for Asterisk conf files is the semi-colon ';'

Re: Use comment in dialplan entry section

PostPosted: Mon May 18, 2020 2:04 am
by dspaan
Yeah but this gets sanitized in the dialplan entry field.

Re: Use comment in dialplan entry section

PostPosted: Mon May 18, 2020 7:32 am
by mflorell
Well, that would be a bug then, because everywhere else in admin.php for custom dialplan entries you can enter comments in. It was simple enough to fix, so just upgrade to the latest svn/trunk and you'll be able to put comments in there now.

Re: Use comment in dialplan entry section

PostPosted: Mon May 18, 2020 7:49 am
by dspaan
Thanks! Will test it later.