sip2sip registers but incoming calls get "No matching endpoi

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

sip2sip registers but incoming calls get "No matching endpoi

Postby lardconcepts » Wed Jan 06, 2016 5:53 pm

Got myself 2 sip2sip accounts.
Put on one asterisk and it registered OK - shows up as connected fine on the sip2sip control panel too. But no matter what I do, when I dial in using my address (ie: asteriskuser@sip2sip.info) it always rejects and incoming call with "No matching endpoint found".

I've also tried various microsip settings like ICE, ip rewrites, TLS and non-TLS, although I don't think that's where the problem lies?

(PS - don't try dialling that - it's been changed!)

Here's my config:

pjsip_wizard.conf - by the way, I've tried changing my section heading to sip2sip.info and asteriskuser based on something david555 said on another thread.

Code: Select all
[sip2sip]
type = wizard
sends_auth = yes
sends_registrations = yes
remote_hosts = sip2sip.info
outbound_auth/username = asteriskuser
outbound_auth/password = XXXXX
endpoint/allow = alaw
endpoint/context = fromsip2sip
registration/contact_user = asteriskuser
outbound_proxy = proxy.sipthor.net:443
endpoint/language=en_GB


extensions.conf
Code: Select all
[fromsip2sip]
; 2233XXXXX is your SIP2SIP username, NOT a dialplan pattern
exten => asteriskuser,1,NoOp(--Incoming call from ${CALLERID(all)})


Here's my log - after 3/4 of a day on this, any help and guidance would be greatly appreciated. Thank you!

Code: Select all

<--- Received SIP request (398 bytes) from UDP:85.17.186.7:5060 --->
ACK sip:asteriskuser@ASTERISK.IP.ADDRESS.X:5060 SIP/2.0
Via: SIP/2.0/UDP 85.17.186.7:5060;branch=z9hG4bK0728.03ee9c57.0
From: "demo" <sip:microsipuser@sip2sip.info>;tag=eb0ab53b09cb489eb350fa236b4e6c4a
Call-ID: 71ede4ce46554d24aaf1d623a14ced4a
To: <sip:asteriskuser@sip2sip.info>;tag=z9hG4bK0728.03ee9c57.0
CSeq: 1723 ACK
Max-Forwards: 70
User-Agent: SIP Thor on OpenSIPS XS 1.11
Content-Length: 0


<--- Received SIP request (2702 bytes) from UDP:85.17.186.7:5060 --->
INVITE sip:asteriskuser@ASTERISK.IP.ADDRESS.X:5060 SIP/2.0
Record-Route: <sip:85.17.186.7;lr;ftag=eb0ab53b09cb489eb350fa236b4e6c4a;did=4c2.cc93e4e4>
Record-Route: <sip:81.23.228.150;lr;ftag=eb0ab53b09cb489eb350fa236b4e6c4a;did=4c2.d3c720a1>
Record-Route: <sip:85.17.186.7;lr;ftag=eb0ab53b09cb489eb350fa236b4e6c4a;did=4c2.bc93e4e4>
Record-Route: <sip:81.23.228.150;r2=on;lr;ftag=eb0ab53b09cb489eb350fa236b4e6c4a;did=4c2.c3c720a1>
Record-Route: <sip:81.23.228.150:443;transport=tls;r2=on;lr;ftag=eb0ab53b09cb489eb350fa236b4e6c4a;did=4c2.c3c720a1>
Via: SIP/2.0/UDP 85.17.186.7:5060;branch=z9hG4bKd628.b01f3cb3.0
Via: SIP/2.0/UDP 81.23.228.150:5060;branch=z9hG4bKd628.ef6fc06.0
Via: SIP/2.0/UDP 85.17.186.7:5060;branch=z9hG4bKd628.a01f3cb3.0
Via: SIP/2.0/UDP 81.23.228.150:5060;branch=z9hG4bKd628.df6fc06.0;i=90d41
Via: SIP/2.0/TLS 192.168.1.19:59674;received=HOME.IP.ADDRESS.X;rport=59674;branch=z9hG4bKPj498a3794741d41c1802d2ce8491d1908;alias
Max-Forwards: 66
From: "demo" <sip:microsipuser@sip2sip.info>;tag=eb0ab53b09cb489eb350fa236b4e6c4a
To: <sip:asteriskuser@sip2sip.info>
Contact: <sip:microsipuser@HOME.IP.ADDRESS.X:59674;transport=TLS;ob>;+sip.ice
Call-ID: 71ede4ce46554d24aaf1d623a14ced4a
CSeq: 1724 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
User-Agent: MicroSIP/3.10.10
Authorization: Digest username="microsipuser@sip2sip.info", realm="asterisk", nonce="XXXX", uri="sip:asteriskuser@sip2sip.info;transport=tls", response="XXXXX", algorithm=md5, cnonce="XXXXX3", opaque="565a98637377b296", qop=auth, nc=00000001
Content-Type: application/sdp
Content-Length: 893

