Mitel Forums - The Unofficial Source

Mitel Forums => Mitel MiVoice Business/MCD/3300 => Topic started by: ralph on September 06, 2018, 12:00:01 PM

Title: TDM Gateways
Post by: ralph on September 06, 2018, 12:00:01 PM
Is anyone using either Cisco or Adtran for PSTN gateways?
If you are, what models are you using?
Specifically, I'd like to be able to use SIP to the gateway and then select individual channels on the T1.


Ralph
Title: Re: TDM Gateways
Post by: johnp on September 06, 2018, 05:08:31 PM
I think this might be possibly on an Adtran 908e. I would think that you would have to define inound numbers to the sip, and used some sort of leading digits to determine which channel. Each channel would be a distinct trunk group
Title: Re: TDM Gateways
Post by: acejavelin on September 07, 2018, 05:54:06 PM
We have used Adtran TA908 units... Although I don't think it's possible to select a specific channel of the PRI though.

I am curious as to the application that would require this...
Title: Re: TDM Gateways
Post by: johnp on September 08, 2018, 09:02:25 AM
If I have the time, I'll see what I can set up on one of my units
Title: Re: TDM Gateways
Post by: ralph on September 10, 2018, 07:28:12 AM
Thanks John.  I just ordered a unit off of ebay Friday.
An Adtran TA904.
I had asked Adtran pre-sales support and that's what they recommended.
Should be here Friday.
I'll connect it to my lab system with a T1 and then connect to my Eclipse system via SIP.
We'll see.

Ralph
Title: Re: TDM Gateways
Post by: johnp on September 11, 2018, 07:18:51 AM
My intial programmed looks like it will work. I need to connect it for operational testing
Title: Re: TDM Gateways
Post by: ralph on September 13, 2018, 07:09:04 AM
Can you share the config?
Title: Re: TDM Gateways
Post by: johnp on September 13, 2018, 07:55:37 PM
Sure, I didn't do much on the sip side, just remember to add media gateway to the ethernet interface

hostname "TA908"
enable password encrypted 171f1d54f09351d363f433e47688dd5b9d80
!
clock timezone -5
!
ip subnet-zero
ip classless
ip default-gateway 10.1.200.1
ip routing
!
!
domain-proxy
name-server 8.8.8.8
!
!
no auto-config
auto-config authname adtran encrypted password 3e38fb9661d9617430c60954016850c211a3
!
event-history on
no logging forwarding
no logging email
!
service password-encryption
!
username "admin" password encrypted "151c0baef9faec3b032f792184e0a21588ac"
!
banner motd #

        Important

Web username/password is configured to admin/password.
Enable and Telnet passwords are configured to "password".
Please change them immediately.

The ethernet 0/1 interface is enabled with an address of 10.200.0.10
Telnet/SSH access is also enabled.
#
!
!
ip firewall
no ip firewall alg msn
no ip firewall alg mszone
no ip firewall alg h323
!
!
!
!
!
no dot11ap access-point-control
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface eth 0/1
  ip address  10.1.200.8  255.255.255.0
  no shutdown
!
!
!
!
interface t1 0/1
  fdl att
  no shutdown
!
interface t1 0/2
  tdm-group 1 timeslots 1 speed 64
  tdm-group 2 timeslots 2 speed 64
  tdm-group 3 timeslots 3 speed 64
  tdm-group 4 timeslots 4 speed 64
  tdm-group 5 timeslots 5 speed 64
  tdm-group 6 timeslots 6 speed 64
  tdm-group 7 timeslots 7 speed 64
  tdm-group 8 timeslots 8 speed 64
  tdm-group 9 timeslots 9 speed 64
  tdm-group 10 timeslots 10 speed 64
  tdm-group 11 timeslots 11 speed 64
  tdm-group 12 timeslots 12 speed 64
  tdm-group 13 timeslots 13 speed 64
  tdm-group 14 timeslots 14 speed 64
  tdm-group 15 timeslots 15 speed 64
  tdm-group 16 timeslots 16 speed 64
  tdm-group 17 timeslots 17 speed 64
  tdm-group 18 timeslots 18 speed 64
  tdm-group 19 timeslots 19 speed 64
  tdm-group 20 timeslots 20 speed 64
  tdm-group 21 timeslots 21 speed 64
  tdm-group 22 timeslots 22 speed 64
  tdm-group 23 timeslots 23 speed 64
  tdm-group 24 timeslots 24 speed 64
  no shutdown
