[Asterisk-Users] asterisk, cisco 3640's and DIDs...
Greg Oliver
goliver at cistera.com
Tue Oct 4 07:55:05 MST 2005
Add direct-inward-dial to your dial peer and it should work fine.
-Greg
On Mon, 2005-10-03 at 15:48 -0700, Tim Pozar wrote:
> I would think I could do this but for some reason I am stymied.
>
> I have a PRI from RCN connected to a cisco 3640 (in my day "cisco" is
> all lower case :-)). My config looks something like this on the cisco...
> ---------------------------------------------------------
> voice-card 3
> dsp services dspfarm
> !
> ip cef
> !
> isdn switch-type primary-5ess
> !
> controller T1 3/0
> framing esf
> linecode b8zs
> pri-group timeslots 1-24
> description RCN PRI at SF7
> !
> interface FastEthernet1/0
> no ip address
> duplex auto
> speed auto
> !
> interface Serial3/0:23
> no ip address
> dialer-group 1
> isdn switch-type primary-5ess
> isdn incoming-voice voice
> no cdp enable
> !
> voice-port 3/0:23
> connection plar 1000
> !
> dial-peer cor custom
> !
> dial-peer voice 1 voip
> destination-pattern 1000
> 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 2 pots
> destination-pattern 9T
> port 3/0:23
> !
> sip-ua
> retry invite 3
> retry response 3
> retry bye 3
> retry cancel 3
> timers trying 1000
> sip-server ipv4:1.2.3.5
> !
> ---------------------------------------------------------
> But of course with that what get's set as the DID number is "1000". I
> need to find out how to get the DID number passed to asterisk. Any
> thoughts from folks out there?
>
> Thanks...
> Tim
>
> PS... Here is a show ver from the 3640...
>
> vr01-200p-sfo>show ver
> Cisco Internetwork Operating System Software
> IOS (tm) 3600 Software (C3640-IS-M), Version 12.3(16), RELEASE SOFTWARE
> (fc4)
> Technical Support: http://www.cisco.com/techsupport
> Copyright (c) 1986-2005 by cisco Systems, Inc.
> Compiled Tue 23-Aug-05 20:03 by ssearch
> Image text-base: 0x60008B00, data-base: 0x61BFA000
>
> ROM: System Bootstrap, Version 11.1(19)AA, EARLY DEPLOYMENT RELEASE
> SOFTWARE (fc1)
> ROM: 3600 Software (C3640-IS-M), Version 12.3(16), RELEASE SOFTWARE (fc4)
>
> vr01-200p-sfo uptime is 3 weeks, 3 days, 22 hours, 22 minutes
> System returned to ROM by reload at 00:24:09 UTC Fri Sep 9 2005
> System restarted at 00:25:48 UTC Fri Sep 9 2005
> System image file is "flash:flash:c3640-is-mz.123-16.bin"
>
> cisco 3640 (R4700) processor (revision 0x00) with 124928K/6144K bytes of
> memory.
> Processor board ID 10311643
> R4700 CPU at 100MHz, Implementation 33, Rev 1.0
> Bridging software.
> X.25 software, Version 3.0.0.
> SuperLAT software (copyright 1990 by Meridian Technology Corp).
> Primary Rate ISDN software, Version 1.1.
> 2 FastEthernet/IEEE 802.3 interface(s)
> 24 Serial network interface(s)
> 1 Channelized T1/PRI port(s)
> DRAM configuration is 64 bits wide with parity disabled.
> 125K bytes of non-volatile configuration memory.
> 32768K bytes of processor board System flash (Read/Write)
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list