I have two 1-700 numbers from IAXTel. Both get registered from the same Asterisk server. I can make and receive calls on each without any difficulty. What I can't figure out how to do is route the incoming calls differently based on which 1-700 number is dialed. I must be missing something obvious. Thanks -brian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040405/81afef4f/attachment.htm
On Mon, 5 Apr 2004, Brian Cuthie wrote:> I have two 1-700 numbers from IAXTel. Both get registered from the same > Asterisk server. I can make and receive calls on each without any > difficulty. What I can't figure out how to do is route the incoming calls > differently based on which 1-700 number is dialed.You should have two "type=user" entries in your iax.conf, one for each account. Make sure each one specifies a different context, and set up extensions.conf appropriately. Note that I have not done this myself, and there was mailing list discussion on this topic in the last couple of months. Hit the archives for more information. Cheers, Vic Cross
Doug Meredith
2004-Apr-06 08:34 UTC
[Asterisk-Users] Re: Disambiguating incoming IAXTel calls
"Brian Cuthie" <brian@systemix.com> wrote:> >I have two 1-700 numbers from IAXTel. Both get registered from the same >Asterisk server. I can make and receive calls on each without any >difficulty. What I can't figure out how to do is route the incoming calls >differently based on which 1-700 number is dialed. I must be missing >something obvious.When I researched this issue a few months ago, I found a post from Mark Spencer saying that the dialed number was intentionally not sent to discourage people from setting up multiple IAXTel numbers for the same server. In a mailing-list discussion a month or so ago, somebody said that he was getting this information in the calls, but had to specifically request a configuration change by Digium. Doug -- Doug Meredith (doug.meredith@systemguard.com) SystemGuard - Oracle remote support 877-974-8273 (87-SYSGUARD) 506-854-7997 www.systemguard.com