Need help getting anveo trunk to work with pjsip routing to an extension

So I have my did with anveo I want a simple setup call comes in delivered to an extension. I have the extension setup with the incoming route caller id of the did. But the calls do not seem to get to the extension. Please help

OPTIONS sip:[email protected]:5010 SIP/2.0
Via: SIP/2.0/UDP 38.62.82.198:5060;rport;branch=z9hG4bKPj10ad4975-5767-41ee-ae29-a67b4ece26bd
From: <sip:sd@anveo>;tag=f57f9aed-467f-4898-831b-70270c92ec87
To: <sip:[email protected]>
Contact: <sip:[email protected]:5060>
Call-ID: 7a0d5b7c-b7c7-4840-a361-fc42f46f9574
CSeq: 7210 OPTIONS
Max-Forwards: 70
User-Agent: VitalPBX
Content-Length:  0


<--- Received SIP response (399 bytes) from UDP:168.138.89.44:5010 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 38.62.82.198:5060;rport=24090;branch=z9hG4bKPj10ad4975-5767-41ee-ae29-a67b4ece26bd;received=38.62.82.198
From: <sip:sd@anveo>;tag=f57f9aed-467f-4898-831b-70270c92ec87
To: <sip:[email protected]>;tag=fe7b1c8fff805261a47700477f55c796.4540
Call-ID: 7a0d5b7c-b7c7-4840-a361-fc42f46f9574
CSeq: 7210 OPTIONS
Server: Anv Edge Proxy 3.5
Content-Length: 0


<--- Received SIP request (1213 bytes) from UDP:168.138.89.44:5010 --->
INVITE sip:[email protected]:5060;line=tgpuiwv SIP/2.0
Record-Route: <sip:168.138.89.44:5010;lr=on;ftag=as46223873;vsf=AAAAAAAAAAAAAAAAAAAAAB4OBwAXDUphbnZlby5jb20-;nat=yes>
Via: SIP/2.0/UDP 168.138.89.44:5010;branch=z9hG4bKfcee.710c51297878de4bd195f0909a0866fa.0
Via: SIP/2.0/UDP 127.0.0.8;branch=z9hG4bKVe-25uhCDFfXmZj4MWgd6afX6F-C68DdTrvXH3JXH8JcvkuUKjeoYjlsHUvC6F-XTrQXDUfdD8wj8gZzLuKcKk-USJ67tb1cSy9dLkCdLhDdDh.U6Uwa0iOa0hZcH8Qch**
From: "CORBETT GREIG" <sip:[email protected]>;tag=as46223873
To: <sip:[email protected]:5010>
Contact: <sip:127.0.0.8;anveohash=enc-aKu.c68-XthbXtl5XHlJhtUvC6F-XTrQXDUfdD81cH8Qch**>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: AMS.10.4
Max-Forwards: 69
Date: Mon, 23 Jun 2025 19:19:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Type: application/sdp
Content-Length: 278

v=0
o=root 3252 3252 IN IP4 168.138.89.44
s=session
c=IN IP4 168.138.89.44
t=0 0
m=audio 55334 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
a=nortpproxy:yes

<--- Transmitting SIP response (706 bytes) to UDP:168.138.89.44:5010 --->
SIP/2.0 484 Address Incomplete
Via: SIP/2.0/UDP 168.138.89.44:5010;rport=5010;received=168.138.89.44;branch=z9hG4bKfcee.710c51297878de4bd195f0909a0866fa.0
Via: SIP/2.0/UDP 127.0.0.8;branch=z9hG4bKVe-25uhCDFfXmZj4MWgd6afX6F-C68DdTrvXH3JXH8JcvkuUKjeoYjlsHUvC6F-XTrQXDUfdD8wj8gZzLuKcKk-USJ67tb1cSy9dLkCdLhDdDh.U6Uwa0iOa0hZcH8Qch**
Record-Route: <sip:168.138.89.44:5010;lr;ftag=as46223873;vsf=AAAAAAAAAAAAAAAAAAAAAB4OBwAXDUphbnZlby5jb20-;nat=yes>
Call-ID: [email protected]
From: "CORBETT GREIG" <sip:[email protected]>;tag=as46223873
To: <sip:[email protected]>;tag=cde534d4-04cd-4d0d-b455-50f547d22cf2
CSeq: 102 INVITE
Server: VitalPBX
Content-Length:  0


<--- Received SIP request (396 bytes) from UDP:168.138.89.44:5010 --->
ACK sip:[email protected]:5060;line=tgpuiwv SIP/2.0
Via: SIP/2.0/UDP 168.138.89.44:5010;branch=z9hG4bKfcee.710c51297878de4bd195f0909a0866fa.0
From: "CORBETT GREIG" <sip:[email protected]>;tag=as46223873
To: <sip:[email protected]>;tag=cde534d4-04cd-4d0d-b455-50f547d22cf2
Call-ID: [email protected]
CSeq: 102 ACK
Max-Forwards: 69
Content-Length: 0


<--- Transmitting SIP request (439 bytes) to UDP:208.100.60.50:5060 --->
OPTIONS sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 38.62.82.198:5060;rport;branch=z9hG4bKPj0ee86e83-16f9-4c42-bb6c-eab308bfb2d9
From: <sip:[email protected]>;tag=a03b5c6d-eee6-4cae-9f7f-4cc6a1fcc10f
To: <sip:[email protected]>
Contact: <sip:[email protected]:5060>
Call-ID: 5b7cf84a-f566-4281-8102-8e018528e033
CSeq: 50165 OPTIONS
Max-Forwards: 70
User-Agent: VitalPBX
Content-Length:  0


<--- Received SIP response (556 bytes) from UDP:208.100.60.50:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 38.62.82.198:5060;branch=z9hG4bKPj0ee86e83-16f9-4c42-bb6c-eab308bfb2d9;received=38.62.82.198;rport=28488
From: <sip:[email protected]>;tag=a03b5c6d-eee6-4cae-9f7f-4cc6a1fcc10f
To: <sip:[email protected]>;tag=as6e730d27
Call-ID: 5b7cf84a-f566-4281-8102-8e018528e033
CSeq: 50165 OPTIONS
Server: voip.ms
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: <sip:208.100.60.50:5060>
Accept: application/sdp
Content-Length: 0


<--- Received SIP request (311 bytes) from UDP:168.138.89.44:5010 --->
OPTIONS sip:[email protected]:5060;line=tgpuiwv SIP/2.0
Via: SIP/2.0/UDP 168.138.89.44:5010;branch=z9hG4bK2743247
From: sip:[email protected];tag=uloc-68597a03-1be9-b1ac3-2322a376-3db8d271
To: sip:[email protected]:5060;line=tgpuiwv
Call-ID: [email protected]
CSeq: 1 OPTIONS
Content-Length: 0


<--- Received SIP request (311 bytes) from UDP:168.138.89.44:5010 --->
OPTIONS sip:[email protected]:5060;line=ngmpkjm SIP/2.0
Via: SIP/2.0/UDP 168.138.89.44:5010;branch=z9hG4bK7135776
From: sip:[email protected];tag=uloc-68597a03-1beb-a5bd1-2322a376-4db8d271
To: sip:[email protected]:5060;line=ngmpkjm
Call-ID: [email protected]
CSeq: 1 OPTIONS
Content-Length: 0


<--- Transmitting SIP response (842 bytes) to UDP:168.138.89.44:5010 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 168.138.89.44:5010;rport=5010;received=168.138.89.44;branch=z9hG4bK2743247
Call-ID: [email protected]
From: <sip:[email protected]>;tag=uloc-68597a03-1be9-b1ac3-2322a376-3db8d271
To: <sip:[email protected]>;tag=z9hG4bK2743247;line=tgpuiwv
CSeq: 1 OPTIONS
Accept: application/sdp, application/simple-message-summary, application/xpidf+xml, application/cpim-pidf+xml, application/dialog-info+xml, application/pidf+xml, application/simple-message-summary, application/pidf+xml, application/dialog-info+xml, message/sipfrag;version=2.0
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, INFO, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Accept-Encoding: identity
Accept-Language: en
Server: VitalPBX
Content-Length:  0


<--- Transmitting SIP response (500 bytes) to UDP:168.138.89.44:5010 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 168.138.89.44:5010;rport=5010;received=168.138.89.44;branch=z9hG4bK7135776
Call-ID: [email protected]
From: <sip:[email protected]>;tag=uloc-68597a03-1beb-a5bd1-2322a376-4db8d271
To: <sip:[email protected]>;tag=z9hG4bK7135776;line=ngmpkjm
CSeq: 1 OPTIONS
WWW-Authenticate: Digest realm="asterisk",nonce="1750706377/c6a9331c4891990afc1bd21565d7e728",opaque="1c8c8043535814f0",algorithm=MD5,qop="auth"
Server: VitalPBX
Content-Length:  0


<--- Transmitting SIP request (418 bytes) to UDP:168.138.89.44:5010 --->
OPTIONS sip:[email protected]:5010 SIP/2.0
Via: SIP/2.0/UDP 38.62.82.198:5060;rport;branch=z9hG4bKPj805d4bd5-99bc-4210-8924-1d039c74e527
From: <sip:sd@anveo>;tag=f0a5e859-ccd0-4328-ae72-1d1ebef3e877
To: <sip:[email protected]>
Contact: <sip:[email protected]:5060>
Call-ID: 5b8bcbd5-c9ab-41ba-856d-616e98ad863a
CSeq: 15295 OPTIONS
Max-Forwards: 70
User-Agent: VitalPBX
Content-Length:  0


<--- Received SIP response (400 bytes) from UDP:168.138.89.44:5010 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 38.62.82.198:5060;rport=24090;branch=z9hG4bKPj805d4bd5-99bc-4210-8924-1d039c74e527;received=38.62.82.198
From: <sip:sd@anveo>;tag=f0a5e859-ccd0-4328-ae72-1d1ebef3e877
To: <sip:[email protected]>;tag=fe7b1c8fff805261a47700477f55c796.f8cd
Call-ID: 5b8bcbd5-c9ab-41ba-856d-616e98ad863a
CSeq: 15295 OPTIONS
Server: Anv Edge Proxy 3.5
Content-Length: 0

type or paste code here

That is the log of the call coming in Please tell me what I messed up.

Can you post a screenshot of your inbound route setup and what shows in the asterisk console if you “core set verbose 9” and then attempt a call?