OBiTALK Community

General Support => Day-to-Day Use => Topic started by: Azouz on August 18, 2012, 04:39:17 AM

Title: Is there a Better way to write this dial plan
Post by: Azouz on August 18, 2012, 04:39:17 AM
Greetings,
Is there a better way to write this outbound dial plan?
(<05352:2125352>xx.):sp4},{(<05353:2125353>xx.):sp4},{(<05354:2125354>xx.):sp4},{(<05355:2125355>xx.):sp4},{(<05356:2125356>xx.):sp4},{(<05357:2125357>xx.):sp4},{(<05358:2125358>xx.):sp4},{(<05359:2125359>xx.):sp4},{(<05393:2125393>xx.):sp4},{(<05394:2125394>xx.):sp4},{(<05395:2125395>xx.):sp4},{(<05396:2125396>xx.):sp4}
Thank you.
Title: Re: Is there a Better way to write this dial plan
Post by: ianobi on August 18, 2012, 07:13:27 AM
Azouz,
If you do not mind being a little less specific in your number list, then:

{(<053:21253>xx.):sp4}

This will replace 053 with 21253 at the beginning of any number starting with 053 and send it to sp4.