Inbound/outbound calling with FXO lines

Answered Question
Aug 8th, 2007
User Badges:

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

Correct Answer by mark_gardner about 9 years 11 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
mark_gardner Thu, 08/09/2007 - 01:22
User Badges:

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

olighec Thu, 08/09/2007 - 06:45
User Badges:

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.

paolo bevilacqua Thu, 08/09/2007 - 01:43
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

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!

olighec Thu, 08/09/2007 - 06:46
User Badges:

I will look and see if that exists in 4.0.


Thanks!

Actions

This Discussion