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

Thorsten Göllner tg at ovm-group.com
Thu Nov 11 07:20:58 CST 2010


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-6697;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/200 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-





More information about the asterisk-dev mailing list