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

Jeremy Kister asterisk-03 at jeremykister.com
Wed Apr 13 23:53:26 CDT 2016


On 4/13/2016 1:26 PM, Steve Edwards wrote:
> This should get you close:
>
>           sudo asterisk -r -x 'dialplan show' >extensions.wip
>
> and then feed extensions.wip through:

Ya, that's pretty good!  besides the fact that I've never used "same" (i 
understand where it's coming from) and a few contexts confuzzled 
(missing general/globals and extra parkedcalls - but again I get it) - 
it seems to be perfect.

One for a wiki, somewhere.


thanks,

-- 

Jeremy Kister
http://jeremy.kister.net/



More information about the asterisk-users mailing list