[Freeswitch-users] HELP

Jeff Pyle jpyle at fidelityvoice.com
Sat Feb 16 01:19:53 MSK 2013


Bryce,

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.

!
interface eth 0/1
   ip address  192.168.150.10  255.255.255.0
   media-gateway ip primary
   no shutdown
!
interface t1 0/3
   description PRI to ATT
   tdm-group 1 timeslots 1-24 speed 64
   no shutdown
!
interface pri 1
   connect t1 0/3 tdm-group 1
   role user
   no shutdown
!
isdn-group 1
   connect pri 1
!
timing-source t1 0/3
!
voice dial-plan 1 operator-assisted 411
voice dial-plan 2 local NXXXXXX
voice dial-plan 3 local NXXNXXXXXX
voice dial-plan 6 local 1NXXNXXXXXX
voice dial-plan 7 international 011XXXXX$
!
voice trunk T01 type isdn
   desc TRUNK TO ATT PRI
   resource-selection linear descending
   connect isdn-group 1
   modem-passthrough
   t38
   t38 redundancy high-speed 1
   t38 max-buffer 262
   t38 max-datagram 176
   t38 error-correction redundancy
   rtp delay-mode adaptive
!
voice trunk T02 type sip
   reject-external
   desc TRUNK TO FS
   sip-server primary 192.168.150.20
!
voice grouped-trunk TO_FS
   trunk T02
   accept NXXNXXXXXX cost 10
!
voice grouped-trunk TO_PRI
   trunk T01
   accept $ cost 10
!
ip sip grammar from host local
!

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.

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.

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.

In my opinion P-Asserted-Identity / Privacy header support is a nice 
addition to this basic config, along with a corresponding configuration 
on Freeswitch.


- Jeff


Blake Priddy wrote:
> 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.
>
>
> On Fri, Feb 15, 2013 at 1:40 PM, Jeff Pyle <jpyle at fidelityvoice.com 
> <mailto:jpyle at fidelityvoice.com>> wrote:
>
>     Blake,
>
>     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.
>
>
>     - Jeff
>
>
>
>     On Fri, Feb 15, 2013 at 2:28 PM, Michael Collins
>     <msc at freeswitch.org <mailto:msc at freeswitch.org>> wrote:
>
>         I'm not familiar with the Adtran 908e, but a quick goog search
>         says:
>
>         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.
>
>           * Four T1/dual Ethernet platform, 8 analog FXS interfaces,
>             integrated DSX-1
>           * Ideal for networks transitioning to VoIP and an all IP
>             voice and data WAN
>
>
>         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. :)
>
>         -Michael
>
>
>         On Fri, Feb 15, 2013 at 11:09 AM, Blake Priddy
>         <bpriddy at bryantschools.org <mailto:bpriddy at bryantschools.org>>
>         wrote:
>
>             They are in the same network.
>
>
>             On Fri, Feb 15, 2013 at 12:49 PM, Michael Collins
>             <msc at freeswitch.org <mailto:msc at freeswitch.org>> wrote:
>
>                 Is that PRI on one side and SIP on the other?
>                 -MC
>
>                 On Fri, Feb 15, 2013 at 7:16 AM, Blake Priddy
>                 <bpriddy at bryantschools.org
>                 <mailto:bpriddy at bryantschools.org>> wrote:
>
>                     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?
>
>                     -- 
>
>                     *Blakelund Priddy*
>                     Network Systems Engineer
>                     Bryant Public School District
>                     Bryant, Arkansas 72022
>                     http://www.bryantschools.org
>                     <http://www.bryantschools.org/>
>                     p 501-653-5038 <tel:501-653-5038>
>                     f 501-847-5656 <tel:501-847-5656>
>
>                     _________________________________________________________________________
>                     Professional FreeSWITCH Consulting Services:
>                     consulting at freeswitch.org
>                     <mailto:consulting at freeswitch.org>
>                     http://www.freeswitchsolutions.com
>
>                     FreeSWITCH-powered IP PBX: The CudaTel
>                     Communication Server
>                     
>
>                     Official FreeSWITCH Sites
>                     http://www.freeswitch.org
>                     http://wiki.freeswitch.org
>                     http://www.cluecon.com
>
>                     FreeSWITCH-users mailing list
>                     FreeSWITCH-users at lists.freeswitch.org
>                     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>                     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>                     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>                     http://www.freeswitch.org
>
>
>
>
>                 -- 
>                 Michael S Collins
>                 Twitter: @mercutioviz
>                 http://www.FreeSWITCH.org
>                 http://www.ClueCon.com
>                 http://www.OSTAG.org
>
>
>                 _________________________________________________________________________
>                 Professional FreeSWITCH Consulting Services:
>                 consulting at freeswitch.org
>                 <mailto:consulting at freeswitch.org>
>                 http://www.freeswitchsolutions.com
>
>                 FreeSWITCH-powered IP PBX: The CudaTel Communication
>                 Server
>                 
>
>                 Official FreeSWITCH Sites
>                 http://www.freeswitch.org
>                 http://wiki.freeswitch.org
>                 http://www.cluecon.com
>
>                 FreeSWITCH-users mailing list
>                 FreeSWITCH-users at lists.freeswitch.org
>                 <mailto:FreeSWITCH-users at lists.freeswitch.org>
>                 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>                 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>                 http://www.freeswitch.org
>
>
>
>
>             -- 
>
>             *Blakelund Priddy*
>             Network Systems Engineer
>             Bryant Public School District
>             Bryant, Arkansas 72022
>             http://www.bryantschools.org <http://www.bryantschools.org/>
>             p 501-653-5038 <tel:501-653-5038>
>             f 501-847-5656 <tel:501-847-5656>
>
>             _________________________________________________________________________
>             Professional FreeSWITCH Consulting Services:
>             consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>             http://www.freeswitchsolutions.com
>
>             
>             
>
>             Official FreeSWITCH Sites
>             http://www.freeswitch.org
>             http://wiki.freeswitch.org
>             http://www.cluecon.com
>
>             FreeSWITCH-users mailing list
>             FreeSWITCH-users at lists.freeswitch.org
>             <mailto:FreeSWITCH-users at lists.freeswitch.org>
>             http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>             UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>             http://www.freeswitch.org
>
>
>
>
>         -- 
>         Michael S Collins
>         Twitter: @mercutioviz
>         http://www.FreeSWITCH.org
>         http://www.ClueCon.com
>         http://www.OSTAG.org
>
>
>         _________________________________________________________________________
>         Professional FreeSWITCH Consulting Services:
>         consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>         http://www.freeswitchsolutions.com
>
>         
>         
>
>         Official FreeSWITCH Sites
>         http://www.freeswitch.org
>         http://wiki.freeswitch.org
>         http://www.cluecon.com
>
>         FreeSWITCH-users mailing list
>         FreeSWITCH-users at lists.freeswitch.org
>         <mailto:FreeSWITCH-users at lists.freeswitch.org>
>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>         UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>         http://www.freeswitch.org
>
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
>
>
>
>
> -- 
>
> *Blakelund Priddy*
> Network Systems Engineer
> Bryant Public School District
> Bryant, Arkansas 72022
> http://www.bryantschools.org <http://www.bryantschools.org/>
> p 501-653-5038
> f 501-847-5656
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130215/23e6c393/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list