https://tools.ietf.org/html/rfc6314 Section 5.1.1
https://www.ietf.org/rfc/rfc3581.txt
The closest thing I find in the settings is Random ports...?
The phone is a Siemens Gigaset S675IP.
Perhaps this model does not support rport, or it is likely that supported and enabled by default(like in Gigaset C610A-IP), but there is no checkbox in the configuration.
Example of registration Gigaset C610A-IP(I have highlighted in
bold, how rport support is represented in client-side and server-side):
Session Initiation Protocol (REGISTER)
Request-Line: REGISTER sip:xxx.xxx.xxx SIP/2.0
Message Header
Via: SIP/2.0/UDP 192.168.xxx.xxx:5075;branch=z9hG4bK57d26187e910f32b289519d1bb6bdc0e;
rport
From: <sip:xxxxxxxxx@xxx.xxx.xxx>;tag=2596272465
To: <sip:xxxxxxxxx@xxx.xxx.xxx>
Call-ID: 1965366488@192_168_xxx_xxx
CSeq: 382 REGISTER
Contact: <sip:xxxxxxxxx@192.168.xxx.xxx:5075>
Max-Forwards: 70
User-Agent: C610A IP/42.238.00.000.000
Expires: 3600
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, SUBSCRIBE, NOTIFY, REFER, UPDATE
Content-Length: 0
Session Initiation Protocol (401)
Status-Line: SIP/2.0 401 Unauthorized
Message Header
Via: SIP/2.0/UDP 192.168.xxx.xxx:5075;branch=z9hG4bK57d26187e910f32b289519d1bb6bdc0e;
received=213.141.xxx.xxx;rport=5075
From: <sip:xxxxxxxxx@xxx.xxx.xxx>;tag=2596272465
To: <sip:xxxxxxxxx@xxx.xxx.xxx>;tag=98a7163a-ba340000-2cd57608
CSeq: 382 REGISTER
Call-ID: 1965366488@192_168_xxx_xxx
Server: Oktell 2.13.0 (HAL 202 May 5 2016)
WWW-Authenticate: Digest realm="xxx.xxx.xxx", nonce="66bb88e872313ab96334bcfd1b31a1e9", opaque="opaqueData", algorithm=MD5
Content-Length: 0
Session Initiation Protocol (REGISTER)
Request-Line: REGISTER sip:xxx.xxx.xxx SIP/2.0
Message Header
Via: SIP/2.0/UDP 192.168.xxx.xxx:5075;branch=z9hG4bK195bf26c37581944e06b957c87c456a;
rport
From: <sip:xxxxxxxxx@xxx.xxx.xxx>;tag=2596272465
To: <sip:xxxxxxxxx@xxx.xxx.xxx>
Call-ID: 1965366488@192_168_xxx_xxx
CSeq: 383 REGISTER
Contact: <sip:xxxxxxxxx@192.168.xxx.xxx:5075>
Authorization: Digest username="xxxxxxxxx", realm="xxx.xxx.xxx", algorithm=MD5, uri="sip:xxx.xxx.xxx", nonce="66bb88e872313ab96334bcfd1b31a1e9", opaque="opaqueData", response="9skw3u2p34fxe9nm2mdjgwedqx1yiw36"
Max-Forwards: 70
User-Agent: C610A IP/42.238.00.000.000
Expires: 3600
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, SUBSCRIBE, NOTIFY, REFER, UPDATE
Content-Length: 0
Session Initiation Protocol (200)
Status-Line: SIP/2.0 200 OK
Message Header
Via: SIP/2.0/UDP 192.168.xxx.xxx:5075;branch=z9hG4bK195bf26c37581944e06b957c87c456a;
received=213.141.xxx.xxx;rport=5075
From: <sip:xxxxxxxxx@xxx.xxx.xxx>;tag=2596272465
To: <sip:xxxxxxxxx@xxx.xxx.xxx>;tag=b8a7163a-1f350000-bc03bb0a
CSeq: 383 REGISTER
Call-ID: 1965366488@192_168_xxx_xxx
Contact: <sip:xxxxxxxxx@213.141.xxx.xxx:5075;transport=UDP>
Server: Oktell 2.13.0 (HAL 202 May 5 2016)
Expires: 3600
Content-Length: 0