Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Outbound and Inbound Dial peers

Hello everyone!

How can I match an outbound call to a dial peer. For example I need internal number 1000 to go through dial-peer 1 and internal number 1001 to go out through dial peer 2?

And another question regarding inbound calls

How can I make an inbound call to 4040404 to go to internal number 1001 and another call to 4040405 to go to internal number 1002? Should I use translation rules or there is any another command under dial peer to match an inbound call to an internal number?

Thank you!

Everyone's tags (5)
1 ACCEPTED SOLUTION

Accepted Solutions
VIP Super Bronze

Outbound and Inbound Dial peers

SInce this is CCME, you will need to use voice xlation rules to modify the called number and apply it to the ephone-dns..

1. To select dial-peer 1 to use for outbound calls on dn 1001 and dp2 for 1002, you should modify the called number on both dn as follows

if called number= 5000

voice translation-rule 1

rule 1 /^5000/ /775000/

voice translation-profile ext1001

translate called 1

voice translation-rule 2

rule 1 /^5000/ /885000/

voice translation-profile ext1002

translate called 2

Then create dial-peers to macth the xlated numbers

eg. dial-peer voice 1 pots

destination-pattern 77T

port x/y/z:15

dial-peer voice 2 pots

destination-pattern 88T

port a/b/c:15

finally apply the xlation rule to either the phones or the dn

ephone-dn 1

number 1001

translation profilce incoming ext1001

ephone-dn 2

number 1002

translation profile incoming ext1002

This way the dial-peer used will depend on the extension that is calling

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
11 REPLIES
VIP Super Bronze

Outbound and Inbound Dial peers

You can use answer adress command under the dial-peer to match the call to that dial-peer

Yes you should use voice translation rules for map 4040404 to whatever number you want to

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Outbound and Inbound Dial peers

Is it true for POTS dial peers as well? I forgot to mention that it is a CME setup with E1, so should I use voip dial peers or pots dial peers for inbound and outbound calls?

VIP Super Bronze

Outbound and Inbound Dial peers

SInce this is CCME, you will need to use voice xlation rules to modify the called number and apply it to the ephone-dns..

1. To select dial-peer 1 to use for outbound calls on dn 1001 and dp2 for 1002, you should modify the called number on both dn as follows

if called number= 5000

voice translation-rule 1

rule 1 /^5000/ /775000/

voice translation-profile ext1001

translate called 1

voice translation-rule 2

rule 1 /^5000/ /885000/

voice translation-profile ext1002

translate called 2

Then create dial-peers to macth the xlated numbers

eg. dial-peer voice 1 pots

destination-pattern 77T

port x/y/z:15

dial-peer voice 2 pots

destination-pattern 88T

port a/b/c:15

finally apply the xlation rule to either the phones or the dn

ephone-dn 1

number 1001

translation profilce incoming ext1001

ephone-dn 2

number 1002

translation profile incoming ext1002

This way the dial-peer used will depend on the extension that is calling

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Outbound and Inbound Dial peers

Ok, if the called number 5000 is known, then I agree. But what if the called number is .T, in another words ANY called number?

VIP Super Bronze

Outbound and Inbound Dial peers

Then get creative! Its that simple. You should be familiar with the dial plan of your environment. These are PSTN calls and they usually start with a pattern eg. 9 something or 0 something..Most users either dial a 9 or a 0 as the start of their dialling.

Adjust the config to match the dialled pattern. The key is to prefix a number to the dialled pattern so that you can use a specific dial-peer as you want

.

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Outbound and Inbound Dial peers

In other words it is not achievable with POTS dial peer and answer-address configured?

New Member

Outbound and Inbound Dial peers

Can I use this kind of translation for ALL calls?

voice translation-rule 1

rule 1 // //

VIP Super Bronze

Outbound and Inbound Dial peers

And do you know what this does? What do you want to achieve by using this. Why dont you want to use my painfully thought out suggestions above?

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Outbound and Inbound Dial peers

I though it would just translate the called number to itself, in other words, it will not translate it at all, but there will be a corresponding translation profile to associate with a dial peer

Haha, Your solution is painfull indeed, I just want to simplify it if possible

VIP Super Bronze

Outbound and Inbound Dial peers

I like your sense of humour. But I am sorry to say that I dont see how that xlation rule will help you. You can try it. There is nothing overly complicated about using the idea I suggested.

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Outbound and Inbound Dial peers

Thank you anyway

713
Views
0
Helpful
11
Replies