[asterisk-users] Asterisk with a Cisco AS5300 gateway

Jonathan Thurman jthurman42 at gmail.com
Thu Oct 15 09:38:11 CDT 2009


I don't have any experience with E1, but here are some comments from
the T1 perspective (on a 2800 series Cisco).  Here is also a link to
my collection of Cisco voice debugging commands:
http://thurmantech.com/node/5

On Thu, Oct 15, 2009 at 3:27 AM, Phibee Network Operation Center
<noc at phibee.net> wrote:

! Something like this to define what clock to use (internal usually
causes a lot of Slip/Error seconds)
! but don't quote me on the following line, I haven't used E1 or the 5300
!  network-clock-select 1 E1 0
> isdn switch-type primary-net5
> !
> voice service voip
>  sip
> !
> voice class codec 400
>  codec preference 1 g711alaw
>  codec preference 2 g729r8
>  codec preference 3 g723r63
>  codec preference 4 g711ulaw
> !

! You don't seem to use either voice class, do you need both?
> voice class codec 500
>  codec preference 1 g729r8
>  codec preference 2 g723r63
> !
> controller E1 0
>  framing NO-CRC4
! linecode ?
! cablelength ?
>  pri-group timeslots 1-31
>  description E1 Beta-Test
> !
> interface Serial0:15
>  no ip address
>  encapsulation ppp
>  isdn switch-type primary-net5
isdn incoming-voice voice
>  no cdp enable
>
>
> voice-port 0:D
> !
> !
> !
> dial-peer voice 10 voip
destination-pattern .
redirect ip2ip
>  session protocol sipv2
>  session target ipv4:IP_OF_ASTERISK:5060
>  session transport udp
>  dtmf-relay rtp-nte
!  codec g711alaw
! If you define the codec class, might as well use it
voice-class codec 400
dtmf-relay rtp-nte
>  no vad
> !
> dial-peer voice 42 pots
! Don't make both patterns the same, maybe add a trunk prefix here
!  destination-pattern .T
destination-pattern 8T
incoming called-number .T
>  direct-inward-dial
>  port 0:D
> !
> sip-ua
>  retry invite 3
>  retry response 3
>  retry bye 3
>  retry cancel 3
>  timers trying 1000
! Don't need this, since you specified it on the dial-peer
!  sip-server ipv4:IP_OF_ASTERISK
> !

Good luck!

-Jonathan



More information about the asterisk-users mailing list