RE: [Asterisk-Users] cdr-dst incorrect? Bug submitted. - Bug Fixed
The bug seems to be fixed on the latest stable cvs branch. Can someone confirm if this is not a bug anymore. I tested and works fine for me with a macro being used to dial out. But I see incorrect call-times. Also ResetCDR command do not seem to work as expected asterisk spits out a warning message and CDR will be not reset. If someone confirm that there are still issues we can open a new bug or reopen the same bug. At 05:07 PM 3/2/2004 -0500, you wrote: Bug submitted, for this missing functionality. Bug ID : 1141. Thanks for who ever contributed. Hi! not work correctly. All what I did recently was upgrading asterisk to latest version. Can this be a bug? I would say so and suggest that you report this at bugs.digium.com Can this be reproduced else where. (I haven't seen any complains on the message board other than me.) Yes - the answer of OEJ was a reaction to the same problem that I posted on this list. Cheers, Philipp ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] cdr-dst incorrect? Bug submitted.
Bug submitted, for this missing functionality. Bug ID : 1141. Thanks for who ever contributed. - SamW -Original Message- From: Philipp von Klitzing [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 2:45 PM To: SamW Subject: RE: [Asterisk-Users] cdr-dst incorrect? Hi! not work correctly. All what I did recently was upgrading asterisk to latest version. Can this be a bug? I would say so and suggest that you report this at bugs.digium.com Can this be reproduced else where. (I haven't seen any complains on the message board other than me.) Yes - the answer of OEJ was a reaction to the same problem that I posted on this list. Cheers, Philipp ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] cdr-dst incorrect?
Sam, From an OEJ Post: Try to match every extension before dialing out instead, using s is a bad thing for CDRs. [default] exten = 1234,1,macro(dial-out) [macro-dial-out] exten = s,1,Dial(SIP/test,30,r) [default] exten = 1234,1,macro(dial-out,${EXTEN}) [macro-dial-out] exten = s,1,goto(dial-out2,${ARGV1}) [dial-out2] exten = _X.,1,Dial(SIP/test,30,r) Of course, you could to a goto instead of macro in the first place, but there might be another reason that you want to use a macro... ** http://lists.digium.com/pipermail/asterisk-users/2004-January/033970.html Hope it solves your problem... Regards, Girish From: SamW [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Asterisk-Users] cdr-dst incorrect? Date: Tue, 24 Feb 2004 23:58:40 -0500 I am using following setup to dialout, I can take calls through sip-out which is defined in sip.conf. My issue is cdr records will have a s for destination. What Can be wrong and any suggestions to fix? Can this be a bug I am using Version 0.7.2. instead of macro-dialout if I directly dialed through the [intern] I get the correct results. Some how asterisk think I dialed extension s instead of the number I dialed. Any help appreciated. [macro-dialout] exten = s,1,Dial(SIP/[EMAIL PROTECTED],50) exten = s,2,Busy exten = s,102,Busy [intern] exten = _1NXXNXX,1,Macro(dialout,${EXTEN},60) - SamW _ All the news that matters. All the gossip from home. http://www.msn.co.in/NRI/ Specially for NRIs! ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] cdr-dst incorrect?
Problem seems to be due to the fact that I use a macro and it has a s as the matching extension, but if the Dial command dial out correctly why the CDR not get recorded correctly. As for testing, I directly dialed out without the macro command, and it works fine. But my extensions.conf is based on many macros and it is hard to change all and get it to work without them. When I built the extensions.conf I followed the guidelines from, Initially I had no issue with the CDRs which it generated, but now it do not work correctly. All what I did recently was upgrading asterisk to latest version. Can this be a bug? Can this be reproduced else where. (I haven't seen any complains on the message board other than me.) http://www.loligo.com/asterisk/current/extensions.conf http://www.voip-info.org/wiki-Asterisk+config+extensions.conf In addition I use mysql to collect CDR's and also the text files. Both show dst as s instead of the number that the Dial command dials. - Samath Wije Phone : 201 469 8152 Pager : 917 247 1048 -Original Message- From: Girish Gopinath [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 2:48 AM To: [EMAIL PROTECTED] Subject: RE: [Asterisk-Users] cdr-dst incorrect? Sam, From an OEJ Post: Try to match every extension before dialing out instead, using s is a bad thing for CDRs. [default] exten = 1234,1,macro(dial-out) [macro-dial-out] exten = s,1,Dial(SIP/test,30,r) [default] exten = 1234,1,macro(dial-out,${EXTEN}) [macro-dial-out] exten = s,1,goto(dial-out2,${ARGV1}) [dial-out2] exten = _X.,1,Dial(SIP/test,30,r) Of course, you could to a goto instead of macro in the first place, but there might be another reason that you want to use a macro... ** http://lists.digium.com/pipermail/asterisk-users/2004-January/033970.htm l Hope it solves your problem... Regards, Girish From: SamW [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Asterisk-Users] cdr-dst incorrect? Date: Tue, 24 Feb 2004 23:58:40 -0500 I am using following setup to dialout, I can take calls through sip-out which is defined in sip.conf. My issue is cdr records will have a s for destination. What Can be wrong and any suggestions to fix? Can this be a bug I am using Version 0.7.2. instead of macro-dialout if I directly dialed through the [intern] I get the correct results. Some how asterisk think I dialed extension s instead of the number I dialed. Any help appreciated. [macro-dialout] exten = s,1,Dial(SIP/[EMAIL PROTECTED],50) exten = s,2,Busy exten = s,102,Busy [intern] exten = _1NXXNXX,1,Macro(dialout,${EXTEN},60) - SamW _ All the news that matters. All the gossip from home. http://www.msn.co.in/NRI/ Specially for NRIs! ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] cdr-dst incorrect?
Hi! instead of macro-dialout if I directly dialed through the [intern] I get the correct results. Some how asterisk think I dialed extension s instead of the number I dialed. Yes, that's unfortunately the way it works with macros. Either don't use a macro, or make sure that after the macro you return to a true extension. Cheers, Philipp ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] cdr-dst incorrect?
I went back on my old CDR's they are correctly recorded, so is this feature introduced recently with a new version upgrade ? instead of macro-dialout if I directly dialed through the [intern] I get the correct results. Some how asterisk think I dialed extension s instead of the number I dialed. Yes, that's unfortunately the way it works with macros. Either don't use a macro, or make sure that after the macro you return to a true extension. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users