Changeset 2371 for pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
- Timestamp:
- Nov 27, 2008 12:42:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r2370 r2371 2394 2394 * Redirection handler. 2395 2395 */ 2396 static void call_on_redirected(pjsua_call_id call_id, const pjsip_uri *target, 2397 pjsip_redirect_op *cmd, const pjsip_event *e) 2398 { 2399 *cmd = app_config.redir_op; 2400 2396 static pjsip_redirect_op call_on_redirected(pjsua_call_id call_id, 2397 const pjsip_uri *target, 2398 const pjsip_event *e) 2399 { 2401 2400 PJ_UNUSED_ARG(e); 2402 2401 2403 if ( *cmd== PJSIP_REDIRECT_PENDING) {2402 if (app_config.redir_op == PJSIP_REDIRECT_PENDING) { 2404 2403 char uristr[PJSIP_MAX_URL_SIZE]; 2405 2404 int len; … … 2416 2415 call_id, len, uristr)); 2417 2416 } 2417 2418 return app_config.redir_op; 2418 2419 } 2419 2420
Note: See TracChangeset
for help on using the changeset viewer.