PJSIP: Configured endpoint but endpoint could not be looked up

Good afternoon everyone,

I’m quiet new to Asterisk and need some help regarding endpoints in pjsip.conf

I created the pjsip.config below but “pjsip show endpoints” shows no registration and I receive a message
WARNING[6891]: res_pjsip_endpoint_identifier_ip.c:145 ip_identify: Identify section ‘04_sipgate_identity’ points to endpoint ‘04_sipgate_01’ but endpoint could not be looked up

If there’s someone who can help me with this: it’s highly appreciated.

Best regards,

Joerg

[global]
type=global
user_agent=LasRamblas
endpoint_identifier_order=ip,username
default_from_user=12345

[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0
local_net=192.168.178.0/24
local_net=10.10.10.0/27

[transport-tcp]
type=transport
protocol=tcp
bind=0.0.0.0
local_net=192.168.178.0/24
local_net=10.10.10.0/27

;----------------------------------------------------------------

[04_sipgate_1234567890]
type=registration
retry_interval=20
max_retries=10
contact_user=12345678
expiration=120
transport=transport-udp
outbound_auth=04_sipgate_auth
client_uri=sip:12345678@sipgate.de:5060
server_uri=sip:sipgate.de:5060

[04_sipgate_auth]
type=auth
username=12345678
password=ABCDEFGHIJKL

[04_sipgate_aor]
type=aor
contact=sip:12345678@sipgate.de

[04_sipgate_identity]
type=identify
endpoint=04_sipgate_01
match=sipgate.de

[04_sipgate_01]
type=endpoint
context=04_sipgate-in
dtmf_mode=rfc4733
disallow=all
allow=alaw
rtp_symmetric=yes
force_rport=yes
rewrite_contact=yes
timers=yes
from_user=12345678
from_domain=sipgate.de
language=en
outbound_auth=04_sipgate_auth
aors=04_sipgate_aor
match=217.10.64.0/20

Your endpoint definition is invalid, so it was not loaded. If you look at the log at startup it’ll tell you what it didn’t like. In this case I believe it is “match” and “timers” at the very least. Those aren’t valid options in an endpoint.

Thanks a lot!

I was the “match” statement!

A post was split to a new topic: Endpoint not found