Advertisement

03.12.2008 at 08:34AM PDT, ID: 23235432
[x]
Attachment Details

VoIP Config Question on Cisco 5400

Asked by shaf81 in Voice Over IP, Network Routers, IP Telephony

Tags: Cisco, Cisco 5400, Cisco 5400, Cisco 53xx, 5400 VoIP

Hello All,

I have a small problem which I need your assistnace. I Have a Cisco 5400 box with T1 cards which I use for VOIP purpose. I have hairpinned (looped) the E1 ports. So the call going out of one port will end up into the other.

The scenario is like this. Calls will come via VoIP and based on the incoming number it will be sent to a pots dial-peer where an application will handle the call. Once the call is handled it will be sent out again via a VoIP dial-peer.

The simple config would look like this (Please note that port 5/0:D is connected to Port 7/0:D)

dial-peer voice 1000 voip
 voice-class codec 1
 session protocol sipv2
 session transport udp
 incoming called-number .
 dtmf-relay rtp-nte
 ip qos dscp cs5 media
 ip qos dscp cs5 signaling
 no vad
!
dial-peer voice 8001 pots
 service callingcard
 incoming called-number 1234
 port 5/0:D
!
dial-peer voice 8002 pots
 service callingcard
 incoming called-number 1234
 port 7/0:D
!
dial-peer voice 8001 pots
 service callingcard
 incoming called-number 5678
 port 5/0:D
!
dial-peer voice 8002 pots
 service callingcard
 incoming called-number 5678
 port 7/0:D
!
dial-peer voice 2000 voip
 huntstop
 destination-pattern .T
 voice-class codec 1
 session target ipv4:1.1.1.1
!
dial-peer voice 3000 voip
 huntstop
 destination-pattern .T
 voice-class codec 1
 session target ipv4:2.2.2.2
 incoming called-number 5678

1000 is the Incoming VoIP Peer, 2000 and 3000 are outgoing VoIP Peers. Users will either dial 1234 or 5678 to be handled by the desired application.

Question:
I wanna ensure that if users is connected to the system by dialing 5678, then the calls should leave ONLY VIA 3000 dial-peer. 1234 (or any other numbers I may add in future) should use 2000 peer and never use 5678. How can I do this? I tried adding 'incoming called number 5678' to peer 3000, but didn't help. Any suggestions?

Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
dial-peer voice 1000 voip
 voice-class codec 1
 session protocol sipv2
 session transport udp
 incoming called-number .
 dtmf-relay rtp-nte
 ip qos dscp cs5 media
 ip qos dscp cs5 signaling
 no vad
!
dial-peer voice 8001 pots
 service callingcard
 incoming called-number 1234
 port 5/0:D
!
dial-peer voice 8002 pots
 service callingcard
 incoming called-number 1234
 port 7/0:D
!
dial-peer voice 8001 pots
 service callingcard
 incoming called-number 5678
 port 5/0:D
!
dial-peer voice 8002 pots
 service callingcard
 incoming called-number 5678
 port 7/0:D
!
dial-peer voice 2000 voip
 huntstop
 destination-pattern .T
 voice-class codec 1
 session target ipv4:1.1.1.1
!
dial-peer voice 3000 voip
 huntstop
 destination-pattern .T
 voice-class codec 1
 session target ipv4:2.2.2.2
 incoming called-number 5678
[+][-]03.17.2008 at 02:06PM PDT, ID: 21146135

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Voice Over IP, Network Routers, IP Telephony
Tags: Cisco, Cisco 5400, Cisco 5400, Cisco 53xx, 5400 VoIP
Sign Up Now!
Solution Provided By: jdechiaro
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628