Changeset 286 for pjproject/trunk
- Timestamp:
- Mar 5, 2006 11:54:56 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/main.c
r277 r286 90 90 PJ_UNUSED_ARG(e); 91 91 92 PJ_LOG(3,(THIS_FILE, "Call %d state changed to %s",93 call_index,94 pjsua_inv_state_names[call->inv->state]));95 96 92 if (call->inv->state == PJSIP_INV_STATE_DISCONNECTED) { 93 94 PJ_LOG(3,(THIS_FILE, "Call %d is DISCONNECTED [reason=%d (%s)]", 95 call_index, 96 call->inv->cause, 97 pjsip_get_status_text(call->inv->cause)->ptr)); 98 97 99 call->inv = NULL; 98 100 if ((int)call->index == current_call) { … … 101 103 102 104 } else { 105 106 PJ_LOG(3,(THIS_FILE, "Call %d state changed to %s", 107 call_index, 108 pjsua_inv_state_names[call->inv->state])); 103 109 104 110 if (call && current_call==-1) … … 589 595 590 596 /* Hangup current calls */ 591 pjsua_call_hangup(current_call , PJSIP_SC_DECLINE);597 pjsua_call_hangup(current_call); 592 598 } 593 599 break;
Note: See TracChangeset
for help on using the changeset viewer.