PJSIP / Tcp: Define Local Port To Use On Base Of Trunk Definition

Home » Asterisk Users » PJSIP / Tcp: Define Local Port To Use On Base Of Trunk Definition
Asterisk Users No Comments

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