<!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> > </FONT></SPAN>I am using a card that has an fxo
and fxs module.<SPAN class=748033822-11122004><FONT face=Arial
color=#0000ff> </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> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN
class=748033822-11122004> <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> </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> </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=<password><BR>host=dynamic<BR>callerid="James
Bean"
<690><BR>defaultip=192.168.69.250<BR>dtmfmode=rfc2833<BR>mailbox=690</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </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=<password><BR>host=dynamic<BR>callerid="Karen
Colomb"
<691><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> </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> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN
class=748033822-11122004><FONT face=Arial color=#0000ff>exten =>
s,1,NoOp(Comment Only: Call from ${CALLERIDNUM}) ; Just put a comment in the CLI
for info.<BR>exten => s,2,SetMusicOnHold(random)<BR>exten =>
s,3,Dial(SIP/snom-james&SIP/bt-karen,45,t) <BR>exten =>
s,4,Hangup<BR>;exten => s,5,VoiceMail(u100) ;Whatever box
you want.</FONT></SPAN></DIV>
<DIV> </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> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN
class=748033822-11122004><FONT face=Arial color=#0000ff>exten =>
i,1,Playback(invalid)<BR>exten => i,2,Hangup<BR>exten =>
t,1,Hangup</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN
class=748033822-11122004><FONT face=Arial color=#0000ff>exten =>
099,1,Echo ;simple echo test when you dial 099 on your
phone</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN
class=748033822-11122004><FONT face=Arial color=#0000ff>include =>
outgoing<BR>include => sip</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </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> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN
class=748033822-11122004><FONT face=Arial color=#0000ff>exten =>
_9X.,1,Dial(Zap/g1/${EXTEN:1})<BR>exten => _9X.,2,Congestion()<BR>exten =>
_9X.,3,Hangup</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN
class=748033822-11122004><FONT face=Arial color=#0000ff>include =>
sip</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </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> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN
class=748033822-11122004><FONT face=Arial color=#0000ff>exten =>
690,1,SetMusicOnHold(random)<BR>exten =>
690,2,Dial(SIP/snom-james,30,tr)<BR>exten => 690,3,voicemail2,u690<BR>exten
=> 690,102,voicemail2,b690</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN
class=748033822-11122004><FONT face=Arial color=#0000ff>exten =>
691,1,SetMusicOnHold(random)<BR>exten =>
691,2,Dial(SIP/bt-karen,30,tr)<BR>exten => 691,3,voicemail2,u691<BR>exten
=> 691,102,voicemail,b691</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN
class=748033822-11122004><FONT face=Arial color=#0000ff>include =>
internal<BR>include => outgoing<BR></FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </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> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white"><SPAN
class=748033822-11122004><FONT face=Arial color=#0000ff>include =>
internal</FONT></SPAN></DIV>
<DIV><SPAN class=748033822-11122004><FONT face=Arial
color=#0000ff></FONT></SPAN> </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> </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> </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>