08-08-2007 05:25 PM - edited 03-14-2019 10:59 PM
I have a 2821 running CME 4.0, connected to PSTN with 4 FXO lines on a VIC2-4FXO.
I have inbound DID calling working with "connection plar opx (extension)", but I am unsure of how to set up outbound calling. I want each phone to use its own FXO port both for inbound and and outbound calling.
Is that possible?
Thanks,
Chris
Solved! Go to Solution.
08-09-2007 01:22 AM
Yes ...
You have taken care of the inbound calls with the connection plar opx (extension) command.
Outbound calls as follows :
\\ Create some translation rules and profiles to change the 9 to the relevant dial-peer number
voice translation-rule 1
rule 1 /^9/ /19/
!
voice translation-rule 2
rule 1 /^9/ /29/
!
voice translation-rule 3
rule 1 /^9/ /39/
!
!
voice translation-profile OUT_PORT1
translate called 1
!
voice translation-profile OUT_PORT2
translate called 2
!
voice translation-profile OUT_PORT3
translate called 3
\\ Create dial peers pointing out individual ports
dial-peer voice 1 pots
destination-pattern 19T
port 0/0/0
!
dial-peer voice 2 pots
destination-pattern 29T
port 0/0/1
!
dial-peer voice 3 pots
destination-pattern 39T
port 0/0/2
\\ apply the translation profiles to the individual ephone-dn's for the port you want to go out of
ephone-dn 1 dual-line
number 5001
call-forward busy 1000
call-forward noan 1000 timeout 10
translation-profile incoming OUT_PORT1
ephone-dn 2 dual-line
number 5002
call-forward busy 1000
call-forward noan 1000 timeout 10
translation-profile incoming OUT_PORT2
ephone-dn 3 dual-line
number 5003
call-forward busy 1000
call-forward noan 1000 timeout 10
translation-profile incoming OUT_PORT3
For example :
Extension 5001 dials a 9 for an outside line, translation-profile incoming OUT_PORT1 is applied and changes the number to 19, which matches dial-peer voice 1 pots, and the call goes out port 0/0/0.
HTH
08-09-2007 01:22 AM
Yes ...
You have taken care of the inbound calls with the connection plar opx (extension) command.
Outbound calls as follows :
\\ Create some translation rules and profiles to change the 9 to the relevant dial-peer number
voice translation-rule 1
rule 1 /^9/ /19/
!
voice translation-rule 2
rule 1 /^9/ /29/
!
voice translation-rule 3
rule 1 /^9/ /39/
!
!
voice translation-profile OUT_PORT1
translate called 1
!
voice translation-profile OUT_PORT2
translate called 2
!
voice translation-profile OUT_PORT3
translate called 3
\\ Create dial peers pointing out individual ports
dial-peer voice 1 pots
destination-pattern 19T
port 0/0/0
!
dial-peer voice 2 pots
destination-pattern 29T
port 0/0/1
!
dial-peer voice 3 pots
destination-pattern 39T
port 0/0/2
\\ apply the translation profiles to the individual ephone-dn's for the port you want to go out of
ephone-dn 1 dual-line
number 5001
call-forward busy 1000
call-forward noan 1000 timeout 10
translation-profile incoming OUT_PORT1
ephone-dn 2 dual-line
number 5002
call-forward busy 1000
call-forward noan 1000 timeout 10
translation-profile incoming OUT_PORT2
ephone-dn 3 dual-line
number 5003
call-forward busy 1000
call-forward noan 1000 timeout 10
translation-profile incoming OUT_PORT3
For example :
Extension 5001 dials a 9 for an outside line, translation-profile incoming OUT_PORT1 is applied and changes the number to 19, which matches dial-peer voice 1 pots, and the call goes out port 0/0/0.
HTH
08-09-2007 06:45 AM
Thanks! That's exactly what I needed. I had done that earlier, but I didn't do the translations correctly, so not only calls that started with '9' went to the dial-peers, causing internal extensions to not be able to call each other. This is a much better solution.
08-09-2007 01:43 AM
Hi,
Not sure if it is in 4.0, If you can upgrade to 4.1 that is 12.4(11)XJ4, the you have a command 'trunk' to do this, under ephone-DN that simpliefies much the configuration for outgoing calls..
Hope this helps, please rate post if it does!
08-09-2007 06:46 AM
I will look and see if that exists in 4.0.
Thanks!
08-09-2007 06:52 AM
It seems the trunk command is available in v4, it does simplify the configuration as paolo stated.
All good in the end :)
HTH
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