Ignore:
Timestamp:
Oct 8, 2006 12:39:34 PM (18 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/src/test-pjsip/test.c

    r728 r753  
    2121#include "test.h" 
    2222#include <pjlib.h> 
     23#include <pjlib-util.h> 
    2324#include <pjsip.h> 
    2425 
     
    241242    } 
    242243 
     244    if ((rc=pjlib_util_init()) != PJ_SUCCESS) { 
     245        app_perror("pj_init", rc); 
     246        return rc; 
     247    } 
     248 
    243249    status = init_report(); 
    244250    if (status != PJ_SUCCESS) 
     
    310316#if INCLUDE_TCP_TEST 
    311317    DO_TEST(transport_tcp_test()); 
     318#endif 
     319 
     320#if INCLUDE_RESOLVE_TEST 
     321    DO_TEST(resolve_test()); 
    312322#endif 
    313323 
Note: See TracChangeset for help on using the changeset viewer.