Setup inbound call routing with FreePBX 13
-
@EddieJennings Outbound routes would be more applicable to your question. The dial rules match number patterns to determine whether your call is a local extension or external route.
One thing I like about FreePBX/Asterisk/Freeswitch over 3CX is the fact that you don't have to worry about extension numbering. You can create any extension number you want (301, 302, 1045, 2343423).
-
@bigbear said in Setup inbound call routing with FreePBX 13:
@EddieJennings Outbound routes would be more applicable to your question. The dial rules match number patterns to determine whether your call is a local extension or external route.
One thing I like about FreePBX/Asterisk/Freeswitch over 3CX is the fact that you don't have to worry about extension numbering. You can create any extension number you want (301, 302, 1045, 2343423).
My questions now are really for my own curiosity and wanting to know more about how the traffic is handled. As an experiment, I deleted all inbound and outbound routes and was still able to call extension-to-extension, which tells me that there's logic baked into the PBX so it just knows how to handle that. From what you said it looks like there are other PBX systems where that intelligence isn't built in, I would have to write specific routes for how to handle those calls.
-
Maybe start a new thread for the curiosities.. I'll chime in there.
-
@Dashrender said in Setup inbound call routing with FreePBX 13:
Maybe start a new thread for the curiosities.. I'll chime in there.
Good idea. Perhaps @Minion-Queen or @scottalanmiller can fork the last bit of this tread into a new one.
-
I can't. I'm at a park.
-
@EddieJennings said in Setup inbound call routing with FreePBX 13:
From what you said it looks like there are other PBX systems where that intelligence isn't built in, I would have to write specific routes for how to handle those calls.
Hmmm, I may not have explained that well. On an asterisk level you have dial plans. This can even be alphanumeric. You can create an extension or even a name like EDDIE and tell the call where to go.
In FreePBX (which is a system controlling Asterisk) you have an Extensions application and Outbound Routes which are manipulating your dial plans in asterisk.
What other routes are you looking to configure?
-
@EddieJennings said in Setup inbound call routing with FreePBX 13:
other PBX systems where that intelligence isn't built in
Generally these other systems with intelligence dont exist. Take Allworx for example, its just Asterisk forked and customized, then made proprietary.
Everything is generally Asterisk or Freeswitch, or some bastardization of these.
-
I don't know anything about other systems than FreePBX and Mitel. Both systems route calls automatically between any registered extensions on the system.
Think about this like a network switch, the switch understand IP enough that an IP registered on port 1 will receive traffic sent to that IP from any other port on the switch.
-
@Dashrender said in Setup inbound call routing with FreePBX 13:
I don't know anything about other systems than FreePBX and Mitel. Both systems route calls automatically between any registered extensions on the system.
Think about this like a network switch, the switch understand IP enough that an IP registered on port 1 will receive traffic sent to that IP from any other port on the switch.
Its essentially all in extensions.conf (although FreePBX now uses a database and ignores this file)
-
@bigbear said in Setup inbound call routing with FreePBX 13:
@Dashrender said in Setup inbound call routing with FreePBX 13:
I don't know anything about other systems than FreePBX and Mitel. Both systems route calls automatically between any registered extensions on the system.
Think about this like a network switch, the switch understand IP enough that an IP registered on port 1 will receive traffic sent to that IP from any other port on the switch.
Its essentially all in extensions.conf (although FreePBX now uses a database and ignores this file)
No it doesn't.
FreePBX uses a database for the GUI and when you click the red apply button, it re-writes the conf files.
-
@JaredBusch So the conf files are still getting written to, but editing the conf files does no good as the database overwrites them?
-
@bigbear said in Setup inbound call routing with FreePBX 13:
@JaredBusch So the conf files are still getting written to, but editing the conf files does no good as the database overwrites them?
The very next time you click the red apply button, yes. It has always worked this way. They even provide access to the conf files in the GUI, and you can see warning comments in them that they will be overwritten.
-
@bigbear right, and anything that you want to customize, has to be placed in the xxx_custom files.
-
@JaredBusch I still think of this as a "new thing" whereas pre bandwidth.com owning schmooze there was no mysql.
Somewhere maybe around 2008, before or after.
-
@bigbear said in Setup inbound call routing with FreePBX 13:
@JaredBusch So the conf files are still getting written to, but editing the conf files does no good as the database overwrites them?
Not related, but Unifi stuff on the controller works the same way. Editing the files directly on the devices is over written the next time the controller talks to it.
-
@bigbear said in Setup inbound call routing with FreePBX 13:
@JaredBusch I still think of this as a "new thing" whereas pre bandwidth.com owning schmooze there was no mysql.
Somewhere maybe around 2008, before or after.
The FreePBX GUI has always been designed around a database to store the settings and then writing to the conf files all at once. It was never designed to read raw conf files and write back to them immediately.
-
Well...
-
@JaredBusch over on FreePBX forums you references a cfg file to edit, I am about to load up FPBX 14 and was curious where that file is. TFTBOOT directory somewhere?
The only way to get the Yealink T5 android apps installed is apparently to add the pkg path to a provisioning file. This weekend I am determined to figure out how to hard provision with FreePBX.
-
@bigbear said in Setup inbound call routing with FreePBX 13:
@JaredBusch over on FreePBX forums you references a cfg file to edit, I am about to load up FPBX 14 and was curious where that file is. TFTBOOT directory somewhere?
The only way to get the Yealink T5 android apps installed is apparently to add the pkg path to a provisioning file. This weekend I am determined to figure out how to hard provision with FreePBX.
Are you using the FreePBX Endpoint Manager to config your phones? If so, the basefile edit is an option there. If not, then you have to make it by hand and put it in the
/tftpboot
directory yourself.For the record I almost always do the config files by hand because once you learn it, it only takes minutes to replicate for bunches of extensions.
-
@JaredBusch said in Setup inbound call routing with FreePBX 13:
@bigbear said in Setup inbound call routing with FreePBX 13:
@JaredBusch over on FreePBX forums you references a cfg file to edit, I am about to load up FPBX 14 and was curious where that file is. TFTBOOT directory somewhere?
The only way to get the Yealink T5 android apps installed is apparently to add the pkg path to a provisioning file. This weekend I am determined to figure out how to hard provision with FreePBX.
Are you using the FreePBX Endpoint Manager to config your phones? If so, the basefile edit is an option there. If not, then you have to make it by hand and put it in the
/tftpboot
directory yourself.For the record I almost always do the config files by hand because once you learn it, it only takes minutes to replicate for bunches of extensions.
If there was anything at all that I wish had better documentation or example files for it would be this. And I would agree that hard setting everything would seem to be easier once you have it figure out.
I tried to build a file using the Yealink tool but it didnt work out. Again this weekend would be my first true effort.
Is it such that you create a file for each mac address, and there are files that would mass-apply to a model. For example could I put the line mentioned in FreePBX forums to fix "ghost return calls" in that file alone and see that setting applied to all yealink phones?
I imagine if I use EPM it will create said files and from there I could draw my conclusions and get the needed example files.