Route Apartment Buzzer to VOIP

Hello,

I am a total noob to FreePBX and phone networking in general. I hope someone here can help me out.

Overview:
My apartment is in an older building with an internal buzzer system. If you dial my buzzer number at the front, the system will forward a signal to the FXS port in my apartment, which you can plug an analogue phone into to answer (and press 6 to unlock the front gate).

What I want to do is forward this buzzer call to my cell phone through VOIP.

My Hardware:
I have a Raspberry Pi 3 B+ with an FXO port attachment (OAKR2) I bought from SwitchPi.
A phone cable attaches from the wall FXS port one of my OAKR2 FXO ports. The raspberry pi is connected to the internet via WiFi (the FXS port is too far away from the router to use ethernet).

My Software Setup:
On the Raspberry Pi I have installed RasPBX as the OS with DADHi drivers for the oakr2 module. I’m running FreePBX with Asterisk version 13.20.0. The FreePBX framework is version:

amportal a ma list | grep framework
| framework        | 14.0.13.24 | Enabled | GPLv2+  |

I’ve set the raspberry pi to have static IP within my local network.

VOIP Setup
I’ve created and funded an account at voip.ms, created a subaccount (_Buzzerphone) with device type configured to: “Asterisk, IP PBX, Gateway or VoIP Switch”. I purchased a DID which I have routed to a ring group on voip.ms that includes my and my girlfriend’s cell phones. The DID point of presence I selected is .voip.ms.

FreePBX Setup
So this is where I need your help. I really have no idea what I’m doing here and would really appreciate some guidance.

  • If I go to Connectivity>DADHi Config>Analogue Hardware then I can see that FreePBX is properly detecting my 2 FXO Ports. The FXO ports settings are left as default with settings as follows.
Signalling: Kewl Start
Group: 0
Context: from-analogue

Under Connectivity>Trunks I have added a SIP Trunk with information for my subaccount. I can see that it has properly registered with my voip.ms subaccount from my account management page. The trunk configuration is as follows:

(I can only do one photo per post, continues next post).

