Ignore:
Timestamp:
Aug 5, 2009 6:41:23 PM (15 years ago)
Author:
nanang
Message:

Ticket #930:

  • Updated semantic of contact param in functions pjsip_dlg_create_uac(), pjsip_dlg_create_uas(), pjsip_endpt_create_request() and also variable pjsua_acc.contact to be Contact header value (was Contact URI).
  • Updated docs related to above modifications.
  • Fixed pjsua_im_send() in generating contact header, it should use pjsua_acc.contact instead, if it is set.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-ua/sip_reg.c

    r2732 r2855  
    273273              pjsip_parse_hdr(regc->pool, &CONTACT, tmp.ptr, tmp.slen, NULL); 
    274274        if (hdr == NULL) { 
    275             PJ_LOG(4,(THIS_FILE, "Invalid Contact URI: \"%.*s\"",  
     275            PJ_LOG(4,(THIS_FILE, "Invalid Contact: \"%.*s\"",  
    276276                     (int)tmp.slen, tmp.ptr)); 
    277277            return PJSIP_EINVALIDURI; 
Note: See TracChangeset for help on using the changeset viewer.