Changes between Initial Version and Version 1 of Ticket #1926
- Timestamp:
- Jun 1, 2016 10:31:19 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1926 – Description
initial v1 5 5 6 6 This new field is added to PJSUA account structure (in pjsua internal), it represents account transport preference, i.e: local account will always have specific transport type (as it is created with transport ID param), and normal account will have specific transport type only if it is bound to specific transport, i.e: via {{{pjsua_acc_config.transport_id}}}. 7 8 For better9 7 10 8 … … 16 14 - if target is a hostname (this is rather difficult as we don't really resolve the target here, except for a special case below): 17 15 - if account transport type is specified, generated contact will use IP version as account transport type 18 - otherwise, it will use IPv416 - otherwise, it will simply use IPv4 (!) as there is no target resolution here, hence application is '''recommended''' to bind an IPv6-only account to a specific IPv6 transport. 19 17 - special case when {{{pjsua_acc_config.contact_use_src_port}}} is set (by default it is set) and target param transport is TCP/TLS, it will resolve target hostname first, try to connect to that IP using transport with the same IP version as target, and update Contact address with the transport binding address, so if the hostname is resolved to IPv6, Contact address will use IPv6 address. 20 18