accounting

View: New views
9 Messages — Rating Filter:   Alert me  

accounting

by techs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: accounting

by Alex Balashov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users


--
Alex Balashov - Principal
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: accounting

by techs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
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@...
Website : www.siptech.com


_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: accounting

by LetMeKnow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 Swift  - "May you live every day of your life."

2009/11/9 Rajesh <Rajesh.sreedharan@...>
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@...
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@...
Website : www.siptech.com

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: accounting

by Alex Balashov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

*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@...
> <mailto:Rajesh.sreedharan@...>>
>
>     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@... <mailto:Users@...>
>>>     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@...
>     <mailto:Rajesh.Sreedharan@...?>
>     Website : www.siptech.com <http://www.siptech.com/>
>     <http://www.siptech.com>
>
>     _______________________________________________
>     Kamailio (OpenSER) - Users mailing list
>     Users@... <mailto:Users@...>
>     http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>     http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
>


--
Alex Balashov - Principal
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: accounting

by Alex Balashov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
>>> 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@...
> <mailto:Rajesh.Sreedharan@...?>
> Website : www.siptech.com <http://www.siptech.com/>
> <http://www.siptech.com>


--
Alex Balashov - Principal
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: accounting

by Edson - Lists :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
>>>> 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@...
>> <mailto:Rajesh.Sreedharan@...?>
>> Website : www.siptech.com <http://www.siptech.com/>
>> <http://www.siptech.com>
>
>

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: accounting

by Alex Balashov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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."

--
Alex Balashov - Principal
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: accounting

by Edson - Lists :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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."
>

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users