Re: [OpenSIPS-Users] Quota system problem

2010-02-25 Thread Pedersen R.
My problem is that the function below is not returning that the call is from local: function isCallerLocal() { if (in_array($this->aNumberDomain,array_keys($this->CDRS->localDomains))) { $this->CallerIsLocal=true; } } Even if $this->aNumberDomain has the good l

Re: [OpenSIPS-Users] Quota system problem

2010-02-24 Thread Pedersen R.
Which part of cdrtool script has to update the column cost of quota_usage ?? The table quota_usage is unchanged. [?] Till now, I don't have quota working Any idea? On Tue, Feb 2, 2010 at 11:53 PM, osiris123d wrote: > >> >> Haven't worked with Quota yet, but perhaps this will get you started do

Re: [OpenSIPS-Users] Quota system problem

2010-02-03 Thread Pedersen R.
For now, I add quota on opensips.subscriber table; I just change in opensips.cfg this case 1 part: switch ($retcode) { case 2: # Call with no limit xlog("L_INFO", "Call control: no limit\n"); case 1: # Call with a limit under

Re: [OpenSIPS-Users] Quota system problem

2010-02-02 Thread osiris123d
Haven't worked with Quota yet, but perhaps this will get you started down the right path Look at the "bye_on_timeout_flag" modparam in Dialog module http://www.opensips.org/html/docs/modules/devel/dialog.html#bye-on-timeout-flag-id Heard about the "bye_on_timeout_flag" on this post http://lists

[OpenSIPS-Users] Quota system problem

2010-02-02 Thread Pedersen R.
Hi all, I installed Opensips 1.6 + CDRTool version 6.9 and I'm not able to setup quota for postpaid users.I added the *quota* column in opensips.subscriber table. And after what else to setup? What is the change on opensips.cfg ? Is there any complete howto (tutorial) for quota/postpaid sy

Re: [OpenSIPS-Users] Quota system problem

2009-06-19 Thread Adrian Georgescu
Your description is too vague to draw any conclusions. What do you have in the radius table in the radacct.Price column and what do you have in the subscriber.quota field for a user? Adrian On Jun 19, 2009, at 3:31 PM, ASHWINI NAIDU wrote: It just displays checking the databases to block

Re: [OpenSIPS-Users] Quota system problem

2009-06-19 Thread ASHWINI NAIDU
It just displays checking the databases to block the users to quota no quota exceeded. though there are users whose quota is exceeded. On Fri, Jun 19, 2009 at 6:19 PM, Adrian Georgescu wrote: > What happens when you run it? What is displayed in the syslog? > Adrian > > On Jun 19, 2009, at 11

Re: [OpenSIPS-Users] Quota system problem

2009-06-19 Thread Adrian Georgescu
What happens when you run it? What is displayed in the syslog? Adrian On Jun 19, 2009, at 11:07 AM, ASHWINI NAIDU wrote: hi Adrian, I am running it in cron job every minute. but the user is not added to quota group at all. even the quota_)usage is not getting populated On Fri, Jun

Re: [OpenSIPS-Users] Quota system problem

2009-06-19 Thread ASHWINI NAIDU
hi Adrian, I am running it in cron job every minute. but the user is not added to quota group at all. even the quota_)usage is not getting populated On Fri, Jun 19, 2009 at 2:09 PM, Adrian Georgescu wrote: > You must run this script for anything to happen: > > /var/www/CDRTool/scripts/Open

Re: [OpenSIPS-Users] Quota system problem

2009-06-19 Thread Adrian Georgescu
You must run this script for anything to happen: /var/www/CDRTool/scripts/OpenSIPS/quotaCheck.php Visit syslog to see what happens while running it. Adrian On Jun 19, 2009, at 10:07 AM, ASHWINI NAIDU wrote: > hi all, > >I have installed opensips1.5,radius-2.1.4 and CDRTool-6.7.7. I am >

[OpenSIPS-Users] Quota system problem

2009-06-19 Thread ASHWINI NAIDU
hi all, I have installed opensips1.5,radius-2.1.4 and CDRTool-6.7.7. I am trying to workout quota for postpaid users. I have added the quota column in opensips.subscriber table. When the postpaid user makes a call the usage information is not inserted in quota_usage. Even if the quota for the m