Dear Asterisk Community,
Having used ARI in Asterisk 18.13 for a while now, I am stumped that I am unable to get something “simple” sorted. I am registering my endpoints and aors via ARI. Everything works perfectly, however, I noticed that there are several contacts associated with my AOR, and this I do not want. In simple terms, I want one or nothing (if I create this via the file manually, the behaviour works). As an example, here is one endpoint’s AOR (What am I doing wrong?):
liogateway*CLI> pjsip show aor SIM9001
Aor: <Aor..............................................> <MaxContact>
Contact: <Aor/ContactUri............................> <Hash....> <Status> <RTT(ms)..>
==========================================================================================
Aor: SIM9001 1
Contact: SIM9001/sip:SIM9001@192.168.88.250:6000 e09dd38343 NonQual nan
Contact: SIM9001/sip:SIM9001@192.168.88.250:1024 8eae4ca946 NonQual nan
Contact: SIM9001/sip:SIM9001@192.168.88.250:6000 e09dd38343 NonQual nan
ParameterName : ParameterValue
======================================================
authenticate_qualify : false
contact : sip:SIM9001@192.168.88.250:6000
contact : sip:SIM9001@192.168.88.250:1024
contact : sip:SIM9001@192.168.88.250:6000
default_expiration : 3600
mailboxes :
max_contacts : 1
maximum_expiration : 7200
minimum_expiration : 60
outbound_proxy :
qualify_frequency : 0
qualify_timeout : 3.000000
remove_existing : true
remove_unavailable : true
support_path : true
voicemail_extension :
Can someone maybe clarify what I am doing incorrectly please? I understand that the “remove_unavailable” is relatively new, but reading from the documentation I think I am causing a conflict somewhere with the “max_contacts”.
Best regards,
Dawie