Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Based on your visio you would point the sip trunk on the panasonic PBX to the providers sip trunk address and just make sure your routers are setup to route(static route maybe?) to the correct Modem.