Changeset 1560 for pjproject/trunk


Ignore:
Timestamp:
Nov 8, 2007 9:21:31 AM (17 years ago)
Author:
bennylp
Message:

Add Contact header to UPDATE request within dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_dialog.c

    r1558 r1560  
    4949    const pjsip_method refer = { PJSIP_OTHER_METHOD, {"REFER", 5}}; 
    5050    const pjsip_method notify = { PJSIP_OTHER_METHOD, {"NOTIFY", 6}}; 
     51    const pjsip_method update = { PJSIP_OTHER_METHOD, {"UPDATE", 6}}; 
    5152 
    5253    return m->id == PJSIP_INVITE_METHOD || 
    5354           (pjsip_method_cmp(m, &subscribe)==0) || 
    5455           (pjsip_method_cmp(m, &refer)==0) || 
    55            (pjsip_method_cmp(m, &notify)==0); 
     56           (pjsip_method_cmp(m, &notify)==0) || 
     57           (pjsip_method_cmp(m, &update)==0); 
    5658} 
    5759 
Note: See TracChangeset for help on using the changeset viewer.