What is the right format to add to the AOR settings for pjsip?

I know the setting I want to change. default_expiration

I can manually set it in /etc/asterisk/psjip.aor.conf and the reload PJSIP and it is reflected.

[119]
type=aor
max_contacts=1
remove_existing=yes
maximum_expiration=2592000
minimum_expiration=1728000
qualify_frequency=60
default_expiration=86400

image

How can I set this correctly so it stays? I would assume that I need to use pjsip.aor_custom.conf or pjsip.aor_custom_post.conf

But I cannot get it to apply.

would not the correct syntax be

[119](+)
type=aor
default_expiration=86400

Type goes in the parentheses: Override pjsip.identify.conf

1 Like

Awesome; how did I miss this?

2 Likes

this… i searched…

The full correct solution then is to put it in pjsip.aor_custom_post.conf

[119](+type=aor)
default_expiration=86400
2 Likes

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