Unable to Receive Calls, Outbound Working


I am working on standing up a FreePBX box for my home office. I have very limited experience with VoIP service, but I know my way around a CLI, Linux, and firewalls.

Here’s the situation

I have installed FreePBX 16 with Asterisk 16 and PJSIP in a Proxmox Container running Debian 20.
I am using voip.ms and have the trunk registered successfully.
FreePBX is configured with 1 extension 7000.

The following information has sensitive information removed and replaced with <SOME_TEXT>

This is all I know to send, please let me know if further information is required.

The inbound route is configured as follows:

  Description: 357774-voip.ms_main-<the_correct_DID_is_here>
  DID Number: <the_correct_DID_is_here_and_matches>
  CallerID Number: ANY (also tried using the DID here)
  CID Priority Route: No
  Alert Info: None
  Ringer Volume Override: None
  CID name prefix: <blank>
  Music on Hold: Default
  Set Destination: Extensions - 7000 Test Ext 7000

Here is the console log of the call:

[2022-12-09 22:12:53] NOTICE[15855]: res_pjsip_geolocation.c:194 handle_incoming_request:  PJSIP/<PROVIDER>-main_account-00000023: Endpoint has no geoloc_incoming_call_profile. Done.
    -- Executing [<MY_DID>@from-pstn:1] Set("PJSIP/<PROVIDER>-main_account-00000023", "__FROM_DID=<MY_DID>") in new stack
    -- Executing [<MY_DID>@from-pstn:2] NoOp("PJSIP/<PROVIDER>-main_account-00000023", "Received an unknown call with DID set to <MY_DID>") in new stack
    -- Executing [<MY_DID>@from-pstn:3] Goto("PJSIP/<PROVIDER>-main_account-00000023", "s,a2") in new stack
    -- Goto (from-pstn,s,2)
    -- Executing [[email protected]:2] Answer("PJSIP/<PROVIDER>-main_account-00000023", "") in new stack
       > 0x7fdce00a67b0 -- Strict RTP learning after remote address set to:
       > 0x7fdce00a67b0 -- Strict RTP switching to RTP target address as source
[2022-12-09 22:12:53] ERROR[4080][C-00000018]: pbx_functions.c:651 ast_func_read2: Function SIP_HEADER not registered
    -- Executing [[email protected]:3] Log("PJSIP/<PROVIDER>-main_account-00000023", "WARNING,Friendly Scanner from ") in new stack
[2022-12-09 22:12:53] WARNING[4080][C-00000018]: Ext. s:3 @ from-pstn: Friendly Scanner from
    -- Executing [[email protected]:4] Wait("PJSIP/<PROVIDER>-main_account-00000023", "2") in new stack
    -- Executing [[email protected]:5] Playback("PJSIP/<PROVIDER>-main_account-00000023", "ss-noservice") in new stack
    -- <PJSIP/<PROVIDER>-main_account-00000023> Playing 'ss-noservice.ulaw' (language 'en')
       > 0x7fdce00a67b0 -- Strict RTP learning complete - Locking on source address
    -- Executing [[email protected]:6] SayAlpha("PJSIP/<PROVIDER>-main_account-00000023", "<MY_DID>") in new stack
    -- <PJSIP/<PROVIDER>-main_account-00000023> Playing 'digits/<digit>.ulaw' (language 'en')
    -- <PJSIP/<PROVIDER>-main_account-00000023> Playing 'digits/<digit>.ulaw' (language 'en')
    -- <PJSIP/<PROVIDER>-main_account-00000023> Playing 'digits/<digit>.ulaw' (language 'en')
    -- <PJSIP/<PROVIDER>-main_account-00000023> Playing 'digits/<digit>.ulaw' (language 'en')
    -- <PJSIP/<PROVIDER>-main_account-00000023> Playing 'digits/<digit>.ulaw' (language 'en')
    -- <PJSIP/<PROVIDER>-main_account-00000023> Playing 'digits/<digit>.ulaw' (language 'en')
    -- <PJSIP/<PROVIDER>-main_account-00000023> Playing 'digits/<digit>.ulaw' (language 'en')
    -- <PJSIP/<PROVIDER>-main_account-00000023> Playing 'digits/<digit>.ulaw' (language 'en')
    -- <PJSIP/<PROVIDER>-main_account-00000023> Playing 'digits/<digit>.ulaw' (language 'en')
    -- <PJSIP/<PROVIDER>-main_account-00000023> Playing 'digits/<digit>.ulaw' (language 'en')
    -- Executing [[email protected]:7] Hangup("PJSIP/<PROVIDER>-main_account-00000023", "") in new stack
  == Spawn extension (from-pstn, s, 7) exited non-zero on 'PJSIP/<PROVIDER>-main_account-00000023'
    -- Executing [[email protected]:1] Macro("PJSIP/<PROVIDER>-main_account-00000023", "hangupcall,") in new stack
    -- Executing [[email protected]:1] GotoIf("PJSIP/<PROVIDER>-main_account-00000023", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [[email protected]:3] ExecIf("PJSIP/<PROVIDER>-main_account-00000023", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [[email protected]:4] Hangup("PJSIP/<PROVIDER>-main_account-00000023", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/<PROVIDER>-main_account-00000023' in macro 'hangupcall'
  == Spawn extension (from-pstn, h, 1) exited non-zero on 'PJSIP/<PROVIDER>-main_account-00000023'

Is this:

the same as:


Yes it is.

ID-10-T error…I’m sure you see it.

For anybody reading this in the future, the DID number listed was wrong. It should have been 7582 and I entered 7852. Thanks for the kick in the brain!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.