Remove a bunch of trailing whitespace in preparation for reformatting/cleanup.
[asterisk/asterisk.git] / configs / asterisk.adsi
index 396de2c..a589525 100644 (file)
@@ -35,39 +35,39 @@ DISPLAY "empty" IS "asdf"
 ; Begin soft key definitions
 ;
 KEY "callfwd" IS "CallFwd" OR "Call Forward"
-OFFHOOK
-VOICEMODE
-WAITDIALTONE
-SENDDTMF "*60"
-GOTO "offHook"
+       OFFHOOK
+       VOICEMODE
+       WAITDIALTONE
+       SENDDTMF "*60"
+       GOTO "offHook"
 ENDKEY
 
 KEY "vmail_OH" IS "VMail" OR "Voicemail"
-OFFHOOK
-VOICEMODE
-WAITDIALTONE
-SENDDTMF "8500"
+       OFFHOOK
+       VOICEMODE
+       WAITDIALTONE
+       SENDDTMF "8500"
 ENDKEY
 
 KEY "vmail" IS "VMail" OR "Voicemail"
-SENDDTMF "8500"
+       SENDDTMF "8500"
 ENDKEY
 
 KEY "backspace" IS "BackSpc" OR "Backspace"
-BACKSPACE
+       BACKSPACE
 ENDKEY
 
 KEY "cwdisable" IS "CWDsble" OR "Disable Call Wait"
-SENDDTMF "*70"
-SETFLAG "nocallwaiting"
-SHOWDISPLAY "cwdisabled" AT 4
-TIMERCLEAR
-TIMERSTART 1
+       SENDDTMF "*70"
+       SETFLAG "nocallwaiting"
+       SHOWDISPLAY "cwdisabled" AT 4
+       TIMERCLEAR
+       TIMERSTART 1
 ENDKEY
 
 KEY "cidblock" IS "CIDBlk" OR "Block Callerid"
-SENDDTMF "*67"
-SETFLAG "nocallwaiting"
+       SENDDTMF "*67"
+       SETFLAG "nocallwaiting"
 ENDKEY
 
 ;
@@ -75,85 +75,85 @@ ENDKEY
 ;
 
 SUB "main" IS
-IFEVENT NEARANSWER THEN
-CLEAR
-SHOWDISPLAY "titles" AT 1 NOUPDATE
-SHOWDISPLAY "talkingto" AT 2 NOUPDATE
-SHOWDISPLAY "callname" AT 3
-SHOWDISPLAY "callnum" AT 4
-GOTO "stableCall"
-ENDIF
-IFEVENT OFFHOOK THEN
-CLEAR
-CLEARFLAG "nocallwaiting"
-CLEARDISPLAY 
-SHOWDISPLAY "titles" AT 1
-SHOWKEYS "vmail" 
-SHOWKEYS "cidblock" 
-SHOWKEYS "cwdisable" UNLESS "nocallwaiting"
-GOTO "offHook"
-ENDIF
-IFEVENT IDLE THEN
-CLEAR
-SHOWDISPLAY "titles" AT 1
-SHOWKEYS "vmail_OH"
-ENDIF
-IFEVENT CALLERID THEN
-CLEAR
+       IFEVENT NEARANSWER THEN
+               CLEAR
+               SHOWDISPLAY "titles" AT 1 NOUPDATE
+               SHOWDISPLAY "talkingto" AT 2 NOUPDATE
+               SHOWDISPLAY "callname" AT 3
+               SHOWDISPLAY "callnum" AT 4
+               GOTO "stableCall"
+       ENDIF
+       IFEVENT OFFHOOK THEN
+               CLEAR
+               CLEARFLAG "nocallwaiting"
+               CLEARDISPLAY
+               SHOWDISPLAY "titles" AT 1
+               SHOWKEYS "vmail"
+               SHOWKEYS "cidblock"
+               SHOWKEYS "cwdisable" UNLESS "nocallwaiting"
+               GOTO "offHook"
+       ENDIF
+       IFEVENT IDLE THEN
+               CLEAR
+               SHOWDISPLAY "titles" AT 1
+               SHOWKEYS "vmail_OH"
+       ENDIF
+       IFEVENT CALLERID THEN
+               CLEAR
 ;              SHOWDISPLAY "titles" AT 1 NOUPDATE
 ;              SHOWDISPLAY "incoming" AT 2 NOUPDATE
