[asterisk-users] Asterisk 1.6.20 / CDR issue with app-dial / bug or feature?

Danny Nicholas danny at debsinc.com
Fri Nov 12 08:23:27 CST 2010


  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Olivier
Sent: Friday, November 12, 2010 8:12 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk 1.6.20 / CDR issue with app-dial /
bug or feature?

 

 

2010/11/12 Thorsten Göllner <tg at ovm-group.com>

Hi,

it's me again with a cdr-issue. I have the following example
extensions.conf:

# dial in
exten => 100,1,Playback(hello)
exten => 100,n,Dial(local/200,20,rtg)
exten => 100,n,Playback(pleasewait)
exten => 100,n,wait(10)
exten => 100,n,Playback(goodbye)
exten => 100,n,Hangup

# for local dial
exten => 200,1,Playback(hello)
exten => 200,n,wait(10)
exten => 100,n,Playback(goodbye)
exten => 200,n,Hangup

When dial into 100 I receive 2 CDRs immediatly after finishing the local
Dial-Command:

"","my_phone_number","200","default","my_phone_number","Local/200 at default-66
97;2","","Hangup","","2010-11-11
13:16:38","2010-11-11 13:16:38","2010-11-11
13:16:50",12,12,"ANSWERED","DOCUMENTATION","1289481398.20231",""

"","my_phone_number","100","pbx-in","my_phone_number","DAHDI/27-1","Local/20
0 at default-6697;1","Dial","local/200,20,rtg","2010-11-11
13:16:38","2010-11-11 13:16:38","2010-11-11
13:16:50",12,12,"ANSWERED","DOCUMENTATION","1289481398.20229",""

So the second CDR is my call but the duration ignores that after the
Dial-Command the call still continues (wait(10) and Playback).

Ist that a bug or feature?

-Thorsten-



I’m going to vote for “feature”.  By definition, you processed two calls.
Call 1 (CDR 2) is the “incoming” call you made to 100.  Call 2 (CDR 1) is
the “local call” made to 200 from the 100 context.  What I find curious is
that the two calls are “exactly synchronous”.  I would have thought that it
would take at least 1 second to “play hello” and start the new call.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101112/ff39c2b1/attachment.htm 


More information about the asterisk-users mailing list