Ignore:
Timestamp:
Jul 10, 2013 4:27:05 AM (10 years ago)
Author:
ming
Message:

Closed #1688: Add support for different To and Target URI in outgoing call and sending IM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c

    r4537 r4555  
    723723    status = pjsip_dlg_create_uac( pjsip_ua_instance(),  
    724724                                   &acc->cfg.id, &contact, 
    725                                    dest_uri, dest_uri, &dlg); 
     725                                   dest_uri, 
     726                                   (msg_data->target_uri.slen?  
     727                                    &msg_data->target_uri: dest_uri), 
     728                                   &dlg); 
    726729    if (status != PJ_SUCCESS) { 
    727730        pjsua_perror(THIS_FILE, "Dialog creation failed", status); 
Note: See TracChangeset for help on using the changeset viewer.