[Asterisk-Users] Multiple tennants, two DIDs, One IAX provider

Nik Martin nmartin at radiancetech.com
Mon Jun 14 14:19:07 MST 2004


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: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Steve Totaro
Sent: Monday, June 14, 2004 2:25 PM
To: asterisk-users at lists.digium.com
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  
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040614/af23db3b/attachment.htm


More information about the asterisk-users mailing list