Hi, friend!
Based on your description, do you need to connect the branch site to the voice gateway device as well? Or do you have other questions or symptoms? Based on your description, I don't quite understand what you're trying to address. If two network segments need to be connected to the gateway device, you need to configure the gateway IP address on the gateway device to ensure communication between branches.