Changes between Initial Version and Version 1 of Ticket #1926


Ignore:
Timestamp:
Jun 1, 2016 10:31:19 AM (9 years ago)
Author:
nanang
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1926 – Description

    initial v1  
    55 
    66This 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 better  
    97 
    108 
     
    1614    - if target is a hostname (this is rather difficult as we don't really resolve the target here, except for a special case below): 
    1715      - if account transport type is specified, generated contact will use IP version as account transport type 
    18       - otherwise, it will use IPv4 
     16      - 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. 
    1917      - 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. 
    2018