Dear all I am going to install 2 port pri card on asterisk but i dont know how to incomming call goes in to IVR and how to route call outside base on pattern match means if some one call on mobile phone then use PRI 1 and if call on landline phon call route through pri 2 how to make dission base on pattern number Rgds satish patel --------------------------------- Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070717/aa70ac80/attachment.htm
Hi Satish -> I am going to install 2 port pri card on asterisk but i dont > know how to incomming call goes in to IVR and how to route call outside base > on pattern match means if some one call on mobile phone then use PRI 1 and > if call on landline phon call route through pri 2 how to make dission base > on pattern numberWill your PRIs have DID (Direct Inward Dialing)? If so, you can direct calls based on the DID number. For example, if you have the PRI in the incoming context, and your DID numbers are in the 1000-1099 range, you can use extensions like this: [incoming] exten => _10XX,1,Playback(IVR-Start) or use individual numbers like this: exten => 1023,1,Dial(SIP/23,20,t) TIPS: You can usually tell your provider how many digits you want to receive for your DIDs. In the North American Numbering Plan, you can usually ask for 4 digits (as above), 7 digits, or 10 digits. If your PRIs don't have DID, you can direct your calls just like you would for a Zaptel analog line. Again, if you have your PRI in the incoming context: [incoming] exten => s,1,Playback(IVR-start) If you dont' have DID, and want to differentiate between the two PRIs, you can put each in its own context. So, PRI-A is in the [incoming-A] context and PRI-B is in the [incoming-B] context. You can then assign different actions to the 's' extension in each context: [incoming-A] exten => s,1,Playback(IVR-Start) [incoming-B] exten => s,1,Dial(SIP/100) - Noah
On 7/17/07, satish patel <satish_patel_2000_2000 at yahoo.com> wrote:> > Dear all > > I am going to install 2 port pri card on asterisk but i > dont know how to incomming call goes in to IVR and how to route call outside > base on pattern match means if some one call on mobile phone then use PRI 1 > and if call on landline phon call route through pri 2 how to make dission > base on pattern number >Hi Satish: I know it can be very frustrating, why don't you read this book called Asterisk: The Future of Telephony. I think what you should focus on is researching the "dialplan" and "extensions.conf" which essentially are one and the same. I promise this will answer all your questions. You can download the book here: http://www.asteriskdocs.org/modules/tinycontent/index.php?id=11 Regards, -Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070717/e5c8738d/attachment.htm