The Trunk configuration is based on the voip.ms guide on their wiki page (https://wiki.voip.ms/article/FreePBX_/_PBX_in_a_Flash).

I have also created an inbound route as follows:
(see next posts)


Privacy Manager is off and Call recording is set to “don’t care”.

Because I’m not really sure if this counts as an inbound route or an outbound route, I also set up an outbound route as follows:
(continued next post)

Pretty well everyone who comes here will run into

https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-AsteriskLogs

after an hour or two :slight_smile:

(briefly, no logs, nobody knows)

I’ve tried testing this setup with my buzzer but nothing happens when I buzz my apartment. The buzzer tries to call but just rings over and over while no call is forwarded to my cell phone. Can someone please help me figure out where I’ve gone wrong? Is there something wrong with my FreePBX setup or is it on the VOIP side?

Thanks!

Here is the Asterisk log since last night:

here = 0, tmp->channel = 4, channel = 4
[2020-02-01 00:56:01] ERROR[991] chan_dahdi.c: Unable to register channel '4'
[2020-02-01 00:56:01] WARNING[991] chan_dahdi.c: Channel '4' failure ignored: ignore_failed_channels.
[2020-02-01 00:56:01] WARNING[991] chan_dahdi.c: Unable to specify channel 1: No such device or address
[2020-02-01 00:56:01] ERROR[991] chan_dahdi.c: Unable to open channel 1: No such device or address
here = 0, tmp->channel = 1, channel = 1
[2020-02-01 00:56:01] ERROR[991] chan_dahdi.c: Unable to register channel '1'
[2020-02-01 00:56:01] WARNING[991] chan_dahdi.c: Channel '1' failure ignored: ignore_failed_channels.
[2020-02-01 00:56:01] ERROR[991] chan_dahdi.c: Signalling requested on channel 2 is FXO Kewlstart but line is in FXS Kewlstart signalling
[2020-02-01 00:56:01] ERROR[991] chan_dahdi.c: Unable to register channel '2'
[2020-02-01 00:56:01] WARNING[991] chan_dahdi.c: Channel '2' failure ignored: ignore_failed_channels.
[2020-02-01 00:56:01] WARNING[991] chan_dahdi.c: Unable to specify channel 1: No such device or address
[2020-02-01 00:56:01] ERROR[991] chan_dahdi.c: Unable to open channel 1: No such device or address
here = 0, tmp->channel = 1, channel = 1
[2020-02-01 00:56:01] ERROR[991] chan_dahdi.c: Unable to register channel '1'
[2020-02-01 00:56:01] WARNING[991] chan_dahdi.c: Channel '1' failure ignored: ignore_failed_channels.
[2020-02-01 00:56:01] ERROR[991] chan_dahdi.c: Signalling requested on channel 2 is FXO Kewlstart but line is in FXS Kewlstart signalling
[2020-02-01 00:56:01] ERROR[991] chan_dahdi.c: Unable to register channel '2'
[2020-02-01 00:56:01] WARNING[991] chan_dahdi.c: Channel '2' failure ignored: ignore_failed_channels.
[2020-02-01 00:56:01] VERBOSE[991] chan_sip.c: SIP channel loading...
[2020-02-01 00:56:01] NOTICE[991] chan_sip.c: The 'username' field for sip peers has been deprecated in favor of the term 'defaultuser'
[2020-02-01 00:56:01] NOTICE[991] iax2/provision.c: No IAX provisioning configuration found, IAX provisioning disabled.
[2020-02-01 00:56:01] NOTICE[991] chan_skinny.c: Configuring skinny from skinny.conf
[2020-02-01 00:56:01] NOTICE[991] chan_skinny.c: Unable to load config skinny.conf, Skinny disabled.
[2020-02-01 00:56:01] NOTICE[1178] chan_sip.c: Peer 'voipmsTrunk' is now Reachable. (23ms / 2000ms)
[2020-02-01 00:56:01] ERROR[991] res_pjsip_config_wizard.c: Unable to load config file 'pjsip_wizard.conf'
[2020-02-01 00:56:01] NOTICE[991] confbridge/conf_config_parser.c: Adding default_menu menu to app_confbridge
[2020-02-01 00:56:02] ERROR[991] config_options.c: Unable to load config file 'agents.conf'
[2020-02-01 00:56:02] ERROR[991] app_agent_pool.c: Unable to load config. Not loading module.
[2020-02-01 00:56:02] WARNING[991] cel_sqlite3_custom.c: Failed to load configuration file. Module not activated.
[2020-02-01 00:56:02] ERROR[991] cdr_syslog.c: Unable to load cdr_syslog.conf. Not logging custom CSV CDRs to syslog.
[2020-02-01 00:56:02] WARNING[991] cdr_manager.c: Failed to load configuration file. Module not activated.
[2020-02-01 00:56:02] WARNING[991] cdr_sqlite3_custom.c: Failed to load configuration file. Module not activated.
[2020-02-01 00:56:02] ERROR[991] chan_unistim.c: Unable to load config unistim.conf
[2020-02-01 00:56:02] ERROR[991] codec_dahdi.c: Failed to open /dev/dahdi/transcode: No such file or directory
[2020-02-01 00:56:02] WARNING[991] app_voicemail.c: maxsilence should be less than minsecs or you may get empty messages
[2020-02-01 00:56:02] WARNING[991] res_hep_pjsip.c: res_hep is not loaded or running; declining module load
[2020-02-01 00:56:02] WARNING[991] res_hep_rtcp.c: res_hep is not loaded or running; declining module load
[2020-02-01 00:56:02] ERROR[991] chan_phone.c: Unable to load config phone.conf
[2020-02-01 00:56:02] WARNING[991] app_festival.c: No such configuration file festival.conf
[2020-02-01 00:56:02] ERROR[991] pbx_dundi.c: Unable to load config dundi.conf
[2020-02-01 00:56:02] ERROR[991] app_amd.c: Configuration file amd.conf missing.
[2020-02-01 00:56:02] WARNING[991] app_followme.c: No follow me config file (followme.conf), so no follow me
[2020-02-01 00:56:02] NOTICE[991] pbx_ael.c: File /etc/asterisk/extensions.ael not found; AEL declining load
[2020-02-01 00:56:02] NOTICE[991] app_queue.c: No queuerules.conf file found, queues will not follow penalty rules
[2020-02-01 00:56:03] VERBOSE[991] asterisk.c: Asterisk Ready.
[2020-02-01 01:05:05] NOTICE[1178] chan_sip.c: Peer 'voipmsTrunk' is now Lagged. (2026ms / 2000ms)
[2020-02-01 01:05:15] NOTICE[1178] chan_sip.c: Peer 'voipmsTrunk' is now Reachable. (15ms / 2000ms)
[2020-02-01 10:11:50] WARNING[22858][C-00000000] channel.c: Prodding channel 'Local/5555@from-internal-00000000;2' failed

Also there is no record of any call under Call Event Logging.

And the FreePBX log, last 50 lines:

[2020-Feb-02 03:40:01] [freepbx.INFO]: Deprecated way to add Console commands for module backup, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:40:01] [freepbx.INFO]: Deprecated way to add Console commands for module certman, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:40:01] [freepbx.INFO]: Deprecated way to add Console commands for module core, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:40:01] [freepbx.INFO]: Deprecated way to add Console commands for module pm2, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:40:01] [freepbx.INFO]: Deprecated way to add Console commands for module soundlang, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:41:02] [freepbx.INFO]: Deprecated way to add Console commands for module backup, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:41:02] [freepbx.INFO]: Deprecated way to add Console commands for module certman, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:41:02] [freepbx.INFO]: Deprecated way to add Console commands for module core, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:41:02] [freepbx.INFO]: Deprecated way to add Console commands for module pm2, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:41:02] [freepbx.INFO]: Deprecated way to add Console commands for module soundlang, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:42:02] [freepbx.INFO]: Deprecated way to add Console commands for module backup, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:42:02] [freepbx.INFO]: Deprecated way to add Console commands for module certman, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:42:02] [freepbx.INFO]: Deprecated way to add Console commands for module core, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:42:02] [freepbx.INFO]: Deprecated way to add Console commands for module pm2, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:42:02] [freepbx.INFO]: Deprecated way to add Console commands for module soundlang, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:43:02] [freepbx.INFO]: Deprecated way to add Console commands for module backup, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:43:02] [freepbx.INFO]: Deprecated way to add Console commands for module certman, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:43:02] [freepbx.INFO]: Deprecated way to add Console commands for module core, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:43:02] [freepbx.INFO]: Deprecated way to add Console commands for module pm2, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:43:02] [freepbx.INFO]: Deprecated way to add Console commands for module soundlang, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:44:02] [freepbx.INFO]: Deprecated way to add Console commands for module backup, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:44:02] [freepbx.INFO]: Deprecated way to add Console commands for module certman, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:44:02] [freepbx.INFO]: Deprecated way to add Console commands for module core, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:44:02] [freepbx.INFO]: Deprecated way to add Console commands for module pm2, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:44:02] [freepbx.INFO]: Deprecated way to add Console commands for module soundlang, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:45:02] [freepbx.INFO]: Deprecated way to add Console commands for module backup, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:45:02] [freepbx.INFO]: Deprecated way to add Console commands for module certman, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:45:02] [freepbx.INFO]: Deprecated way to add Console commands for module core, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:45:02] [freepbx.INFO]: Deprecated way to add Console commands for module pm2, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:45:02] [freepbx.INFO]: Deprecated way to add Console commands for module soundlang, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:46:01] [freepbx.INFO]: Deprecated way to add Console commands for module backup, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:46:02] [freepbx.INFO]: Deprecated way to add Console commands for module certman, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:46:02] [freepbx.INFO]: Deprecated way to add Console commands for module core, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:46:02] [freepbx.INFO]: Deprecated way to add Console commands for module pm2, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:46:02] [freepbx.INFO]: Deprecated way to add Console commands for module soundlang, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:47:01] [freepbx.INFO]: Deprecated way to add Console commands for module backup, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:47:01] [freepbx.INFO]: Deprecated way to add Console commands for module certman, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:47:01] [freepbx.INFO]: Deprecated way to add Console commands for module core, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:47:01] [freepbx.INFO]: Deprecated way to add Console commands for module pm2, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:47:01] [freepbx.INFO]: Deprecated way to add Console commands for module soundlang, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:48:01] [freepbx.INFO]: Deprecated way to add Console commands for module backup, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:48:01] [freepbx.INFO]: Deprecated way to add Console commands for module certman, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:48:01] [freepbx.INFO]: Deprecated way to add Console commands for module core, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:48:01] [freepbx.INFO]: Deprecated way to add Console commands for module pm2, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:48:01] [freepbx.INFO]: Deprecated way to add Console commands for module soundlang, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:49:02] [freepbx.INFO]: Deprecated way to add Console commands for module backup, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:49:02] [freepbx.INFO]: Deprecated way to add Console commands for module certman, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:49:02] [freepbx.INFO]: Deprecated way to add Console commands for module core, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:49:02] [freepbx.INFO]: Deprecated way to add Console commands for module pm2, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2020-Feb-02 03:49:02] [freepbx.INFO]: Deprecated way to add Console commands for module soundlang, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []

