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

FXO-FXS CONFIGURATION QUESTION

asdadm1n1
Level 1
Level 1

Good Morning Gentlemen

I was given a task to configure two CISCO 2911 routers in order to pass through them 3 fixed hotlines from our national telecommunication provider (Hellenic Telecommunication Company) and one PSTN line. I have done all the proper configurations on the voice cards (plar opx on FXO side- plar on FXS side) and i tested their functionality  by connecting a PSTN line on each FXO port and a phone device on each FXS port correspondingly .

Then  I tried to connect the hotline on the FXO port . I picked up the handset  and a colleague of mine answered the other side of the line. But every time he tried  to call me back he took back  busy tone from my side….After a thousand tries and a couple of night reading we raised our hands up.

Do you know how to make it work?

 PS ..I forgot to mention that the Hotline comes from a PCM-30 card.

 

Sincerely yours

Antonopoulos Panagiotis

panagiotisantonopoulos@hotmail.com

1 Accepted Solution

Accepted Solutions

Sam Smiley
Level 3
Level 3

It is difficult to say for sure without seeing the config, however here is my two cents worth. You did not say whether or not you are using SCCP with your FXS ports. I am going to assume that you are not.

When the FXS port makes the call it may or may not find a dial peer to go out. If it does not find a dial peer to route the call it will ring busy. To resolve this you will need to create a dial peer that will route the call to the FXO port. This is done through translation rules.  The below linked document details how to add the translation rule to force the analog port out of the correct FXO port:

http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/41887-specific-fxs-call.html

The only configuration needed on the FXS port is a station-id number (extension) and caller-id if you wish to use this feature. Below are samples from a config where I have this configured:

voice-port 0/2/1 <------- FXS port with analog device
 station-id number 1952
 caller-id enable

dial-peer voice 21 pots <---------Inbound dial peer for FXS
 translation-profile incoming anl1952
 answer-address 1952
 forward-digits all

voice translation-profile anl1952 <--------Translation profile specified in dial peer 21
 translate called 52

voice translation-rule 52 <--------Translation rule referenced in profile
 rule 1 // /32/

dial-peer voice 32 pots <-------Dial peer redirecting FXS port to FXO port
destination-pattern 32T
 port 0/0/1

The above configuration will send all digits from the FXS port out the FXO port. You can further control dialed numbers by creating multiple dial peers with the 32 predix.

Hope this helps.

Regards,
Sam

View solution in original post

5 Replies 5

Sam Smiley
Level 3
Level 3

It is difficult to say for sure without seeing the config, however here is my two cents worth. You did not say whether or not you are using SCCP with your FXS ports. I am going to assume that you are not.

When the FXS port makes the call it may or may not find a dial peer to go out. If it does not find a dial peer to route the call it will ring busy. To resolve this you will need to create a dial peer that will route the call to the FXO port. This is done through translation rules.  The below linked document details how to add the translation rule to force the analog port out of the correct FXO port:

http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/41887-specific-fxs-call.html

The only configuration needed on the FXS port is a station-id number (extension) and caller-id if you wish to use this feature. Below are samples from a config where I have this configured:

voice-port 0/2/1 <------- FXS port with analog device
 station-id number 1952
 caller-id enable

dial-peer voice 21 pots <---------Inbound dial peer for FXS
 translation-profile incoming anl1952
 answer-address 1952
 forward-digits all

voice translation-profile anl1952 <--------Translation profile specified in dial peer 21
 translate called 52

voice translation-rule 52 <--------Translation rule referenced in profile
 rule 1 // /32/

dial-peer voice 32 pots <-------Dial peer redirecting FXS port to FXO port
destination-pattern 32T
 port 0/0/1

The above configuration will send all digits from the FXS port out the FXO port. You can further control dialed numbers by creating multiple dial peers with the 32 predix.

Hope this helps.

Regards,
Sam

thank you very much Sam for your advices i will try the settings and i will inform you about the resolts.

below is the configuration from the FXS side router:

voice-port 0/0/0
connection plar 1
!
voice-port 0/0/1
connection plar 4
!
voice-port 0/1/0
connection plar 8
!
voice-port 0/1/1
connection plar 6
!
!
!
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
dial-peer voice 1 voip
destination-pattern 1
session target ipv4:10.10.10.1
!
dial-peer voice 2 pots
destination-pattern 2
port 0/0/0
!
dial-peer voice 4 voip
destination-pattern 4
session target ipv4:10.10.10.1
!
dial-peer voice 3 pots
destination-pattern 3
port 0/0/1
!
dial-peer voice 6 voip
destination-pattern 6
session target ipv4:10.10.10.1
!

dial-peer voice 5 pots
destination-pattern 5
port 0/1/1

!
dial-peer voice 8 voip
destination-pattern 8
session target ipv4:10.10.10.1
!
dial-peer voice 7 pots
destination-pattern 7
port 0/1/0
!

and this is the config from the FXO side router:

voice-port 0/0/0
cptone GR
connection plar opx 2
!
voice-port 0/0/1
connection plar opx 3
!
voice-port 0/0/2
connection plar opx 7
!
voice-port 0/0/3
connection plar opx 5
!
voice-port 0/1/0  <------empty
!
voice-port 0/1/1 <-------empty
!
!
!
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
dial-peer voice 2 voip
destination-pattern 2
session target ipv4:10.10.10.2
!
dial-peer voice 1 pots
destination-pattern 1
port 0/0/0
!
dial-peer voice 3 voip
destination-pattern 3
session target ipv4:10.10.10.2
!
dial-peer voice 4 pots
destination-pattern 4
port 0/0/1
!
dial-peer voice 5 voip
destination-pattern 5
session target ipv4:10.10.10.2
!
dial-peer voice 6 pots
destination-pattern 6
port 0/0/3
!
dial-peer voice 7 voip
destination-pattern 7
session target ipv4:10.10.10.2
!
dial-peer voice 8 pots
destination-pattern 8
port 0/0/2

i am looking forward for your comments

Thank you in advance 

haptt0001
Level 1
Level 1

Hi all,

 

I have same question with ISR4451. I want to configure hot line between 02 fxs. do anyone have solution?

 

Thanks,

Toan Dang

 

PS: if you can, plz contact me via toandh @ osbholding.com or viber/whatsapp +84 915 262676

haptt0001
Level 1
Level 1

Hi all,

 

I have similar question with my ISR4451.

I have FXS NIM card.

Can anyone help me to configure hot line between 02 fxs ports.

I have UC license.

Thanks

Toan Dang

Can contact me via Vi ber/ What sapp 0084 915 2626 76 or toandh (at) osbholding . com

 

start a new thread with your specific question

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: