[Asterisk-Users] ADSI Functions

jerk face jerkface2098 at yahoo.com
Thu Nov 13 09:32:55 MST 2003


In the source file for ADSI I found this:
static struct adsi_key_cmd kcmds[] = {
        { "SENDDTMF", 0, send_dtmf },
        /* Encoded DTMF would go here */
        { "ONHOOK", 0x81 },
        { "OFFHOOK", 0x82 },
        { "FLASH", 0x83 },
        { "WAITDIALTONE", 0x84 },
        /* Send line number */
        { "BLANK", 0x86 },
        { "SENDCHARS", 0x87 },
        { "CLEARCHARS", 0x88 },
        { "BACKSPACE", 0x89 },
        /* Tab column */
        { "GOTOLINE", 0x8b, goto_line },
        { "GOTOLINEREL", 0x8c, goto_line_rel },
        { "PAGEUP", 0x8d },
        { "PAGEDOWN", 0x8e },
        /* Extended DTMF */
        { "DELAY", 0x90, send_delay },
        { "DIALPULSEONE", 0x91 },
        { "DATAMODE", 0x92 },
        { "VOICEMODE", 0x93 },
        /* Display call buffer 'n' */
        /* Clear call buffer 'n' */
        { "DIGITCOLLECT", 0x96, digitcollect },
        { "DIGITDIRECT", 0x96, digitdirect },
        { "CLEAR", 0x97 },
        { "SHOWDISPLAY", 0x98, showdisplay },
        { "CLEARDISPLAY", 0x98, cleardisplay },
        { "SHOWKEYS", 0x99, showkeys },
        { "SETSTATE", 0x9a, set_state },
        { "TIMERSTART", 0x9b, starttimer },
        { "TIMERCLEAR", 0x9b, cleartimer },
        { "SETFLAG", 0x9c, setflag },
        { "CLEARFLAG", 0x9c, clearflag },
        { "GOTO", 0x9d, subscript },
        { "EVENT22", 0x9e },
        { "EVENT23", 0x9f },
        { "EXIT", 0xa0 },



static struct adsi_key_cmd opcmds[] = {

        /* 1 - Branch on event -- handled specially */
        { "SHOWKEYS", 2, showkeys },
        /* Display Control */
        { "SHOWDISPLAY", 3, showdisplay },
        { "CLEARDISPLAY", 3, cleardisplay },
        { "CLEAR", 5 },
        { "SETSTATE", 6, set_state },
        { "TIMERSTART", 7, starttimer },
        { "TIMERCLEAR", 7, cleartimer },
        { "ONEVENT", 8, onevent },
        /* 9 - Subroutine label, treated specially */
        { "SETFLAG", 10, setflag },
        { "CLEARFLAG", 10, clearflag },
        { "DELAY", 11, send_delay },
        { "EXIT", 12 },
};

- Have fun

--- PBX <pbx at tuxnetworking.com> wrote:
> Does anyone know where I can get a list of ADSI
> functions.. Example *70
> (No Call Waiting), Flash = Flash, Hold = ???
> 
> Thank you,
> 
> -gcc
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
>
http://lists.digium.com/mailman/listinfo/asterisk-users


=====
Asterisk is my lover, and IAX2 is our scented lubricant

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



More information about the asterisk-users mailing list