On Wednesday 13 Apr 2016, Jeremy Kister wrote:
> On 4/13/16 11:57 AM, A J Stiles wrote:
> > You could try
> > *CLI> dialplan show
>
> Between my older backup and dialplan show, I guess that's my best shot.
>
> Thanks :D
I'll have a go this lunchtime at knocking up a Perl script {for that is my
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
On Wed, 13 Apr 2016, Steve Edwards wrote:
// label
if ('[' == substr($line, 5, 1))
{
$line = str_replace(']', '[', $line);
$tokens = explode('[', $line);
printf("\tsame =
On Wed, 13 Apr 2016, Jeremy Kister wrote:
Between my older backup and dialplan show, I guess that's my best shot.
This should get you close:
sudo asterisk -r -x 'dialplan show' >extensions.wip
and then feed extensions.wip through:
#!/usr/bin/env php
(I'm not all that hot of a PHP
On Wed, 13 Apr 2016, Steve Edwards wrote:
Will 'dialplan save' help?
I just tried this one. It writes the dialplan, but without the application
arguements. Worthless.
Aside from just a great way to eff up your day, does 'dialplan save' have
any value?
--
Thanks in advance,
On 4/13/16 11:57 AM, A J Stiles wrote:
You could try
*CLI> dialplan show
Between my older backup and dialplan show, I guess that's my best shot.
Thanks :D
--
_
-- Bandwidth and Colocation Provided by
On 4/13/16 11:37 AM, Steve Edwards wrote:
Will 'dialplan save' help?
I just tried this one. It writes the dialplan, but without the
application arguements. Worthless.
right, was a good shot. in my case I have writeprotect=yes in general,
so that would have been the first hurdle. but
On Wednesday 13 Apr 2016, Jeremy Kister wrote:
> with the slip of a finger, i destroyed by extensions.conf (grep -i >
> extensions.conf)
>
> I have a backup that is dozens of hours of code old.
>
> is there a way i can use the asterisk cli (or some other asterisky
> method) to recreate that
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.
On Wed, 13 Apr 2016, Steve Edwards wrote:
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 ?
Will 'dialplan save' help?
I just tried this one. It writes the dialplan, but without the
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 ?
Will 'dialplan save' help?
--
Thanks in advance,
-
Steve Edwards
with the slip of a finger, i destroyed by extensions.conf (grep -i >
extensions.conf)
I have a backup that is dozens of hours of code old.
is there a way i can use the asterisk cli (or some other asterisky
method) to recreate that extensions.conf ?
--
12 matches
Mail list logo