Ignore:
Timestamp:
Feb 27, 2013 2:47:37 PM (11 years ago)
Author:
riza
Message:

Re #1615: backported to 1.x

Location:
pjproject/branches/1.x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x

  • pjproject/branches/1.x/pjsip-apps/src/samples/proxy.h

    r3553 r4404  
    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.