[Aug 8 12:12:33] NOTICE[26708]: res_pjsip/pjsip_distributor.c:482 log_unidentified_request: Request from '<sip:10.60.164.33>' failed for '10.60.164.33:50060' (callid: 14dda332-34cb-48cc-a55f-26d673f43078) - No matching endpoint found
Contact is not valid for the identify type, and the identify is using IP address â10.60.164.13â while your request is coming from â10.60.164.33â.
[Aug 8 14:58:02] ERROR[27479]: config_options.c:715 aco_process_var: Could not find option suitable for category âampâ named âcontactâ at line 1048 of
[Aug 8 14:58:02] ERROR[27479]: res_sorcery_config.c:318 sorcery_config_internal_load: Could not create an object of type âidentifyâ with id âampâ from configuration file âpjsip.confâ
I removed port 50060 from amp
My app listens on port 50060 btw
chan_sip and chan_pjsip are two completely different implementations, each with their own configuration. You could have continued to use sip.conf and chan_sip if you wanted.
[Aug 8 14:58:06] NOTICE[27479]: res_pjsip/pjsip_distributor.c:482 log_unidentified_request: Request from '<sip:10.60.164.33>' failed for '10.60.164.33:50060' (callid: e5aad4ad-7fd6-43dd-8a55-3e628b0d90ad) - No matching endpoint found
No matching endpoint found
To me it seems that if the extension in the dialplan is not hard coded (assigned) to a device, asterisk is not capable of handling it
The dialplan is completely independent of your pjsip.conf or sip.conf configuration.
The issue you are running into is that your pjsip.conf configuration is invalid. Things wonât work until you get that righted. As @jcolp pointed out, your identify configuration is invalid, and as a result, inbound requests arenât being matched to the endpoint that you want.
Please provide the full configuration of your pjsip.conf, along with the ERROR messages you are getting when the configuration is processed.
This has nothing to do with the dialplan. Asterisk canât match the inbound request to an endpoint, because you havenât provided a valid pjsip.conf configuration to allow it to do that.
[Aug 8 15:41:23] NOTICE[23940]: res_pjsip/pjsip_distributor.c:482 log_unidentified_request: Request from '<sip:10.60.164.33>' failed for '10.60.164.33:50060' (callid: 1e12331e-8922-43c8-a3a7-22199eab70ff) - No matching endpoint found
I have just installed asterisk 13 for the first time, is there any config I need to adjust?
Well, thatâs not really what I recommended, but okay
I think you may need to read up on the documentation for how to configure PJSIP - see Home - Asterisk Documentation for where you should get started.
At a high level, you will need:
An endpoint. This defines the basic properties of the device that you are going to talk to, such as what formats it uses. It also ties other concepts the device may have together, such as the location of the device (managed by the aor settings) or how authentication is handled (managed by auth settings).
If you want to dial the device, or if the device registers with Asterisk, youâll need an aor.
If you need to authenticate with the device, or if the device needs to authenticate with Asterisk, youâll need auth section(s).
By default, inbound requests from the device will be mapped to the endpoint based on the user portion of the From URI. If that isnât want you want, and you need to map requests based on the sending IP address, youâll need to provide an identify section that tells Asterisk how to map an inbound request to the endpoint.
Just as an aside, this tells Asterisk that when it sends a request to the amp endpoint, and if the amp endpoint challenges the request with a 401, we should use the authentication credentials in the ampauth object to authenticate.
Looking at the config you posted, however, I donât see an auth object defined - which means that the challenge will result in the request failing.
If the endpoint challenges requests from Asterisk, youâll need to define that as well.
and then keep only the main endpoint the system is working normally. i dont know why but its working⌠There is one thing for sure. I need to check it a little bit more and create a proper configuration.
Thank you all for your help.
Kind Regards,
Marinos
after had a look all conversion , i understood that , we cannot separate calls to different context with port as we do in chan_sip or there is another way to do it?