<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=748033822-11122004>Charles S. Antrim wrote:</SPAN></FONT></DIV>
<DIV></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial 
color=#0000ff>&nbsp;&gt;&nbsp;</FONT></SPAN>I am using a card that has an fxo 
and fxs module.<SPAN class=748033822-11122004><FONT face=Arial 
color=#0000ff>&nbsp;</FONT></SPAN></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004>&nbsp;<FONT face=Arial color=#0000ff>I am no where near 
an expert but I have my sip phone working through my pstn line and this is my 
config.</FONT></SPAN></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial 
color=#0000ff>/etc/asterisk/sip.conf</FONT></SPAN></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial color=#0000ff>[general]<BR>port = 
5060<BR>bindaddr = 192.168.69.1<BR>context = sip<BR>disallow = gsm<BR>allow = 
alaw<BR>disallow = 
ulaw<BR>nat=disable<BR>srvlookup=no<BR>localnet=192.168.69.0/255.255.255.0<BR>subscribecontext 
= sip</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial 
color=#0000ff>[snom-james]<BR>type=friend<BR>secret=&lt;password&gt;<BR>host=dynamic<BR>callerid="James 
Bean" 
&lt;690&gt;<BR>defaultip=192.168.69.250<BR>dtmfmode=rfc2833<BR>mailbox=690</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial 
color=#0000ff>[bt-karen]<BR>type=friend<BR>secret=&lt;password&gt;<BR>host=dynamic<BR>callerid="Karen 
Colomb" 
&lt;691&gt;<BR>defaultip=192.168.69.251<BR>dtmfmode=info<BR>mailbox=691</FONT></SPAN></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial 
color=#0000ff>/etc/asterisk/extensions.conf</FONT></SPAN></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial 
color=#0000ff>[pstn]</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial color=#0000ff>exten =&gt; 
s,1,NoOp(Comment Only: Call from ${CALLERIDNUM}) ; Just put a comment in the CLI 
for info.<BR>exten =&gt; s,2,SetMusicOnHold(random)<BR>exten =&gt; 
s,3,Dial(SIP/snom-james&amp;SIP/bt-karen,45,t) <BR>exten =&gt; 
s,4,Hangup<BR>;exten =&gt; s,5,VoiceMail(u100)&nbsp;&nbsp;&nbsp; ;Whatever box 
you want.</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial 
color=#0000ff>[internal]</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial color=#0000ff>exten =&gt; 
i,1,Playback(invalid)<BR>exten =&gt; i,2,Hangup<BR>exten =&gt; 
t,1,Hangup</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial color=#0000ff>exten =&gt; 
099,1,Echo&nbsp;&nbsp;&nbsp;&nbsp; ;simple echo test when you dial 099 on your 
phone</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial color=#0000ff>include =&gt; 
outgoing<BR>include =&gt; sip</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial 
color=#0000ff>[outgoing]</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial color=#0000ff>exten =&gt; 
_9X.,1,Dial(Zap/g1/${EXTEN:1})<BR>exten =&gt; _9X.,2,Congestion()<BR>exten =&gt; 
_9X.,3,Hangup</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial color=#0000ff>include =&gt; 
sip</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial 
color=#0000ff>[sip]</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial color=#0000ff>exten =&gt; 
690,1,SetMusicOnHold(random)<BR>exten =&gt; 
690,2,Dial(SIP/snom-james,30,tr)<BR>exten =&gt; 690,3,voicemail2,u690<BR>exten 
=&gt; 690,102,voicemail2,b690</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial color=#0000ff>exten =&gt; 
691,1,SetMusicOnHold(random)<BR>exten =&gt; 
691,2,Dial(SIP/bt-karen,30,tr)<BR>exten =&gt; 691,3,voicemail2,u691<BR>exten 
=&gt; 691,102,voicemail,b691</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial color=#0000ff>include =&gt; 
internal<BR>include =&gt; outgoing<BR></FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial 
color=#0000ff>[from-sip]</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN 
class=748033822-11122004><FONT face=Arial color=#0000ff>include =&gt; 
internal</FONT></SPAN></DIV>
<DIV><SPAN class=748033822-11122004><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=748033822-11122004><FONT face=Arial color=#0000ff><FONT 
size=2>This isn't the best example of how to do it but it 
works.</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=748033822-11122004><FONT face=Arial color=#0000ff><FONT 
size=2></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=748033822-11122004><FONT face=Arial><FONT color=#0000ff 
size=2>I hope it helps.</FONT></DIV>
<DIV><FONT color=#0000ff></FONT>&nbsp;</DIV>
<DIV><SPAN class=748033822-11122004><FONT color=#0000ff 
size=2>James</FONT></SPAN></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><FONT 
color=#0000ff><BR></FONT></DIV></FONT></SPAN></BODY></HTML>