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

Selecting Trunk (ISDN) according to extension

Hello,

We have two ISDN PRI voice connections on our CME. They are members of a Trunk Group and in dial-peers this trunk group appears as PORT. for instance:

trunk group XXX

hunt-scheme sequential

interface Serial0/0/0:15

no ip address

encapsulation hdlc

isdn switch-type primary-net5

isdn incoming-voice voice

trunk-group XXX 10

no cdp enable

interface Serial0/0/1:15

no ip address

encapsulation hdlc

isdn switch-type primary-net5

isdn incoming-voice voice

trunk-group XXX 15

no cdp enable

dial-peer voice 10 pots

trunkgroup XXX

translation-profile outgoing YYY

destination-pattern 9T

direct-inward-dial

As you can see from above, for outgoing calls first 0/0/0 is getting selected since the hunt-scheme is sequential. On the other hand I have an analog extension which a FAX device is connected.

voice-port 1/0/0

station-id name FAX1

station-id number 3101

caller-id enable

My problem is when this FAX device is making a call I want it to go from 0/0/1, unlike all other extensions within office that use dial-peer 10.

How to setup a dial-peer for this purpose?

Regards,

1 ACCEPTED SOLUTION

Accepted Solutions
VIP Super Bronze

Selecting Trunk (ISDN) according to extension

OK..lets try this..keep your trunk-group..

1. configure two new voice translation rules

voice translation rule 5

rule 1 /\(.+\)/ /8\1/

voice translation rule 6

rule 1 /89\(.+\)/ /\1/

voice translation profile FAX1

translate called 5

voice translation profile FAX2

translate called 6

voice-port 1/0/0

translation-profile outgoing FAX1

2. Configure a new dial-peer that matches any digit beginning with 8

dial-peer voice 11 pots

translation-profile outgoing FAX2

destination-pattern 8T

port 0/0/1:15

Explanation..

When calls go out via the voice port attached to the fax machine, digit 8 is prefixed to the call via xlation rule 5.

Hence the dialled number becomes 89T..

This will then match the dial-peer 11. This dial-peer is configured to send calls out to your desired E1 trunk. The second translation rule will strip out 89 and forward the remaining digits to PSTN..

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

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

Selecting Trunk (ISDN) according to extension

In this scenario your best option might be to break up your trunk group configuration, so you can configure seperate dial-peers to route calls for fax and normal calls. With this you will be able to select the desired E1 channel to use for your fax.

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

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

Selecting Trunk (ISDN) according to extension

Thanks for your reply.

My issue is, I want to to keep the dialing scheme, so breaking trunk group doesn't help. Even I do not break the trunk group I can setup a dial-peer that is using a specific trunk, no issues on that.

Forgetting all above I simply need a dial-peer which will be selected according to extension that initiates the call. And it should have preference over the above dial-peer that has "destionation-pattern 9T".

Regards,

VIP Super Bronze

Selecting Trunk (ISDN) according to extension

OK..lets try this..keep your trunk-group..

1. configure two new voice translation rules

voice translation rule 5

rule 1 /\(.+\)/ /8\1/

voice translation rule 6

rule 1 /89\(.+\)/ /\1/

voice translation profile FAX1

translate called 5

voice translation profile FAX2

translate called 6

voice-port 1/0/0

translation-profile outgoing FAX1

2. Configure a new dial-peer that matches any digit beginning with 8

dial-peer voice 11 pots

translation-profile outgoing FAX2

destination-pattern 8T

port 0/0/1:15

Explanation..

When calls go out via the voice port attached to the fax machine, digit 8 is prefixed to the call via xlation rule 5.

Hence the dialled number becomes 89T..

This will then match the dial-peer 11. This dial-peer is configured to send calls out to your desired E1 trunk. The second translation rule will strip out 89 and forward the remaining digits to PSTN..

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

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

Selecting Trunk (ISDN) according to extension

Not followed your steps exactly but you gave an excelent idea:

I have created a translation rule:

voice translation-rule 22

rule 1 // /*/

that adds * in as leading digit. I have creted the translation profile:

voice translation-profile FAX-OUT

translate called 22

after that I have inserted the translation profile in incoming dial-peer for fax port

dial-peer voice 113101 pots

description FAX1

translation-profile incoming FAX-OUT

destination-pattern 3101

port 1/0/0

So when fax machine dials a number it simply adds "*" in front of the numbers.

Finally created another outgoing dial-peer for outgoing fax:

dial-peer voice 15 pots

description FAX outbound

destination-pattern *9T

port 0/0/0:15

Since it is a POTS dial-peer it automatically strips *9.

Basically using the same idea that you have proposed. Just using translation profile in incoming dial-peer not on the port.

Thanks a lot.

VIP Super Bronze

Selecting Trunk (ISDN) according to extension

Batuhan,

Glad to have helped. Dont forget to mark thread as answered. It does help other people identify correct responses. Good luck

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
175
Views
0
Helpful
5
Replies
CreatePlease login to create content