<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">Bryce,<br>
<br>
Here are the relevant voice pieces - you'll want to season to taste.  I 
recommend AOS version R10.3.2.  The config may be slightly different on 
A4.xx.<br>
<br>
<div style="margin-left: 40px;">!<br>
interface eth 0/1<br>
  ip address  192.168.150.10  255.255.255.0 <br>
  media-gateway ip primary<br>
  no shutdown<br>
!<br>
interface t1 0/3<br>
  description PRI to ATT<br>
  tdm-group 1 timeslots 1-24 speed 64<br>
  no shutdown<br>
!<br>
interface pri 1<br>
  connect t1 0/3 tdm-group 1<br>
  role user<br>
  no shutdown<br>
!<br>
isdn-group 1<br>
  connect pri 1<br>
!<br>
timing-source t1 0/3<br>
!<br>
voice dial-plan 1 operator-assisted 411 <br>
voice dial-plan 2 local NXXXXXX <br>
voice dial-plan 3 local NXXNXXXXXX <br>
voice dial-plan 6 local 1NXXNXXXXXX <br>
voice dial-plan 7 international 011XXXXX$ <br>
!<br>
voice trunk T01 type isdn<br>
  desc TRUNK TO ATT PRI<br>
  resource-selection linear descending<br>
  connect isdn-group 1<br>
  modem-passthrough<br>
  t38<br>
  t38 redundancy high-speed 1<br>
  t38 max-buffer 262<br>
  t38 max-datagram 176<br>
  t38 error-correction redundancy<br>
  rtp delay-mode adaptive<br>
!<br>
voice trunk T02 type sip<br>
  reject-external<br>
  <span>  desc TRUNK TO FS <br>
  </span>  sip-server primary 192.168.150.20<br>
!<br>
voice grouped-trunk TO_FS<br>
  trunk T02<br>
  accept NXXNXXXXXX cost 10<br>
!<br>
voice grouped-trunk TO_PRI<br>
  trunk T01<br>
  accept $ cost 10<br>
!<br>
ip sip grammar from host local<br>
!<br>
</div>
<br>
This assumes 10-digit DNIS from AT&T in the "accept NXXNXXXXXX cost 
10" statement in the TO_FS group.  If you receive 5, you'll want to 
adapt it accordingly.<br>
<br>
If your fax server is the standalone variety, you may want to consider 
connecting it to the FXS ports of the 908e.  In this scenario the 908e 
operates like a glorified TDM channel bank.  If it's on Freeswitch, this
 SIP configuration should work fine.  I've had no issues on R10.3.2 (or 
later versions of A4.x) talking to Freeswitch's rxfax application with 
T.38 or G711 passthru from a 908e.<br>
<br>
As you debug your configuration... "debug sip stack messages" will show 
you all the SIP traffic.  "debug isdn l2-formatted" will show you all 
the ISDN layer-3 messages.  Both are extremely helpful.  "debug voice 
verbose" can be handy in more complicated routing setups.  "un all" will
 turn off all the debug statements you've accumulated.<br>
<br>
In my opinion P-Asserted-Identity / Privacy header support is a nice 
addition to this basic config, along with a corresponding configuration 
on Freeswitch.<br>
<br>
<br>
- Jeff<br>
<br>
<br>
Blake Priddy wrote:
<blockquote 
cite="mid:CADK-BjvK95jKu5+vL0f3S09fVN5FWFHhFvOkKQCDV4y_gqjjkg@mail.gmail.com"
 type="cite">
  <div dir="ltr">ATT provides our PRI. And I want to send 5 digits to 
the PBX and also I have a fax server i need to send 5 digits too. </div>
  <div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 
15, 2013 at 1:40 PM, Jeff Pyle <span dir="ltr"><<a 
moz-do-not-send="true" href="mailto:jpyle@fidelityvoice.com" 
target="_blank">jpyle@fidelityvoice.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px
 #ccc solid;padding-left:1ex"><div><div>Blake,</div></div><div><br></div><div>We
 use the TA900-series with quite a bit of success.  Tell me more about 
