Ignore:
Timestamp:
Oct 8, 2006 12:39:34 PM (16 years ago)
Author:
bennylp
Message:

Major addition to support DNS SRV resolution in PJSIP:

  • added DNS asynchronous/caching resolver engine in PJLIB-UTIL (resolver.[hc])
  • modified SIP resolver (sip_resolve.c) to properly perform DNS SRV/A resolution when DNS resolution is enabled.
  • added dns_test.c in PJSIP-TEST for testing the SIP resolver.
  • added nameserver configuration in PJSUA-LIB
  • added "--nameserver" option in PJSUA.
  • updated project/Makefiles and doxygen documentation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r742 r753  
    387387     */ 
    388388    unsigned        thread_cnt; 
     389 
     390    /** 
     391     * Number of nameservers. If no name server is configured, the SIP SRV 
     392     * resolution would be disabled, and domain will be resolved with 
     393     * standard pj_gethostbyname() function. 
     394     */ 
     395    unsigned        nameserver_count; 
     396 
     397    /** 
     398     * Array of nameservers to be used by the SIP resolver subsystem. 
     399     * The order of the name server specifies the priority (first name 
     400     * server will be used first, unless it is not reachable). 
     401     */ 
     402    pj_str_t        nameserver[4]; 
    389403 
    390404    /** 
Note: See TracChangeset for help on using the changeset viewer.