Errors on Asterisk console with sip

[2022-10-10 19:29:46] ERROR[39778]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("p1nngu", "(null)", ...): Name or service not known
[2022-10-10 19:29:46] WARNING[39778]: acl.c:890 resolve_first: Unable to lookup 'p1nngu'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'park-hints' tries to include nonexistent context 'park-hints-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'park-return-routing' tries to include nonexistent context 'park-return-routing-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'park-orphan-routing' tries to include nonexistent context 'park-orphan-routing-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'park-dial' tries to include nonexistent context 'park-dial-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'parkedcallstimeout' tries to include nonexistent context 'parkedcallstimeout-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'macro-parked-call' tries to include nonexistent context 'macro-parked-call-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-page-stream' tries to include nonexistent context 'app-page-stream-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-paging' tries to include nonexistent context 'app-paging-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'autoanswer' tries to include nonexistent context 'autoanswer-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'macro-autoanswer' tries to include nonexistent context 'macro-autoanswer-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'ext-intercom-users' tries to include nonexistent context 'ext-intercom-users-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'ext-intercom' tries to include nonexistent context 'ext-intercom-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'originate-aa' tries to include nonexistent context 'originate-aa-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-calltrace-perform' tries to include nonexistent context 'app-calltrace-perform-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-calltrace' tries to include nonexistent context 'app-calltrace-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-echo-test-echo' tries to include nonexistent context 'app-echo-test-echo-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-echo-test' tries to include nonexistent context 'app-echo-test-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-speakextennum' tries to include nonexistent context 'app-speakextennum-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'sub-hr24format' tries to include nonexistent context 'sub-hr24format-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-speakingclock' tries to include nonexistent context 'app-speakingclock-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'sub-hr12format' tries to include nonexistent context 'sub-hr12format-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-hotelwakeup' tries to include nonexistent context 'app-hotelwakeup-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'sub-fmsetcid' tries to include nonexistent context 'sub-fmsetcid-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'followme-sub' tries to include nonexistent context 'followme-sub-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'followme-check' tries to include nonexistent context 'followme-check-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'fmgrps' tries to include nonexistent context 'fmgrps-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'ext-findmefollow' tries to include nonexistent context 'ext-findmefollow-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-fmf-toggle' tries to include nonexistent context 'app-fmf-toggle-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'ext-featurecodes' tries to include nonexistent context 'ext-featurecodes-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'ivr-1' tries to include nonexistent context 'ivr-1-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'ext-did-0002' tries to include nonexistent context 'ext-did-0002-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'ext-did-0001' tries to include nonexistent context 'ext-did-0001-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-fax' tries to include nonexistent context 'app-fax-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'ext-fax' tries to include nonexistent context 'ext-fax-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'ext-dnd-hints' tries to include nonexistent context 'ext-dnd-hints-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-dnd-off' tries to include nonexistent context 'app-dnd-off-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-dnd-on' tries to include nonexistent context 'app-dnd-on-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-dnd-toggle' tries to include nonexistent context 'app-dnd-toggle-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'c-x-3-operator-panel-pjsip-auto-answer-redirect' tries to include nonexistent context 'c-x-3-operator-panel-pjsip-auto-answer
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'c-x-3-operator-panel-pjsip-auto-answer-headers' tries to include nonexistent context 'c-x-3-operator-panel-pjsip-auto-answer-
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'c-x-3-operator-panel-spy' tries to include nonexistent context 'c-x-3-operator-panel-spy-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'c-x-3-operator-panel-listen-to-recording' tries to include nonexistent context 'c-x-3-operator-panel-listen-to-recording-cust
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'c-x-3-operator-panel-listen-to-voice-mail' tries to include nonexistent context 'c-x-3-operator-panel-listen-to-voice-mail-cu
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'c-x-3-operator-panel-park-announce-answer' tries to include nonexistent context 'c-x-3-operator-panel-park-announce-answer-cu
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'c-x-3-operator-panel-park' tries to include nonexistent context 'c-x-3-operator-panel-park-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'c-x-3-operator-panel-confbridge' tries to include nonexistent context 'c-x-3-operator-panel-confbridge-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'c-x-3-operator-panel-meetme' tries to include nonexistent context 'c-x-3-operator-panel-meetme-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'c-x-3-operator-panel-voice-mail' tries to include nonexistent context 'c-x-3-operator-panel-voice-mail-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'c-x-3-operator-panel-hold' tries to include nonexistent context 'c-x-3-operator-panel-hold-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'cidlookup' tries to include nonexistent context 'cidlookup-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-callwaiting-cwoff' tries to include nonexistent context 'app-callwaiting-cwoff-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-callwaiting-cwon' tries to include nonexistent context 'app-callwaiting-cwon-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'macro-one-touch-record' tries to include nonexistent context 'macro-one-touch-record-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'sub-record-hh-check' tries to include nonexistent context 'sub-record-hh-check-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'sub-record-check' tries to include nonexistent context 'sub-record-check-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'sub-record-cancel' tries to include nonexistent context 'sub-record-cancel-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-cf-toggle' tries to include nonexistent context 'app-cf-toggle-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-cf-busy-off' tries to include nonexistent context 'app-cf-busy-off-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-cf-busy-off-any' tries to include nonexistent context 'app-cf-busy-off-any-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-cf-busy-on' tries to include nonexistent context 'app-cf-busy-on-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-cf-busy-prompting-on' tries to include nonexistent context 'app-cf-busy-prompting-on-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-cf-off' tries to include nonexistent context 'app-cf-off-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-cf-off-any' tries to include nonexistent context 'app-cf-off-any-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-cf-on' tries to include nonexistent context 'app-cf-on-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-cf-prompting-on' tries to include nonexistent context 'app-cf-prompting-on-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-cf-unavailable-off' tries to include nonexistent context 'app-cf-unavailable-off-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-cf-unavailable-on' tries to include nonexistent context 'app-cf-unavailable-on-custom'
[2022-10-10 19:29:03] WARNING[46897]: pbx.c:8797 ast_context_verify_includes: Context 'app-cf-unavailable-prompt-on' tries to include nonexistent context 'app-cf-unavailable-prompt-on-custom'
[2022-10-10 19:29:09] WARNING[39778]: res_pjsip_registrar.c:1189 registrar_on_rx_request: Endpoint 'anonymous' (20.80.74.7:60910) has no configured AORs
[2022-10-10 19:29:09] ERROR[39778]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("p1nngu", "(null)", ...): Name or service not known
[2022-10-10 19:29:09] WARNING[39778]: acl.c:890 resolve_first: Unable to lookup 'p1nngu'

