Colleagues, I want to receive calls from the Internet. Unfortunately, I could not find a complete guide on how to configure these options.
I made sure that receiving calls works, but obviously negative messages are constantly displayed on the console.
I made the following entries in the pjsip.conf file:
[general] allowguest=yes [anonymous] type=endpoint context=public disallow=all allow=alaw,ulaw
After that, the console periodically displays a message:
[May 10 21:51:19] WARNING: res_pjsip_registrar.c:1106 pj_bool_t registrar_on_rx_request(struct pjsip_rx_data *): Endpoint ‘anonymous’ has no configured AORs
I added the aor section:
[anonymous] type=endpoint aors=anonymous context=public disallow=all allow=alaw,ulaw [anonymous] type=aor max_contacts=50
After that, the message changes:
[May 10 21:46:37] WARNING: res_pjsip_registrar.c:1084 struct ast_sip_aor *find_registrar_aor(struct pjsip_rx_data *, struct ast_sip_endpoint *): AOR ‘’ not found for endpoint ‘anonymous’
I understand this even less. Why is PJSIP looking for an AOR section ‘’? I purposefully indicated to him that a AOR section ‘anonumous’ was needed.
Please tell me what I’m doing wrong and how to fix it.
I am grateful in advance for the answers to the merits of the question,