I have a few extensions that I want to authenticate using their IP address instead of a password. I can get it working by hardcoding the endpoint in pjsip_custom.conf
[123456]
type=aor
contact=sip:mydomain.com
[123456]
type=endpoint
aors=123456
tos_audio=ef
tos_video=af41
cos_audio=5
cos_video=4
allow=g722,ulaw,alaw,gsm,g726
context=from-internal
callerid=TEST <123456>
dtmf_mode=rfc4733
direct_media=yes
aggregate_mwi=yes
use_avpf=no
rtcp_mux=no
ice_support=no
media_use_received_transport=no
trust_id_inbound=yes
user_eq_phone=no
send_connected_line=yes
media_encryption=no
timers=yes
media_encryption_optimistic=no
rtp_timeout=30
rtp_timeout_hold=300
send_pai=yes
rtp_symmetric=yes
rewrite_contact=yes
force_rport=yes
language=en
one_touch_recording=on
record_on_feature=apprecord
record_off_feature=apprecord
[123456-identify]
type=identify
endpoint=123456
match=123.123.123.123
I’m wondering if there’s a way to do this through the GUI. I tried creating a PJSIP extension without a secret but it still creates an auth section in pjsip.auth.conf.
Thanks.