Ignore:
Timestamp:
Jun 6, 2006 6:40:40 PM (18 years ago)
Author:
bennylp
Message:

Another huge chunks of modifications in PJSUA API, too many things to mention!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/main.c

    r487 r492  
    2929{ 
    3030    pjsua_config cfg; 
     31    pj_str_t uri_to_call = { NULL, 0 }; 
    3132 
    3233    /* Init default settings. */ 
     
    3940 
    4041    /* Parse command line arguments: */ 
    41     if (pjsua_parse_args(argc, argv, &cfg) != PJ_SUCCESS) 
     42    if (pjsua_parse_args(argc, argv, &cfg, &uri_to_call) != PJ_SUCCESS) 
    4243        return 1; 
    4344 
     
    4647    if (pjsua_init(&cfg, &console_callback) != PJ_SUCCESS) 
    4748        return 1; 
    48  
    49     /* Register message logger to print incoming and outgoing 
    50      * messages. 
    51      */ 
    52     pjsip_endpt_register_module(pjsua_get_pjsip_endpt(), 
    53                                 &pjsua_console_app_msg_logger); 
    5449 
    5550 
     
    6661 
    6762    /* Start UI console main loop: */ 
    68     pjsua_console_app_main(); 
     63    pjsua_console_app_main(&uri_to_call); 
    6964 
    7065 
Note: See TracChangeset for help on using the changeset viewer.