<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
first, thanks for publishing the extensions to the public space.<br>
<br>
If you want, you can include the module in the GIT repository of
Kamailio. It will make installation easier, being part of the
default source tree and packaged in releases.<br>
<br>
If you are interested in maintaining it in our git repository, write
me to sort out development access.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 1/21/13 10:09 PM, Carlos Ruiz Díaz
wrote:<br>
</div>
<blockquote
cite="mid:CA+3gBcnVCa8SizygXi+odKVZi1gjecHdB=oLCCzhoJ62-0dO8g@mail.gmail.com"
type="cite">
<div>Hello Alex, Camila, list,</div>
<div><br>
</div>
<div>I'm replying this old thread to follow the sequence of the
conversation.</div>
<div><br>
</div>
<div>With two months of delay, I would like to share the credit
control module we talked about with the hope of helping somehow
to the community with this contribution.</div>
<div><br>
</div>
<div>The project has three parts:</div>
<div><br>
</div>
<div>- The module itself: <a moz-do-not-send="true"
href="https://github.com/caruizdiaz/cnxcc">https://github.com/caruizdiaz/cnxcc</a></div>
<div>- The web interface: <a moz-do-not-send="true"
href="https://github.com/caruizdiaz/cnxcc-web">https://github.com/caruizdiaz/cnxcc-web</a></div>
<div>- A helper script: <a moz-do-not-send="true"
href="https://github.com/caruizdiaz/cnxcc-db-sync">https://github.com/caruizdiaz/cnxcc-db-sync</a></div>
<div><br>
</div>
<div>Mixed together, we have a ready-to-use credit control
monitoring tool.</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>-- <br>
Carlos
<div><a moz-do-not-send="true" href="http://caruizdiaz.com/"
target="_blank">http://caruizdiaz.com</a></div>
<div>+595981146623</div>
<div><br>
<div class="gmail_quote">On Mon, Nov 19, 2012 at 5:10 PM,
Carlos Ruiz Díaz <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:carlos.ruizdiaz@gmail.com" target="_blank">carlos.ruizdiaz@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks!
I'll start a new thread and I'll put the code on github.
<div><br>
</div>
<div>If it turns to be actually useful to the community,
it would be great, but if not, it will be a good
learning material for the developers coming, because it
covers important topics on Kamalio's Core Development
:D.</div>
<div><br>
</div>
<div>Best regards.
<div>
<div class="h5"><br>
<br>
<div class="gmail_quote">On Mon, Nov 19, 2012 at
5:01 PM, Alex Balashov <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:abalashov@evaristesys.com"
target="_blank">abalashov@evaristesys.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">That is indeed a rather
sophisticated superset of what I've been working
on! I look forward to this contribution.
<div>
<div><br>
<br>
On 11/19/2012 03:00 PM, Carlos Ruiz Díaz
wrote:<br>
<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div>
<div>
Hello Camila, Alex.<br>
<br>
I wrote a module that you may find useful
for this purpose and which I'm<br>
planning to release in the next few days.<br>
<br>
Please allow me to introduce its features:<br>
<br>
- It relies on the dialog module to track
the calls it handles<br>
<br>
- You can group calls by an ID, which can
be the client ID, profile ID<br>
or whatever value you want as long as it
uniquely identify a group of calls.<br>
<br>
- You can have several calls consuming the
same pool of credit at the<br>
same time. Every call belongs to a
call-group. A call-group can have one<br>
or more calls.<br>
<br>
- When the credit (time) is exhausted, all
calls of the same call-group<br>
are automatically finalized.<br>
<br>
- An event_route is fired for every call
forced to finalize. It contains<br>
a faked SIP message but with the right
call-id and tags of the call<br>
forced to end. This may be useful for
back-office operations such as<br>
billing, logging, rtpproxy tear down, etc.<br>
<br>
- It exposes 3 xmlrpc commands:<br>
1. to monitor the calls grouped
by call-group.<br>
2. to monitor the calls of a
certain call-group.<br>
3. to finalize a call.<br>
<br>
- It has a (very ugly, but improvable) web
interface for real time<br>
monitoring using the 3 xmlrpc commands.
You can see on line what's<br>
happening in the module and you can
terminate calls through it.<br>
<br>
- It was designed to be maintained in RAM.<br>
<br>
- I'm adding other ways to make the credit
control, not only with<br>
timeout in seconds, but with credit
amount, cost per second, cadence,<br>
rate, etc.<br>
<br>
</div>
</div>
We at conexiongroup <<a
moz-do-not-send="true"
href="http://www.conexiongroup.com/"
target="_blank">http://www.conexiongroup.com/</a>>
are making the final
<div><br>
arrangements to release the source code and
hopefully, it will be<br>
helpful to you or to other people that might
have faced the same<br>
problems we had and which took us to the
decision of writing this code.<br>
Regards.<br>
<br>
Carlos.<br>
<br>
On Mon, Nov 19, 2012 at 11:50 AM, Alex
Balashov<br>
</div>
<div>
<<a moz-do-not-send="true"
href="mailto:abalashov@evaristesys.com"
target="_blank">abalashov@evaristesys.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:abalashov@evaristesys.com"
target="_blank">abalashov@evaristesys.com</a>>>
wrote:<br>
<br>
Not presently, but I am actually working
on an enhancement to the<br>
dialog module (for contribution back
into the open-source project)<br>
that will do just that, as I have this
need also.<br>
<br>
<br>
On 11/19/2012 09:29 AM, Camila Troncoso
wrote:<br>
<br>
Hi,<br>
<br>
I have a kamailio proxy server
that´s controlling the limit of calls<br>
that clients can make with profile
grouping. In other side I<br>
also limit<br>
clients call duration base on users
credit ( DATABASE) and<br>
/timeout<br>
/feature .<br>
<br>
<br>
Before the calls get answer I
calculate how much time the client has<br>
left for this call and set the
timeout variable. When the time is<br>
reached the proxy sends BYEs two
both sides of this call.<br>
<br>
I want when the call timeout, as
before explain, all other calls<br>
in the<br>
same profile end too, because the
client has expired his credit.<br>
<br>
Is there a way to achieve this?<br>
<br>
Regards,<br>
<br>
Camila<br>
<br>
*Camila Troncoso **|* Ingeniero de
Desarrollo<br>
<br>
RedVoiss *|*<a
moz-do-not-send="true"
href="mailto:ctroncoso@redvoiss.net"
target="_blank">ctroncoso@redvoiss.net</a><br>
</div>
<mailto:<a moz-do-not-send="true"
href="mailto:ctroncoso@redvoiss.net"
target="_blank">ctroncoso@redvoiss.net</a>>
<mailto:<a moz-do-not-send="true"
href="mailto:ctroncoso@redvoiss.net"
target="_blank">ctroncoso@redvoiss.net</a><br>
<mailto:<a moz-do-not-send="true"
href="mailto:ctroncoso@redvoiss.net"
target="_blank">ctroncoso@redvoiss.net</a>>__><br>
<br>
Santiago- Chile *|*<a
moz-do-not-send="true"
href="tel:%2B56%202%202408535"
value="+5622408535" target="_blank">+56 2
2408535</a> <tel:%2B56%202%202408535><br>
<br>
<a moz-do-not-send="true"
href="http://www.redvoiss.net"
target="_blank">www.redvoiss.net</a> <<a
moz-do-not-send="true"
href="http://www.redvoiss.net"
target="_blank">http://www.redvoiss.net</a>>
<<a moz-do-not-send="true"
href="http://www.redvoiss.net"
target="_blank">http://www.redvoiss.net</a>><br>
<br>
<br>
<br>
_________________________________________________
<div><br>
SIP Express Router (SER) and
Kamailio (OpenSER) - sr-users<br>
mailing list<br>
</div>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a>
<mailto:<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a>><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/__cgi-bin/mailman/listinfo/sr-__users"
target="_blank">http://lists.sip-router.org/__cgi-bin/mailman/listinfo/sr-__users</a>
<<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>>
<div>
<br>
<br>
<br>
<br>
--<br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
235 E Ponce de Leon Ave<br>
Suite 106<br>
Decatur, GA 30030<br>
</div>
Tel: <a moz-do-not-send="true"
href="tel:%2B1-678-954-0670"
value="+16789540670" target="_blank">+1-678-954-0670</a>
<tel:%2B1-678-954-0670><br>
Fax: <a moz-do-not-send="true"
href="tel:%2B1-404-961-1892"
value="+14049611892" target="_blank">+1-404-961-1892</a>
<tel:%2B1-404-961-1892>
<div><br>
Web: <a moz-do-not-send="true"
href="http://www.evaristesys.com/"
target="_blank">http://www.evaristesys.com/</a>,
<a moz-do-not-send="true"
href="http://www.alexbalashov.com/"
target="_blank">http://www.alexbalashov.com/</a><br>
<br>
</div>
_________________________________________________
<div><br>
SIP Express Router (SER) and Kamailio
(OpenSER) - sr-users mailing list<br>
</div>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a>
<mailto:<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a>><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/__cgi-bin/mailman/listinfo/sr-__users"
target="_blank">http://lists.sip-router.org/__cgi-bin/mailman/listinfo/sr-__users</a>
<div><br>
<<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>><br>
<br>
<br>
<br>
<br>
--<br>
Carlos<br>
<a moz-do-not-send="true"
href="http://caruizdiaz.com"
target="_blank">http://caruizdiaz.com</a><br>
<a moz-do-not-send="true"
href="tel:%2B595981146623"
value="+595981146623" target="_blank">+595981146623</a><br>
<br>
<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio
(OpenSER) - sr-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
</div>
</blockquote>
<div>
<div>
<br>
<br>
-- <br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
235 E Ponce de Leon Ave<br>
Suite 106<br>
Decatur, GA 30030<br>
Tel: <a moz-do-not-send="true"
href="tel:%2B1-678-954-0670"
value="+16789540670" target="_blank">+1-678-954-0670</a><br>
Fax: <a moz-do-not-send="true"
href="tel:%2B1-404-961-1892"
value="+14049611892" target="_blank">+1-404-961-1892</a><br>
Web: <a moz-do-not-send="true"
href="http://www.evaristesys.com/"
target="_blank">http://www.evaristesys.com/</a>,
<a moz-do-not-send="true"
href="http://www.alexbalashov.com/"
target="_blank">http://www.alexbalashov.com/</a><br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio
(OpenSER) - sr-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Carlos
<div><a moz-do-not-send="true"
href="http://caruizdiaz.com" target="_blank">http://caruizdiaz.com</a></div>
<div><a moz-do-not-send="true"
href="tel:%2B595981146623" value="+595981146623"
target="_blank">+595981146623</a></div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, April 16-17, 2013, Berlin
- <a class="moz-txt-link-freetext" href="http://conference.kamailio.com">http://conference.kamailio.com</a> -</pre>
</body>
</html>