Crosspost from Registration against domain auth - Endpoints - FreePBX Community Forums
Referring to the below
; Matches on user 100@domain1 in the From user field
;matches on user 100@domain2 in the From user field
;matches on any 100 user that does not have domain1 or domain2 in the From user field.
I am testing this, and it works fine.
A couple of questions…
- Where can I find the documentation for this?
- Can I use wildcards here? for example *.domain.com
- If not, is there a way to set multiple domains? Or perhaps aliases.
This is something that few people use, so it hasn’t really seen much documentation. It just went in during the original implementation in case someone wanted it. Wildcards are not supported, but there is a domain alias type which I believe would be like:
To alias “bob.com” to “joe.com” though having not touched it in probably 8 years that’s just going by memory.
 asterisk/pjsip.conf.sample at master · asterisk/asterisk · GitHub
I tested the below and it works fine.
This adds the alias to all
@joe.com endpoints. Is there a way to specify for which endpoints this alias is?
email@example.com but it didn’t work.
No, there is no ability to do it per-endpoint. It is just an alias for the domain part. It’s not an alias for the complete user@domain.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.