I have a SIP connection from VoipVoip that has a regular phone number assigned to it. If I place an outbound call via that line, it routes just fine (I created a temporary outbound route to test) and stays connected until one end purposely hangs up.
I have an inbound route configured to go directly to a specific extension that automatically answers the call coming into it (it is an analog device on an ATA). I can call this extension internally without issue. If the call comes in from the VoipVoip SIP trunk, however, as soon as it is answered it disconnects.
I pulled call information from the ‘full’ log (following instructions at https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-AsteriskLogs), and have it here: https://pastebin.freepbx.org/view/36c3e3a3
Some things I noticed from the log file:
At one section, I see a number of error lines:
ERROR[6592][C-00000069] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
Right before it disconnects, I see this:
[2021-10-06 19:16:58] VERBOSE[6592][C-00000069] app_dial.c: Called SIP/7010
[2021-10-06 19:16:58] VERBOSE[6592][C-00000069] app_dial.c: Connected line update to SIP/VoipVoip-00000112 prevented.
[2021-10-06 19:16:58] VERBOSE[6592][C-00000069] app_dial.c: SIP/7010-00000113 is ringing
[2021-10-06 19:16:59] VERBOSE[6592][C-00000069] app_dial.c: Connected line update to SIP/VoipVoip-00000112 prevented.
[2021-10-06 19:16:59] VERBOSE[6592][C-00000069] app_dial.c: SIP/7010-00000113 answered SIP/VoipVoip-00000112
[2021-10-06 19:16:59] VERBOSE[6592][C-00000069] bridge_channel.c: Channel SIP/VoipVoip-00000112 joined ‘simple_bridge’ basic-bridge <9f979517-37ea-453c-bc24-7309e5da4d78>
[2021-10-06 19:17:05] VERBOSE[6592][C-00000069] bridge_channel.c: Channel SIP/VoipVoip-00000112 left ‘simple_bridge’ basic-bridge <9f979517-37ea-453c-bc24-7309e5da4d78>
[2021-10-06 19:17:05] VERBOSE[6592][C-00000069] app_macro.c: Spawn extension (macro-dial-one, s, 55) exited non-zero on ‘SIP/VoipVoip-00000112’ in macro ‘dial-one’
[2021-10-06 19:17:05] VERBOSE[6592][C-00000069] app_macro.c: Spawn extension (macro-exten-vm, s, 30) exited non-zero on ‘SIP/VoipVoip-00000112’ in macro ‘exten-vm’
[2021-10-06 19:17:05] VERBOSE[6592][C-00000069] pbx.c: Spawn extension (ext-local, 7010, 3) exited non-zero on ‘SIP/VoipVoip-00000112’
The ‘Connected line update…’ message caught my eye, and I did a Google search on that. Several of the references indicated that it was unrelated to the disconnect issue (I found nothing else useful in that thread, and it was rather old anyway).
This is a fairly new install of FreePBX 15, using the installer from freepbx.org.
Other connectivity seems to be working ok, this is one that is causing me headaches now. Any help would be greatly appreciated.