You are mixing up your fxo’s and your fxs’s fxo’s use fxs_signalling and vice versa, also you can’t count :wink: (at least how many channels to define)

That’s good to know, but how can I fix this? I was under the impression that the FXS port was the one in the wall and that is meant to connect to an FXO port attached to my server running freePBX? Do I need to reconfigure these ports to be FXS?

I think many of the issues are stemming from the firmware provided by SwitchPi… The four channels were pre-configured for a different raspberry pi hat with 4 channels, but SwitchPi don’t have a separate firmware image (that has pre-installed freepbx + drivers) for the two-channel version that I bought. To properly configure the two channels I would have to build the firmware from source code and I do not want go down that rabbit hole if I don’t need to. Will the extra channels affect anything? At least freepbx is detecting my FXO ports.

again there is a difference between the port hardware and the signalling to be performed on that hardware

http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/OutsideConnectivity_id271202.html

(extract :- It is for this reason that the signaling settings in the Asterisk config files seem backwards: FXO ports use FXS signaling; FXS ports use FXO signaling. When you understand that the name of the physical port type is based on what it connects to, the signaling names in Asterisk make a bit more sense: if an FXO port connects to the central office, it needs to be able to behave as a station, and therefore needs FXS signaling.)

Get that fixed and ignore the other warnings/errors if you just need a door bell extender

