Changeset 388 for pjproject/trunk/pjsip-apps/src/samples/siprtp.c
- Timestamp:
- Apr 5, 2006 7:08:16 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/siprtp.c
r384 r388 176 176 pj_status_t status); 177 177 178 178 /* Print call */ 179 static void print_call(int call_index); 179 180 180 181 … … 676 677 pj_time_val null_time = {0, 0}; 677 678 679 PJ_LOG(3,(THIS_FILE, "Call #%d disconnected. Reason=%s", 680 call->index, 681 pjsip_get_status_text(inv->cause)->ptr)); 682 PJ_LOG(3,(THIS_FILE, "Call #%d statistics:", call->index)); 683 print_call(call->index); 684 685 678 686 call->inv = NULL; 679 687 inv->mod_data[mod_siprtp.id] = NULL; … … 685 693 call->connect_time = null_time; 686 694 687 PJ_LOG(3,(THIS_FILE, "Call #%d disconnected. Reason=%s",688 call->index,689 pjsip_get_status_text(inv->cause)->ptr));690 695 691 696 } else if (inv->state == PJSIP_INV_STATE_CONFIRMED) { … … 1472 1477 1473 1478 1474 if (call-> media[0].thread == NULL) {1479 if (call->inv == NULL || call->inv->state < PJSIP_INV_STATE_CONFIRMED) { 1475 1480 return; 1476 1481 }
Note: See TracChangeset
for help on using the changeset viewer.