Title: Message
Let's say you have company 1 with a did of 256-704-2000, and company 2 with did of 256-704-3000
 
In your dialplan:
 
extensions.conf:
 
[default context]
exten =>s,1,Answer
 
exten=> 2567042000,2,Goto(company1,s,1)
 
exten=> 2567043000,2,Goto(company2,s,1)
 
[company1]
comapny 1's dialplan here
 
[comapny2]
 
company 2's dialplan here
 
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Totaro
Sent: Monday, June 14, 2004 2:25 PM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] Multiple tennants, two DIDs, One IAX provider

I would like to setup a system with two tennants with two seperate DIDs through one IAX provider account.
 
Is it possible to route the calls into different contexts based on the DID dialed?  
 
I have searched and found nothing.  I do not see anywhere in the console that says what DID was dialed so I am thinking two seperate accounts are needed to make this work.  Can anyone confirm?
 
Thanks 
 

Reply via email to