No endpoints or peers after upgrade

I am working on the machine that I opened another post about Issue with restoring from backup. This machine is on version 2 and we are upgrading to version 15. I have created a new virtual machine with a fresh install of version 15 freepbx. I ran a backup on the old version 2 server, and was able to restore from this backup to the new v15 vm via cli.

Both the v2 machine and v15 machine have the same addresses. When I have been working with other servers in my company, the phones will join the new server when we turn up the interfaces with the same address on the new machine, and shut down the interfaces on the old machine. That is not the case with the server I am working on now.

I realized that the chansip bind port was set to 5062. I don’t know where to see if that is what the actual config is on the v2 machine. I changed it to 5060 and still got nothing. I’m not sure what logs to show you all. I don’t see any logs referencing endpoints trying to join. Please let me know what you would like to see to help out with this.

Here is a tail -200 /var/log/asterisk/full
[[email protected] ~]# tail -200 /var/log/asterisk/full
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘vm-callme’ tries to include nonexistent context ‘vm-callme-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘timeconditions’ tries to include nonexistent context ‘timeconditions-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘app-speeddial-set’ tries to include nonexistent context ‘app-speeddial-set-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘app-speeddial’ tries to include nonexistent context ‘app-speeddial-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘macro-speeddial-lookup’ tries to include nonexistent context ‘macro-speeddial-lookup-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘sub-rgsetcid’ tries to include nonexistent context ‘sub-rgsetcid-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘grps’ tries to include nonexistent context ‘grps-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘app-pickup’ tries to include nonexistent context ‘app-pickup-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘ext-group’ tries to include nonexistent context ‘ext-group-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘macro-systemrecording’ tries to include nonexistent context ‘macro-systemrecording-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘systemrecording-gui’ tries to include nonexistent context ‘systemrecording-gui-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘app-recordings’ tries to include nonexistent context ‘app-recordings-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘play-system-recording’ tries to include nonexistent context ‘play-system-recording-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘app-pbdirectory’ tries to include nonexistent context ‘app-pbdirectory-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘app-parking’ tries to include nonexistent context ‘app-parking-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘park-hints’ tries to include nonexistent context ‘park-hints-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘park-return-routing’ tries to include nonexistent context ‘park-return-routing-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘park-orphan-routing’ tries to include nonexistent context ‘park-orphan-routing-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘park-dial’ tries to include nonexistent context ‘park-dial-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘parkedcallstimeout’ tries to include nonexistent context ‘parkedcallstimeout-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘macro-parked-call’ tries to include nonexistent context ‘macro-parked-call-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘app-page-stream’ tries to include nonexistent context ‘app-page-stream-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘app-paging’ tries to include nonexistent context ‘app-paging-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘autoanswer’ tries to include nonexistent context ‘autoanswer-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘macro-autoanswer’ tries to include nonexistent context ‘macro-autoanswer-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘originate-aa’ tries to include nonexistent context ‘originate-aa-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘ext-miscdests’ tries to include nonexistent context ‘ext-miscdests-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘sub-fmsetcid’ tries to include nonexistent context ‘sub-fmsetcid-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘followme-sub’ tries to include nonexistent context ‘followme-sub-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘followme-check’ tries to include nonexistent context ‘followme-check-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘ext-findmefollow’ tries to include nonexistent context ‘ext-findmefollow-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘fmgrps’ tries to include nonexistent context ‘fmgrps-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘ext-featurecodes’ tries to include nonexistent context ‘ext-featurecodes-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘ivr-3’ tries to include nonexistent context ‘ivr-3-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘ivr-2’ tries to include nonexistent context ‘ivr-2-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘ivr-1’ tries to include nonexistent context ‘ivr-1-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘ext-did-0002’ tries to include nonexistent context ‘ext-did-0002-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘ext-did-0001’ tries to include nonexistent context ‘ext-did-0001-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘ext-fax’ tries to include nonexistent context ‘ext-fax-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘ext-dnd-hints’ tries to include nonexistent context ‘ext-dnd-hints-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘app-dnd-toggle’ tries to include nonexistent context ‘app-dnd-toggle-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘app-dnd-on’ tries to include nonexistent context ‘app-dnd-on-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘app-dnd-off’ tries to include nonexistent context ‘app-dnd-off-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘disa-dial’ tries to include nonexistent context ‘disa-dial-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘directory’ tries to include nonexistent context ‘directory-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘app-dictate-send’ tries to include nonexistent context ‘app-dictate-send-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘app-dictate-record’ tries to include nonexistent context ‘app-dictate-record-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘c-x-3-operator-panel-pjsip-auto-answer-redirect’ tries to include nonexistent context ‘c-x-3-operator-panel-pjsip-auto-answer-redirect-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘c-x-3-operator-panel-pjsip-auto-answer-headers’ tries to include nonexistent context ‘c-x-3-operator-panel-pjsip-auto-answer-headers-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘c-x-3-operator-panel-spy’ tries to include nonexistent context ‘c-x-3-operator-panel-spy-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘c-x-3-operator-panel-listen-to-recording’ tries to include nonexistent context ‘c-x-3-operator-panel-listen-to-recording-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘c-x-3-operator-panel-listen-to-voice-mail’ tries to include nonexistent context ‘c-x-3-operator-panel-listen-to-voice-mail-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘c-x-3-operator-panel-park-announce-answer’ tries to include nonexistent context ‘c-x-3-operator-panel-park-announce-answer-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘c-x-3-operator-panel-park’ tries to include nonexistent context ‘c-x-3-operator-panel-park-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘c-x-3-operator-panel-confbridge’ tries to include nonexistent context ‘c-x-3-operator-panel-confbridge-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘c-x-3-operator-panel-meetme’ tries to include nonexistent context ‘c-x-3-operator-panel-meetme-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘c-x-3-operator-panel-voice-mail’ tries to include nonexistent context ‘c-x-3-operator-panel-voice-mail-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘c-x-3-operator-panel-hold’ tries to include nonexistent context ‘c-x-3-operator-panel-hold-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘sub-conference-options’ tries to include nonexistent context ‘sub-conference-options-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘ext-meetme-lang-playback’ tries to include nonexistent context ‘ext-meetme-lang-playback-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘ext-meetme’ tries to include nonexistent context ‘ext-meetme-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘cidlookup’ tries to include nonexistent context ‘cidlookup-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘macro-one-touch-record’ tries to include nonexistent context ‘macro-one-touch-record-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘sub-record-hh-check’ tries to include nonexistent context ‘sub-record-hh-check-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘sub-record-check’ tries to include nonexistent context ‘sub-record-check-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘sub-record-cancel’ tries to include nonexistent context ‘sub-record-cancel-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘app-announcement-3’ tries to include nonexistent context ‘app-announcement-3-custom’
[2021-03-08 20:04:20] WARNING[28535] pbx.c: Context ‘app-announcement-2’ tries to include nonexistent context ‘app-announcement-2-custom’
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘logger’ (Logger)
[2021-03-08 20:04:20] Asterisk 16.11.1 built by mockbuild @ jenkins7 on a x86_64 running Linux on 2020-07-20 19:57:13 UTC
[2021-03-08 20:04:20] VERBOSE[28535] logger.c: Asterisk Queue Logger restarted
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_config_mysql.so’ (MySQL RealTime Configuration Driver)
[2021-03-08 20:04:20] VERBOSE[28535] res_config_mysql.c: MySQL RealTime reloaded.
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_config_curl.so’ (Realtime Curl configuration)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_statsd.so’ (StatsD client support)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘cel’ (CEL Engine)
[2021-03-08 20:04:20] VERBOSE[28535] cel.c: CEL logging enabled.
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘dnsmgr’ (DNS Manager)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘dsp’ (DSP)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘enum’ (ENUM Support)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘features’ (Call Features)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘http’ (Built-in HTTP Server)
[2021-03-08 20:04:20] VERBOSE[28535] tcptls.c: TLS/SSL ECDH initialized (automatic), faster PFS ciphers enabled
[2021-03-08 20:04:20] VERBOSE[28535] tcptls.c: TLS/SSL certificate ok
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘indications’ (Indication Tone Handling)
[2021-03-08 20:04:20] VERBOSE[28535] indications.c: Setting default indication country to ‘us’
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘acl’ (Named ACL system)
[2021-03-08 20:04:20] ERROR[28535] config_options.c: Unable to load config file ‘acl.conf’
[2021-03-08 20:04:20] WARNING[28535] named_acl.c: Could not reload ACL config
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘manager’ (Asterisk Manager Interface)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘plc’ (PLC)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘udptl’ (UDPTL)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_pjproject.so’ (PJPROJECT Log and Utility Support)
[2021-03-08 20:04:20] ERROR[28535] res_sorcery_config.c: Unable to load config file ‘pjproject.conf’
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_pjsip.so’ (Basic SIP resource)
[2021-03-08 20:04:20] ERROR[28555] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’
[2021-03-08 20:04:20] ERROR[28555] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’
[2021-03-08 20:04:20] ERROR[28555] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’
[2021-03-08 20:04:20] ERROR[28555] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’
[2021-03-08 20:04:20] NOTICE[28555] sorcery.c: Type ‘system’ is not reloadable, maintaining previous values
[2021-03-08 20:04:20] ERROR[28555] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_pjsip_authenticator_digest.so’ (PJSIP authentication resource)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_resolver_unbound.so’ (Unbound DNS Resolver Support)
[2021-03-08 20:04:20] ERROR[28535] config_options.c: Unable to load config file ‘resolver_unbound.conf’
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_pjsip_endpoint_identifier_ip.so’ (PJSIP IP endpoint identifier)
[2021-03-08 20:04:20] ERROR[28535] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_musiconhold.so’ (Music On Hold Resource)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_smdi.so’ (Simplified Message Desk Interface (SMDI) Resource)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_crypto.so’ (Cryptographic Digital Signatures)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_rtp_asterisk.so’ (Asterisk RTP Stack)
[2021-03-08 20:04:20] VERBOSE[28535] res_rtp_asterisk.c: RTP Allocating from port range 10000 -> 20000
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_pjsip_outbound_publish.so’ (PJSIP Outbound Publish Support)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_pjsip_mwi.so’ (PJSIP MWI resource)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_pjsip_publish_asterisk.so’ (PJSIP Asterisk Event PUBLISH Support)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘chan_iax2.so’ (Inter Asterisk eXchange (Ver 2))
[2021-03-08 20:04:20] WARNING[28535] iax2/firmware.c: Error opening firmware directory ‘/var/lib/asterisk/firmware/iax’: No such file or directory
[2021-03-08 20:04:20] NOTICE[28535] iax2/provision.c: No IAX provisioning configuration found, IAX provisioning disabled.
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘chan_sip.so’ (Session Initiation Protocol (SIP))
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘chan_dahdi.so’ (DAHDI Telephony w/PRI & SS7 & MFC/R2)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_adsi.so’ (ADSI Resource)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_fax.so’ (Generic FAX Applications)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_ari.so’ (Asterisk RESTful Interface)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_pjsip_notify.so’ (CLI/AMI PJSIP NOTIFY Support)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_pjsip_outbound_registration.so’ (PJSIP Outbound Registration Support)
[2021-03-08 20:04:20] ERROR[28535] res_pjsip_config_wizard.c: Unable to load config file ‘pjsip_wizard.conf’
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘app_confbridge.so’ (Conference Bridge Application)
[2021-03-08 20:04:20] NOTICE[28535] confbridge/conf_config_parser.c: Adding default_bridge profile to app_confbridge
[2021-03-08 20:04:20] NOTICE[28535] confbridge/conf_config_parser.c: Adding default_user profile to app_confbridge
[2021-03-08 20:04:20] NOTICE[28535] confbridge/conf_config_parser.c: Adding default_menu menu to app_confbridge
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_parking.so’ (Call Parking Resource)
[2021-03-08 20:04:20] VERBOSE[28535] pbx.c: Remove parkedcalls/71/1, registrar=res_parking/default; con=((nil)); con->root=(nil)
[2021-03-08 20:04:20] VERBOSE[28535] pbx.c: Remove parkedcalls/72/1, registrar=res_parking/default; con=((nil)); con->root=(nil)
[2021-03-08 20:04:20] VERBOSE[28535] pbx.c: Remove parkedcalls/73/1, registrar=res_parking/default; con=((nil)); con->root=(nil)
[2021-03-08 20:04:20] VERBOSE[28535] pbx.c: Remove parkedcalls/74/1, registrar=res_parking/default; con=((nil)); con->root=(nil)
[2021-03-08 20:04:20] VERBOSE[28535] pbx.c: Remove parkedcalls/75/1, registrar=res_parking/default; con=((nil)); con->root=(nil)
[2021-03-08 20:04:20] VERBOSE[28535] pbx.c: Remove parkedcalls/76/1, registrar=res_parking/default; con=((nil)); con->root=(nil)
[2021-03-08 20:04:20] VERBOSE[28535] pbx.c: Remove parkedcalls/77/1, registrar=res_parking/default; con=((nil)); con->root=(nil)
[2021-03-08 20:04:20] VERBOSE[28535] pbx.c: Remove parkedcalls/78/1, registrar=res_parking/default; con=((nil)); con->root=(nil)
[2021-03-08 20:04:20] VERBOSE[28535] pbx.c: Remove parkedcalls/70/1, registrar=res_parking; con=((nil)); con->root=(nil)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘app_meetme.so’ (MeetMe conference bridge)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘cel_manager.so’ (Asterisk Manager Interface CEL Backend)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘cel_odbc.so’ (ODBC CEL backend)
[2021-03-08 20:04:20] VERBOSE[28535] cel_odbc.c: Found CEL table [email protected]
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘app_amd.so’ (Answering Machine Detection Application)
[2021-03-08 20:04:20] VERBOSE[3059] chan_sip.c: Reloading SIP
[2021-03-08 20:04:20] VERBOSE[28535] app_amd.c: AMD defaults: initialSilence [2500] greeting [1500] afterGreetingSilence [800] totalAnalysisTime [5000] minimumWordLength [100] betweenWordsSilence [50] maximumNumberOfWords [3] silenceThreshold [256] maximumWordLength [5000]
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘app_playback.so’ (Sound File Playback Application)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘app_voicemail.so’ (Comedian Mail (Voicemail System))
[2021-03-08 20:04:20] WARNING[28535] app_voicemail.c: maxsilence should be less than minsecs or you may get empty messages
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘app_flite.so’ (Flite TTS Interface)
[2021-03-08 20:04:20] WARNING[28535] app_flite.c: Flite: Unable to read config file flite.conf. Using default settings
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘codec_dahdi.so’ (Generic DAHDI Transcoder Codec Translator)
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘app_queue.so’ (True Call Queueing)
[2021-03-08 20:04:20] NOTICE[28535] app_queue.c: queuerules.conf has not changed since it was last loaded. Not taking any action.
[2021-03-08 20:04:20] VERBOSE[28535] loader.c: Reloading module ‘res_digium_phone.so’ (Digium Phone Module for Asterisk)
[2021-03-08 20:04:20] VERBOSE[3059] chan_sip.c: SIP Listening on 0.0.0.0:5062
[2021-03-08 20:04:20] VERBOSE[3059] netsock2.c: Using SIP TOS bits 96
[2021-03-08 20:04:20] VERBOSE[3059] netsock2.c: Using SIP CoS mark 4
[2021-03-08 20:04:21] WARNING[28797] taskprocessor.c: The ‘app_voicemail’ task processor queue reached 500 scheduled tasks again.
[2021-03-08 20:04:21] VERBOSE[28535] asterisk.c: Remote UNIX connection disconnected
[2021-03-08 20:05:58] VERBOSE[25309] asterisk.c: Remote UNIX connection disconnected
[2021-03-08 20:09:48] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7302’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:09:49] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:09:50] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7201’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:09:56] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:02] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7302’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:03] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:04] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7201’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:10] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:16] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7302’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:17] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:18] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7201’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:24] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:30] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7302’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:31] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:32] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7201’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:38] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:44] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7302’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:45] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:46] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7201’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:52] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:58] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7302’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:10:59] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:00] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7201’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:06] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:12] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7302’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:13] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:14] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7201’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:20] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:26] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7302’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:27] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:28] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7201’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:34] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:40] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7302’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:41] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:42] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7201’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:48] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:54] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7302’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:55] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-08 20:11:56] NOTICE[32355] res_pjsip_exten_state.c: Endpoint ‘anonymous’ state subscription failed: Extension ‘7201’ does not exist in context ‘from-sip-external’ or has no associated hint

