_____ From: [email protected] [mailto:[email protected]] 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 <[email protected]> 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/2...@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...@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- Im 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.
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
