Remove as much trailing whitespace as possible.

Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
This commit is contained in:
Sean Bright
2017-12-22 09:23:22 -05:00
parent 9ef97b5a91
commit fd0ca1c3f9
700 changed files with 9249 additions and 9661 deletions

View File

@@ -1,8 +1,8 @@
context test1
{
771 => {
for( i=0;
${i} <= 3;
for( i=0;
${i} <= 3;
i = ${i} + 1 )
NoOp(i is '${i}');
}

View File

@@ -1,6 +1,6 @@
#include "t1/*.ael"
context z
context z
{
123 => NoOp(hi there, z);
124 => NoOp(hi there, z);

View File

@@ -6,4 +6,3 @@ context f
}
#include "t3/*.ael"

View File

@@ -6,4 +6,3 @@ context f
}
#include "t3/*.ael"

View File

@@ -23,5 +23,3 @@ _X. => {
}
}
}

View File

@@ -9,4 +9,3 @@ context workext {
Verbose(2|${query}) ;
}
}

View File

@@ -66,7 +66,7 @@ context testloop {
includes {
other|16:00-23:59|m0n-fri|*|*;
};
1 => {
for (x=0; ${x} < 3; x=${x} + 1) {
Verbose(x is ${x} !);
@@ -93,9 +93,9 @@ context testloop {
return;
y=${y}-1;
};
};
};
regexten hint(nasty/Thingy&nasty/Thingamabob) 3 => {
for (x=0; ${x} < 3; x=${x} + 1)
for (x=0; ${x} < 3; x=${x} + 1)
{
Verbose(x is ${x} !);
if( ${x} = 4 )
@@ -106,7 +106,7 @@ context testloop {
return;
y=10;
while (${y} >= 0)
while (${y} >= 0)
{
Verbose(y is ${y} !);
if( ${y} = 4 )
@@ -118,10 +118,10 @@ context testloop {
y=${y}-1;
};
};
};
};
4 => {
y=10;
while (${y} >= 0)
while (${y} >= 0)
{
Verbose(y is ${y} !);
if( ${y} = 4 )
@@ -130,7 +130,7 @@ context testloop {
continue;
if( ${y} = 6 )
return;
for (x=0; ${x} < 3; x=${x} + 1)
for (x=0; ${x} < 3; x=${x} + 1)
{
Verbose(x is ${x} !);
if( ${x} = 4 )
@@ -139,7 +139,7 @@ context testloop {
continue;
if( ${x} = 6 )
return;
for (z=0; ${z} < 17; z=${z} + 1)
for (z=0; ${z} < 17; z=${z} + 1)
{
Verbose(z is ${z} !);
Verbose(z is ${z} !);
@@ -152,11 +152,11 @@ context testloop {
Verbose(z is ${z} !);
Verbose(z is ${z} !);
};
};
y=${y}-1;
};
};
};
5 => {
&exten-gen(axel,brain);
};

View File

@@ -1,6 +1,6 @@
context test1
{
s =>
s =>
{
goto lab1;
if( ${testnotnull} )

View File

@@ -1,4 +1,3 @@
context real-small {
}

View File

@@ -37,4 +37,3 @@ context default
};
}

View File

@@ -1,12 +1,12 @@
context dialextens
{
/*
/*
101 thru 123, 149 thru 152
*/
_10X => Dial(Zap/${EXTEN:2},30,Ttw);
_1ZX => Dial(Zap/${EXTEN:1},30,Ttw);
}
/*
/*
Due to extenal wiring:
dialing 125 will ring 101
@@ -183,7 +183,7 @@ macro funcC(a,b)
goto y,lab1;
catch y
{ lab1:
&funcB(${a},${b});
&funcB(${a},${b});
}
}
@@ -196,7 +196,7 @@ macro funcB(a,b)
goto z,lab2;
catch z
{ lab2:
&funcC(${a},${b});
&funcC(${a},${b});
}
}
@@ -236,7 +236,7 @@ context extension
Verbose(Finished 100000 levels deep call!);
}
83 => {
switch (${EXTEN})
switch (${EXTEN})
{
pattern 8X:
Verbose(do something to prepare it);
@@ -288,7 +288,7 @@ context extension
Verbose(ChannelOnly=${ChannelOnly}; neat huh?);
Set(ChannelOnly=${CUT(CHANNEL,,1)});
Verbose(ChannelOnly=${ChannelOnly}; neat huh?);
}
}
873 => {
NOOP(this is a forkcdr test);
Set(CALLERID(num)=1234567890);

View File

@@ -1,8 +1,7 @@
context test1
{
s =>
s =>
{
#include "apptest.ael2";
}
}

View File

@@ -5,4 +5,3 @@ context interesting {
}
13 => NoOp(LuckyNumber!);
}

File diff suppressed because it is too large Load Diff

View File

@@ -16,7 +16,7 @@
// WORSE DESIGN: Instead of using the Background application, the Playback
// application is used. After taking so much time and trouble
// to record this material, the caller must listen and enjoy
// to record this material, the caller must listen and enjoy
// every syllable before they can make an option choice. None
// of that interrupting with a choice. We want them to savour
// every word!
@@ -29,18 +29,18 @@
context telemarket {
s => {
begin:
Playback(telemarketer-intro); // ; Script:
Playback(telemarketer-intro); // ; Script:
// Due to the extremely high volume of calls from everything from telemarketers
// to Septic System Bacteria vendors, we are asking all such organizations
// to remove this number from their call list, or as need be, to add this
// number to their No-Call list, whichever is relevent.
// number to their No-Call list, whichever is relevent.
// [THE CARROT:]
// We HAVE made some exceptions, and if you wish to see if your organization
// has been exempted, please listen to and follow the following prompts.
//
//
// Otherwise, please Cease calling this number!
//
//
Playback(telemarketer-choices);
// if you represent a charitable organization, please dial 1,
// if you represent a political organization, please dial 2.
@@ -70,22 +70,22 @@ context telemarket-charity {
// have sold our name and phone number to each other until we are now hounded
// day and night by literally hundreds of such organizations.
// Enough is Enough!
//
// If we have contributed to your cause in the past, we may, perhaps, be disposed to
//
// If we have contributed to your cause in the past, we may, perhaps, be disposed to
// do so in the future, at our option,
// we give no pledges nor make any commitments here.
// Send us material via the post if you feel this necessary
// but do not even consider email. Any email or further phone calls from your organization
// in the future, will be considered an act of aggression, and we will
// in the future, will be considered an act of aggression, and we will
// blacklist your organization for the rest of our natural lives.
//
//
// To see if your organization is exempt from these prohibitions, please
// comply with the following options.
Playback(telemark-charity-choices);
// If your organization is disease or genetic defect related, dial 1,
// If your organization is handicap related, dial 2.
// If your organization is a police or fireman or other similar support entity, please dial 3.
// If your organization is a grade school to high school related
// If your organization is a grade school to high school related
// fund raiser or other type of activity, please dial 4.
// If your organization is a college or univerity or alumnis organization, please dial 5.
// If your organization is animal rights or ecology related organization, please dial 6.
@@ -176,7 +176,7 @@ context telemarket-char-other {
context telemarket-sorry {
s => {
begin:
Playback(telemarket-sorry);
Playback(telemarket-sorry);
// Sorry -- your organization is not exempt. Please stop calling us.
// Thank you. goodbye.
Hangup();
@@ -190,7 +190,7 @@ context telemarket-exception {
s => {
begin:
Playback(telemarket-success);
// Congratulations. Your organization IS exempt. Please call us back,
// Congratulations. Your organization IS exempt. Please call us back,
// but this time, just act like a normal caller. Thank you. Goodbye.
Hangup();
}
@@ -244,7 +244,7 @@ context telemarket-political2 {
Playback(telemark-politx-intro);
// Thank you for your patience, and I congratulate you for your persistence.
// Just a few more options!
//
//
Playback(telemark-polit2-choices);
// if You represent the Communist Party USA, dial 1.
// if You represent the Constitution Party, dial 2.
@@ -644,7 +644,7 @@ context telemarket-pollster {
s => {
begin:
Playback(telemark-poll-intro);
// I'm sorry-- We are just not available for doing any polling at the moment. So,
// I'm sorry-- We are just not available for doing any polling at the moment. So,
// please remove us from your list.
goto telemarket-sorry|s|begin;
}
@@ -660,7 +660,7 @@ context telemarket-research {
Playback(telemark-research-intro);
// I'd like to say I'd love to help you with your market survey, but that would be a complete
// and total lie. I am not interested in helping you with Market Surveys.
//
//
// Please remove me from your call list. It just doesn't pay enough. But Thank you.
goto telemarket-sorry|s|begin;
}
@@ -674,12 +674,12 @@ context telemarket-magazine {
s => {
begin:
Playback(telemark-mag-choices);
// If you are calling to see if I would like a NEW free subscription
// If you are calling to see if I would like a NEW free subscription
// to your magazine or newsletter, please dial 1.
// If you are calling to see if I want to Renew an existing subscription, please dial 2.
// If you are representing some publisher, and want my opinion about something, or are doing
// some kind of survey, please dial 3.
// If you are calling to verify that some previous caller actually called me, and the
// If you are calling to verify that some previous caller actually called me, and the
// verification information is correct, please dial 4.
// and if your call purpose doesn't match any of the above, please dial 5.
}
@@ -698,8 +698,8 @@ context telemark-mag-new {
s => {
begin:
Playback(telemark-mag-new);
// I'm sorry, I'm maxed out, and the answer is NO.
// If you really think I'd LOVE to add your publication to the pile I already get,
// I'm sorry, I'm maxed out, and the answer is NO.
// If you really think I'd LOVE to add your publication to the pile I already get,
// Send something via the post. Don't call me.
// Thank you. bye.
Hangup();
@@ -715,9 +715,9 @@ context telemark-mag-renew {
begin:
Playback(telemark-mag-renew);
// So, you want to see if I want to Renew, do you? The answer is most likely "YES".
//
// But, I will not answer a long list of questions over the phone. Send such
// categorization info via the post, and stop bothering me over the phone,
//
// But, I will not answer a long list of questions over the phone. Send such
// categorization info via the post, and stop bothering me over the phone,
// if this is what you want.
// Do you need verification information? Normally I opt out of such nonsense, if possible.
// If not, use whatever of the following you can:
@@ -752,7 +752,7 @@ context telemark-mag-verify {
begin:
Playback(telemark-mag-verify);
// If you are calling to verify that your own agents aren't ripping you off,
// sorry, I can't help you. I opt out whenever I can, mainly because I'm not
// sorry, I can't help you. I opt out whenever I can, mainly because I'm not
// paid enough for this kind of thing. I always lie, and I can't remember
// what I might have said. Sorry. Goodbye.
Hangup();
@@ -785,7 +785,7 @@ context telemarket-commercial {
begin:
Playback(telemark-comm-intro); // Script: Please leave your name, organization, and phone number, plus
// a short description of the purpose of your call, at the prompt.
// We will do our best to respond to your call! And, in the mean time,
// We will do our best to respond to your call! And, in the mean time,
// do not forget to add us to your no-call list!
Voicemail(u82);
goto telemarket-sorry|s|begin;
@@ -801,7 +801,7 @@ context telemarket-other {
begin:
Playback(telemark-other-intro);
// Please review the previous menu options, and see if you really don't
// fit in one of the previous categories.
// fit in one of the previous categories.
// If you do not, go ahead, and call me again, and let me know what category
// I should have included in the above list. I appreciate this. Thank you much!
Hangup();

View File

@@ -1,8 +1,7 @@
context test1
{
test2 =>
test2 =>
{
#include "apptest.ael2";
}
}

View File

@@ -63,7 +63,7 @@ macro checkanddial(prov,proto,ext,arg1,arg2,arg3,arg4) {
if(${DB_EXISTS(Provider/${prov}/used)})
Set(MINUTES_USED=${DB_RESULT});
country_c = 0;
switch(${LEN(${ext})}) { //assuming all international numbers are 11 digits long.
case 10: //NXXNXXXXXX
@@ -76,7 +76,7 @@ macro checkanddial(prov,proto,ext,arg1,arg2,arg3,arg4) {
country_c = ${ext:3:1};
break;
};
if("${prov}" = "${TRUNK}" & ${country_c} != 1) { // SunRocket international calls
Set(MINUTES_LIMIT=${DB(Provider/${prov}/limit)});
&announce_minutes($[${MINUTES_LIMIT} - ${MINUTES_USED}]);
@@ -258,7 +258,7 @@ context outbound {
_012. => { //fwdOUT
Set(CALLERID(name)=Central NJ);
Dial(IAX2/14301@fwdOUT/q${EXTEN:3},60,T);
};
};
_013X. => { //NECC
Dial(${PSTNPROTO}/011${EXTEN:3}@${PSTN},60,T);
};
@@ -339,7 +339,7 @@ context tario.net-in {
} else if("${SIP_HEADER(To)}" = "<sip:2271653@sipnet.ru>") {
jump 1@default;
} else
jump 2@default;
jump 2@default;
};
};
@@ -457,4 +457,3 @@ instructions:
t => jump #;
i => Playback(invalid);
};

View File

@@ -24,4 +24,3 @@ context default
};
}

File diff suppressed because it is too large Load Diff

View File

@@ -16,7 +16,7 @@
// WORSE DESIGN: Instead of using the Background application, the Playback
// application is used. After taking so much time and trouble
// to record this material, the caller must listen and enjoy
// to record this material, the caller must listen and enjoy
// every syllable before they can make an option choice. None
// of that interrupting with a choice. We want them to savour
// every word!
@@ -29,18 +29,18 @@
context telemarket {
s => {
begin:
Playback(telemarketer-intro); // ; Script:
Playback(telemarketer-intro); // ; Script:
// Due to the extremely high volume of calls from everything from telemarketers
// to Septic System Bacteria vendors, we are asking all such organizations
// to remove this number from their call list, or as need be, to add this
// number to their No-Call list, whichever is relevent.
// number to their No-Call list, whichever is relevent.
// [THE CARROT:]
// We HAVE made some exceptions, and if you wish to see if your organization
// has been exempted, please listen to and follow the following prompts.
//
//
// Otherwise, please Cease calling this number!
//
//
Playback(telemarketer-choices);
// if you represent a charitable organization, please dial 1,
// if you represent a political organization, please dial 2.
@@ -70,22 +70,22 @@ context telemarket-charity {
// have sold our name and phone number to each other until we are now hounded
// day and night by literally hundreds of such organizations.
// Enough is Enough!
//
// If we have contributed to your cause in the past, we may, perhaps, be disposed to
//
// If we have contributed to your cause in the past, we may, perhaps, be disposed to
// do so in the future, at our option,
// we give no pledges nor make any commitments here.
// Send us material via the post if you feel this necessary
// but do not even consider email. Any email or further phone calls from your organization
// in the future, will be considered an act of aggression, and we will
// in the future, will be considered an act of aggression, and we will
// blacklist your organization for the rest of our natural lives.
//
//
// To see if your organization is exempt from these prohibitions, please
// comply with the following options.
Playback(telemark-charity-choices);
// If your organization is disease or genetic defect related, dial 1,
// If your organization is handicap related, dial 2.
// If your organization is a police or fireman or other similar support entity, please dial 3.
// If your organization is a grade school to high school related
// If your organization is a grade school to high school related
// fund raiser or other type of activity, please dial 4.
// If your organization is a college or univerity or alumnis organization, please dial 5.
// If your organization is animal rights or ecology related organization, please dial 6.
@@ -176,7 +176,7 @@ context telemarket-char-other {
context telemarket-sorry {
s => {
begin:
Playback(telemarket-sorry);
Playback(telemarket-sorry);
// Sorry -- your organization is not exempt. Please stop calling us.
// Thank you. goodbye.
Hangup();
@@ -190,7 +190,7 @@ context telemarket-exception {
s => {
begin:
Playback(telemarket-success);
// Congratulations. Your organization IS exempt. Please call us back,
// Congratulations. Your organization IS exempt. Please call us back,
// but this time, just act like a normal caller. Thank you. Goodbye.
Hangup();
}
@@ -244,7 +244,7 @@ context telemarket-political2 {
Playback(telemark-politx-intro);
// Thank you for your patience, and I congratulate you for your persistence.
// Just a few more options!
//
//
Playback(telemark-polit2-choices);
// if You represent the Communist Party USA, dial 1.
// if You represent the Constitution Party, dial 2.
@@ -644,7 +644,7 @@ context telemarket-pollster {
s => {
begin:
Playback(telemark-poll-intro);
// I'm sorry-- We are just not available for doing any polling at the moment. So,
// I'm sorry-- We are just not available for doing any polling at the moment. So,
// please remove us from your list.
goto telemarket-sorry|s|begin;
}
@@ -660,7 +660,7 @@ context telemarket-research {
Playback(telemark-research-intro);
// I'd like to say I'd love to help you with your market survey, but that would be a complete
// and total lie. I am not interested in helping you with Market Surveys.
//
//
// Please remove me from your call list. It just doesn't pay enough. But Thank you.
goto telemarket-sorry|s|begin;
}
@@ -674,12 +674,12 @@ context telemarket-magazine {
s => {
begin:
Playback(telemark-mag-choices);
// If you are calling to see if I would like a NEW free subscription
// If you are calling to see if I would like a NEW free subscription
// to your magazine or newsletter, please dial 1.
// If you are calling to see if I want to Renew an existing subscription, please dial 2.
// If you are representing some publisher, and want my opinion about something, or are doing
// some kind of survey, please dial 3.
// If you are calling to verify that some previous caller actually called me, and the
// If you are calling to verify that some previous caller actually called me, and the
// verification information is correct, please dial 4.
// and if your call purpose doesn't match any of the above, please dial 5.
}
@@ -698,8 +698,8 @@ context telemark-mag-new {
s => {
begin:
Playback(telemark-mag-new);
// I'm sorry, I'm maxed out, and the answer is NO.
// If you really think I'd LOVE to add your publication to the pile I already get,
// I'm sorry, I'm maxed out, and the answer is NO.
// If you really think I'd LOVE to add your publication to the pile I already get,
// Send something via the post. Don't call me.
// Thank you. bye.
Hangup();
@@ -715,9 +715,9 @@ context telemark-mag-renew {
begin:
Playback(telemark-mag-renew);
// So, you want to see if I want to Renew, do you? The answer is most likely "YES".
//
// But, I will not answer a long list of questions over the phone. Send such
// categorization info via the post, and stop bothering me over the phone,
//
// But, I will not answer a long list of questions over the phone. Send such
// categorization info via the post, and stop bothering me over the phone,
// if this is what you want.
// Do you need verification information? Normally I opt out of such nonsense, if possible.
// If not, use whatever of the following you can:
@@ -752,7 +752,7 @@ context telemark-mag-verify {
begin:
Playback(telemark-mag-verify);
// If you are calling to verify that your own agents aren't ripping you off,
// sorry, I can't help you. I opt out whenever I can, mainly because I'm not
// sorry, I can't help you. I opt out whenever I can, mainly because I'm not
// paid enough for this kind of thing. I always lie, and I can't remember
// what I might have said. Sorry. Goodbye.
Hangup();
@@ -785,7 +785,7 @@ context telemarket-commercial {
begin:
Playback(telemark-comm-intro); // Script: Please leave your name, organization, and phone number, plus
// a short description of the purpose of your call, at the prompt.
// We will do our best to respond to your call! And, in the mean time,
// We will do our best to respond to your call! And, in the mean time,
// do not forget to add us to your no-call list!
Voicemail(u82);
goto telemarket-sorry|s|begin;
@@ -801,7 +801,7 @@ context telemarket-other {
begin:
Playback(telemark-other-intro);
// Please review the previous menu options, and see if you really don't
// fit in one of the previous categories.
// fit in one of the previous categories.
// If you do not, go ahead, and call me again, and let me know what category
// I should have included in the above list. I appreciate this. Thank you much!
Hangup();

View File

@@ -1,12 +1,12 @@
context dialextens
{
/*
/*
101 thru 123, 149 thru 152
*/
_10X => Dial(Zap/${EXTEN:2},30,tw);
_1ZX => Dial(Zap/${EXTEN:1},30,tw);
}
/*
/*
Due to extenal wiring:
dialing 125 will ring 101
@@ -90,7 +90,7 @@ context extension
Verbose(Finished 100000 levels deep call!);
}
83 => {
switch (${EXTEN})
switch (${EXTEN})
{
pattern 8X:
Verbose(do something to prepare it);

View File

@@ -11,4 +11,3 @@ context from-enum {
goto ${EXTEN:3}|1;
}
}

View File

@@ -41,7 +41,7 @@ done
for i in ael-vtest*; do
echo -n Test: $i.................
(cd $i; ../../../../utils/aelparse -d -w -n | grep -v -i 'seconds' > ../res2.$i)
if (diff -q ref.$i $i/extensions.conf.aeldump > /dev/null 2>&1 ) then
echo PASSED
rm res2.$i