[2022-10-10 19:30:10] ERROR[39778]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("p1nngu", "(null)", ...): Name or service not known
[2022-10-10 19:30:10] WARNING[39778]: acl.c:890 resolve_first: Unable to lookup 'p1nngu'
[2022-10-10 19:29:58] ERROR[47107][C-00000010]: pbx_functions.c:651 ast_func_read2: Function SIP_HEADER not registered
    -- Executing [s@from-trunk:3] Log("PJSIP/anonymous-0000000f", "WARNING,Friendly Scanner from ") in new stack
[2022-10-10 19:29:58] WARNING[47107][C-00000010]: Ext. s:3 @ from-trunk: Friendly Scanner from

I’m having these problems with my asterisk console , can someone help me understand what the prob is?

You’ve specified p1nngu when it is expecting either a valid internet host name or a literal IP address.

See getaddrinfo(3) - Linux manual page

and, in particular note:

EAI_NONAME
The node or service is not known; or both node and service
are NULL; or AI_NUMERICSERV was specified in
hints.ai_flags and service was not a numeric port-number
string.

Only the first of which is possible given the parameters supplied.

well… p1nngu it’s my vps hostname

Asterisk is trying to find out its primary IP address, and it would appear that it doesn’t have one, in either the domain name system , or /etc/hosts.

well … it does find it , eth0 ipv4 addr

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