!
!
interface fxs 0/1
  no shutdown
!
interface fxs 0/2
  no shutdown
!
interface fxs 0/3
  no shutdown
!
interface fxs 0/4
  no shutdown
!
interface fxs 0/5
  no shutdown
!
interface fxs 0/6
  no shutdown
!
interface fxs 0/7
  no shutdown
!
interface fxs 0/8
  no shutdown
!
!
!
!
timing-source t1 0/2
!
timing-source internal secondary
!
!
!
!
!
no tftp server
no tftp server overwrite
http server
http secure-server
no snmp agent
no ip ftp server
no ip scp server
no ip sntp server
!
!
!
!
!
!
!
!
sip
sip udp 5060
no sip tcp
!
!
!
voice feature-mode network
voice transfer-mode local
voice forward-mode local
!
!
!
!
!
!
!
!
!
!
!
!
voice codec-list Default
  default
  codec g711ulaw
!
!
!
voice trunk T01 type t1-rbs supervision wink role network
  description "Channel 01"
  did digits-transferred 10
  connect t1 0/2 tdm-group 1
  match dnis "55501-$" substitute "$"
  rtp delay-mode adaptive
!
voice trunk T02 type t1-rbs supervision wink role network
  description "Channel 02"
  did digits-transferred 10
  connect t1 0/2 tdm-group 2
  match dnis "55502-$" substitute "$"
  rtp delay-mode adaptive
!
voice trunk T03 type t1-rbs supervision wink role network
  description "Channel 03"
  did digits-transferred 10
  connect t1 0/2 tdm-group 3
  match dnis "55503-$" substitute "$"
  rtp delay-mode adaptive
!
voice trunk T04 type sip
  description "SIP"
  max-number-calls 24
  codec-list Default both
!
!
voice grouped-trunk "CHANNEL 01"
  trunk T01
  accept 55501-011-$ cost 0
  accept 55501-1-NXX-XXXX cost 0
  accept 55501-NXX-XXXX cost 0
!
!
voice grouped-trunk "CHANNEL 02"
  accept 55502-011-$ cost 0
  accept 55502-1-NXX-XXXX cost 0
  accept 55502-NXX-XXXX cost 0
!
!
voice grouped-trunk "CHANNEL 03"
  trunk T03
  accept 55503-011-$ cost 0
  accept 55503-1-NXX-XXXX cost 0
  accept 55503-NXX-XXXX cost 0
!
!
voice grouped-trunk SIP
  trunk T04
  accept 212-NXX-XXXX cost 0
!
!
!
!
!
!
!
!
!
sip authenticate
!
!
sip default-call-routing switchboard
!
sip registrar
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
line con 0
  no login
!
line telnet 0 4
  login
  password encrypted 2129cd74b110e87d026a8c83d60ca67d88fb
  no shutdown
line ssh 0 4
  login local-userlist
  no shutdown
!
!
!
!
!
end
Title: Re: TDM Gateways
Post by: ralph on September 14, 2018, 06:50:07 AM
Thanks John.
I got the unit yesterday, cleared the passwords and started playing with it.
I think I see a problem right off the bat.

Each channel needs to be immediate start. I need it to route inbound calls on seizure.  Each channel needs to have it's own unique destination. 
Then I need it to route outbound calls to each channel but I need to absorb all of the digits and no outpulse anything.

Each channel is used as a two-way ring down.

So far, it doesn't look like I'll be able to do that.

Ralph