03-23-2012 07:03 AM - edited 03-16-2019 10:16 AM
Hi,
I am trying to achieve the following scenarios.
i have got three anolog lines running into three fxo ports on a Cisco 2621xm. i have a cucm 6.0 and the cisco 2620xm is connected as a h.323 gateway.
i have 3 extension numbers 1000, 1001 and 1002. i want that
1000 should always dial via fxo 1/0/0
1001 should always dial via fxo 1/0/1
1002 should always dial via fxo 1/1/0
how do i configure both the cucm and gateway to achive the following. the ip phone extensions will always dial out by using 0.
Thanks in advance.
Rustom Billimoria
Solved! Go to Solution.
03-27-2012 08:53 AM
This can be accomplished on the h323 gateway. You will have to use a combination of voip and pots dialpeers with translations.
To accomplish this, you will need to setup some transation rules that prefix a dialing string in front of the called number going outbound so that it is able to hit the correct dialpeer. here is a sample of one that I had to do. Basically, had to setup a system to mimic a key system even though it was centrally managed.
Outside access code is a "9" Extension 111 is making the call out and needs to go out line 1 or 0/0/0 FXO.
voice translation-rule 1
rule 1 /^9/ /19/
voice translation-profile Line1
translate called 1
dial-peer voice 900 voip
translation-profile incoming Line1
answer-address 111
voice-class codec 1
no vad
dial-peer voice 2 pots
destination-pattern 19T
translate-outgoing called 1
port 0/0/0
voice-port 0/0/0
echo-cancel coverage 32
playout-delay maximum 200
timing hookflash-out 50
connection plar opx 111
Hope this helps.
Cheers!
KB
03-27-2012 08:53 AM
This can be accomplished on the h323 gateway. You will have to use a combination of voip and pots dialpeers with translations.
To accomplish this, you will need to setup some transation rules that prefix a dialing string in front of the called number going outbound so that it is able to hit the correct dialpeer. here is a sample of one that I had to do. Basically, had to setup a system to mimic a key system even though it was centrally managed.
Outside access code is a "9" Extension 111 is making the call out and needs to go out line 1 or 0/0/0 FXO.
voice translation-rule 1
rule 1 /^9/ /19/
voice translation-profile Line1
translate called 1
dial-peer voice 900 voip
translation-profile incoming Line1
answer-address 111
voice-class codec 1
no vad
dial-peer voice 2 pots
destination-pattern 19T
translate-outgoing called 1
port 0/0/0
voice-port 0/0/0
echo-cancel coverage 32
playout-delay maximum 200
timing hookflash-out 50
connection plar opx 111
Hope this helps.
Cheers!
KB
03-28-2012 01:13 AM
Hi Keven,
Thanks so much for your help. The translation profile and explanation worked perfectly. There is just one more question. Out of all the configs you provided me, which ones could I reuse for the other lines. I could not figure that out and created a duplicate copy of the configs. this is what it looks like.
voice translation-rule 1
rule 1 /^0/ /9/
!
voice translation-rule 2
rule 1 /^0/ /20/
!
!
voice translation-profile 1
translate called 1
!
voice translation-profile 2
translate called 2
dial-peer voice 224145262 voip
translation-profile incoming 1
answer-address 1000
no vad
!
dial-peer voice 24145262 pots
destination-pattern 9T
translate-outgoing called 1
port 1/0/0
!
dial-peer voice 24115262 voip
translation-profile incoming 2
answer-address 1004
no vad
!
dial-peer voice 224115262 pots
destination-pattern 20T
translate-outgoing called 2
port 1/0/1
!
I created two different configs for 2 different extensions. The extension numbers are 1000 to 1010. which of the commands would be common for all extensions. Also if I wanted to share a FXO port between 1002 and 1008, which configs would be common.
Thanks a ton,
Cheers,
Rustom Billimoria
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