I have the asterisk cli up and I don’t see any phones even attempting to hit the new server.

I assume that you are using SIP over UDP and want to continue using chan_sip on the new system.

By default, the UDP Bind Port for chan_sip is 5160 and the UDP Port to Listen On for pjsip is 5060.

Determine which port the phones are attempting to register to. If that’s 5060, you must first move pjsip to a different port (Settings -> Asterisk SIP Settings ->pjsip tab). Then, set Bind Port for chan_sip to match what the phones are using (Settings -> Asterisk SIP Settings -> chan_sip tab). After changing these, Submit, Apply Config and then you must restart Asterisk.

Stewart, thanks for your reply. I do believe that yes we are using SIP over UDP and I would like to continue using chan_sip for now. I changed the ports and put chan_sip at 5160 and put pjsip at 5060, I think a step that I forgot was the restart of asterisk. I thought that when you press Apply Config it restarts asterisk. To restart asterisk, you would do a ‘core reload’ from asterisk cli, correct? Also I logged into the phones and it looks like the sip setting is set to port 5060.
image

Core reload does not restart Asterisk. You can do ‘core restart now’ or, from a shell prompt, do fwconsole restart

Local SIP Port is the port at the device end and can be anything. If you want to connect to the PBX on port 5160, set Port to 5160 on the screen where you enter the server address.

