<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Tahoma>We put a VWIC and a DSP in a Cisco 1720. The purpose will 
be for a customer to use a T1 Crossover cable to connect the 1720 into their 
existing PBX system. It'll be a "Virtual T1 PRI" type of thing. The Cisco 1720 
will make the conversion to SIP and send it to our Asterisk server. As far as 
his PBX is concerned, it's talking to a standard T1 PRI from the local telco or 
whatever. </FONT></DIV>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma>The issue is Cisco routers don't support SIP 
registration/authentication. I want this customer to be in his own context in 
the extensions.conf file. </FONT></DIV>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma>What I was thinking is, if I remove "username" and 
"secret" from the sip.conf for a&nbsp;standard user&nbsp;entry, but do a 
"context=whatever and a "host=x.x.x.x" for his specific IP, if an 
unauthenticated request comes in from that IP it should automatically put him in 
that context, instead of the default one specific at the top of the file in the 
[general] section.&nbsp;</FONT><FONT face=Tahoma>Also, if I forward several 
DID's to SIP/customer1 (customer1 being what I put in brackets for this entry, 
ie [customer1]) it should see the host=x.x.x.x and send it to that IP, 
regardless of authentication. </FONT></DIV>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma>
<DIV><FONT face=Tahoma>sip.conf&nbsp;&nbsp;&nbsp; </FONT>Example 
below:</FONT></DIV></DIV>
<DIV><FONT 
face=Tahoma>[customer1]<BR>context=customer1context<BR>type=friend<BR>qualify=no<BR>host=x.x.x.x<BR>canreinvite=no<BR>dtmfmode=inband<BR>nat=no<BR>callerid="Customer 
1" 
&lt;1235551212&gt;<BR>accountcode=8785<BR>amaflags=billing<BR>insecure=very<BR></FONT></DIV>
<DIV><FONT face=Tahoma>extensions.conf&nbsp;&nbsp; Example below:</FONT></DIV>
<DIV><FONT face=Tahoma>[incoming]</FONT></DIV>
<DIV><FONT face=Tahoma>exten =&gt; 
1235551212,1,Goto(customer1context,1235551212,1)</FONT></DIV>
<DIV>
<DIV><FONT face=Tahoma>exten =&gt; 
1235551213,1,Goto(customer1context,1235551213,1)</FONT></DIV>
<DIV>
<DIV><FONT face=Tahoma>exten =&gt; 
1235551214,1,Goto(customer1context,1235551214,1)</FONT></DIV></DIV></DIV>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma>[customer1context]</FONT></DIV>
<DIV><FONT face=Tahoma>include =&gt; outgoing_local</FONT></DIV>
<DIV><FONT face=Tahoma>include =&gt; outgoing_longdistance</FONT></DIV>
<DIV><FONT face=Tahoma>include =&gt; outgoing_international</FONT></DIV>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma>exten =&gt; 
1235551212,1,Dial(SIP/customer1,30,r)</FONT></DIV>
<DIV><FONT face=Tahoma>exten =&gt; 
1235551213,1,Dial(SIP/customer1,30,r)</FONT></DIV>
<DIV><FONT face=Tahoma>exten =&gt; 
1235551214,1,Dial(SIP/customer1,30,r)</FONT></DIV>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma>Maybe I should put a "defaultip=x.x.x.x" in the sip.conf 
section as well?&nbsp; Will this work?</FONT></DIV>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma>Thanks,</FONT></DIV>
<DIV><FONT face=Tahoma>Deon</FONT></DIV>
<DIV><FONT face=Tahoma></FONT>&nbsp;</DIV>
<DIV><BR></DIV>
<DIV>
<TABLE cellSpacing=0 cellPadding=0 width=550 border=0>
  <TBODY>
  <TR>
    <TD colSpan=2>
      <HR color=#336699>
    </TD></TR>
  <TR>
    <TD><IMG height=33 src="http://www.webunited.net/signature/webunited.jpg" 
      width=200><BR><FONT face="Verdana, Arial, Helvetica, sans-serif" 
      size=2>550 Fairway Drive<BR>Suite 210<BR>Deerfield Beach, FL 
      33441<BR>Online: <A 
      href="http://www.webunited.net">www.webunited.net</A></FONT></TD>
    <TD vAlign=bottom align=right><FONT 
      face="Verdana, Arial, Helvetica, sans-serif" color=#336699 
      size=2><STRONG>Deon Rodden </STRONG></FONT><BR><FONT 
      face="Verdana, Arial, Helvetica, sans-serif" size=2>Toll Free: 
      1-877-538-5969 x 208<BR>Phone: 954-418-8884 x 208<BR>Fax: 
      954-418-8635<BR>E-mail: <A 
      href="mailto:drodden@webunited.net">drodden@webunited.net</A></FONT></TD></TR>
  <TR>
    <TD colSpan=2>
      <HR color=#336699>
    </TD></TR></TBODY></TABLE></DIV></BODY></HTML>