I hear wrong Time for the call

From Kolmisoft Wiki
Jump to navigationJump to search

Remember, that MOR uses Connection Fee also with Rate to calculate available time for the call:

Remaining time = (Balance - Connection Fee) / Rate * 60

Check Asterisk CLI for exact details.

Example from real case:

You forgot that you have connection fee 0.5 USD, which is also deducted from card's balance before counting minutes.
Card's Balance: 1.117716 EUR
Rate: 0.0803 USD or 0.05864 EUR
Connection fee: 0.5 USD or 0.36689 EUR
(Balance - Connection fee) / Rate = 12.80 * 60 seconds = 768 seconds total time for the call
[2011-07-21 09:14:57] NOTICE[10087] app_mor_tells.c: Seconds: 764, tell time modifier: 1.340000 [2011-07-21 09:14:58] NOTICE[10087] app_mor_tells.c: Minutes: 12, seconds: 44 [2011-07-21 09:14:58] NOTICE[10087] app_mor_tells.c: Minutes: 17, seconds: 4 after tell_time_modifier applied
Then 1.34 Tell Time modifier is applied and user hears Minutes: 17, seconds: 4



See also