cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
538
Views
0
Helpful
5
Replies

Inbound/outbound calling with FXO lines

olighec
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

mark_gardner
Level 1
Level 1

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

View solution in original post

5 Replies 5

mark_gardner
Level 1
Level 1

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

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
Hall of Fame
Hall of Fame

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!

I will look and see if that exists in 4.0.

Thanks!

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124newft/124limit/124x/124xc4/cme401tk.htm#wp1049435

It seems the trunk command is available in v4, it does simplify the configuration as paolo stated.

All good in the end :)

HTH

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: