[OpenSIPS-Users] CDRTool rating engine callcontrole prepaid Need advice
Ilya Pichugin
i.pichugin at ptl.ru
Wed Dec 2 08:34:36 CET 2009
Hi Dan!
Thanks a lot! Now it works.
You wrote 2009 г., 1:55:55:
> On 1 Dec 2009, at 14:09, Ilya Pichugin wrote:
>>
>> I found my mistake - it was necessary to tune my e164_class.
>> And now debiting is OK.. but!
>>
>> Why function call_control() always return 1 retcode, even there is
>> balance <=0 (No credit)?
>>
>> I cannot understand..
> Because $retcode is the last function's return code and you called
> xlog("CALL_CONTROL"); before the switch statement, so you actually
> test the retcode of xlog.
---------------
Ilya Pichugin
More information about the Users
mailing list