How can I create extension from command line permanently?

Hi everyone,

I want to create an extension from asterisk CLI permanently? I don’t want to open and write extension.conf & sip.conf files.
Are there any commands which I can run from CLI mode that write instructions in these files automatically while running asterisk??


You can get a list of CLI commands by issuing the CLI command:

core show applications

I know Cli commands. I am asking, is there any way we can create extension from cli which are permanent after reloading dialplan? Is there any cli command which writes extension.conf and sip.conf files?

Sorry, I meant type help at the CLI prompt. The general point, though, was that Asterisk is self documenting.

More specifically you would type “help dialplan”.