Ok, thank you for the clarification on the commands.

So I would set the port right here?
image

Yes, enter 5160 there and test.

Copy, thank you Stewart. Unfortunately I can’t test this until later today. I have the new v15 up and the old v2 up and in production and I need to wait until after hours for that center to start testing.

Also using DNSnaptr might be problematic unless you have your DNS records set up appropriately and are using a url not an IP address

Thanks Dicko, I checked phones on other servers throughout my company and it looks like the phones are all set to DNSnaptr. I will try this on one phone tonight though when I am testing and see what I get.

I have tried setting the bind port to 5060 and 5160. I do a core restart now from asterisk cli and I am still not getting any phones joining. For some reason, there is one phone that is joining and that is the only phone. It joined with port 5060 and 5160. chansip is currently set to 5160 and I am seeing these messages in the logs.

[2021-03-09 20:25:54] WARNING[3685]: res_pjsip_registrar.c:1095 registrar_on_rx_request: Endpoint ‘anonymous’ has no configured AORs
[2021-03-09 20:25:56] NOTICE[3685]: res_pjsip_exten_state.c:418 new_subscribe: Endpoint ‘anonymous’ state subscription failed: Extension ‘7301’ does not exist in context ‘from-sip-external’ or has no associated hint
[2021-03-09 20:25:57] WARNING[3685]: res_pjsip_registrar.c:1095 registrar_on_rx_request: Endpoint ‘anonymous’ has no configured AORs
[2021-03-09 20:25:57] NOTICE[3685]: res_pjsip_exten_state.c:418 new_subscribe: Endpoint ‘anonymous’ state subscription failed: Extension ‘7302’ does not exist in context ‘from-sip-external’ or has no associated hint

