Ignore:
Timestamp:
Feb 26, 2013 5:30:00 AM (7 years ago)
Author:
nanang
Message:

Close #1615: Fixed bug in URI scheme check macro PJSIP_URI_SCHEME_IS_SIP()/SIPS/TEL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/proxy.h

    r3553 r4370  
    365365 
    366366    /* 2. URI scheme. 
    367      * We only want to support "sip:" URI scheme for this simple proxy. 
    368      */ 
    369     if (!PJSIP_URI_SCHEME_IS_SIP(rdata->msg_info.msg->line.req.uri)) { 
     367     * We only want to support "sip:"/"sips:" URI scheme for this simple proxy. 
     368     */ 
     369    if (!PJSIP_URI_SCHEME_IS_SIP(rdata->msg_info.msg->line.req.uri) && 
     370        !PJSIP_URI_SCHEME_IS_SIPS(rdata->msg_info.msg->line.req.uri)) 
     371    { 
    370372        pjsip_endpt_respond_stateless(global.endpt, rdata,  
    371373                                      PJSIP_SC_UNSUPPORTED_URI_SCHEME, NULL, 
Note: See TracChangeset for help on using the changeset viewer.