[Asterisk-Users] asterisk, cisco 3640's and DIDs...

Tim Pozar pozar at lns.com
Tue Oct 4 17:53:27 MST 2005


Greg Oliver wrote:
> Hmmmmm, I would have to disagree.
> 
> We use MGCP dial-peers and use it on PRIs with 3725s and 2851s
> currently.

Our config was fubar'ed.  We were using dial-peer "isdn" instead of 
"pots".  "direct-inward-dial" does not work with "isdn".  We were 
succussful with something like:
--
isdn switch-type primary-5ess
!
controller T1 3/0
  framing esf
  linecode b8zs
  pri-group timeslots 1-24
  description RCN PRI
!
interface Serial3/0:23
  no ip address
  isdn switch-type primary-5ess
  isdn incoming-voice voice
  no cdp enable
!
voice-port 3/0:23
!
dial-peer cor custom
!
dial-peer voice 4 voip
  ! We are matching the four digits that RCN is handing us going from
  ! 2100 to 2199.  This needs to happen else the cisco will tend to route
  ! calls back out the PRI. :-)
  destination-pattern 21..
  session protocol sipv2
  session target ipv4:1.2.3.4:5060
  session transport udp
  dtmf-relay rtp-nte
  codec g711ulaw
  no vad
!
dial-peer voice 200 pots
  destination-pattern .T
  direct-inward-dial
  port 3/0:23
  forward-digits all
!
sip-ua
  retry invite 3
  retry response 3
  retry bye 3
  retry cancel 3
  timers trying 1000
  sip-server ipv4:1.2.3.4
!
--
With this we have DIDs working.

Thanks to <info at beprojects.com> for the sample configs.

Tim



More information about the asterisk-users mailing list