cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
528
Views
0
Helpful
4
Replies

2851 fxo port to IPPBX

Joli Martinez
Level 1
Level 1

Hello,

 

I have a 4port WIC FXO card.  I am installing an IP PBX for a customer, but the customer has 4 Analog lines.  I need to be able to configure this card for US based dialing inbound and outbound.  All calls inbound will come in one of the ports and then go to the IPPBX.  For Outbound the IPPBX will send the calls out and it should try the main number first 0/0/0 if not then any avail port.

 

so far I got this, but not sure where to go from here.

 

 

dial-peer voice 1111 pots

tone ringback alert-no-PI

destination-pattern 1[2-9]..[2-9]......

no digit-strip

 

 

4 Replies 4

Leonardo Santana
Spotlight
Spotlight

Hi,

 

Do you have the flow like this:

Inbound calls

PSTN PHONE -> Analog Line -> Router -> PBX -> PBX PHONE 

Outbound calls

PBX Phone -> PBX -> Router PSTN

 

Take a look on this link to understand the dial-peer matching:

 

https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/14074-in-dial-peer-match.html

 

Regards

Regards
Leonardo Santana

*** Rate All Helpful Responses***

This is what I gather.  For an inbound call

PSTN PHONE -> Analog Line -> Router -> PBX -> PBX PHONE

Where my IPPBX = 192.168.1.10

 

I am looking to send all inbound traffic to the IPPBX.  Is this correct?

!--- FXS port

voice-port 1/0/0
!
dial-peer voice 1 pots
 destination-pattern .T
 port 1/0/0
!
dial-peer voice 2 voip
 destination-pattern .T
 session target ipv4:192.168.1.10
 DTMF-relay cisco-rtp

 

 

Hi,

About your destination-pattern i think is better to configure the route with the best potential match. For example if your range extension is 9000 t0 9599 create a destination 9[0-5]..

dial-peer voice 2 voip
 destination-pattern .T
 session target ipv4:192.168.1.10
 DTMF-relay cisco-rtp

I think this is way the enviroment is more organized. But to what you consider best to your client.

Regards

Leonardo Santana

Regards
Leonardo Santana

*** Rate All Helpful Responses***

I just need to configure the incoming calls at the moment.  I will create a SIP trunk to the provider for outbound calls.  I have an Rj11 plugged into port 0/0/0 and when I dial the number the call rings once then I get a dial tone.  I would like all calls inbound from the PSTN to go to my IPPBX.  What am I missing?

 

dial-peer voice 100 pots
 destination-pattern .T
 incoming called-number .T
 port 0/0/0
!
dial-peer voice 101 voip
 destination-pattern .T
 session target ipv4:192.168.1.10