Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BCM50/FreePBX integration Sip or H.323

AShammah

Vendor
Sep 7, 2023
29
US
Hey all,

I'm trying to connect a BCM50 to a FreePBX instance via sip or H.323. So I can get SIP phone functionality on the BCM50 for Sip Video doorbells.
I'm looking to get the doorphones on the freepbx to ring the current doorphone hunt group 474 on the BCM.

When I try to connect sip BCM says "forbidden from 192.168.1.245:5060" which is the FreePBX.

H.323 is setup but doesnt seem to work.

Hitting the doorphone button set to call 474 I get a Freepbx message "all circuits are busy now, try your call again later"
Dial pattern is set to X. on sip and H323/192.168.3.2/${EXTEN} on H.323 on the Freepbx.
 
Last edited:
Connected PJSip. But having routing issues trying to reach 474 on the BCM. It will only call ext 300 using Line 001
 
yup that was the issue. I set target line 128 to ring on hunt group 474. Solved!
Pressing The Hikvision Door phone Dials 8415 which is received by target line 128 and delivered to hunt group 474.
Looks like I'll have to make a trunk for each of the 5 Doorphones so the CID info passes through correct eg. Front door, Back door ect or else all of them will just come up as Door Phone. But the Nortel will get to live another day
No need for a new IP system now just to run the video doorbells.


***No need for multiple trunks. I sent CID info from the extensions rather than the trunk itself.
 
Last edited:
Now to figure out how to dial in to page group 301 on the freepbx from the BCM to page to the Doorphone speakers
 
That's great news on the FreePBX link with your BCM system.

I've also got a Raspberry pi 3 with FreePBX installed and years ago, did have it linked up onto my own BCM 50 system.

For one reason or another, I can't get it to link up again. Is there any chance please to send me some screenshots of your BCM and FreePBX configuration, either on this thread or privately via the forum or my link as I would like to try and get it working again.
 
Yup! been at it for a while finally got it.

Sure I'll post screenshots of my settings.
It's pretty simple.

"Setup extensions on Freepbx.

Create a trunk on both ends with the same User and Pass point the BCM to the FreePBX and vice versa.
Create an outbound route on Freepbx and link it to the trunk.
Create target lines on the BCM with the CID #'s coming from the FreePBX extension.

BCM shows its not connected and Freepbx is giving 405 errors but it works as it should."

It doesn't matter what I dial on the Freepbx extension its going to route that call by incoming CID on the BCM, in my case to hunt group 474.

I have this setup on my desktop right now. I made a lot of deep settings changes that weren't necessary.
So I'm going to start over on a Pi3 and mount it next to the rack.
How much ram does your Pi3 have? they seem pretty low. Does it run without lagging?

1731766780706.png1731766805539.png1731766886621.png1731766947171.png
 
On the Context field for the trunk in FreePBX change it from "from-trunk" to "from-internal" and you won't need to use inbound routes or setup the BCM extensions in FreePBX. At home I have a BCM50 and a Mitel SX-200 ICP tied together with a FreePBX server that I play around with. I'll take some screenshots from FreePBX and the BCM when I have a moment. You can call back and forth between systems just fine. You can page the FreePBX or Mitel from the BCM. The only thing I haven't figured out how to do is page the BCM from the other systems. From what I've read it can't be done since the BCM uses a feature button not just feature codes.
 
Try the flash "recall" then * and the feature code such as 610.

The problem will probably be trying to enter in the flash recall that was, I recall the old fashioned digit 1 pulse or a single jab on the phones switch hooks.

Also, many thanks for the SIP signaling configuration. I'll give it a go.
 
I forgot to add that the flash * feature code sequence was what the Norstar/BCM analogue phones used to use to access those codes.
 
On the Context field for the trunk in FreePBX change it from "from-trunk" to "from-internal" and you won't need to use inbound routes or setup the BCM extensions in FreePBX. At home I have a BCM50 and a Mitel SX-200 ICP tied together with a FreePBX server that I play around with. I'll take some screenshots from FreePBX and the BCM when I have a moment. You can call back and forth between systems just fine. You can page the FreePBX or Mitel from the BCM. The only thing I haven't figured out how to do is page the BCM from the other systems. From what I've read it can't be done since the BCM uses a feature button not just feature codes.
Ahhhh yes that will be helpful. Thats what I originally wanted to do. Just dial 474 from free PBX and have it call the hunt group instead of setting up routes ect.
Right now I just have the doorphones on freePBX so I just need to page to the Freepbx from BCM as the doorphones are hotlined to just calling the hunt group.

How do I make a call from the BCM phones to the FreePBX extensions?

I saw someone on youtube using a 3cx VM and was able to connect a Cisco 8800 series phone I have a bunch of those so maybe i'd switch over to 3cx if I can get in to it.
Right now when I install 3cx I go to the 3cx IP it takes me to my Unfi router login page so ive yet to test it.

This is also on my home lab system, I don't want to get rid of the nortel as its been here 20+ years I swapped the CICIS a few years ago for the BCM to get VOIP lines going.
I wanted to test the "green box" I was suppose to get a demo never heard back from them.
 
Last edited:
Here are my settings. The IP of the BCM is 192.168.100.4 and the FreePBX is 192.168.100.3. I use custom signalling ports for SIP but the default would be 5060. I have blurred those and written over them with 5060 in my screenshots. Phone phones on the FreePBX dial 2+Nortel BCM ext #. Phones on the BCM dial 9+outside line (which routes through FreePBX) or 7+FreePBX ext # to call a FreePBX phone.

FreePBX Trunk for the BCM:
General Tab
1731793767691.png
Dialed Number Manipulation Tab:
1731793808725.png
PJSIP Settings General Tab:
1731793828925.png
PJSIP Settings Advanced Tab:
1731793846773.png
PJSIP Settings Codec Tab:
1731793868733.png
Outbound Route from FreePBX to the BCM:
1731793925421.png
Outbound Route Dial Patterns:
1731793946262.png
BCM IP Trunk Settings:
1731793965263.png
BCM Sip Trunking Settings:
1731793982432.png
1731793994063.png
(More screenshots in the next post)
 
Last edited:
More SIP Trunk Settings on the BCM:
1731794049720.png
1731794074589.png

1731794084185.png
1731794095838.png
1731794104836.png
BCM VOIP Line Settings:
1731794131389.png
BCM Target Line Settings:
1731794154083.png
BCM Public Network Dial Plan Settings:
1731794175606.png
(More screenshots in the next post)
 

Attachments

  • 1731794193212.png
    1731794193212.png
    37.6 KB · Views: 1
You got it @Firebird! I've been wanting to get around to this for a while.

@daniel0581 what are the BCM and FreePBX extension numbers?
also in target lines those are the FreePBX extensions coming inbound?
How do they get treated like a regular extension through target lines? eg BCM dial tone, *codes ect. Target line will send ext 221 to BCM dial tone using code 7?


Thank you guys for your input
 

Part and Inventory Search

Sponsor

Back
Top