11-08-2013 01:50 AM - edited 03-16-2019 08:18 PM
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,
Solved! Go to Solution.
11-08-2013 04:56 AM
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"
11-08-2013 02:44 AM
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"
11-08-2013 04:35 AM
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,
11-08-2013 04:56 AM
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"
11-12-2013 05:13 AM
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.
11-12-2013 05:50 AM
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"
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide