Changeset 4370 for pjproject/trunk/pjsip-apps/src/samples/proxy.h
- Timestamp:
- Feb 26, 2013 5:30:00 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/proxy.h
r3553 r4370 365 365 366 366 /* 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 { 370 372 pjsip_endpt_respond_stateless(global.endpt, rdata, 371 373 PJSIP_SC_UNSUPPORTED_URI_SCHEME, NULL,
Note: See TracChangeset
for help on using the changeset viewer.