2 ; Asterisk default ADSI script
5 ; Begin with the preamble requirements
7 DESCRIPTION "Telcordia Demo" ; Name of vendor
8 VERSION 0x02 ; Version of stuff
9 ;SECURITY "_AST" ; Security code
10 SECURITY 0x0000 ; Security code
11 FDN 0x0000000f ; Descriptor number
16 DISPLAY "talkingto" IS "Talking To" "$Call1p" WRAP
17 DISPLAY "titles" IS "20th Century IQ Svc"
18 DISPLAY "newcall" IS "New Call From" "$Call1p" WRAP
19 DISPLAY "ringing" IS "Ringing"
22 ; Begin state definitions
24 STATE "callup" ; Call is currently up
25 STATE "inactive" ; No active call
28 ; Begin soft key definitions
30 KEY "CB_OH" IS "Block" OR "Call Block"
38 KEY "CB" IS "Block" OR "Call Block"
43 ; Begin main subroutine
47 IFEVENT NEARANSWER THEN
49 SHOWDISPLAY "talkingto" AT 1
54 SHOWDISPLAY "titles" AT 1
60 SHOWDISPLAY "titles" AT 1
65 SHOWDISPLAY "newcall" AT 1
72 SHOWDISPLAY "ringing" AT 1
74 IFEVENT FARANSWER THEN
76 SHOWDISPLAY "talkingto" AT 1