Displaying the IP address of the wireguard interface when an incoming call is made from a PBX in another office.

Hello everyone! I have two PBX connected between offices via wireguard and connected by an iax2 trunk. The first PBX is freepbx, and the second is elastix. Calls from another office coming to me on freepbx are defined as { “name” 4569:12343 “number” }, and the logs show the address of the wireguard tunnel, but not the name of the trunk to another PBX. I was doing tracert and the path of the packets really follows to the gateway-wireguard interface- the address of another PBX. Where should I look?