-SHOWDISPLAY "callname" AT 3 NOUPDATE
-SHOWDISPLAY "callnum" AT 4
-ENDIF
-IFEVENT RING THEN
-CLEAR
-SHOWDISPLAY "titles" AT 1 NOUPDATE
-SHOWDISPLAY "incoming" AT 2
-ENDIF
-IFEVENT ENDOFRING THEN
-SHOWDISPLAY "missedcall" AT 2
-CLEAR
-SHOWDISPLAY "titles" AT 1
-SHOWKEYS "vmail_OH"
-ENDIF
-IFEVENT TIMER THEN
-CLEAR  
-SHOWDISPLAY "empty" AT 4
-ENDIF          
+               SHOWDISPLAY "callname" AT 3 NOUPDATE
+               SHOWDISPLAY "callnum" AT 4
+       ENDIF
+       IFEVENT RING THEN
+               CLEAR
+               SHOWDISPLAY "titles" AT 1 NOUPDATE
+               SHOWDISPLAY "incoming" AT 2
+       ENDIF
+       IFEVENT ENDOFRING THEN
+               SHOWDISPLAY "missedcall" AT 2
+               CLEAR
+               SHOWDISPLAY "titles" AT 1
+               SHOWKEYS "vmail_OH"
+       ENDIF
+       IFEVENT TIMER THEN
+               CLEAR
+               SHOWDISPLAY "empty" AT 4
+       ENDIF
 ENDSUB
 
 SUB "offHook" IS
-IFEVENT FARRING THEN
-CLEAR
-SHOWDISPLAY "titles" AT 1 NOUPDATE
-SHOWDISPLAY "ringing" AT 2 NOUPDATE
-SHOWDISPLAY "callname" at 3 NOUPDATE
-SHOWDISPLAY "callnum" at 4
-ENDIF
-IFEVENT FARANSWER THEN
-CLEAR
-SHOWDISPLAY "talkingto" AT 2
-GOTO "stableCall"
-ENDIF
-IFEVENT BUSY THEN
-CLEAR
-SHOWDISPLAY "titles" AT 1 NOUPDATE
-SHOWDISPLAY "busy" AT 2 NOUPDATE
-SHOWDISPLAY "callname" at 3 NOUPDATE
-SHOWDISPLAY "callnum" at 4
-ENDIF
-IFEVENT REORDER THEN
-CLEAR
-SHOWDISPLAY "titles" AT 1 NOUPDATE
-SHOWDISPLAY "reorder" AT 2 NOUPDATE
-SHOWDISPLAY "callname" at 3 NOUPDATE
-SHOWDISPLAY "callnum" at 4
-ENDIF
+       IFEVENT FARRING THEN
+               CLEAR
+               SHOWDISPLAY "titles" AT 1 NOUPDATE
+               SHOWDISPLAY "ringing" AT 2 NOUPDATE
+               SHOWDISPLAY "callname" at 3 NOUPDATE
+               SHOWDISPLAY "callnum" at 4
+       ENDIF
+       IFEVENT FARANSWER THEN
+               CLEAR
+               SHOWDISPLAY "talkingto" AT 2
+               GOTO "stableCall"
+       ENDIF
+       IFEVENT BUSY THEN
+               CLEAR
+               SHOWDISPLAY "titles" AT 1 NOUPDATE
+               SHOWDISPLAY "busy" AT 2 NOUPDATE
+               SHOWDISPLAY "callname" at 3 NOUPDATE
+               SHOWDISPLAY "callnum" at 4
+       ENDIF
+       IFEVENT REORDER THEN
+               CLEAR
+               SHOWDISPLAY "titles" AT 1 NOUPDATE
+               SHOWDISPLAY "reorder" AT 2 NOUPDATE
+               SHOWDISPLAY "callname" at 3 NOUPDATE
+               SHOWDISPLAY "callnum" at 4
+       ENDIF
 ENDSUB
 
 SUB "stableCall" IS
-IFEVENT REORDER THEN
-SHOWDISPLAY "callended" AT 2
-ENDIF
+       IFEVENT REORDER THEN
+               SHOWDISPLAY "callended" AT 2
+       ENDIF
 ENDSUB