the PRI (DNIS digits, switch type) and I should be able to help you with
 a config template.</div>
<span class="HOEnZb"><font color="#888888"><div>
<br></div><div><br></div><div>- Jeff</div></font></span><div 
class="HOEnZb"><div class="h5"><div><br></div>
<br><br><div class="gmail_quote">On Fri, Feb 15, 2013 at 2:28 PM, 
Michael Collins <span dir="ltr"><<a moz-do-not-send="true" 
href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></span>
 wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 
.8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm not familiar with the Adtran 908e, but a quick goog search says:<div><br></div><div><p
 
style="color:rgb(51,51,51);font-size:11px;font-family:Arial,Verdana,Helvetica,sans-serif">The
 Total Access 908e IP Business Gateway provides SIP-gateway 
functionality, a robust IP router, firewall and VPN functionality, and 
support for a number of analog and digital interfaces for existing phone
 equipment, or for the combination of an IP PBX and an analog fax, 
phones, or modem.</p>
<ul 
style="color:rgb(51,51,51);font-size:11px;font-family:Arial,Verdana,Helvetica,sans-serif"><li>Four
 T1/dual Ethernet platform, 8 analog FXS interfaces, integrated DSX-1</li><li>Ideal
 for networks transitioning to VoIP and an all IP voice and data WAN</li>
</ul></div><div><br></div><div>So can you draw a picture of what's 
plugged in to what? I'm interested in seeing this work because we've had
 some CudaTel customer who have Adtran's from a carrier and the PRI's 
have had challenges, particularly with faxing. If you can get yours 
working like a champ then we'll all be happy. :)</div>
<span><font color="#888888">
<div><br></div></font></span><div><span><font color="#888888">-Michael</font></span><div><div><br><br><div
 class="gmail_quote">On Fri, Feb 15, 2013 at 11:09 AM, Blake Priddy <span
 dir="ltr"><<a moz-do-not-send="true" 
href="mailto:bpriddy@bryantschools.org" target="_blank">bpriddy@bryantschools.org</a>></span>
 wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px
 #ccc solid;padding-left:1ex"><div dir="ltr">They are in the same 
network. </div><div><div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Fri, Feb 15, 2013 at 12:49 PM, Michael 
Collins <span dir="ltr"><<a moz-do-not-send="true" 
href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></span>
 wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px
 #ccc solid;padding-left:1ex">Is that PRI on one side and SIP on the 
other?<div>-MC<br><br><div class="gmail_quote"><div><div>On Fri, Feb 15,
 2013 at 7:16 AM, Blake Priddy <span dir="ltr"><<a 
moz-do-not-send="true" href="mailto:bpriddy@bryantschools.org" 
target="_blank">bpriddy@bryantschools.org</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div 
dir="ltr">hey guys so we just got in our Adtran 908e and I was wondering
 if someone could assist me on sending calls to freeswitch from this?<span><font
 color="#888888"><br clear="all">
<div><br></div>-- <br><div dir="ltr"><span></span><span></span> 
<div><span style="border-collapse:collapse;font-size:13px"><img 
moz-do-not-send="true" height="93" width="96"><br><b 
style="font-family:georgia,serif">Blakelund Priddy</b><br>
<span style="font-family:georgia,serif"></span>
<div style="font-family:arial,sans-serif;color:rgb(80,0,80)"><font 
color="#000000" face="Georgia">Network Systems Engineer</font><br><span 
style="font-family:georgia,serif">Bryant Public School District</span><br
 style="font-family:georgia,serif">
<span style="font-family:georgia,serif">Bryant, Arkansas 72022</span><br
 style="font-family:georgia,serif"><a moz-do-not-send="true" 
style="font-family:georgia,serif;color:rgb(0,0,0)" 
href="http://www.bryantschools.org/" target="_blank">http://www.bryantschools.org</a><br
 style="font-family:georgia,serif">
