Name

remove extension

Synopsis

    remove extension exten@context [priority]

Removes a whole extension from a context. If the priority is specified, removes that priority only within the given extension. Subsequent priorities within the extension will be renumbered if you use the n priority-naming scheme.[105]

    remove extension 500@default 3

[105] If you have explicitly numbered your priorities, you will create a gap in your extension. This can easily be corrected by adding a NoOp() command in the removed priority (e.g., add extension 500,3,Noop into default).

Get Asterisk: The Future of Telephony now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.