title: How to route an incoming call when I have multiple phone numbers with the same SIP provider?
body: <p>I have a <strong>main</strong> phone number <code>0120120020</code> given by my SIP provider for my office. I've recently asked my SIP provider for a <strong>second</strong> phone number <code>0230230030</code> on the same SIP account.</p>
  
  <p>I want Asterisk to ring every phones belonging to <strong>Group A</strong> when someone calls the office by dialing the <strong>main</strong> phone number, and I want it to ring every phones belonging to <strong>Group B</strong> if the <strong>second</strong> phone number is dialed instead.</p>
  
  <p>My extensions.conf contains the following lines :</p>
  
  <pre><code>[sip-incoming-calls]
  exten =&gt; s,1,Dial(SIP/10&amp;SIP/11&amp;SIP/12&amp;SIP/20&amp;SIP/21,20,tr)
  </code></pre>
  
  <p>Extensions 10, 11 and 12 belongs to the <strong>Group A</strong>, extensions 20 and 21 belongs to the <strong>Group B</strong>. Every phones are ringing for each incoming calls coming from the <strong>main</strong> and the <strong>second</strong> phone number.</p>
  
  <p>How can I do this with Asterisk 1.8 under CentOS 6.3 ?</p>