No matching endpoint found for incoming call

Hello @david551 Thanks for the suggestion. I downloaded a cfg file of the patton and I noticed that it was trying to authenticate to the old PBX. I changed the registrar to the new PBX and these are the logs Asterisk prints out:


[May 10 15:53:42] NOTICE[12168]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'REGISTER' from '<sip:10001@172.16.1.232>' failed for '172.16.1.235:5060' (callid: 86bc6abc000d8297) - Failed to authenticate
[May 10 15:53:43] WARNING[12168]: res_pjsip_endpoint_identifier_ip.c:290 common_identify: Identify '10001' points to endpoint '10001' but endpoint could not be found
[May 10 15:53:43] NOTICE[12168]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'REGISTER' from '<sip:10002@172.16.1.232>' failed for '172.16.1.235:5061' (callid: d7021ca048d96ea9) - No matching endpoint found
[May 10 15:53:43] WARNING[12168]: res_pjsip_endpoint_identifier_ip.c:290 common_identify: Identify '10001' points to endpoint '10001' but endpoint could not be found
[May 10 15:53:43] NOTICE[12168]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'REGISTER' from '<sip:10002@172.16.1.232>' failed for '172.16.1.235:5061' (callid: d7021ca048d96ea9) - No matching endpoint found
[May 10 15:53:43] NOTICE[12168]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'REGISTER' from '<sip:10002@172.16.1.232>' failed for '172.16.1.235:5061' (callid: d7021ca048d96ea9) - Failed to authenticate

Then I tried to set up a specific port number for the SIP identities, 10001 on the 5060 port (match = 172.16.1.235:5060 in the pjsip.conf) and 10002 on the 5061 port (match = 172.16.1.235:5061 in the pjsip.conf) and after reloading both patton and asterisk, this is what asterisk logs:

[May 10 15:59:43] NOTICE[12168]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'REGISTER' from '<sip:10002@172.16.1.232>' failed for '172.16.1.235:5061' (callid: 37764ba0ee90ea5b) - No matching endpoint found
[May 10 15:59:43] WARNING[12168]: res_pjsip_endpoint_identifier_ip.c:290 common_identify: Identify '10002' points to endpoint '10002' but endpoint could not be found
[May 10 15:59:43] NOTICE[12168]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'REGISTER' from '<sip:10002@172.16.1.232>' failed for '172.16.1.235:5061' (callid: 37764ba0ee90ea5b) - No matching endpoint found
[May 10 15:59:43] NOTICE[12168]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'REGISTER' from '<sip:10002@172.16.1.232>' failed for '172.16.1.235:5061' (callid: 37764ba0ee90ea5b) - Failed to authenticate
[May 10 15:59:52] WARNING[12168]: res_pjsip_endpoint_identifier_ip.c:290 common_identify: Identify '10001' points to endpoint '10001' but endpoint could not be found

.
This is the situation of the SIP identity on the Patton01 web GUI right now, for identity 10001

I can disclose the Patton’s cfg file, hoping someone can help me:

#----------------------------------------------------------------#
#                                                                #
# SN4120/1BIS2V                                                  #
# R6.3 2013-05-01 H323 SIP                                       #
# 2022-05-10T14:44:59                                            #
# SN/00A0BA0A8DB4                                                #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
clock local default-offset +01:00
dns-client server 172.16.1.238
dns-client server 172.16.1.239
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 172.16.1.238 port 123 version 4
system hostname Patton01

system

  ic voice 0

system
  clock-source 1 bri 0 0

profile ppp default

profile call-progress-tone IT_Dialtone
  play 1 200 425 -12
  pause 2 200
  play 3 600 425 -12
  pause 4 1000
  play 5 200 425 -12
  pause 6 200
  play 7 600 425 -12
  pause 8 1000
  play 9 200 425 -12
  pause 10 200

profile call-progress-tone IT_Alertingtone
  play 1 1000 425 -12
  pause 2 4000
  play 3 1000 425 -12
  pause 4 4000
  play 5 1000 425 -12
  pause 6 4000

profile call-progress-tone IT_Busytone
  play 1 500 425 -12
  pause 2 500
  play 3 500 425 -12
  pause 4 500
  play 5 500 425 -12
  pause 6 500

profile tone-set default
profile tone-set IT
  map call-progress-tone dial-tone IT_Dialtone
  map call-progress-tone ringback-tone IT_Alertingtone
  map call-progress-tone busy-tone IT_Busytone
  map call-progress-tone release-tone IT_Busytone
  map call-progress-tone congestion-tone IT_Busytone

profile voip default
  codec 1 g711alaw64k rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 20 tx-length 20
  codec 3 g729 rx-length 20 tx-length 20
  fax transmission 1 relay t38-udp

profile pstn default

profile sip default
  no autonomous-transitioning

profile aaa default
  method 1 local
  method 2 none

context ip router

  interface LAN
    ipaddress 172.16.1.235 255.255.0.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context ip router
  route 0.0.0.0 0.0.0.0 172.16.1.254 0

context cs switch
  digit-collection timeout 3
  no digit-collection terminating-char
  national-prefix 0
  international-prefix 00

  routing-table called-e164 INBOUND_0
    route .%T3 dest-interface IF_SIP_SERVICE_0

  routing-table called-e164 INBOUND_1
    route .%T3 dest-interface IF_SIP_SERVICE_1

  routing-table called-e164 OUTBOUND_0
    route default dest-service BOUND_PSTN_0

  routing-table called-e164 OUTBOUND_1
    route default dest-service BOUND_PSTN_1

  interface isdn IF_PSTN_0
    route call dest-table INBOUND_0
    use profile tone-set IT

  interface isdn IF_PSTN_1
    route call dest-table INBOUND_1
    use profile tone-set IT

  interface sip IF_SIP_SERVICE_0
    bind context sip-gateway GW_SIP_0
    route call dest-table OUTBOUND_0
    remote 172.16.1.232
    early-disconnect
    privacy

  interface sip IF_SIP_SERVICE_1
    bind context sip-gateway GW_SIP_1
    route call dest-table OUTBOUND_1
    remote 172.16.1.232
    early-disconnect
    privacy

  service hunt-group BOUND_PSTN_0
    drop-cause normal-unspecified
    drop-cause no-circuit-channel-available
    drop-cause network-out-of-order
    drop-cause temporary-failure
    drop-cause switching-equipment-congestion
    drop-cause access-info-discarded
    drop-cause circuit-channel-not-available
    drop-cause resources-unavailable
    drop-cause user-busy
    route call 1 dest-interface IF_PSTN_0

  service hunt-group BOUND_PSTN_1
    drop-cause normal-unspecified
    drop-cause no-circuit-channel-available
    drop-cause network-out-of-order
    drop-cause temporary-failure
    drop-cause switching-equipment-congestion
    drop-cause access-info-discarded
    drop-cause circuit-channel-not-available
    drop-cause resources-unavailable
    drop-cause user-busy
    route call 1 dest-interface IF_PSTN_1

context cs switch
  no shutdown

authentication-service AUTH_SVC
  username 10001 password dZ8edXkjFnM= encrypted
  username 10002 password iAaKwKfxX4Q= encrypted

location-service LOCATION_SVC_0
  domain 1 172.16.1.232

  identity 10001

    authentication outbound
      authenticate 1 authentication-service AUTH_SVC username 10001

    registration outbound
      registrar 172.16.1.232
      lifetime 3600
      register auto

location-service LOCATION_SVC_1
  domain 1 172.16.1.232

  identity 10002

    authentication outbound
      authenticate 1 authentication-service AUTH_SVC username 10002

    registration outbound
      registrar 172.16.1.232
      lifetime 3600
      register auto

context sip-gateway GW_SIP_0

  interface IF_GW_SIP_0
    bind interface LAN context router port 5060

context sip-gateway GW_SIP_0
  bind location-service LOCATION_SVC_0
  no shutdown

context sip-gateway GW_SIP_1

  interface IF_GW_SIP_1
    bind interface LAN context router port 5061

context sip-gateway GW_SIP_1
  bind location-service LOCATION_SVC_1
  no shutdown

port ethernet 0 0
  medium auto
  encapsulation ip
  bind interface LAN router
  no shutdown

port bri 0 0
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface IF_PSTN_0 switch

port bri 0 0
  no shutdown

Asterisk on the new PBX (172.16.1.232) can’t still see the endpoints 10001-10005 when running “pjsip show endpoints”

voipp1*CLI> pjsip show endpoints

 Endpoint:  <Endpoint/CID.....................................>  <State.....>  <Channels.>
    I/OAuth:  <AuthId/UserName...........................................................>
        Aor:  <Aor............................................>  <MaxContact>
      Contact:  <Aor/ContactUri..........................> <Hash....> <Status> <RTT(ms)..>
  Transport:  <TransportId........>  <Type>  <cos>  <tos>  <BindAddress..................>
   Identify:  <Identify/Endpoint.........................................................>
        Match:  <criteria.........................>
    Channel:  <ChannelId......................................>  <State.....>  <Time.....>
        Exten: <DialedExten...........>  CLCID: <ConnectedLineCID.......>
==========================================================================================

 Endpoint:  200/200                                              Unavailable   0 of 1
     InAuth:  auth200/200
        Aor:  200                                                1

 Endpoint:  201/201                                              Not in use    0 of 1
     InAuth:  auth201/201
        Aor:  201                                                1
      Contact:  201/sip:201@192.168.255.1:5060;registering 7011dfa327 NonQual         nan

 Endpoint:  202/202                                              Unavailable   0 of 1
     InAuth:  auth202/202
        Aor:  202                                                1

 Endpoint:  203/203                                              Unavailable   0 of 1
     InAuth:  auth203/203
        Aor:  203                                                1

 Endpoint:  204/204                                              Unavailable   0 of 1
     InAuth:  auth204/204
        Aor:  204                                                1

 Endpoint:  205/205                                              Unavailable   0 of 1
     InAuth:  auth205/205
        Aor:  205                                                1

 Endpoint:  206/206                                              Unavailable   0 of 1
     InAuth:  auth206/206
        Aor:  206                                                1

 Endpoint:  207/207                                              Unavailable   0 of 1
     InAuth:  auth207/207
        Aor:  207                                                1

 Endpoint:  208/208                                              Unavailable   0 of 1
     InAuth:  auth208/208
        Aor:  208                                                1

 Endpoint:  209/209                                              Unavailable   0 of 1
     InAuth:  auth209/209
        Aor:  209                                                1

 Endpoint:  210/210                                              Unavailable   0 of 1
     InAuth:  auth210/210
        Aor:  210                                                1

 Endpoint:  801                                                  Unavailable   0 of inf
    OutAuth:  801/801
     InAuth:  801/801
        Aor:  801                                                1

 Endpoint:  messagenet-endpoint                                  Not in use    0 of inf
    OutAuth:  messagenet-auth/5406371555
        Aor:  messagenet-aor                                     0
      Contact:  messagenet-aor/sip:54063XXXXX@sip.messagen 84de8XXXXX Avail        16.086
   Identify:  messagenet-identify/messagenet-endpoint
        Match: 212.97.59.76/32

 Endpoint:  tiscali-endpoint                                     Not in use    0 of inf
    OutAuth:  tiscali-auth/003901158XXXXX
        Aor:  tiscali-aor                                        0
      Contact:  tiscali-aor/sip:00390115849XXX@ims.tiscali 9a230d56XX NonQual         nan
   Identify:  tiscali-identify/tiscali-endpoint
        Match: 94.32.130.112/32


Objects found: 14

One more info, this is the Outgoing Call Address Translation setting on the Patton:

There is no type in this section, and no type in the section that uses it as a template.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.