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

DBdeltree() — Deletes a family or key tree from the Asterisk database

Synopsis

    DBdeltree(family[/keytree])

Deletes the specified family or keytree from the AstDB.

Always returns 0.

    ; create a couple of entries in the AstDB
    exten => 123,1,DBput(test/blue)
    exten => 123,2,DBput(test/green)
    ; now delete the key family named test
    exten => 123,3,DBdeltree(test)

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