03-05-2020 05:14 PM
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
03-06-2020 10:23 AM
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:
Regards
03-06-2020 11:18 AM
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
03-06-2020 11:36 AM
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
03-06-2020 03:09 PM
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
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