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

NBScat() — Plays an NBS local stream

Synopsis

    NBScat()

Uses the nbscat8k program to listen to the local Network Broadcast Sound (NBS) stream. (For more information, see the nbs module in Digium’s CVS server.) The caller can exit by pressing any key.

Returns -1 on hangup; otherwise, does not return.

    exten => 123,1,Answer()
    exten => 123,2,NBScat()

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