Hi , I´m using asterisk v18, with pjsip.conf
I am making a switchboard with two annexes, for some reason only one phone is connected, when I try to connect another I get ‘Failed to authenticate’, even though the configurations are correct. Since if I leave the configuration of the annex alone it gave me an error It connects normally.
Mi config is that.
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060
[10]
type=endpoint
context=local
disallow=all
allow=ulaw
auth=10-auth
aors=10
[10-auth]
type=auth
auth_type=userpass
username=10
password=1234
[10]
type=aor
max_contacts=1
contact=sip:10@127.0.0.1:5060
[10-identify]
type=identify
endpoint=10
match=0.0.0.0/0
[12]
type=endpoint
context=local
disallow=all
allow=ulaw
auth=12-auth
aors=12
[12-auth]
type=auth
auth_type=userpass
username=12
password=1234
[12]
type=aor
max_contacts=1
contact=sip:12@127.0.0.1:5060
[12-identify]
type=identify
endpoint=12
match=0.0.0.0/0