Michael Maier
2019-Jul-08 12:17 UTC
[asterisk-users] PJSIP / tcp: define local port to use on base of trunk definition
Hello! Following problem: If there are different trunks (-> different numbers and users / passwords) to the same destination, asterisk (16.x) always uses the same local tcp port for each connection. This is a problem with Deutsche Telekom (they want to have different local ports for different users). Besides the possibility to use different IP addresses (aliases) - is there a generic way to define on trunk base which local port to use for each user / number? Thanks Michael
Joshua C. Colp
2019-Jul-08 12:20 UTC
[asterisk-users] PJSIP / tcp: define local port to use on base of trunk definition
On Mon, Jul 8, 2019, at 9:18 AM, Michael Maier wrote:> Hello! > > Following problem: If there are different trunks (-> different numbers > and users / passwords) to the same destination, asterisk (16.x) always > uses the same local tcp port for each connection. This is a problem > with Deutsche Telekom (they > want to have different local ports for different users). > > Besides the possibility to use different IP addresses (aliases) - is > there a generic way to define on trunk base which local port to use for > each user / number?There is not. Multiple TCP transports are not currently supported (although could be in the future as PJSIP added support for it). -- Joshua C. Colp Digium - A Sangoma Company | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org