Use comment in dialplan entry section

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Use comment in dialplan entry section

Postby dspaan » Sun May 17, 2020 5:01 pm

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.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Use comment in dialplan entry section

Postby mflorell » Sun May 17, 2020 6:08 pm

The comment character for Asterisk conf files is the semi-colon ';'
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Use comment in dialplan entry section

Postby dspaan » Mon May 18, 2020 2:04 am

Yeah but this gets sanitized in the dialplan entry field.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Use comment in dialplan entry section

Postby mflorell » Mon May 18, 2020 7:32 am

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.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Use comment in dialplan entry section

Postby dspaan » Mon May 18, 2020 7:49 am

Thanks! Will test it later.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 106 guests

cron