I also saw this when I did the apply config after changing the SIP bind port.
[2021-03-09 20:20:15] WARNING[28184]: chan_sip.c:3839 __sip_xmit: sip_xmit of 0x7f47103532c0 (len 631) to 10.119.254.150:5060 returned -2: Bad file descriptor
[2021-03-09 20:20:15] ERROR[28184]: chan_sip.c:4344 __sip_reliable_xmit: Serious Network Trouble; __sip_xmit returns error for pkt data
[2021-03-09 20:20:16] WARNING[28212]: taskprocessor.c:1160 taskprocessor_push: The ‘app_voicemail’ task processor queue reached 500 scheduled tasks.
[2021-03-09 20:20:16] WARNING[28184]: chan_sip.c:3839 __sip_xmit: sip_xmit of 0x7f470c0027b0 (len 631) to 10.119.254.150:5060 returned -2: Bad file descriptor
[2021-03-09 20:20:16] WARNING[28184]: chan_sip.c:4155 retrans_pkt: Transmit error :: Cancelling transmission on Call ID 35eb7a54629a1ceb64022e349e844a82
[2021-03-09 20:20:23] WARNING[28184]: chan_sip.c:3839 __sip_xmit: sip_xmit of 0x7f47700016a0 (len 631) to 10.119.254.150:5060 returned -2: Bad file descriptor
[2021-03-09 20:20:23] WARNING[28184]: chan_sip.c:4155 retrans_pkt: Transmit error :: Cancelling transmission on Call ID 35eb7a54629a1ceb64022e349e844a82