</div><span style="font-family:georgia,serif">p <a 
moz-do-not-send="true" href="tel:501-653-5038" value="+15016535038" 
target="_blank">501-653-5038</a></span><br 
style="font-family:georgia,serif"><font face="georgia, serif">f <a 
moz-do-not-send="true" href="tel:501-847-5656" value="+15018475656" 
target="_blank">501-847-5656</a></font></span></div>
</div>
</font></span></div>
<br></div></div><div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" 
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" 
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org" 
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" 
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true" 
href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true" 
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" 
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true" 
href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org" 
target="_blank">http://www.freeswitch.org</a><br>
<br></div></blockquote></div><span><font color="#888888"><br><br 
clear="all"><div><br></div>-- <br>Michael S Collins<br>Twitter: 
@mercutioviz<br><a moz-do-not-send="true" 
href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a moz-do-not-send="true" href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a moz-do-not-send="true" href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" 
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" 
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org" 
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" 
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true" 
href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true" 
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" 
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true" 
href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org" 
target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div 
dir="ltr"><span></span><span></span> 
<div><span style="border-collapse:collapse;font-size:13px"><img 
moz-do-not-send="true" height="93" width="96"><br><b 
style="font-family:georgia,serif">Blakelund Priddy</b><br>
<span style="font-family:georgia,serif"></span>
<div style="font-family:arial,sans-serif;color:rgb(80,0,80)"><font 
color="#000000" face="Georgia">Network Systems Engineer</font><br><span 
style="font-family:georgia,serif">Bryant Public School District</span><br
 style="font-family:georgia,serif">
<span style="font-family:georgia,serif">Bryant, Arkansas 72022</span><br
 style="font-family:georgia,serif"><a moz-do-not-send="true" 
style="font-family:georgia,serif;color:rgb(0,0,0)" 
href="http://www.bryantschools.org/" target="_blank">http://www.bryantschools.org</a><br
 style="font-family:georgia,serif">
</div><span style="font-family:georgia,serif">p <a 
moz-do-not-send="true" href="tel:501-653-5038" value="+15016535038" 
target="_blank">501-653-5038</a></span><br 
style="font-family:georgia,serif"><font face="georgia, serif">f <a 
moz-do-not-send="true" href="tel:501-847-5656" value="+15018475656" 
target="_blank">501-847-5656</a></font></span></div>
</div>
</div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" 
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" 
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org" 
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" 
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true" 
href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true" 
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" 
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true" 
href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org" 
target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Michael
 S Collins<br>Twitter: @mercutioviz<br><a moz-do-not-send="true" 
href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a
 moz-do-not-send="true" href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a moz-do-not-send="true" href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" 
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" 
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org" 
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" 
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true" 
href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true" 
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" 
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true" 
href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org" 
target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" 
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org" 
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" 
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true" 
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true" 
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" 
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true" 
href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org" 
target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div 
dir="ltr"><span></span><span></span> 
<div><span style="border-collapse:collapse;font-size:13px"><img 
moz-do-not-send="true" 
src="http://dl.dropbox.com/u/6313391/BryantSchoolDist_Seal_final%20%281%29.png"
 height="93" width="96"><br><b style="font-family:georgia,serif">Blakelund
 Priddy</b><br>
<span style="font-family:georgia,serif"></span>
<div style="font-family:arial,sans-serif;color:rgb(80,0,80)"><font 
color="#000000" face="Georgia">Network Systems Engineer</font><br><span 
style="font-family:georgia,serif">Bryant Public School District</span><br
 style="font-family:georgia,serif">
<span style="font-family:georgia,serif">Bryant, Arkansas 72022</span><br
 style="font-family:georgia,serif"><a moz-do-not-send="true" 
style="font-family:georgia,serif;color:rgb(0,0,0)" 
href="http://www.bryantschools.org/" target="_blank">http://www.bryantschools.org</a><br
 style="font-family:georgia,serif">
</div><span style="font-family:georgia,serif">p 501-653-5038</span><br 
style="font-family:georgia,serif"><font face="georgia, serif">f 
501-847-5656</font></span></div></div>
  </div>
  <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
</body></html>