Changeset 2856 for pjproject/trunk


Ignore:
Timestamp:
Aug 6, 2009 4:04:20 PM (15 years ago)
Author:
nanang
Message:

Ticket #934: Fixed pjsip_inv_verify_request2() to also checks all registered extensions (via pjsip_endpt_add_capability()).

File:
1 edited

Legend:

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

    r2697 r2856  
    909909                    unsupp_tags[unsupp_cnt++] = req_hdr->values[i]; 
    910910 
    911             } else { 
     911            } else if (!pjsip_endpt_has_capability(endpt, PJSIP_H_SUPPORTED, 
     912                                                   NULL, &req_hdr->values[i])) 
     913            { 
    912914                /* Unknown/unsupported extension tag!  */ 
    913915                unsupp_tags[unsupp_cnt++] = req_hdr->values[i]; 
Note: See TracChangeset for help on using the changeset viewer.