O'Reilly logo

Asterisk: The Future of Telephony by Leif Madsen, Jared Smith, Jim Van Meggelen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

DISA() — Direct Inward System Access: allows inbound callers to make outbound calls

Synopsis

    DISA(password[,context[,callerid[,mailbox[@vmcontext]]]])
    DISA(password-file[,callerid[,mailbox[@vmcontext]]])

Allows outside callers to obtain an “internal” system dial tone and to place calls from it as if they were placing calls from within the switch. The user is given a dial tone, after which she should enter her passcode, followed by the pound sign (#). If the passcode is correct, the user is then given a system dial tone on which a call may be placed.

Warning

Obviously, this type of access has serious security implications, and extreme care must be taken not to compromise the security of your phone system.

The password argument is a numeric passcode that the user must enter to be able to make outbound calls. Using this syntax, all callers to this extension will use the same password. To allow users to use DISA() without a password, put the string “no-password” instead of the password.

The context argument specifies the context in which the user will be dialing. If no context is specified, the DISA() application defaults the context to disa.

The callerid argument specifies a new Caller ID string that will be used on the outbound call.

The mailbox argument is the mailbox number (and optional voicemail context, vmcontext) of a voicemail box. The caller will hear a stuttered dial tone if there are any new messages in the specified voicemail box.

Additionally, you may use an alternate syntax ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required