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

ZapRAS() — Executes the Zaptel ISDN Remote Access Server

Synopsis

    ZapRAS(args)

Executes an ISDN RAS server using pppd on the current channel. The channel must be a clear channel (i.e., PRI source) and a Zaptel channel to be able to use this function. (No modem emulation is included.)

Your pppd must be patched to be Zaptel-aware. args is a pipe-delimited list of arguments.

Always returns -1.

This application is only for use on ISDN lines, and your kernel must be patched to support ZapRAS(). You must also have ppp support in your kernel.

    exten => 123,1,Answer()
    exten => 123,1,ZapRas(debug|64000|noauth|netmask|255.255.255.0| 10.0.0.1:10.0.0.2)

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