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 Chris Miller 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
54
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: 8
@AShammah - If you are wanting to page phones on the FreePBX from your BCM you'll want to setup a trunk as I have above and then dial the prefix to access FreePBX from your BCM (in my case 7) then dial the page group extension on your FreePBX. So on the FreePBX all of the phones/doorphones would need to be in a page group (let's say the page group ext is 600). Then you will be able to dial 7600 and page all of your phones/door phones that are on the FreePBX.

@Firebird Scrambler - I Don't think I can do a flash over SIP unfortunately. I have been thinking about getting an FXO port for my FreePBX and hooking up on the the analog stations from the BCM to that so I can use that one port to do paging to the BCM with via the hookflash method you mentioned.
 
I originally was going to have 2 trunks on the FreePBX Side one for internal BCM calls and one for External BCM calls so that I could take advantage of the Public Trunks vs Private Trunks on the BCM side, but I never could get the Private Trunk setup in the BCM to work. From my understand, the only real difference would be that when a phone from FreePBX called and extension on the BCM the BCM phones would use an internal call ringtone instead of an external call ringtone. That wasn't all that important to me, so I gave up on that after a while and just routed everything through the one Public Trunk in the BCM.
 
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
 
Off topic: Is there a device FXO FXS I can connect to the Hikvision doorphone and have it ring a line?
I have a client with a Panasonic Hybrid system that I was thinking I can come in on one of the CO lines for the doorphone.
 
@AShammah the BCM uses Ext 221 - 226 and 301-305 (221 226 are Digital phones, 301-305 are IP Phones). Each phone has its own Target Line. I chose to match the taget line number to the ext number, but I could have used the lowest target line available for ext 221, etc. Set the line type for one of the target lines to DN, set the Pib. Received # to the number you want to dial from FreePBX (minus any prefixes that you may dial in FreePBX) and then enter the DN number of the phone you want to ring on the assigned DN tab.
1731810991350.png

1731811400236.png


As for the Hikvision to Panasonic, you could get an FXS gateway and hook that to the analog trunk pot of the Panasonic System. Set the Hikvision to call the FXS gateway which would ring the FXS port and therefor ring the trunk port on the Panasonic. I've never done a sip to sip setup like that though without a SIP server like FreePBX in the middle, but I understand it is possible.
 

Part and Inventory Search

Sponsor

Back
Top