[asterisk-users] PJSIP / tcp: define local port to use on base of trunk definition

Joshua C. Colp jcolp at digium.com
Mon Jul 8 07:20:19 CDT 2019


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



More information about the asterisk-users mailing list