Changeset 943 for pjproject/trunk
- Timestamp:
- Feb 13, 2007 6:51:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/simpleua.c
r911 r943 473 473 if (rdata->msg_info.msg->line.req.method.id != PJSIP_INVITE_METHOD) { 474 474 475 pj_str_t reason = pj_str("Simple UA unable to handle this request"); 476 477 pjsip_endpt_respond_stateless( g_endpt, rdata, 478 500, &reason, 479 NULL, NULL); 475 if (rdata->msg_info.msg->line.req.method.id != PJSIP_ACK_METHOD) { 476 pj_str_t reason = pj_str("Simple UA unable to handle " 477 "this request"); 478 479 pjsip_endpt_respond_stateless( g_endpt, rdata, 480 500, &reason, 481 NULL, NULL); 482 } 480 483 return PJ_TRUE; 481 484 }
Note: See TracChangeset
for help on using the changeset viewer.