How can I change the port signalling? Is this something I can do in the FreePBX GUI, or do I edit dadhi configuration files somewhere?

Edit: I can’t make any more replies so I’ll just edit this post…

Well I think the signalling issue on my analogue channels is resolved. Asterisk has stopped complaining about it since I changed ownership of /etc/dahdi/system.conf from root to asterisk.

I made another test call from the buzzer, this is the result in the asterisk log:

[2020-02-01 15:55:07] WARNING[4652][C-0000000c] Ext. s: "Rejecting unknown SIP connection from 77.247.109.96"
[2020-02-01 15:55:39] WARNING[1202] chan_sip.c: Retransmission timeout reached on transmission 40648133-334866589-740456470 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 31999ms with no response
[2020-02-01 15:59:07] NOTICE[1199] sig_analog.c: Alarm cleared on channel 2
[2020-02-01 15:59:19] WARNING[5455][C-0000000e] file.c: Unexpected control subclass '2'
[2020-02-01 15:59:21] WARNING[5455][C-0000000e] file.c: Unexpected control subclass '2'
[2020-02-01 15:59:24] WARNING[5455][C-0000000e] chan_dahdi.c: Detected alarm on channel 2: Red Alarm
[2020-02-01 16:00:22] WARNING[5706][C-0000000f] Ext. s: "Rejecting unknown SIP connection from 77.247.109.96"
[2020-02-01 16:00:54] WARNING[1202] chan_sip.c: Retransmission timeout reached on transmission 404509237-2071413285-1182919393 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 32000ms with no response
[2020-02-01 16:05:19] WARNING[6711][C-00000010] Ext. s: "Rejecting unknown SIP connection from 77.247.109.96"
[2020-02-01 16:05:51] WARNING[1202] chan_sip.c: Retransmission timeout reached on transmission 1554114862-740753165-880071653 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 32000ms with no response
[2020-02-01 16:10:17] WARNING[7799][C-00000011] Ext. s: "Rejecting unknown SIP connection from 77.247.109.96"
[2020-02-01 16:10:49] WARNING[1202] chan_sip.c: Retransmission timeout reached on transmission 323539713-633919873-359415289 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 31999ms with no response