Check your forwarding rules on your firewall, 5060, 5160 and 10000-19999 must all go to the PBX, and your PBX must know where to send replies to SIP connections, sngrep might help here

Where in the internet are your endpoints and your PBX?

you said `It joined with port 5060 and 5160’, please expand, at the same time or separately

This pbx is behind a cisco asa, living on a dell server that has esxi installed and it is currently running as a vm. The current production freepbx is behind the same asa and is directly installed on a dell server, no virtual machine.
The endpoints are coming off of edge switches that are connected to a core switch behind the asa.
When I said ‘It joined with port 5060 and 5160’, there is only one sip peer that is joining as reachable. It was reachable when I put chansip bind port at 5060, and at 5160.

I see this when I look at the firewall of the pbx. So it is pushing chansip to 5160?
-A fpbxsvc-chansip -p udp -m udp --dport 5160 -j ACCEPT
-A fpbxsvc-pjsip -p udp -m udp --dport 5060 -j ACCEPT

To reduce confusion, settle on pjsip only (noload chan_sip in /etc/asetrisk/modules.conf or use the GUI)

when you only have 5060 open, use sngrep to see what’s getting to the PBX, extension 7301 should be using port 5060 and there needs to be a pjsip extension for 7301

If I do this, do I have to change the endpoints to use pjsip?

No, if you disable chan_sip, I suggest you use chan_pjsip :wink:

you don’t need to tell the endpoints to use anything but SIP on TCP/UDP/TLS:your_appropriate_bindport

Ok, so I’m gonna follow this to change my extensions to pjsip https://www.freepbx.org/new-tool-to-assist-converting-from-sip-to-pjsip/
Then I have to disable chansip, correct?

you don’t have to disable it, just don’t use it unless there is no alternative (until you figure out to fix that)

Thanks for your help dicko, I believe we are getting somewhere. I converted all the extensions to pjsip with fwconsole convert2pjsip -a. I then went to the gui settings > advanced settings > dialplan and operational > sip channel driver and put only chan_pjsip.
The endpoints have now joined. I attempted a call though and got this error

WARNING[23178][C-00000002]: Ext. s:7 @ from-sip-external: “Rejecting unknown SIP connection from 4.55.4.97:5060”

The current bind port for pjsip is 5060