Summary: | ASTERISK-03086: Elapsed Time does not increment on bridged calls | ||
Reporter: | Clod Patry (junky) | Labels: | |
Date Opened: | 2004-12-24 10:50:48.000-0600 | Date Closed: | 2011-06-07 14:10:14 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When receiving a call on a Zap channel, if this channel is bridged to another Zap channel. The same problem occurs when calling a SIP or IAX2 channel. ****** ADDITIONAL INFORMATION ****** Example: gate1*CLI> show channels Channel (Context Extension Pri ) State Appl. Data Zap/49-1 (from_dialogic s 1 ) Up Bridged Call Zap/10-1 Zap/10-1 (from_bell 5506 2 ) Up Dial Zap/g3/5506 Zap/56-1 (from_dialogic s 1 ) Up Bridged Call Zap/18-1 Zap/18-1 (from_bell 2507 2 ) Up Dial Zap/g3/2507 Zap/52-1 (from_dialogic s 1 ) Up Bridged Call Zap/7-1 Zap/7-1 (from_bell 5809 2 ) Up Dial Zap/g3/5809 6 active channel(s) gate1*CLI> show channel Zap/7-1 -- General -- Name: Zap/7-1 Type: Zap UniqueID: 1103905456.164 Caller ID: 4155561441 Caller ID Name: POITRAS ROGER DNID Digits: 5809 State: Up (6) Rings: 1 NativeFormat: 68 WriteFormat: 64 ReadFormat: 64 1st File Descriptor: 17 Frames in: 12437 Frames out: 4 Time to Hangup: 0 Elapsed Time: 0h4m8s -- PBX -- Context: from_bell Extension: 5809 Priority: 2 Call Group: 0 Pickup Group: 0 Application: Dial Data: Zap/g3/5809 Blocking in: ast_waitfor_nandfds Variables: BRIDGEPEER=Zap/52-1 DIALEDPEERNUMBER=g3/5809 DIALEDPEERNAME=Zap/52-1 ANI2=0 CALLTYPE=SPEECH and like Zap/52-1 is bridge to this channel: gate1*CLI> show channel Zap/52-1 -- General -- Name: Zap/52-1 Type: Zap UniqueID: 1103905456.165 Caller ID: 4185551441 Caller ID Name: POITRAS ROGER DNID Digits: (N/A) State: Up (6) Rings: 0 NativeFormat: 68 WriteFormat: 64 ReadFormat: 64 1st File Descriptor: 83 Frames in: 12789 Frames out: 12 Time to Hangup: 0 Elapsed Time: 0h0m0s -- PBX -- Context: from_dialogic Extension: s Priority: 1 Call Group: 0 Pickup Group: 0 Application: Bridged Call Data: Zap/7-1 Blocking in: ast_waitfor_nandfds Variables: BRIDGEPEER=Zap/7-1 CALLTYPE=SPEECH Like this call is active, the Elapsed Time: 0h0m0s is wrong. Cause that call is active since 0h4m8s (said by Zap/7-1). I've tried with CVS-HEAD-12/06/04-23:19:16 and i had the same issue. | ||
Comments: | By: Mark Spencer (markster) 2004-12-26 06:11:21.000-0600 Elapsed time is only shown on calls which have an active call detail record (i.e. the incoming leg of the call) and are not reported for calls with no CDR. I've modified cli.c to report those as "N/A" rather than "0h0m0s". By: Digium Subversion (svnbot) 2008-01-15 15:18:14.000-0600 Repository: asterisk Revision: 4556 U trunk/apps/app_queue.c U trunk/channels/chan_alsa.c U trunk/channels/chan_features.c U trunk/channels/chan_oss.c U trunk/cli.c ------------------------------------------------------------------------ r4556 | markster | 2008-01-15 15:18:13 -0600 (Tue, 15 Jan 2008) | 2 lines Fix CLI to report "N/A" when appropriate for time, chan_features updates, ALSA and OSS codec fixes (bug ASTERISK-3086) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4556 |