How to specify AOR for a bunch of clients?

Hello.
I want to make a (maybe strange) setup:

  • There is a local subnet
  • All devices from that sunet are allowed to make calls without registration
  • If asterisk want to calll a device, it shold call it by ip address
  • If a device calls asterisk, it is also calls it by ip address
  • The subnet is out of my control; devices can appear and disappear, and I cannot re-setup asterisk for each new device

That is, in essense thre is peer-to-peer network using sip as signaling protocol.

I created one context and one endpoint for all subnet, but i an getting warning in asterisk log

res_pjsip_registrar.c:1189 registrar_on_rx_request: Endpoint ‘subnet-trunk’ (172.16.19.253:5060) has no configured AORs

So it seems I have to create AOR.
But here is the problem: how should i fill AOR record? Wich fields I should fill and which I should not?

Something is trying to register, since no AOR is configured the registration is rejected. You don’t HAVE to create an AOR - though the log message will occur for registration attempts.

Well, it seems that some devices in the network are set up incorrectly.
I just checked - they get 403 on their registration attempts, as it should be.

But I cannot re-setup those devices.
Is there a way to create some sort of dummy AOR to get rid of those messages in the log?

The AOR is specified in the To header of the SIP REGISTER request, and that has to match the name of the AOR in the configuration file. There is no “catch all” option, so you’d have to make AORs for each possibility.

1 Like

Ok, thanks

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