This is a bit of a first world problem but I wanted to clean up my pjsip.conf a bit and it bugs me that the sections have to be named by whatever the phone sends.
For example, this works:
[74123]
type=endpoint
auth=smith-auth
aors=74123
context=from-smith
[smith-auth]
username=74123
password=penfish
But I would prefer to call the endpoint and aor sections [smith] instead of [74123], something like:
[smith]
type=endpoint
identifier=74123 ; I made this up
auth=smith-auth
aors=smith-aor
context=from-smith
[smith-auth]
username=74123
password=penfish
Is that possible?