[asterisk-users] recreating extensions.conf from live dialplan ?

Steve Edwards asterisk.org at sedwards.com
Wed Apr 13 10:56:59 CDT 2016


On Wed, 13 Apr 2016, Jeremy Kister wrote:

> is there a way i can use the asterisk cli (or some other asterisky method) to 
> recreate that extensions.conf ?

 	sudo asterisk -r -x 'dialplan show' >extensions.wip

And then start cobbling up a script to parse and re-write into a usable 
format.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
             https://www.linkedin.com/in/steve-edwards-4244281



More information about the asterisk-users mailing list