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:
[May 10 21:46:37] WARNING[101206]: 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,
Ogogon.
And for this, it is necessary to create a separate transport?
I would like to receive calls to port 5060 and I already have a transport âtransport-udpâ on this port with almost identical settings.
The AOR section is used to keep contact details for endpoints, so it tells Asterisk where to contact that endpoint, I asssume you dont want anoymous user to be able to register on your system, just allow them aunthenticated calls on an special context, so you wont need to use AOR section,
Do I need to make a link to this section?
If you look at my first message, you will see that in this case some kind of oddities arise.
If I write that aors = anonymous,
then PJSIP will start looking for the AOR section with an empty name.
anonymous endpoint is only for accept anonymous INVITE, not for
REGISTER so you donât need a aor section and you canât try to
REGISTER to this kind of endpoint.
Iâm not a PJSIP user, but it seems to me that people have picked up on an attempted work round, pointing out that it isnât useful, rather than concentrating on the primary issue, which is that Asterisk is, reportedly, continuously complaining about the fact that this non-useful, features hasnât been configured, if you donât include it.
Thereâs currently no option to disable the message. This is because internally anonymous has no special meaning in comparison to other endpoints, except that it has an endpoint identifier which chooses it as a last resort. In non-anonymous cases you would want to know about the message because it means that an endpoint is trying to register and canât, thus there is something actionable.
Please excuse me, David. Obviously my English is not good enough, but I really could not understand the meaning of what you expressed.
Would it not be difficult for you to reformulate what was said in the form of several sentences, and not one?
If I understand correctly, the endpoint âanonumousâ is not simple, but special. And as a result, this one has some unusual properties.
And itâs quite logical that he has no âaorsâ record.
In other words, the fact that Asterisk is dissatisfied with the lack of this entry is an obvious logical error.
This endpoint should be excluded from checking for an âaorsâ entry. Or need to reserve the value ânoarosâ, which always returns a positive cheking result.
The following is what I believe about the replies given.
People are answering the question: âwhy am I getting the message âAOR not foundâ?â. They are saying it is not useful to define an AOR.
The real question was: âwhy am I getting the message âNo configured AORsâ?â This is being output continuously. It is being output because an AOR hasnât been configured. However it is not a useful think to do to configure one.
The âAOR not foundâ message was the result of trying to attempt to solve the problem of the âNo configure AORsâ messages appearing.
Iâm not an expert on PJSIP [and therefore I canât say what you need to do to stop âNo configured AORsâ appearing).