Remove OC BYOC Customer
This script removes the Operator Connect service for a customer using the customers' BYOC SIP Trunk (Add OC BYOC Customer).
Copy
### Script Version OC 1.0 ###
# Removing BYOC OC Customer
# in Production environment need to remove from access list
#configure network
# no access-list where description "{{CustomerId}}"
# exit
configure voip
no ip-group where name "{{CustomerId}}-c"
no ip-group where name "{{CustomerId}}-t"
no proxy-set where proxy-name "{{CustomerId}}"
no sip-definition account where account-name "{{CustomerId}}"
{{#each SBC.DialPlanPrefixes}}
sbc dial-plan where name "{{this.DialPlanName}}"
no dial-plan-rule where name "{{../CustomerId}}"
activate
exit
{{/each}}
do write