[asterisk-users] pjsip subscribe (presence) always returns: No matching endpoint found
jcolp at digium.com
Sun Nov 19 11:36:00 CST 2017
On Sun, Nov 19, 2017, at 12:11 PM, Benoit Panizzon wrote:
> Hello List
> I am in the progress of migrating from chan_sip to pjsip.
> I fear I have missed something on how hints need to be specified for
> For chan_sip I have configured sip.conf
> subscribecontext = localuser
> and in the dialplan I set:
> exten => 11,hint,SIP/11
> Now if a phone subscribes to '11' this works.
> Now I try to get the same working for pjsip. I understood that for
> pjsip the hit needs to be placed in the same context as the endpoint:
> callerid=(remove in this example
> And in the dialplan I changed:
> exten => 11,hint,PJSIP/11
> But I constantly get:
> Request 'SUBSCRIBE' from '"Benoît Panizzon PJSIP" <sip:11 at woody.ch>'
> failed for '2001:4060:dead:d1d0:204:13ff:fe30:228d:2332' (callid:
> ow21f3eg at snom) - No matching endpoint found
> And I in the logger I see that the subscriber request is being rejected
> with error 404.
> Any hints what I'm doing wrong?
Have you checked the Asterisk console when PJSIP is loaded to see if the
endpoint did not load for some reason? Does it show up in "pjsip show
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users