Dear all, I would like to know if i can get the duration between two calls in Accounting module..I am in an attempt to do "Billing" module for OpenSER and hence would like to know the same.
What on Earth does "duration between two calls" mean, exactly?
Rajesh wrote:
Dear all, I would like to know if i can get the duration between two calls in Accounting module..I am in an attempt to do "Billing" module for OpenSER and hence would like to know the same. -- Regards, Rajesh
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Duration between two calls means "how long the session lasted"... for billing i need to know the duration of the call ... this is what i meant in my previous post. Thanks anyways for taking time to reply to my post
Alex Balashov wrote:
What on Earth does "duration between two calls" mean, exactly?
Rajesh wrote:
Dear all, I would like to know if i can get the duration between two calls in Accounting module..I am in an attempt to do "Billing" module for OpenSER and hence would like to know the same. -- Regards, Rajesh
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Use www.sippy.org.. or www.b2bua.org..
Its Give the Clue how to generate or implement Billing .
Thanks &Regards Ravi Prakash Sunkara VoIP Architect & JAVA-SIP Developer +91-9999882776
Jonathan Swifthttp://www.brainyquote.com/quotes/authors/j/jonathan_swift.html - "May you live every day of your life."
2009/11/9 Rajesh Rajesh.sreedharan@siptech.com
Duration between two calls means "how long the session lasted"... for billing i need to know the duration of the call ... this is what i meant in my previous post. Thanks anyways for taking time to reply to my post
Alex Balashov wrote:
What on Earth does "duration between two calls" mean, exactly?
Rajesh wrote:
Dear all, I would like to know if i can get the duration between two calls in Accounting module..I am in an attempt to do "Billing" module for OpenSER and hence would like to know the same. -- Regards, Rajesh
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
-- Regards, Rajesh Sreedharan Software Trainee-Wireless & Mobile Technology
SIPTECH Solutions Limited G4, Elnet Software City, CPT Road, Taramani, Chennai - 600 113, India. Tel : +91 (44) 2254 1473/ 74 Extn.:206 Fax : +91 (44) 2254 1475 E-Mail :Rajesh.Sreedharan@Siptech.com <Rajesh.Sreedharan@Siptech.com?> Website : www.siptech.com http://www.siptech.com
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
*The* Clue?
Fascinating...
raviprakash sunkara wrote:
Use www.sippy.org http://www.sippy.org.. or www.b2bua.org http://www.b2bua.org..
Its Give the Clue how to generate or implement Billing .
Thanks &Regards Ravi Prakash Sunkara VoIP Architect & JAVA-SIP Developer +91-9999882776
Jonathan Swift http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html - "May you live every day of your life."
2009/11/9 Rajesh <Rajesh.sreedharan@siptech.com mailto:Rajesh.sreedharan@siptech.com>
Duration between two calls means "how long the session lasted"... for billing i need to know the duration of the call ... this is what i meant in my previous post. Thanks anyways for taking time to reply to my post Alex Balashov wrote:
What on Earth does "duration between two calls" mean, exactly? Rajesh wrote:
Dear all, I would like to know if i can get the duration between two calls in Accounting module..I am in an attempt to do "Billing" module for OpenSER and hence would like to know the same. -- Regards, Rajesh ------------------------------------------------------------------------ _______________________________________________ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org <mailto:Users@lists.kamailio.org> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
-- Regards, Rajesh Sreedharan Software Trainee-Wireless & Mobile Technology SIPTECH Solutions Limited G4, Elnet Software City, CPT Road, Taramani, Chennai - 600 113, India. Tel : +91 (44) 2254 1473/ 74 Extn.:206 Fax : +91 (44) 2254 1475 E-Mail :Rajesh.Sreedharan@Siptech.com <mailto:Rajesh.Sreedharan@Siptech.com?> Website : www.siptech.com <http://www.siptech.com/> <http://www.siptech.com> _______________________________________________ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org <mailto:Users@lists.kamailio.org> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
In that case, yes, this is possible to do using the CDRs put out by the 'acc' module.
Rajesh wrote:
Duration between two calls means "how long the session lasted"... for billing i need to know the duration of the call ... this is what i meant in my previous post. Thanks anyways for taking time to reply to my post
Alex Balashov wrote:
What on Earth does "duration between two calls" mean, exactly?
Rajesh wrote:
Dear all, I would like to know if i can get the duration between two calls in Accounting module..I am in an attempt to do "Billing" module for OpenSER and hence would like to know the same. -- Regards, Rajesh
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
-- Regards, Rajesh Sreedharan Software Trainee-Wireless & Mobile Technology
SIPTECH Solutions Limited G4, Elnet Software City, CPT Road, Taramani, Chennai - 600 113, India. Tel : +91 (44) 2254 1473/ 74 Extn.:206 Fax : +91 (44) 2254 1475 E-Mail :Rajesh.Sreedharan@Siptech.com mailto:Rajesh.Sreedharan@Siptech.com? Website : www.siptech.com http://www.siptech.com/ http://www.siptech.com
Hi, Rajesh
Just have in thoughts that this time will be the time between the ACK related to the "18x-Progress" message and the BYE. So, in case that a PSTN termination is done, this time will not be the real 'line' duration, but the 'sip-channel' duration time. Two very diferent things.
For a more accurate time generate CDRs based on info from, one of two: 1) the GW, or 2) B2B/mediaproxy/rtproxy.
Edson.
Alex Balashov escreveu:
In that case, yes, this is possible to do using the CDRs put out by the 'acc' module.
Rajesh wrote:
Duration between two calls means "how long the session lasted"... for billing i need to know the duration of the call ... this is what i meant in my previous post. Thanks anyways for taking time to reply to my post
Alex Balashov wrote:
What on Earth does "duration between two calls" mean, exactly?
Rajesh wrote:
Dear all, I would like to know if i can get the duration between two calls in Accounting module..I am in an attempt to do "Billing" module for OpenSER and hence would like to know the same. -- Regards, Rajesh
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
-- Regards, Rajesh Sreedharan Software Trainee-Wireless & Mobile Technology
SIPTECH Solutions Limited G4, Elnet Software City, CPT Road, Taramani, Chennai - 600 113, India. Tel : +91 (44) 2254 1473/ 74 Extn.:206 Fax : +91 (44) 2254 1475 E-Mail :Rajesh.Sreedharan@Siptech.com mailto:Rajesh.Sreedharan@Siptech.com? Website : www.siptech.com http://www.siptech.com/ http://www.siptech.com
Edson - Lists wrote:
Just have in thoughts that this time will be the time between the ACK related to the "18x-Progress" message and the BYE.
This is not correct.
ACKs are not sent in response to 1xx-class provisional messages, except when PRACK (100rel) is used--which your sentence does not imply.
The CDRs put out by 'acc' are digests of various call progress events; it is up to you to calculate the time difference between a 200 OK (in response to an INVITE transaction if you wish) and a BYE, using, for example, database triggers.
The solution to this problem does not revolve around the use of a media proxy, nor is reliance on a media proxy intrinsically "more accurate."
Hi, Alex
You are right... the ACK is related to the INVITE not the 18x messages... the 18x messages appear between INVITES and the related ACKs.... my bad... :)
But I think that Rajesh got the idea... ;)
Edson.
Alex Balashov escreveu:
Edson - Lists wrote:
Just have in thoughts that this time will be the time between the ACK related to the "18x-Progress" message and the BYE.
This is not correct.
ACKs are not sent in response to 1xx-class provisional messages, except when PRACK (100rel) is used--which your sentence does not imply.
The CDRs put out by 'acc' are digests of various call progress events; it is up to you to calculate the time difference between a 200 OK (in response to an INVITE transaction if you wish) and a BYE, using, for example, database triggers.
The solution to this problem does not revolve around the use of a media proxy, nor is reliance on a media proxy intrinsically "more accurate."