<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff size=2>Let's
say you have company 1 with a did of 256-704-2000, and company 2 with did of
256-704-3000</FONT></SPAN></DIV>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff size=2>In
your dialplan:</FONT></SPAN></DIV>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff
size=2>extensions.conf:</FONT></SPAN></DIV>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff
size=2>[default context]</FONT></SPAN></DIV>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff size=2>exten
=>s,1,Answer</FONT></SPAN></DIV>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff
size=2>exten=> 2567042000,2,Goto(company1,s,1)</FONT></SPAN></DIV>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=127231021-14062004>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff
size=2>exten=> 2567043000,2,Goto(company2,s,1)</FONT></SPAN></DIV>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff size=2>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff
size=2>[company1]</FONT></SPAN></DIV>
<DIV><SPAN class=127231021-14062004>comapny 1's dialplan here</SPAN></DIV>
<DIV><SPAN class=127231021-14062004></SPAN> </DIV>
<DIV><SPAN class=127231021-14062004>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff
size=2>[comapny2]</FONT></SPAN></DIV>
<DIV><SPAN class=127231021-14062004></SPAN> </DIV>
<DIV><SPAN class=127231021-14062004>company 2's dialplan here</SPAN></DIV>
<DIV><SPAN class=127231021-14062004></SPAN> </DIV>
<DIV><SPAN
class=127231021-14062004></SPAN> </DIV></SPAN></DIV></FONT></SPAN></DIV></SPAN></DIV>
<DIV><SPAN class=127231021-14062004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] <B>On Behalf Of </B>Steve
Totaro<BR><B>Sent:</B> Monday, June 14, 2004 2:25 PM<BR><B>To:</B>
asterisk-users@lists.digium.com<BR><B>Subject:</B> [Asterisk-Users] Multiple
tennants, two DIDs, One IAX provider<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>I would like to setup a system with two
tennants with two seperate DIDs through one IAX provider
account.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is it possible to route the calls into different
contexts based on the DID dialed? </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BLOCKQUOTE></BODY></HTML>