Sayson 390/480 ADSI phonesAsterisk DeveloperInformation/FAQs
SamplesThe Asterisk ADSI tool kit should come with a sample ADSI type 1 script, shown below:;; Asterisk default ADSI script;;; Begin with the preamble
KEY "vmail_OH" IS "VMail" OR "Voicemail"OFFHOOKVOICEMODEWAITDIALTONESENDDTMF "8500"ENDKEYKEY "vmail"
SHOWKEYS "cwdisable" UNLESS "nocallwaiting"GOTO "offHook"ENDIFIFEVENT IDLE THENCLEARSHOWDISPLAY "titles" AT 1S
SHOWDISPLAY "callname" at 3 NOUPDATESHOWDISPLAY "callnum" at 4ENDIFIFEVENT REORDER THENCLEARSHOWDISPLAY "titles" AT 1 NO
DefineLine Line06=Normal,Center,WrapOFF,Programmed byDefineLine Line07=Normal,Center,WrapOFF,SaysonDefineLine Line08=Normal,Center,WrapOFF,www.sayson.
SetHookState OffHookEndSoftKey;--------------------------------------------; Label: Flash; Comment: (Connected State) Flash Softkey;--------------
SetInfoFlags 3ClearCB 2Keycode ClearCharsJumpTo IdleState2SetEvent 1EndSoftKey;--------------------------------------------; Label: Back; Comment:
JumpTo ConnectedState2SetEvent 1EndSoftKey;--------------------------------------------; Label: BkSpc;--------------------------------------------So
SetState 3JumpTo TransferSetEvent 1EndSoftKey;--------------------------------------------; Label: Current; Comment: (Connected State) Transfer;--
; Label: Select; Comment: (Connected State) Conference;--------------------------------------------SoftKey=SK_17Label=SelectSetHookState LinkDelay
ContentsAdditional Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4Digium’s web site . . . . . . . . . . . . .
SetInfoFlags 3SetHookState LinkDelay 100String 6Delay 100Keycode SendCharsKeycode ClearCharsString # ; Does this require a 1 or # even?String 1ClearCB
; Comment: (Connected State) More to Connected State 2;--------------------------------------------SoftKey=SK_23Label=MoreSetState 3JumpTo Connected
;--------------------------------------------; Label: OK; Comment: (Idle State) Log in or out OK OK;--------------------------------------------So
SoftKey=SK_30Label=OKSetInfoFlags 3SetHookState OffHookDelay 100String *99Keycode SendCharsKeycode ClearCharsString #ClearCB 2JumpTo HangupScreenCE1an
String *99Keycode SendCharsKeycode ClearCharsString #String 5String 1ClearCB 2JumpTo HangupScreenCE1andInConfCE2SetEvent 1EndSoftKey;-----------------
String #String 5String 2ClearCB 2JumpTo HangupScreenforCallFwdSetEvent 1EndSoftKey;--------------------------------------------; Label: DND; Comme
String 5ClearCB 2JumpTo HangupScreenCE1andInConfCE2SetEvent 1EndSoftKey;--------------------------------------------; Label: VMail; Comment: (Idle
;--------------------------------------------; Label: More; Comment: (Idle State) More to Idle State 2;-------------------------------------------
OnEvent CustomEvent1,1ClearDisplaySetDisplay NULL,0,0SetDisplay Line01,1,1SetDisplay Line02,2,1SetDisplay Line03,3,1SetDisplay Line04,4,1SetDisplay Li
OnEvent FarEndAnswerSetEvent 2EndEventOnEvent FarEndBusySetEvent 2EndEvent;--------------------------------------------; **COMMENTS**;; The subscripts
Sayson Technologies Ltd. will not accept liability for any dam-ages, or long distance charges, which may result from unautho-rized and/or unlawful use
OnEvent CustomEvent1SetState 5ClearDisplaySetDisplay NULL,0,0SetDisplay Line09,2,1SetDisplay Line11,3,1SetDisplay Line09,4,3SetSoftKey0,SK_22,Normal,S
OnEvent CustomEvent1ClearDisplaySetDisplay NULL,0,0SetDisplay Line27,2,3SetSoftKey 0,SK_30,Normal,<NULL>,<NULL>,SK_10,Normal,<NULL>,
EndSubscript;--------------------------------------------; Status1;--------------------------------------------Subscript Status1OnEvent CustomEvent1
OnEvent CustomEvent1SetState 3ClearDisplaySetDisplay NULL,0,0SetDisplay Line43,2,1SetDisplay Line24,3,3SetSoftKey 0,<NULL>,<NULL>,<NULL
SetDisplay Line29,3,3SetSoftKey 0,<NULL>,<NULL>,<NULL>,<NULL>,SK_03,NormalEndEventEndSubscript;-------------------------------
ClearDisplaySetDisplay NULL,0,0SetDisplay Line26,2,3SetSoftKey 0,SK_38,Normal,<NULL>,<NULL>,SK_10,Normal,<NULL>,SK_05,NormalEndEvent
EndSubscript;--------------------------------------------; TransferSelectCall;--------------------------------------------Subscript TransferSelectCa
FAQThe Asterisk is not receiving my ADSI scripts.“ADSI Unavailable on CPE. Not bothering to try.”Error message. Each channel that a phone is on needs
Factory Reset for 480 phones:Please note that this procedure will also erase all entries in the caller's log, the redial list, and the directory.
IntroductionInformation provided here is intended as a guideline for Asterisk developers who wish to develop Sayson390 or 480 ADSI analog phones for t
General InformationAsterisk Built in ADSI Scripting ToolThe Asterisk system has it’s own built in ADSI scripting tool that allows developers to create
Programmer’s InformationFDN and Security CodesIf you are developing a script through the Asterisk’s built in ADSI tool, then the feature download numb
ADSI type 1 SyntaxFound in the source file for ADSI type 1:static struct adsi_key_cmd kcmds[] = { { “SENDDTMF”, 0, send_dtmf }, /* Encoded DTMF would
static struct adsi_key_cmd opcmds[] = { /* 1 - Branch on event — handled specially */ { “SHOWKEYS”, 2, showkeys }, /* Display Control */ { “SHOWDISPLA
Commedian MailIf you are using ADSI phones and trying to access Commedian Mail, Commedian Mail tries to do an FDMdownload (download a new script) to t
Comments to this Manuals