Vega 60G Analog Gateway - Incoming Calls error

So I installed a Vega 60G Analog gateway onto a standard FreePBX 13 distro. Running pjsip at 5060 and chan_sip at 5160. Incoming calls don’t work. In the FreePBX console I get:

[2017-10-01 19:10:03] NOTICE[189349]: res_pjsip/pjsip_distributor.c:649 log_failed_request: Request ‘INVITE’ from ‘sip:[email protected]’ failed for ‘10.6.1.21:5060’ (callid: 00F0-921B-29805C70-00000063@0064FED00D02CB883) - No matching endpoint found

I connected up my Vega gateway with these settings in VOIP:

Registration Mode Off
SIP Local Port 5060
SIP Server IP 10.1.1.60
SIP Server Port 5060
Transport Mode udp
SIP Accessibility options

In the FXO screen, I set the phone numbers in my “Numeric Caller ID”

In FreePBX, my trunk is set up as a SIP trunk
Trunk Name Vega6

Outgoing Settings
Trunk Name Vega6-Out
type=peer
qualify=yes
Host=10.6.1.21

Incoming Settings:
USER Context Vega6
type=peer
qualify=yes
host=10.6.1.21
context=from-trunk

Any ideas why my incoming calls don’t work?

So you setup a chan sip trunk but you have the Vega setup to send to the port that pjsip is listening on. That won’t ever work.

Thanks, Tony. I thought that I should set up a pjsip trunk, but I am not seeing any guidance on how to do that on the Wiki. Is there any guidance on how to set up a pjsip trunk for a Vega FXO gateway? I don’t see any on the Forums or on the Wiki.

I am not aware of any but support should be able to help you.