Hello,
I’m a little stumped on this one. I just migrated a freepbx 12 server to 15 and everything seemed to of gone very smoothly, however the only thing that is not working is the intercom feature. I noticed there is no feature code for the intercom in the feature code manager, and even though intercom is enabled for the extensions, I am getting an error when trying to intercom them:
> 0x7f64e80ae840 -- Strict RTP learning after remote address set to: 192.168.1.132:3000
[2020-09-03 10:15:50] NOTICE[2780][C-00000087]: chan_sip.c:26817 handle_request_invite:
Call from '200' (xx.xxx.xxx.xx:5060) to extension '*801000' rejected because extension not found in context 'from-internal'.
I can see that intercom is enabled for this extension 1000:
[root@freepbx asterisk]# rasterisk -rx 'database show' | grep intercom | grep 1000
/AMPUSER/1000/intercom : enabled
/AMPUSER/1000/intercom/override : reject
I compared with another system and it appears that in extensions_additional.conf the intercom code is actually disabled:
[root@freepbx asterisk]# grep 'INTERCOMCODE =' extensions_additional.conf
INTERCOMCODE = nointercom
On a system where it is working properly it is set to *80:
[root@pbx asterisk]# grep 'INTERCOMCODE =' extensions_additional.conf
INTERCOMCODE = *80
The paging module is installed (I uninstalled pagepro though to see if maybe there was a conflict)
[root@freepbx asterisk]# fwconsole ma list | grep paging
| paging | 15.0.4.23 | Enabled | GPLv3+ |
| pagingpro | | Not Installed (Locally available) | Commercial |
Also it appears I am missing paging in the featurecodes table
On a working system:
MariaDB [asterisk]> select * from featurecodes where modulename='paging';
+------------+-----------------+------------------------+----------+-------------+------------+---------+-------------+
| modulename | featurename | description | helptext | defaultcode | customcode | enabled | providedest |
+------------+-----------------+------------------------+----------+-------------+------------+---------+-------------+
| paging | intercom-off | User Intercom Disallow | | *55 | | 1 | 0 |
| paging | intercom-on | User Intercom Allow | | *54 | | 1 | 0 |
| paging | intercom-prefix | Intercom prefix | | *80 | | 1 | 0 |
+------------+-----------------+------------------------+----------+-------------+------------+---------+-------------+
3 rows in set (0.01 sec)
On the broken system:
MariaDB [asterisk]> select * from featurecodes where modulename='paging';
Empty set (0.00 sec)
Now I see where the issue here is but just am not sure where to fix it, anyone know? Im contemplating just adding the values into the featurecodes table and seeing what happens but not sure if that will resolve my issue.