[c-nsp] Cisco Dial-Plan Assistance

Gregory Boehnlein damin at nacs.net
Thu Mar 5 16:53:07 EST 2009


Hello,
	I have a few Cisco 2600s configured as PRI gateways. Most of them
have very simple dial-plans, but I'm struggling w/ a more complex plan for a
Dual-PRI configuration and I think I'm missing something simple.

Here is a run-down of the configuration

Carrier PRI <-> Serial 1/0:23
Customer PBX <-> Serial 1/1:23


The routing challenge that I am having is fairly simple, but I'm not finding
a solution in the documentation that I'm looking at.

Here is run-down of the configuration (Stripped of extra crap)

interface Serial1/0:23
 description Two-Way PRI to Carrier for 800 Origination/Termination
!
interface Serial1/1:23
 description Two-Way PRI to Customer

dial-peer voice 2000 voip
 preference 1
 destination-pattern 8885551212
 session protocol sipv2
 session target sip-server

dial-peer voice 2001 voip
 preference 2
 huntstop
 destination-pattern .T
 session protocol sipv2
 session target sip-server

dial-peer voice 1000 pots
 preference 1	
 destination-pattern 8885551212
 direct-inward-dial
 port 1/1:23

dial-peer voice 1002 pots
 preference 2
 huntstop
 destination-pattern .T
 direct-inward-dial
 port 1/0:23

Currently, this works, but not in the way that I need it to. As it is
configured, calls coming in from the Carrier that match the dest
"8885551212" are sent directly to the customer's PBX. I need those calls to
be sent to the VoIP server first, where we need to record the RTP streams.
The Asterisk server, will then deliver the call back to the gateway and
hopefully over S1/1:23 to the customer's PBX.

So the call flow that I'm looking for is:

Carrier PRI -> Cisco -> Asterisk Server -> Cisco -> Customer PBX

I feel like I'm missing something really simple.. I don't do a lot of
Dial-Plan work on IOS...



More information about the cisco-nsp mailing list