[Home]

Summary:ASTERISK-24046: PJSIP: No matching endpoint found on incoming call?
Reporter:Ilya Trikoz (Awesome)Labels:
Date Opened:2014-07-16 00:16:02Date Closed:2014-07-16 08:30:45
Priority:MinorRegression?
Status:Closed/CompleteComponents:Channels/chan_pjsip
Versions:12.3.2 12.4.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:In my case I using realtime,
here is how it looks in plant

[10001]
type=registration
transport=upd_static
outbound_auth=10001
server_uri=sip:600@192.168.1.1:5060
client_uri=sip:600@192.168.1.4:5060

[10001]
type=auth
auth_type=userpass
password=600
username=600

[10001]
type=aor
contact=sip:192.168.1.4:5060

[10001]
type=endpoint
transport=upd_static
context=dialmap
disallow=all
allow=ulaw
outbound_auth=10001
aors=10001

[10001]
type=identify
endpoint=10001
match=192.168.1.1

when I call 600 from other pbx I getting an notice

NOTICE[10202]: res_pjsip/pjsip_distributor.c:246 log_unidentified_request: Request from '"Ilya" <sip:502@192.168.1.1>' failed for '192.168.1.1:5060' (callid: ZTNhYjU4ZjU5ZmUxNjM5M2FlYjBlYTE3YzgwZTU4MGY.) - No matching endpoint found

and "Not Accessable" on phone, something wrong with config or bug?
Comments:By: Joshua C. Colp (jcolp) 2014-07-16 08:30:45.424-0500

This is not a bug. Endpoints are matched using either IP address or the user portion of the From header. In this case neither are matching an endpoint.

This is because you have configured an endpoint with a name of "10001" but your device is using "502".

For further help please use the asterisk-users mailing list.

By: Ilya Trikoz (Awesome) 2014-07-16 10:29:57.972-0500

So there noway to forward all inbound calls from this trunk to specific endpoint? let's imagine that 600 its external number of voip operator, and I wanna accept all incoming calls from it (no matter what caller id they have)

Edit: ok user mailing list I go:D