- Timestamp:
- Jun 7, 2013 7:26:33 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r4531 r4532 2625 2625 uri = rdata->msg_info.to->uri; 2626 2626 2627 /* Just return default account if To URI is not SIP: */ 2627 /* Use Req URI if To URI is not SIP */ 2628 if (!PJSIP_URI_SCHEME_IS_SIP(uri) && 2629 !PJSIP_URI_SCHEME_IS_SIPS(uri)) 2630 { 2631 if (rdata->msg_info.msg->type == PJSIP_REQUEST_MSG) 2632 uri = rdata->msg_info.msg->line.req.uri; 2633 else 2634 return pjsua_var.default_acc; 2635 } 2636 2637 /* Just return default account if both To and Req URI are not SIP: */ 2628 2638 if (!PJSIP_URI_SCHEME_IS_SIP(uri) && 2629 2639 !PJSIP_URI_SCHEME_IS_SIPS(uri))
Note: See TracChangeset
for help on using the changeset viewer.