Need answer please - not sure if PRI or SIP [title edit by mod]

Hello, sorry for the dumb question. How can I determine whether my FreePBX system is using a PRI or SIP trunk?

Look at the cables going into it. If they are only Ethernet, it isn’t using PRI.

Look at the logs. If there is no mention of DAHDI, it is probably not using PRI.

Look at the configuration. If it doesn’t reference DAHDI, it is not using PRIĀ·

3 Likes

Possibly, you have a PRI line connected through a SIP gateway. If you can log into the admin GUI, look at Connectivity → Trunks. If you see a pjsip or chan_sip trunk with the server address on your own LAN, find that device and see what is connected to it.

Or look at the bill from your telephone company.

2 Likes

thank you david55 and stewart1!!

In the Reports > Asterisk Info > Summary section, I see SIP registry and SIP peers. Does this indicate the system uses SIP trunks instead of PRI? Please help

your picture does not replace 1000 words, give us a pri debug

Where do I find it?

at the asterisk cli interface, it has tab completion, so start with

pri <tab>

. . .

Sorry, I don’t get it. This is what I got

no , you need to get a ā€˜shell’ into your FreePBX linux host first with either a ssh connection or a direct terminal on the physical host

Oh, okay. Is there any other way to determine whether our phone system is using PRI or SIP?

I don’t know of one.

you can debug at the channel level, but as FreePBX is a B2BUA, in your case, debugging channels, SIP and PRI will mostly get you there, (tab completion for all)

Not sure if this will help but I just found out that we’re using Vega 100G GW

Can’t help there, never used one, but you will probably only see SIP traffic from it , remember that FreePBX/Asterisk is still a B2BUA

1 Like

Hi @Stewart1 it’s connected to Vega 100G GW

If the Vega isn’t causing trouble, just treat it as a SIP trunk.

It it is causing problems, or you suspect it is, ask Sangoma for help, or post a detailed description of what you believe is going wrong.

1 Like

You are most likely using a SIP ā€œtrunkā€ from FreePBX, to the gateway, and an ISDN trunk, on the far side of the gateway, in which case FreePBX sees it as a SIP trunk. I guess it could be the other way round, but that would be rather unusual.

1 Like

Thank you!

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.