Thank for answer<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I got it you point. i want to give u a idea of my setup i have avaya Voip and i have intergrate asterisk with avaya through mediant 2000 E1 gateway <br><br><br>&nbsp;&nbsp;&nbsp; [Asterisk]----sip trunk---[Mediant2k]-----E1----[Avaya]<br><br>now i have configured second E1 on mediant 2000 for outgoing call means outside calling but my boss want if anybody calling from asterik to mobile then call goes throgh second PRI any landline phone goes through avaya this is working fine but when i anybody call on that pri means incomming call then call&nbsp; comes on mediant and mediant send it to asterisk then asterisk how to receive call <br><br>Mediant has 2 PRI port one connected to Avaya and other port connected to direct Telcom<br>&nbsp;<br>Whn incomming call comes on mediant 2000 and mediant forward that call to asterik then how to asterik handle that call how to configura extention for this
 setup but thing is that mediant register on asterisk. i am confused for this setup <br><br>One more thing i am planing to terminate PRI on direct asterik E1 card so i can&nbsp; handle incomming call directly on asterisk so what setup will good for this can u suggest me how to setup <br><br>you have idea of call center setup i have 200 SIP phone and setup would be like call center so how to asterik configure for call center setup<br><br><br>Regards<br><br>satish patel<br><br><b><i>Noah Miller &lt;noahisaacmiller@gmail.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi Satish -<br><br>&gt;                 I am going to install 2 port pri card on asterisk but i dont<br>&gt; know how to incomming call goes in to IVR and how to route call outside base<br>&gt; on pattern match means if some one call on mobile phone then use PRI 1 and<br>&gt; if call on landline phon call route through pri 2
 how to make dission base<br>&gt; on pattern number<br><br>Will your PRIs have DID (Direct Inward Dialing)?  If so, you can<br>direct calls based on the DID number.  For example, if you have the<br>PRI in the incoming context, and your DID numbers are in the 1000-1099<br>range, you can use extensions like this:<br><br>[incoming]<br>exten =&gt; _10XX,1,Playback(IVR-Start)<br><br>or use individual numbers like this:<br><br>exten =&gt; 1023,1,Dial(SIP/23,20,t)<br><br>TIPS: You can usually tell your provider how many digits you want to<br>receive for your DIDs.  In the North American Numbering Plan, you can<br>usually ask for 4 digits (as above), 7 digits, or 10 digits.<br><br>If your PRIs don't have DID, you can direct your calls just like you<br>would for a Zaptel analog line.  Again, if you have your PRI in the<br>incoming context:<br><br>[incoming]<br>exten =&gt; s,1,Playback(IVR-start)<br><br><br>If you dont' have DID, and want to differentiate between the two PRIs,<br>you
 can put each in its own context.  So, PRI-A is in the [incoming-A]<br>context and PRI-B is in the [incoming-B] context.  You can then assign<br>different actions to the 's' extension in each context:<br><br>[incoming-A]<br>exten =&gt; s,1,Playback(IVR-Start)<br><br>[incoming-B]<br>exten =&gt; s,1,Dial(SIP/100)<br><br><br>- Noah<br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by http://www.api-digital.com--<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>   http://lists.digium.com/mailman/listinfo/asterisk-users<br></blockquote><br><p>&#32;
      <hr size=1>Got a little couch potato? <br>
Check out fun <a href="http://us.rd.yahoo.com/evt=48248/*http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz">summer activities for kids.</a>