Re: [asterisk-users] RESET CDR
B.Masoud @ SH wrote: Yes that is the problem. So what do you do when the line doesn't support polarity?? What is the best solution in this case? What kind of gateway do you use to connect to the PSTN? -- Iván Stepaniuk Alba Fotónica S.L. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] RESET CDR
I use GranStream FXO.. Do you suggest a gateway? Thanks. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ivan Stepaniuk Sent: Thursday, September 10, 2009 6:38 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] RESET CDR B.Masoud @ SH wrote: Yes that is the problem. So what do you do when the line doesn't support polarity?? What is the best solution in this case? What kind of gateway do you use to connect to the PSTN? -- Iván Stepaniuk Alba Fotónica S.L. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] RESET CDR
I don't want to bill the first 30 seconds, that's all, why is that so strange??? My line does not support polarity reversal, so I don't want to bill for ringing the line... Do you suggest different way than this? -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Matt Riddell Sent: Wednesday, September 09, 2009 8:37 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] RESET CDR On 9/09/09 5:14 PM, B.Masoud @ SH wrote: A little more help is appreciated, I know about ResetCDR() , but I want some code that resets the call data after 30 seconds! And where to put the code exactly. What a strange request. Why exactly are you wanting to do this? If you're wanting all your calls to look like they are 30 seconds shorter can't you just use the time-30 seconds? -- Cheers, Matt Riddell Director ___ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer) http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems) ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] RESET CDR
On Wed, Sep 9, 2009 at 10:12 AM, B.Masoud @ SHi...@saudihome.com wrote: I don't want to bill the first 30 seconds, that's all, why is that so strange??? My line does not support polarity reversal, so I don't want to bill for ringing the line... Do you suggest different way than this? yes. Subtract 30 seconds from the billing when the call is completed. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] RESET CDR
On Wed, 9 Sep 2009, David Backeberg wrote: On Wed, Sep 9, 2009 at 10:12 AM, B.Masoud @ SHi...@saudihome.com wrote: I don't want to bill the first 30 seconds, that's all, why is that so strange??? My line does not support polarity reversal, so I don't want to bill for ringing the line... Do you suggest different way than this? yes. Subtract 30 seconds from the billing when the call is completed. Even easier - use the billsecs field of the CDR instead of the totalsecs. billsecs doesn't start counting until the call is answered. j ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] RESET CDR
Can you provide me some code for that? I am NOOB -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of David Backeberg Sent: Wednesday, September 09, 2009 5:31 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] RESET CDR On Wed, Sep 9, 2009 at 10:12 AM, B.Masoud @ SHi...@saudihome.com wrote: I don't want to bill the first 30 seconds, that's all, why is that so strange??? My line does not support polarity reversal, so I don't want to bill for ringing the line... Do you suggest different way than this? yes. Subtract 30 seconds from the billing when the call is completed. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] RESET CDR
billsecs is a field in the CDR, it's already there.. Just don't bill based on the duration field, bill based on the billsecs field and you should have what you want. On Wed, Sep 9, 2009 at 11:03 AM, B.Masoud @ SH i...@saudihome.com wrote: Can you provide me some code for that? I am NOOB -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of David Backeberg Sent: Wednesday, September 09, 2009 5:31 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] RESET CDR On Wed, Sep 9, 2009 at 10:12 AM, B.Masoud @ SHi...@saudihome.com wrote: I don't want to bill the first 30 seconds, that's all, why is that so strange??? My line does not support polarity reversal, so I don't want to bill for ringing the line... Do you suggest different way than this? yes. Subtract 30 seconds from the billing when the call is completed. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] RESET CDR
Todd Routhier wrote: billsecs is a field in the CDR, it's already there.. Just don't bill based on the duration field, bill based on the billsecs field and you should have what you want. He says that the line does not support polarity reversal. It really depends on the type of PSTN interface he is using, but this probably means that the duration and the billsecs fields are going to be the same, as the channel gets answered and the ring-back tone is also counted. I would rather say that if you do not have a proper way to detect the call progress, the system is not reliable for billing your users. The main problem with the 30 seconds solution is that you will have a lot of calls made without charge (ie: 3 seconds ringing, 20 seconds call). And you will also charge people for ringing a phone during more that 30 seconds (ie: calling my grandma) ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] RESET CDR
Yes that is the problem. So what do you do when the line doesn't support polarity?? What is the best solution in this case? Thanks. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ivan Stepaniuk Sent: Thursday, September 10, 2009 12:02 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] RESET CDR Todd Routhier wrote: billsecs is a field in the CDR, it's already there.. Just don't bill based on the duration field, bill based on the billsecs field and you should have what you want. He says that the line does not support polarity reversal. It really depends on the type of PSTN interface he is using, but this probably means that the duration and the billsecs fields are going to be the same, as the channel gets answered and the ring-back tone is also counted. I would rather say that if you do not have a proper way to detect the call progress, the system is not reliable for billing your users. The main problem with the 30 seconds solution is that you will have a lot of calls made without charge (ie: 3 seconds ringing, 20 seconds call). And you will also charge people for ringing a phone during more that 30 seconds (ie: calling my grandma) ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] RESET CDR
Hello, How can I reset CDR time , let's say after 30 seconds of answer signal, reset CDR to 0 , any idea ?? Thanks. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] RESET CDR
On 9/09/09 4:34 PM, B.Masoud @ SH wrote: Hello, How can I reset CDR time , let’s say after 30 seconds of answer signal, reset CDR to 0 , any idea ?? :) Use the ResetCDR application? -- Cheers, Matt Riddell Director ___ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer) http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems) ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] RESET CDR
A little more help is appreciated, I know about ResetCDR() , but I want some code that resets the call data after 30 seconds! And where to put the code exactly. Thanks. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Matt Riddell Sent: Wednesday, September 09, 2009 7:51 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] RESET CDR On 9/09/09 4:34 PM, B.Masoud @ SH wrote: Hello, How can I reset CDR time , let's say after 30 seconds of answer signal, reset CDR to 0 , any idea ?? :) Use the ResetCDR application? -- Cheers, Matt Riddell Director ___ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer) http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems) ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] RESET CDR
On 9/09/09 5:14 PM, B.Masoud @ SH wrote: A little more help is appreciated, I know about ResetCDR() , but I want some code that resets the call data after 30 seconds! And where to put the code exactly. What a strange request. Why exactly are you wanting to do this? If you're wanting all your calls to look like they are 30 seconds shorter can't you just use the time-30 seconds? -- Cheers, Matt Riddell Director ___ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer) http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems) ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users