[Freeswitch-users] nibblebill schedule
Madovsky
infos at madovsky.org
Sun Dec 26 09:03:53 MSK 2010
Or maybe a channel variable of
cash amount of the account like
nibblebill_cash before the bridge would be great
----- Original Message -----
From: Madovsky
To: FreeSWITCH Users Help
Sent: Saturday, December 25, 2010 12:16 PM
Subject: Re: [Freeswitch-users] nibblebill schedule
yes already thought also ;)
and already set nibblebill hearbeat to 30s.
but in fact the user is never in "trial" mode.
it's in case that if he has less than nobal so he will
always call for 30sec only.
Or maybe make a real trial when he registers and once he bought his
first prepaid I will remove it.
----- Original Message -----
From: Avi Marcus
To: FreeSWITCH Users Help
Sent: Saturday, December 25, 2010 11:47 AM
Subject: Re: [Freeswitch-users] nibblebill schedule
Hmm. Alternatively..
You could set a user-variable that shows they are on the trial.
Then, before you set the price, you check for that variable and if it's true, you set, say, nibble_rate=.02 and make sure they start with a balance of .01
You probably need to change the heartbeat to 30 seconds to do that.
Good luck :)
On Sat, Dec 25, 2010 at 6:42 PM, Madovsky <infos at madovsky.org> wrote:
yes I thought to this but it would be easier to do it through nibblebill
----- Original Message -----
From: Avi Marcus
To: FreeSWITCH Users Help
Sent: Saturday, December 25, 2010 11:30 AM
Subject: Re: [Freeswitch-users] nibblebill schedule
Call 30 seconds as a trial?
Perhaps skip nibblebill and use: sched_hangup
And count it somewhere that they used their trial period (using Mod_db with odbc or mod_odbc_query from git contrib)
-Avi
On Sat, Dec 25, 2010 at 6:22 PM, Madovsky <infos at madovsky.org> wrote:
> ha ok,
> the concept I thought is to let user to call 30s as a trial and
> start niblebill after this time.... does it need to modify the
> mod_nibblebill source code ?
>
> Thanks
> F
>
> ----- Original Message -----
> From: Rupa Schomaker
> To: FreeSWITCH Users Help
> Sent: Saturday, December 25, 2010 8:38 AM
> Subject: Re: [Freeswitch-users] nibblebill schedule
> I don't see how without change.
> You have no idea how fast the $$ is being nibbled away by other calls. So,
> while you can account for a 30s buffer in the current call using the current
> rate, the more calls that are up for that account the more "off" the 30s
> estimate will be.
>
> On Fri, Dec 24, 2010 at 11:58 AM, Madovsky <infos at madovsky.org> wrote:
>>
>> Is it possible to schedule the transfer to nibblebill nobal_action ?
>> I'd like to schedule of 30s before the call is cut and go to nobal_action
>> extension
>>
>> thanks
>
> --
> -Rupa
>
> ________________________________
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
------------------------------------------------------------------------
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
----------------------------------------------------------------------------
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101226/d676b8b5/attachment.html
More information about the FreeSWITCH-users
mailing list