title: Asterisk: how to match following numbers in single pattern
body: <p>I need to match incoming call extension number in Asterisk dial-plan which can be </p>
  
  <ul>
  <li>exact</li>
  <li>prefixed with area</li>
  <li>country and area code</li>
  </ul>
  
  <p>If my local extension is 5321879 I can get incoming calls to:</p>
  
  <ol>
  <li>0038515321879</li>
  <li>015321879</li>
  <li>5321879</li>
  </ol>
  
  <p>how can I match each of those with single pattern ?</p>
  
  <p>is <pre>_!5321879</pre>
   usable in Asterisk dial-plan</p>
  
  <p>Does anyone know any other solution than to have 3 different extensions?</p>