vt100

Home   Documentation   Impressum   Links

Asterisk connection to a proprietary Dialer via E1 PRI and a Cisco ISR

Disclaimer

This information is provided as is with no warranty. If you burn your kitchen sink don't blame me. Copyright (c) 2002 vt100.at

Introduction

This is a small howto connect a Asterisk Server to a proprietary Dialer via E1 PRI and a Cisco ISR.

Prerequisites

Sample Network

Asterisk - [sip] - Router0 - [e1 pri] - Dialer/PBX 

Cisco Config

boring things cutted out...

! we assume a VWIC-2MFT-E1 on wic-slot 0
network-clock-participate wic 0
!
! we assume we are located in germany
isdn switch-type primary-net5
!
! we prefer a-law
voice class codec 1
 codec preference 1 g711alaw
!
!
! this is our PRI interface
controller E1 0/0/0
!
! we provide timing to the Dialer/PBX (playing telco ;)
 clock source internal
!
! use all e1 time-slots
 pri-group timeslots 1-31
!
! more PRI configuration
interface Serial0/0/0:15
 !
 ! playing telco again 
 isdn protocol-emulate network
 ! we do voice
 isdn incoming-voice voice
!
! some tuning and default stuff
voice-port 0/0/0:15
 input gain 6
 echo-cancel mode 1
 cptone DE
 bearer-cap Speech
!
!
! our dial peers
dial-peer voice 1 pots
 description incoming/outgoing PRI
 incoming called-number .T
 direct-inward-dial
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 100 voip
 description asterisk
 service session
 destination-pattern 6T
 voice-class codec 1
 session protocol sipv2
! asterisk box
 session target ipv4:172.26.1.2
 session transport udp
 dtmf-relay rtp-nte
!

Asterisk Config (sip.conf)

boring things cutted out...

[sip-gateway]
type=friend
host=172.26.1.1 ; cisco box
insecure=very
disallow=all
allow=alaw

Links

These links were helpful:

http://www.cisco.com
T1 Crossover cable pinout (also applies for E1 RJ45)

Conclusions

E1 cross cable is hard to find...
Play Telco with "clock source internal" and "isdn protocol-emulate network".

Reminder

Handle your Cisco © gear with care. clock source internal


Copyright © 2013 vt100.at. All rights reserved.

leitbruch