That warning about an unknown SIP connection keeps popping up as well. That’s not my IP address, apparently some company in the netherlands trying to connect…

By the way, there is no dial tone produced by my wall FXS port, it’s not connected to an outside analogue telephone service. I’m guessing the FXS port only produces a voltage when I ring the buzzer which is probably the reason for the “Red Alarm” that was active before and after my call attempt.

Personally, I prefer to disable the helper module so it stops changing things for whatever reason :wink: , but either way should work.

I contacted voip.ms support to ask for their help on setting up this route. I was told that:

Usually, calls through our service take this route:

Caller > DID > PBX > Your handset or phone registered to your PBX

Is this a route I can set up in FreePBX? I can see that it’s possible to assign DIDs to DAHDI Channels in FreePBX, so I assigned my DID to Dahdi channel 2 in my setup. Now I’m at a loss, how can I route this DID to my cell phone using FreePBX?

voip.ms should never be involved, your door-phone calls would all be local.

Maybe throw everything away and start over AFTER reading the various FM’s ?

No, from what I’ve read its impossible to call a cell phone directly from a private server. I’m not trying to make local calls with my door phone. I want to route calls to my cell phone, which is definitely not a local network. A VOIP provider has to be involved somewhere in the route.

Look, maybe what I’m trying to do is impossible. Its definitely starting to feel that way. I was trying to follow this: https://www.ryansteele.ca/2019/07/15/forward-your-landline-apartment-buzzer-to-your-cell-phone/

but replacing the Linksys SPA3000 with a Raspberry Pi running a FreePBX server and a SwitchPi FXO module. I don’t want to spend hours pouring over documentation if this project won’t work. Do you think this is possible?

Also what do you mean by FM? Please define acronyms, I’m a noob… :slight_smile:

Hayden,

I want to make sure I understand your problem exactly and not assume anything. Please correct me when I make a mistake here.

You are in an apartment building. You appear to have phone lines that people can connect an analog telephone to and you’d like to get the apartment call on your cell phone.

To do this you will need an FXO port that connects to the phone line provided by the apartment building. The apartment building is providing the service to your analog phone. You can still have the analog phone in your apartment and it will ring like normal. Now that you have the FXO port connected to the phone line we need to do something with it. Here’s one possible solution. Linksys makes something called the SPA3102 ATA (Analog Telephone Adapter). It has both FXS and FXO ports. It’s been a while since I’ve worked with one of these so I’m not sure exactly how to configure it but this should help you get started. What you want the ATA to do is call a specific number when you receive a call on the FXO port. You should be able to configure the ATA to connect to a voip provider and whenever a call comes in, you might have a delay before calling the voip number or you might decide to ring both analog and voip/cell at the same time. Basically what you are doing with this device is forwarding the internal apartment call to a specific voip service and then to your cell phone. I’m pretty sure you can do this with just the ATA and not need any sort of PBX to handle the call. It’s all about understanding all the options on the ATA.

There, did I understand your problem right and if so, this might be a possible solution.

Here’s a page that listed several configurations of the SPA3102.

https://www.inphonex.com/support/linksys-spa3102-configuration.php

Good Luck!

Jay