The delete service/startup command unassigns the assignment of a service to DNIS and ANI numbers or of a service assigned directly to a channel.
Synopsis
delete service [
service_name
] [startup [
startup_name
]] from chan
chan_list
delete startup [
startup_name
] [service [
service_name
]] from chan
chan_list
delete service [
service_name
] from dnis
phone_list
[ani
phone_list
]
delete service [
service_name
] from ani
phone_list
[dnis
phone_list
]
Description
The delete service/startup removes the specified telephone number or channel from the group to which a script is assigned. The parameters for this command are described in the following table:
Parameter |
Description |
service_name |
Specifies the name of application |
chan|dnis |
Specifies the name of the service group |
chan_list |
Indicates channel numbers or channel number ranges in the form chan1-chan2. A comma or space should be used to separate the list of channel numbers or ranges. |
phone_list |
Indicates telephone numbers or telephone number ranges in the form phone1:phone2. A comma or space should be used to separate the list of telephone numbers or ranges. |
Note:
Only telephone numbers that have been assigned using the assign service/startup command can be deleted.
Examples
The following example deletes startup service stdout from channels 4 through 7.
delete startup stdout from chan 4-7
The following example deletes the service stdout and startup service stdin from channels 4 through 7.
delete startup stdin service stdout from chan 4-7
The following example deletes the service stdout to DNIS 5000 through 5008 and ANI any.
delete service stdout from dnis 5000:5008 and ANI any
The following example deletes the service stdout from DNIS 5000 through 5008 and ANI 6000.
delete service stdout from dnis 5000:5008 ani 6000
The following example deletes the service stdout from DNIS any and ANI 6000 through 9000.
delete service stdout from DNIS any and ani 6000:9000
The following example deletes the service stdout from DNIS 3000 and ANI 2000-3000.
delete service stdout from dnis 3000 ani 2000:3000
See also