Changeset 4534 for pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
- Timestamp:
- Jun 13, 2013 8:56:51 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r4524 r4534 1277 1277 unsigned flags); 1278 1278 1279 /** 1280 * This callback can be used by application to override the account 1281 * to be used to handle an incoming message. Initially, the account to 1282 * be used will be calculated automatically by the library. This initial 1283 * account will be used if application does not implement this callback, 1284 * or application sets an invalid account upon returning from this 1285 * callback. 1286 * 1287 * Note that currently the incoming messages requiring account assignment 1288 * are INVITE, MESSAGE, SUBSCRIBE, and unsolicited NOTIFY. This callback 1289 * may be called before the callback of the SIP event itself, i.e: 1290 * incoming call, pager, subscription, or unsolicited-event. 1291 * 1292 * @param rdata The incoming message. 1293 * @param acc_id On input, initial account ID calculated automatically 1294 * by the library. On output, the account ID prefered 1295 * by application to handle the incoming message. 1296 */ 1297 void (*on_acc_find_for_incoming)(const pjsip_rx_data *rdata, 1298 pjsua_acc_id* acc_id); 1299 1279 1300 } pjsua_callback; 1280 1301
Note: See TracChangeset
for help on using the changeset viewer.