Good Morning
I have the following scenario:
A telephone operator in my country (Brazil), delivers SIP trunks through modems / routers, each of these modems / routers has a network configuration, which is usually an IP for PABX and the Gateway, which in this case is the modem itself / router, an endpoint is provided to configure the SIP trunk.
Example:
PABX IP: 10.20.1.2
Gateway: 10.20.1.1
Endpoint: 10.50.1.1
To configure this scenario it is simple: I create a route in linux for the endpoint passing through the gateway
My question is:
How to configure 2 of these scenarios, the endpoint being the same but the physical means (modems / routers) are different.
Example:
Trunk1 with modem / router 1:
PABX IP: 10.20.1.2
Gateway: 10.20.1.1
Endpoint: 10.50.1.1
Trunk2 with modem / router 2:
IP PBX: 10.30.1.2
Gateway: 10.30.1.1
Endpoint: 10.50.1.1
is it possible to configure this scenario using sip or pjsip without having the need for another asterisk as a gateway?