v=0
o=- 3661110209 3661110209 IN IP4 192.168.1.19
s=pjmedia
b=AS:84
t=0 0
a=X-nat:0
m=audio 55554 RTP/AVP 9 18 8 0 101
c=IN IP4 81.23.228.150
b=TIAS:64000
a=rtcp:55555 IN IP4 81.23.228.150
a=sendrecv
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ice-ufrag:25ba2c1d
a=ice-pwd:433667d2
a=candidate:R96e41751 1 UDP 16777215 81.23.228.150 55554 typ relay raddr 81.23.228.150 rport 55554
a=candidate:R96e41751 2 UDP 16777214 81.23.228.150 55555 typ relay raddr 81.23.228.150 rport 55555
a=candidate:Hc0a80113 1 UDP 2130706431 192.168.1.19 64880 typ host
a=candidate:Ha9feb2af 1 UDP 2130706431 169.254.178.175 64880 typ host
a=candidate:Hc0a80113 2 UDP 2130706430 192.168.1.19 64882 typ host
a=candidate:Ha9feb2af 2 UDP 2130706430 169.254.178.175 64882 typ host

[Jan  6 23:03:31] NOTICE[8679]: res_pjsip/pjsip_distributor.c:347 log_unidentified_request: Request from '"demo" <sip:microsipuser@sip2sip.info>' failed for '85.17.186.7:5060' (callid: 71ede4ce46554d24aaf1d623a14ced4a) - No matching endpoint found
<--- Transmitting SIP response (1351 bytes) to UDP:85.17.186.7:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 85.17.186.7:5060;rport=5060;received=85.17.186.7;branch=z9hG4bKd628.b01f3cb3.0
Via: SIP/2.0/UDP 81.23.228.150:5060;branch=z9hG4bKd628.ef6fc06.0
Via: SIP/2.0/UDP 85.17.186.7:5060;branch=z9hG4bKd628.a01f3cb3.0
Via: SIP/2.0/UDP 81.23.228.150:5060;branch=z9hG4bKd628.df6fc06.0;i=90d41
Via: SIP/2.0/TLS 192.168.1.19:59674;rport=59674;received=HOME.IP.ADDRESS.X;branch=z9hG4bKPj498a3794741d41c1802d2ce8491d1908;alias
Record-Route: <sip:85.17.186.7;lr;ftag=eb0ab53b09cb489eb350fa236b4e6c4a;did=4c2.cc93e4e4>
Record-Route: <sip:81.23.228.150;lr;ftag=eb0ab53b09cb489eb350fa236b4e6c4a;did=4c2.d3c720a1>
Record-Route: <sip:85.17.186.7;lr;ftag=eb0ab53b09cb489eb350fa236b4e6c4a;did=4c2.bc93e4e4>
Record-Route: <sip:81.23.228.150;lr;r2=on;ftag=eb0ab53b09cb489eb350fa236b4e6c4a;did=4c2.c3c720a1>
Record-Route: <sip:81.23.228.150:443;transport=tls;lr;r2=on;ftag=eb0ab53b09cb489eb350fa236b4e6c4a;did=4c2.c3c720a1>
Call-ID: 71ede4ce46554d24aaf1d623a14ced4a
From: "demo" <sip:microsipuser@sip2sip.info>;tag=eb0ab53b09cb489eb350fa236b4e6c4a
To: <sip:asteriskuser@sip2sip.info>;tag=z9hG4bKd628.b01f3cb3.0
CSeq: 1724 INVITE
WWW-Authenticate: Digest  realm="asterisk",nonce="XXXXX",opaque="XXXXX",algorithm=md5,qop="auth"
Server: Asterisk PBX 13.6.0
Content-Length:  0


<--- Received SIP request (398 bytes) from UDP:85.17.186.7:5060 --->
ACK sip:asteriskuser@ASTERISK.IP.ADDRESS.X:5060 SIP/2.0
Via: SIP/2.0/UDP 85.17.186.7:5060;branch=z9hG4bKd628.b01f3cb3.0
From: "demo" <sip:microsipuser@sip2sip.info>;tag=eb0ab53b09cb489eb350fa236b4e6c4a
Call-ID: 71ede4ce46554d24aaf1d623a14ced4a
To: <sip:asteriskuser@sip2sip.info>;tag=z9hG4bKd628.b01f3cb3.0
CSeq: 1724 ACK
Max-Forwards: 70
User-Agent: SIP Thor on OpenSIPS XS 1.11
Content-Length: 0
lardconcepts
Newsterisk
 
Posts: 35
Joined: Tue Nov 11, 2014 2:13 pm

Re: sip2sip registers but incoming calls get "No matching endpoi

Postby lardconcepts » Tue Jan 12, 2016 4:54 pm

Anyone have any ideas? Another two days on this - I just discovered the mailing list is not in synch with the forums; in other words, there appears to be a lot there that isn't here. (I had assumed it was the usual "forum/mailing list is the same" setup.)

I've also searched the mailing list for my problem, but again, nothing matches.

So I might post on the mailing list, but if anyone has any ideas meantime.... ?

Thanks!
lardconcepts
Newsterisk
 
Posts: 35
Joined: Tue Nov 11, 2014 2:13 pm


Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 1 guest